; Listing generated by Microsoft (R) Optimizing Compiler Version 18.00.21005.1 

include listing.inc

INCLUDELIB OLDNAMES

PUBLIC	??_C@_1CG@PNEGEHON@?$AAr?$AAe?$AAt?$AAu?$AAr?$AAn?$AA?5?$AAh?$AAe?$AAr?$AAe?$AA?5?$AA?$FL?$AA?$CF?$AAX?$AA?$FN?$AA?5?$AA?6?$AA?$AA@ ; `string'
;	COMDAT ??_C@_1CG@PNEGEHON@?$AAr?$AAe?$AAt?$AAu?$AAr?$AAn?$AA?5?$AAh?$AAe?$AAr?$AAe?$AA?5?$AA?$FL?$AA?$CF?$AAX?$AA?$FN?$AA?5?$AA?6?$AA?$AA@
CONST	SEGMENT
??_C@_1CG@PNEGEHON@?$AAr?$AAe?$AAt?$AAu?$AAr?$AAn?$AA?5?$AAh?$AAe?$AAr?$AAe?$AA?5?$AA?$FL?$AA?$CF?$AAX?$AA?$FN?$AA?5?$AA?6?$AA?$AA@ DB 'r'
	DB	00H, 'e', 00H, 't', 00H, 'u', 00H, 'r', 00H, 'n', 00H, ' ', 00H
	DB	'h', 00H, 'e', 00H, 'r', 00H, 'e', 00H, ' ', 00H, '[', 00H, '%'
	DB	00H, 'X', 00H, ']', 00H, ' ', 00H, 0aH, 00H, 00H, 00H ; `string'
PUBLIC	UefiMain
;	COMDAT pdata
pdata	SEGMENT
$pdata$UefiMain DD imagerel $LN3
	DD	imagerel $LN3+60
	DD	imagerel $unwind$UefiMain
pdata	ENDS
;	COMDAT xdata
xdata	SEGMENT
$unwind$UefiMain DD 010e01H
	DD	0420eH
; Function compile flags: /Odsp
; File d:\udk2017\apppkg\applications\returnaddress\returnaddress.c
;	COMDAT UefiMain
_TEXT	SEGMENT
__$ReturnAddr$ = 40
ImageHandle$ = 48
SystemTable$ = 56
UefiMain PROC						; COMDAT

; 50   : {

$LN3:
  00000	48 89 54 24 10	 mov	 QWORD PTR [rsp+16], rdx
  00005	48 89 4c 24 08	 mov	 QWORD PTR [rsp+8], rcx
  0000a	48 83 ec 28	 sub	 rsp, 40			; 00000028H

; 51   :         Print (L"return here [%X] \n",UefiMain);

  0000e	48 8d 15 00 00
	00 00		 lea	 rdx, OFFSET FLAT:UefiMain
  00015	48 8d 0d 00 00
	00 00		 lea	 rcx, OFFSET FLAT:??_C@_1CG@PNEGEHON@?$AAr?$AAe?$AAt?$AAu?$AAr?$AAn?$AA?5?$AAh?$AAe?$AAr?$AAe?$AA?5?$AA?$FL?$AA?$CF?$AAX?$AA?$FN?$AA?5?$AA?6?$AA?$AA@
  0001c	e8 00 00 00 00	 call	 Print

; 52   :         Print (L"return here [%X] \n",RETURN_ADDRESS(0));

  00021	48 8b 44 24 28	 mov	 rax, QWORD PTR __$ReturnAddr$[rsp]
  00026	48 8b d0	 mov	 rdx, rax
  00029	48 8d 0d 00 00
	00 00		 lea	 rcx, OFFSET FLAT:??_C@_1CG@PNEGEHON@?$AAr?$AAe?$AAt?$AAu?$AAr?$AAn?$AA?5?$AAh?$AAe?$AAr?$AAe?$AA?5?$AA?$FL?$AA?$CF?$AAX?$AA?$FN?$AA?5?$AA?6?$AA?$AA@
  00030	e8 00 00 00 00	 call	 Print

; 53   :         
; 54   :         return EFI_SUCCESS;

  00035	33 c0		 xor	 eax, eax

; 55   : }

  00037	48 83 c4 28	 add	 rsp, 40			; 00000028H
  0003b	c3		 ret	 0
UefiMain ENDP
_TEXT	ENDS
END
