	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_handle_cmdline_files           ## -- Begin function handle_cmdline_files
	.p2align	4, 0x90
_handle_cmdline_files:                  ## @handle_cmdline_files
	.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	$344, %rsp                      ## imm = 0x158
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	$0, -384(%rbp)
	movq	$0, -352(%rbp)
	testq	%r9, %r9
	je	LBB0_2
## %bb.1:
	movq	16(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	%rdx, %r14
	movq	$0, (%r9)
	movq	$0, (%rax)
	testq	%rdx, %rdx
	je	LBB0_15
## %bb.4:
	cmpb	$0, (%r14)
	je	LBB0_15
## %bb.5:
	movq	%rcx, %r15
	movq	%rsi, -360(%rbp)                ## 8-byte Spill
	movq	%r8, -376(%rbp)                 ## 8-byte Spill
	movq	%rdi, -336(%rbp)                ## 8-byte Spill
	movq	%r9, -344(%rbp)                 ## 8-byte Spill
	xorl	%r13d, %r13d
	movabsq	$4294968321, %r12               ## imm = 0x100000401
	movq	%r14, %rbx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_8 Depth 2
                                        ##     Child Loop BB0_11 Depth 2
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_strstr
	testq	%rax, %rax
	je	LBB0_14
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	%rax, %rbx
	movq	%r15, %rdi
	callq	_strlen
	cltq
	addq	%rax, %rbx
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_8 Depth=2
	incq	%rbx
LBB0_8:                                 ##   Parent Loop BB0_6 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzbl	(%rbx), %eax
	cmpb	$47, %al
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=2
	cmpb	$92, %al
	je	LBB0_10
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_11 Depth=2
	movzbl	1(%rbx), %eax
	incq	%rbx
LBB0_11:                                ##   Parent Loop BB0_6 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpb	$32, %al
	ja	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=2
	movzbl	%al, %ecx
	btq	%rcx, %r12
	jae	LBB0_13
## %bb.16:                              ##   in Loop: Header=BB0_6 Depth=1
	incl	%r13d
	testb	%al, %al
	jne	LBB0_6
	jmp	LBB0_17
LBB0_2:
	movq	_EFI_INVALID_PARAMETER@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	jmp	LBB0_58
LBB0_14:
	testl	%r13d, %r13d
	je	LBB0_15
LBB0_17:
	movq	_allocate_pool@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_EFI_LOADER_DATA@GOTPCREL(%rip), %rax
	movslq	(%rax), %rsi
	movl	%r13d, %edx
	movq	%rdx, -368(%rbp)                ## 8-byte Spill
	shlq	$4, %rdx
	xorl	%ebx, %ebx
	leaq	-328(%rbp), %rcx
	xorl	%eax, %eax
	callq	_efi_call_early
	movq	_EFI_SUCCESS@GOTPCREL(%rip), %rcx
	movq	%rax, -312(%rbp)                ## 8-byte Spill
	cmpq	(%rcx), %rax
	jne	LBB0_20
## %bb.18:
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_strstr
	testq	%rax, %rax
	je	LBB0_19
## %bb.24:
	movq	%rax, %r12
	xorl	%eax, %eax
	movq	%rax, -320(%rbp)                ## 8-byte Spill
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_25:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_26 Depth 2
                                        ##     Child Loop BB0_30 Depth 2
	movq	%r15, %rdi
	callq	_strlen
	movslq	%eax, %r14
	addq	%r12, %r14
	movq	-328(%rbp), %rdi
	leaq	720(%rbp), %rdx
	movl	$92, %esi
	jmp	LBB0_26
	.p2align	4, 0x90
LBB0_60:                                ##   in Loop: Header=BB0_26 Depth=2
	incq	%r14
LBB0_26:                                ##   Parent Loop BB0_25 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzbl	(%r14), %eax
	cmpb	$47, %al
	je	LBB0_60
## %bb.27:                              ##   in Loop: Header=BB0_26 Depth=2
	cmpb	$92, %al
	je	LBB0_60
## %bb.28:                              ##   in Loop: Header=BB0_25 Depth=1
	leaq	-304(%rbp), %rcx
	testb	$-33, %al
	je	LBB0_33
	.p2align	4, 0x90
LBB0_30:                                ##   Parent Loop BB0_25 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpb	$10, %al
	je	LBB0_33
## %bb.31:                              ##   in Loop: Header=BB0_30 Depth=2
	cmpq	%rdx, %rcx
	jae	LBB0_33
## %bb.32:                              ##   in Loop: Header=BB0_30 Depth=2
	cmpb	$47, %al
	movzbl	%al, %eax
	cmovel	%esi, %eax
	movb	%al, (%rcx)
	incq	%rcx
	movzbl	1(%r14), %eax
	incq	%r14
	testb	$-33, %al
	jne	LBB0_30
LBB0_33:                                ##   in Loop: Header=BB0_25 Depth=1
	movb	$0, (%rcx)
	testq	%rbx, %rbx
	jne	LBB0_35
## %bb.34:                              ##   in Loop: Header=BB0_25 Depth=1
	movq	%rdi, %r12
	movq	-336(%rbp), %rdi                ## 8-byte Reload
	movq	-360(%rbp), %rsi                ## 8-byte Reload
	leaq	-384(%rbp), %rdx
	callq	_efi_open_volume
	movq	%r12, %rdi
	movq	_EFI_SUCCESS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_37
LBB0_35:                                ##   in Loop: Header=BB0_25 Depth=1
	movq	-384(%rbp), %rsi
	movq	%rbx, %rax
	shlq	$4, %rax
	leaq	(%rdi,%rax), %r12
	leaq	(%rdi,%rax), %rcx
	addq	$8, %rcx
	movq	-336(%rbp), %rdi                ## 8-byte Reload
	leaq	-304(%rbp), %rdx
	movq	%r12, %r8
	callq	_efi_file_size
	movq	_EFI_SUCCESS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	movq	%rax, -312(%rbp)                ## 8-byte Spill
	jne	LBB0_36
## %bb.38:                              ##   in Loop: Header=BB0_25 Depth=1
	movq	-320(%rbp), %rax                ## 8-byte Reload
	addq	(%r12), %rax
	movq	%rax, %r12
	incq	%rbx
	cmpq	-368(%rbp), %rbx                ## 8-byte Folded Reload
	je	LBB0_39
## %bb.21:                              ##   in Loop: Header=BB0_25 Depth=1
	movq	%r12, -320(%rbp)                ## 8-byte Spill
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_strstr
	movq	%rax, %r12
	testq	%rax, %rax
	jne	LBB0_25
## %bb.22:
	movq	-320(%rbp), %r12                ## 8-byte Reload
	jmp	LBB0_23
LBB0_15:
	movq	_EFI_SUCCESS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	jmp	LBB0_58
LBB0_20:
	leaq	L_.str(%rip), %rsi
	movq	-336(%rbp), %rdi                ## 8-byte Reload
	callq	_pr_efi_err
	movq	-344(%rbp), %rbx                ## 8-byte Reload
	movq	16(%rbp), %r14
	jmp	LBB0_56
LBB0_19:
	xorl	%r12d, %r12d
LBB0_23:
	movq	-336(%rbp), %r14                ## 8-byte Reload
	movq	-376(%rbp), %r15                ## 8-byte Reload
	testq	%r12, %r12
	jne	LBB0_41
	jmp	LBB0_49
LBB0_36:
	xorl	%r13d, %r13d
	jmp	LBB0_52
LBB0_39:
	movl	%r13d, %ebx
	movq	-376(%rbp), %r15                ## 8-byte Reload
	movq	-336(%rbp), %r14                ## 8-byte Reload
	testq	%r12, %r12
	je	LBB0_49
LBB0_41:
	leaq	-352(%rbp), %rcx
	movq	%r14, %rdi
	movq	%r12, %rsi
	movl	$4096, %edx                     ## imm = 0x1000
	movq	%r15, %r8
	callq	_efi_high_alloc
	movq	_EFI_SUCCESS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_62
## %bb.42:
	movq	%r14, %rcx
	movq	-352(%rbp), %r14
	cmpq	%r15, %r14
	jbe	LBB0_43
## %bb.50:
	leaq	L_.str.2(%rip), %rsi
	movq	%rcx, %r14
	movq	%rcx, %rdi
	callq	_pr_efi_err
	movq	_EFI_INVALID_PARAMETER@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -312(%rbp)                ## 8-byte Spill
	xorl	%r13d, %r13d
	jmp	LBB0_51
LBB0_62:
	movq	%rax, -312(%rbp)                ## 8-byte Spill
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	callq	_pr_efi_err
	xorl	%r13d, %r13d
	jmp	LBB0_52
LBB0_43:
	movq	%rax, -312(%rbp)                ## 8-byte Spill
	cmpl	$2, %r13d
	movl	$1, %eax
	cmovael	%r13d, %eax
	movq	%rax, -368(%rbp)                ## 8-byte Spill
	xorl	%r13d, %r13d
	leaq	-304(%rbp), %r15
	movq	%rbx, -360(%rbp)                ## 8-byte Spill
	movq	%r12, -320(%rbp)                ## 8-byte Spill
	jmp	LBB0_44
LBB0_48:                                ##   in Loop: Header=BB0_44 Depth=1
	movq	-320(%rbp), %r12                ## 8-byte Reload
	movl	8(%rax,%rbx), %edi
	callq	_efi_file_close
	incq	%r13
	cmpq	-368(%rbp), %r13                ## 8-byte Folded Reload
	je	LBB0_49
LBB0_44:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_45 Depth 2
	movq	-328(%rbp), %rax
	movq	%r13, %rbx
	shlq	$4, %rbx
	movq	(%rax,%rbx), %r12
	testq	%r12, %r12
	je	LBB0_48
	.p2align	4, 0x90
LBB0_45:                                ##   Parent Loop BB0_44 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	_CONFIG_X86@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_IS_ENABLED
	movq	___chunk_size@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	%rcx, %r12
	cmovbeq	%r12, %rcx
	testq	%rax, %rax
	cmoveq	%r12, %rcx
	movq	%rcx, -304(%rbp)
	movq	-328(%rbp), %rax
	movl	8(%rax,%rbx), %edi
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	_efi_file_read
	movq	_EFI_SUCCESS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_61
## %bb.46:                              ##   in Loop: Header=BB0_45 Depth=2
	movq	-304(%rbp), %rcx
	addq	%rcx, %r14
	subq	%rcx, %r12
	jne	LBB0_45
## %bb.47:                              ##   in Loop: Header=BB0_44 Depth=1
	movq	%rax, -312(%rbp)                ## 8-byte Spill
	movq	-328(%rbp), %rax
	jmp	LBB0_48
LBB0_49:
	movq	_free_pool@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-328(%rbp), %rsi
	xorl	%eax, %eax
	callq	_efi_call_early
	movq	-352(%rbp), %rax
	movq	-344(%rbp), %rcx                ## 8-byte Reload
	movq	%rax, (%rcx)
	movq	16(%rbp), %rax
	movq	%r12, (%rax)
	jmp	LBB0_57
LBB0_61:
	movq	%rax, -312(%rbp)                ## 8-byte Spill
	leaq	L_.str.3(%rip), %rsi
	movq	-336(%rbp), %r14                ## 8-byte Reload
	movq	%r14, %rdi
	callq	_pr_efi_err
	movq	-360(%rbp), %rbx                ## 8-byte Reload
	movq	-320(%rbp), %r12                ## 8-byte Reload
LBB0_51:
	movq	-352(%rbp), %rdx
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_efi_free
LBB0_52:
	cmpl	%ebx, %r13d
	jge	LBB0_55
## %bb.53:
	movq	%rbx, %r14
	movslq	%r13d, %rbx
	shlq	$4, %rbx
	orq	$8, %rbx
	subl	%r13d, %r14d
	.p2align	4, 0x90
LBB0_54:                                ## =>This Inner Loop Header: Depth=1
	movq	-328(%rbp), %rax
	movl	(%rax,%rbx), %edi
	callq	_efi_file_close
	addq	$16, %rbx
	decl	%r14d
	jne	LBB0_54
LBB0_55:
	movq	-344(%rbp), %rbx                ## 8-byte Reload
	movq	16(%rbp), %r14
	movq	_free_pool@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-328(%rbp), %rsi
	xorl	%eax, %eax
	callq	_efi_call_early
LBB0_56:
	movq	$0, (%rbx)
	movq	$0, (%r14)
LBB0_57:
	movq	-312(%rbp), %rax                ## 8-byte Reload
LBB0_58:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_63
## %bb.59:
	addq	$344, %rsp                      ## imm = 0x158
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_37:
	movq	%rax, -312(%rbp)                ## 8-byte Spill
	jmp	LBB0_55
LBB0_63:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_EFI_INVALID_PARAMETER,8,3      ## @EFI_INVALID_PARAMETER
	.comm	_EFI_SUCCESS,8,3                ## @EFI_SUCCESS
	.comm	_allocate_pool,4,2              ## @allocate_pool
	.comm	_EFI_LOADER_DATA,4,2            ## @EFI_LOADER_DATA
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to alloc mem for file handle list\n"

L_.str.1:                               ## @.str.1
	.asciz	"Failed to alloc highmem for files\n"

L_.str.2:                               ## @.str.2
	.asciz	"We've run out of free low memory\n"

	.comm	_CONFIG_X86,4,2                 ## @CONFIG_X86
	.comm	___chunk_size,8,3               ## @__chunk_size
L_.str.3:                               ## @.str.3
	.asciz	"Failed to read file\n"

	.comm	_free_pool,4,2                  ## @free_pool
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_handle_cmdline_files           ; -- Begin function handle_cmdline_files
	.p2align	2
_handle_cmdline_files:                  ; @handle_cmdline_files
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #464
	.cfi_def_cfa_offset 464
	stp	x28, x27, [sp, #368]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #384]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #400]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #416]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #432]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #448]            ; 16-byte Folded Spill
	add	x29, sp, #448
	.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	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-96]
	stp	xzr, xzr, [sp, #72]
	cbz	x5, LBB0_14
; %bb.1:
	mov	x26, x6
	cbz	x6, LBB0_14
; %bb.2:
	mov	x21, x5
	mov	x23, x2
	str	xzr, [x5]
	str	xzr, [x26]
	cbz	x2, LBB0_34
; %bb.3:
	ldrb	w8, [x23]
	cbz	w8, LBB0_34
; %bb.4:
	mov	x28, x4
	mov	x25, x3
	mov	x27, x0
	str	x1, [sp, #40]                   ; 8-byte Folded Spill
	mov	w22, #0
	mov	w19, #1
	mov	x20, #1025
	movk	x20, #1, lsl #32
	mov	x0, x23
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
                                        ;     Child Loop BB0_11 Depth 2
	mov	x1, x25
	bl	_strstr
	cbz	x0, LBB0_15
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x24, x0
	mov	x0, x25
	bl	_strlen
	add	x0, x24, w0, sxtw
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=2
	add	x0, x0, #1
LBB0_8:                                 ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w8, [x0]
	cmp	w8, #47
	b.eq	LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=2
	cmp	w8, #92
	b.eq	LBB0_7
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=2
	ldrb	w8, [x0, #1]!
LBB0_11:                                ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	cmp	w8, #32
	b.hi	LBB0_10
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=2
	mov	w9, w8
	lsl	x9, x19, x9
	tst	x9, x20
	b.eq	LBB0_10
; %bb.13:                               ;   in Loop: Header=BB0_5 Depth=1
	add	w22, w22, #1
	cbnz	w8, LBB0_5
	b	LBB0_16
LBB0_14:
Lloh3:
	adrp	x8, _EFI_INVALID_PARAMETER@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EFI_INVALID_PARAMETER@GOTPAGEOFF]
Lloh5:
	ldr	x24, [x8]
	b	LBB0_57
LBB0_15:
	cbz	w22, LBB0_34
LBB0_16:
Lloh6:
	adrp	x8, _allocate_pool@GOTPAGE
Lloh7:
	ldr	x8, [x8, _allocate_pool@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x8, _EFI_LOADER_DATA@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EFI_LOADER_DATA@GOTPAGEOFF]
Lloh11:
	ldrsw	x1, [x8]
	mov	w8, w22
	str	x8, [sp, #48]                   ; 8-byte Folded Spill
	lsl	x8, x8, #4
	add	x9, sp, #88
	stp	x8, x9, [sp]
	bl	_efi_call_early
	mov	x24, x0
Lloh12:
	adrp	x8, _EFI_SUCCESS@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EFI_SUCCESS@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_35
; %bb.17:
	stp	x28, x21, [sp, #24]             ; 16-byte Folded Spill
	str	x27, [sp, #56]                  ; 8-byte Folded Spill
	mov	x0, x23
	mov	x1, x25
	bl	_strstr
	cbz	x0, LBB0_36
; %bb.18:
	mov	x27, x0
	str	x26, [sp, #16]                  ; 8-byte Folded Spill
	mov	x28, #0
	str	xzr, [sp, #64]                  ; 8-byte Folded Spill
	add	x26, sp, #96
	add	x19, x26, #1024
	mov	w21, #92
LBB0_19:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_21 Depth 2
                                        ;     Child Loop BB0_24 Depth 2
	mov	x0, x25
	bl	_strlen
	add	x20, x27, w0, sxtw
	ldr	x27, [sp, #88]
	b	LBB0_21
LBB0_20:                                ;   in Loop: Header=BB0_21 Depth=2
	add	x20, x20, #1
LBB0_21:                                ;   Parent Loop BB0_19 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w8, [x20]
	cmp	w8, #47
	b.eq	LBB0_20
; %bb.22:                               ;   in Loop: Header=BB0_21 Depth=2
	cmp	w8, #92
	b.eq	LBB0_20
; %bb.23:                               ;   in Loop: Header=BB0_19 Depth=1
	mov	x23, #0
LBB0_24:                                ;   Parent Loop BB0_19 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	orr	w9, w8, #0x20
	cmp	w9, #32
	b.eq	LBB0_28
; %bb.25:                               ;   in Loop: Header=BB0_24 Depth=2
	cmp	w8, #10
	b.eq	LBB0_28
; %bb.26:                               ;   in Loop: Header=BB0_24 Depth=2
	add	x9, x26, x23
	cmp	x9, x19
	b.hs	LBB0_28
; %bb.27:                               ;   in Loop: Header=BB0_24 Depth=2
	cmp	w8, #47
	csel	w8, w21, w8, eq
	strb	w8, [x26, x23]
	add	x8, x20, x23
	ldrb	w8, [x8, #1]
	add	x23, x23, #1
	b	LBB0_24
LBB0_28:                                ;   in Loop: Header=BB0_19 Depth=1
	strb	wzr, [x26, x23]
	ldr	x21, [sp, #64]                  ; 8-byte Folded Reload
	cbnz	x21, LBB0_30
; %bb.29:                               ;   in Loop: Header=BB0_19 Depth=1
	add	x2, sp, #72
	ldr	x0, [sp, #56]                   ; 8-byte Folded Reload
	ldr	x1, [sp, #40]                   ; 8-byte Folded Reload
	bl	_efi_open_volume
	ldr	x21, [sp, #64]                  ; 8-byte Folded Reload
Lloh15:
	adrp	x8, _EFI_SUCCESS@GOTPAGE
Lloh16:
	ldr	x8, [x8, _EFI_SUCCESS@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_59
LBB0_30:                                ;   in Loop: Header=BB0_19 Depth=1
	ldr	x1, [sp, #72]
	add	x27, x27, x21, lsl #4
	add	x3, x27, #8
	add	x2, sp, #96
	ldr	x0, [sp, #56]                   ; 8-byte Folded Reload
	mov	x4, x27
	bl	_efi_file_size
	mov	x24, x0
Lloh18:
	adrp	x8, _EFI_SUCCESS@GOTPAGE
Lloh19:
	ldr	x8, [x8, _EFI_SUCCESS@GOTPAGEOFF]
Lloh20:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_37
; %bb.31:                               ;   in Loop: Header=BB0_19 Depth=1
	ldr	x8, [x27]
	add	x28, x8, x28
	add	x21, x21, #1
	ldr	x8, [sp, #48]                   ; 8-byte Folded Reload
	cmp	x21, x8
	b.eq	LBB0_38
; %bb.32:                               ;   in Loop: Header=BB0_19 Depth=1
	str	x21, [sp, #64]                  ; 8-byte Folded Spill
	add	x0, x20, x23
	mov	x1, x25
	bl	_strstr
	mov	x27, x0
	mov	w21, #92
	cbnz	x0, LBB0_19
; %bb.33:
	ldr	x26, [sp, #16]                  ; 8-byte Folded Reload
	ldp	x27, x8, [sp, #56]              ; 16-byte Folded Reload
	str	x8, [sp, #64]                   ; 8-byte Folded Spill
	cbnz	x28, LBB0_39
	b	LBB0_49
LBB0_34:
Lloh21:
	adrp	x8, _EFI_SUCCESS@GOTPAGE
Lloh22:
	ldr	x8, [x8, _EFI_SUCCESS@GOTPAGEOFF]
Lloh23:
	ldr	x24, [x8]
	b	LBB0_57
LBB0_35:
Lloh24:
	adrp	x1, l_.str@PAGE
Lloh25:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x27
	bl	_pr_efi_err
	b	LBB0_56
LBB0_36:
	mov	w8, #0
	mov	x28, #0
	ldr	x27, [sp, #56]                  ; 8-byte Folded Reload
	str	x8, [sp, #64]                   ; 8-byte Folded Spill
	cbnz	x28, LBB0_39
	b	LBB0_49
LBB0_37:
	mov	w21, #0
	ldr	x26, [sp, #16]                  ; 8-byte Folded Reload
	b	LBB0_52
LBB0_38:
	mov	x8, x22
	str	x8, [sp, #64]                   ; 8-byte Folded Spill
	ldr	x26, [sp, #16]                  ; 8-byte Folded Reload
	ldr	x27, [sp, #56]                  ; 8-byte Folded Reload
	cbz	x28, LBB0_49
LBB0_39:
	add	x3, sp, #80
	mov	x0, x27
	str	x28, [sp, #56]                  ; 8-byte Folded Spill
	mov	x1, x28
	mov	w2, #4096
	ldr	x19, [sp, #24]                  ; 8-byte Folded Reload
	mov	x4, x19
	bl	_efi_high_alloc
	mov	x24, x0
Lloh26:
	adrp	x8, _EFI_SUCCESS@GOTPAGE
Lloh27:
	ldr	x8, [x8, _EFI_SUCCESS@GOTPAGEOFF]
Lloh28:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_42
; %bb.40:
	ldr	x25, [sp, #80]
	cmp	x25, x19
	b.ls	LBB0_43
; %bb.41:
Lloh29:
	adrp	x1, l_.str.2@PAGE
Lloh30:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x27
	bl	_pr_efi_err
	mov	w21, #0
Lloh31:
	adrp	x8, _EFI_INVALID_PARAMETER@GOTPAGE
Lloh32:
	ldr	x8, [x8, _EFI_INVALID_PARAMETER@GOTPAGEOFF]
Lloh33:
	ldr	x24, [x8]
	b	LBB0_51
LBB0_42:
Lloh34:
	adrp	x1, l_.str.1@PAGE
Lloh35:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x27
	bl	_pr_efi_err
	mov	w21, #0
	b	LBB0_52
LBB0_43:
	mov	x21, #0
	cmp	w22, #1
	csinc	w19, w22, wzr, hi
Lloh36:
	adrp	x20, _CONFIG_X86@GOTPAGE
Lloh37:
	ldr	x20, [x20, _CONFIG_X86@GOTPAGEOFF]
Lloh38:
	adrp	x22, ___chunk_size@GOTPAGE
Lloh39:
	ldr	x22, [x22, ___chunk_size@GOTPAGEOFF]
	ldr	x28, [sp, #56]                  ; 8-byte Folded Reload
	b	LBB0_45
LBB0_44:                                ;   in Loop: Header=BB0_45 Depth=1
	add	x8, x8, x21, lsl #4
	ldr	w0, [x8, #8]
	bl	_efi_file_close
	add	x21, x21, #1
	cmp	x21, x19
	b.eq	LBB0_49
LBB0_45:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_46 Depth 2
	ldr	x8, [sp, #88]
	lsl	x9, x21, #4
	ldr	x23, [x8, x9]
	cbz	x23, LBB0_44
LBB0_46:                                ;   Parent Loop BB0_45 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w0, [x20]
	bl	_IS_ENABLED
	ldr	x8, [x22]
	cmp	x23, x8
	ccmp	x0, #0, #4, hi
	csel	x8, x8, x23, ne
	str	x8, [sp, #96]
	ldr	x8, [sp, #88]
	add	x8, x8, x21, lsl #4
	ldr	w0, [x8, #8]
	add	x1, sp, #96
	mov	x2, x25
	bl	_efi_file_read
	mov	x24, x0
Lloh40:
	adrp	x8, _EFI_SUCCESS@GOTPAGE
Lloh41:
	ldr	x8, [x8, _EFI_SUCCESS@GOTPAGEOFF]
Lloh42:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_50
; %bb.47:                               ;   in Loop: Header=BB0_46 Depth=2
	ldr	x8, [sp, #96]
	add	x25, x8, x25
	subs	x23, x23, x8
	b.ne	LBB0_46
; %bb.48:                               ;   in Loop: Header=BB0_45 Depth=1
	ldr	x8, [sp, #88]
	b	LBB0_44
LBB0_49:
Lloh43:
	adrp	x8, _free_pool@GOTPAGE
Lloh44:
	ldr	x8, [x8, _free_pool@GOTPAGEOFF]
Lloh45:
	ldr	w0, [x8]
	ldr	x1, [sp, #88]
	bl	_efi_call_early
	ldr	x8, [sp, #80]
	ldr	x9, [sp, #32]                   ; 8-byte Folded Reload
	str	x8, [x9]
	str	x28, [x26]
	b	LBB0_57
LBB0_50:
Lloh46:
	adrp	x1, l_.str.3@PAGE
Lloh47:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x27
	bl	_pr_efi_err
LBB0_51:
	ldr	x2, [sp, #80]
	mov	x0, x27
	ldr	x1, [sp, #56]                   ; 8-byte Folded Reload
	bl	_efi_free
LBB0_52:
	ldr	x9, [sp, #64]                   ; 8-byte Folded Reload
	cmp	w21, w9
	b.ge	LBB0_55
; %bb.53:
	mov	x8, x21
	sxtw	x8, w8
	mov	w19, #8
	bfi	x19, x8, #4, #60
	sub	w20, w9, w21
LBB0_54:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [sp, #88]
	ldr	w0, [x8, x19]
	bl	_efi_file_close
	add	x19, x19, #16
	subs	w20, w20, #1
	b.ne	LBB0_54
LBB0_55:
	ldr	x21, [sp, #32]                  ; 8-byte Folded Reload
Lloh48:
	adrp	x8, _free_pool@GOTPAGE
Lloh49:
	ldr	x8, [x8, _free_pool@GOTPAGEOFF]
Lloh50:
	ldr	w0, [x8]
	ldr	x1, [sp, #88]
	bl	_efi_call_early
LBB0_56:
	str	xzr, [x21]
	str	xzr, [x26]
LBB0_57:
	ldur	x8, [x29, #-96]
Lloh51:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh52:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh53:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_60
; %bb.58:
	mov	x0, x24
	ldp	x29, x30, [sp, #448]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #432]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #416]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #400]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #384]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #368]            ; 16-byte Folded Reload
	add	sp, sp, #464
	ret
LBB0_59:
	mov	x24, x0
	ldr	x26, [sp, #16]                  ; 8-byte Folded Reload
	b	LBB0_55
LBB0_60:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.cfi_endproc
                                        ; -- End function
	.comm	_EFI_INVALID_PARAMETER,8,3      ; @EFI_INVALID_PARAMETER
	.comm	_EFI_SUCCESS,8,3                ; @EFI_SUCCESS
	.comm	_allocate_pool,4,2              ; @allocate_pool
	.comm	_EFI_LOADER_DATA,4,2            ; @EFI_LOADER_DATA
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to alloc mem for file handle list\n"

l_.str.1:                               ; @.str.1
	.asciz	"Failed to alloc highmem for files\n"

l_.str.2:                               ; @.str.2
	.asciz	"We've run out of free low memory\n"

	.comm	_CONFIG_X86,4,2                 ; @CONFIG_X86
	.comm	___chunk_size,8,3               ; @__chunk_size
l_.str.3:                               ; @.str.3
	.asciz	"Failed to read file\n"

	.comm	_free_pool,4,2                  ; @free_pool
.subsections_via_symbols
