	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function elf32_exec
_elf32_exec:                            ## @elf32_exec
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	_MODINFOMD_ELFHDR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_file_findmetadata
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	xorl	%eax, %eax
	callq	_efi_time_fini
	movl	(%rbx), %r14d
	andl	$16777215, %r14d                ## imm = 0xFFFFFF
	leaq	L_.str(%rip), %rdi
	movl	%r14d, %esi
	callq	_printf
	movl	(%r15), %edi
	leaq	-32(%rbp), %rsi
	leaq	-28(%rbp), %rdx
	callq	_bi_load
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movl	%eax, %ebx
	xorl	%eax, %eax
	callq	_efi_time_init
	jmp	LBB0_5
LBB0_1:
	movq	_EFTYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_5
LBB0_4:
	xorl	%eax, %eax
	callq	_dev_cleanup
	movl	-32(%rbp), %eax
	movl	-28(%rbp), %ecx
	movl	%ecx, 16(%rsp)
	movl	%eax, 8(%rsp)
	movq	%r14, %rdi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	___exec
	leaq	L_.str.1(%rip), %rdi
	callq	_panic
                                        ## implicit-def: $ebx
LBB0_5:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MODINFOMD_ELFHDR,4,2           ## @MODINFOMD_ELFHDR
	.comm	_EFTYPE,4,2                     ## @EFTYPE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Start @ 0x%x ...\n"

L_.str.1:                               ## @.str.1
	.asciz	"exec returned"

	.no_dead_strip	_elf32_exec
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function elf32_exec
_elf32_exec:                            ; @elf32_exec
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x0
Lloh0:
	adrp	x8, _MODINFOMD_ELFHDR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MODINFOMD_ELFHDR@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_file_findmetadata
	cbz	x0, LBB0_3
; %bb.1:
	mov	x19, x0
	bl	_efi_time_fini
	ldr	w8, [x19]
	and	x19, x8, #0xffffff
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	bl	_printf
	ldr	w0, [x20]
	add	x1, sp, #12
	add	x2, sp, #8
	bl	_bi_load
	cbz	w0, LBB0_4
; %bb.2:
	mov	x20, x0
	bl	_efi_time_init
	b	LBB0_5
LBB0_3:
Lloh5:
	adrp	x8, _EFTYPE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EFTYPE@GOTPAGEOFF]
Lloh7:
	ldr	w20, [x8]
	b	LBB0_5
LBB0_4:
	bl	_dev_cleanup
	ldp	w8, w7, [sp, #8]
	str	w8, [sp]
	mov	x0, x19
	mov	w3, #0
	mov	w4, #0
	mov	w5, #0
	bl	___exec
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_panic
                                        ; implicit-def: $w20
LBB0_5:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_MODINFOMD_ELFHDR,4,2           ; @MODINFOMD_ELFHDR
	.comm	_EFTYPE,4,2                     ; @EFTYPE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Start @ 0x%x ...\n"

l_.str.1:                               ; @.str.1
	.asciz	"exec returned"

	.no_dead_strip	_elf32_exec
.subsections_via_symbols
