	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function load_loader
_load_loader:                           ## @load_loader
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movq	_num_boot_modules@GOTPCREL(%rip), %rax
	movq	_EFI_NOT_FOUND@GOTPCREL(%rip), %r12
	cmpq	$0, (%rax)
	je	LBB0_10
## %bb.1:
	movl	%r8d, %ebx
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movq	_EFI_SUCCESS@GOTPCREL(%rip), %r12
	xorl	%r14d, %r14d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%r14
	movq	_num_boot_modules@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r14
	jae	LBB0_9
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
	movq	_boot_modules@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax,%r14,8), %r13
	xorl	%eax, %eax
	callq	*8(%r13)
	testq	%rax, %rax
	je	LBB0_8
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %r15
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=2
	movq	8(%r15), %r15
	testq	%r15, %r15
	je	LBB0_8
LBB0_4:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpl	%ebx, (%r15)
	jne	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=2
	movq	_PATH_LOADER_EFI@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	callq	*(%r13)
	cmpq	(%r12), %rax
	jne	LBB0_7
## %bb.6:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%r15, (%rax)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%r13, (%rax)
LBB0_10:
	movq	(%r12), %rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movq	_EFI_NOT_FOUND@GOTPCREL(%rip), %r12
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_num_boot_modules,8,3           ## @num_boot_modules
	.comm	_boot_modules,8,3               ## @boot_modules
	.comm	_PATH_LOADER_EFI,4,2            ## @PATH_LOADER_EFI
	.comm	_EFI_SUCCESS,8,3                ## @EFI_SUCCESS
	.comm	_EFI_NOT_FOUND,8,3              ## @EFI_NOT_FOUND
	.no_dead_strip	_load_loader
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function load_loader
_load_loader:                           ; @load_loader
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
Lloh0:
	adrp	x26, _num_boot_modules@GOTPAGE
Lloh1:
	ldr	x26, [x26, _num_boot_modules@GOTPAGEOFF]
	ldr	x8, [x26]
	cbz	x8, LBB0_9
; %bb.1:
	mov	x19, x4
	mov	x20, x3
	mov	x23, x2
	stp	x1, x0, [sp]                    ; 16-byte Folded Spill
	mov	x27, #0
Lloh2:
	adrp	x25, _EFI_NOT_FOUND@GOTPAGE
Lloh3:
	ldr	x25, [x25, _EFI_NOT_FOUND@GOTPAGEOFF]
Lloh4:
	adrp	x21, _PATH_LOADER_EFI@GOTPAGE
Lloh5:
	ldr	x21, [x21, _PATH_LOADER_EFI@GOTPAGEOFF]
Lloh6:
	adrp	x22, _EFI_SUCCESS@GOTPAGE
Lloh7:
	ldr	x22, [x22, _EFI_SUCCESS@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x27, x27, #1
	ldr	x8, [x26]
	cmp	x27, x8
	b.hs	LBB0_10
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
Lloh8:
	adrp	x8, _boot_modules@GOTPAGE
Lloh9:
	ldr	x8, [x8, _boot_modules@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	ldr	x28, [x8, x27, lsl #3]
	ldr	x8, [x28, #8]
	blr	x8
	cbz	x0, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x24, x0
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=2
	ldr	x24, [x24, #8]
	cbz	x24, LBB0_2
LBB0_6:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w8, [x24]
	cmp	w8, w19
	b.ne	LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=2
	ldr	x8, [x28]
	ldr	w0, [x21]
	mov	x1, x24
	mov	x2, x23
	mov	x3, x20
	blr	x8
	ldr	x8, [x22]
	cmp	x0, x8
	b.ne	LBB0_5
; %bb.8:
	ldr	x8, [sp]                        ; 8-byte Folded Reload
	str	x24, [x8]
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	str	x28, [x8]
Lloh11:
	adrp	x25, _EFI_SUCCESS@GOTPAGE
Lloh12:
	ldr	x25, [x25, _EFI_SUCCESS@GOTPAGEOFF]
	b	LBB0_10
LBB0_9:
Lloh13:
	adrp	x25, _EFI_NOT_FOUND@GOTPAGE
Lloh14:
	ldr	x25, [x25, _EFI_NOT_FOUND@GOTPAGEOFF]
LBB0_10:
	ldr	x0, [x25]
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_num_boot_modules,8,3           ; @num_boot_modules
	.comm	_boot_modules,8,3               ; @boot_modules
	.comm	_PATH_LOADER_EFI,4,2            ; @PATH_LOADER_EFI
	.comm	_EFI_SUCCESS,8,3                ; @EFI_SUCCESS
	.comm	_EFI_NOT_FOUND,8,3              ; @EFI_NOT_FOUND
	.no_dead_strip	_load_loader
.subsections_via_symbols
