	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function efipart_realstrategy
_efipart_realstrategy:                  ## @efipart_realstrategy
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rdi, %rdi
	je	LBB0_9
## %bb.1:
	movl	%edx, %r14d
	testl	%edx, %edx
	js	LBB0_9
## %bb.2:
	movq	%r9, %r15
	movq	%rdi, %rbx
	movl	%esi, -92(%rbp)                 ## 4-byte Spill
	movq	%r8, %r13
	movq	%rcx, %r12
	callq	_efiblk_get_pdinfo
	testq	%rax, %rax
	je	LBB0_9
## %bb.3:
	movq	(%rax), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	je	LBB0_12
## %bb.4:
	testq	%r12, %r12
	je	LBB0_38
## %bb.5:
	movq	%r12, %rsi
	movl	%esi, %eax
	andl	$511, %eax                      ## imm = 0x1FF
	testq	%rax, %rax
	jne	LBB0_38
## %bb.6:
	shll	$9, %r14d
	movslq	%r14d, %r9
	movq	$0, -88(%rbp)
	movq	8(%rbx), %rax
	movq	(%rax), %rax
	movq	_DEVT_DISK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	movq	%r9, -48(%rbp)                  ## 8-byte Spill
	jne	LBB0_13
## %bb.7:
	movq	_DIOCGMEDIASIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-88(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_disk_ioctl
	testq	%rax, %rax
	je	LBB0_14
## %bb.8:
	movq	-88(%rbp), %rcx
	movq	%r12, %rsi
	movq	-48(%rbp), %r9                  ## 8-byte Reload
	jmp	LBB0_18
LBB0_9:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_10:
	movl	(%rax), %r14d
LBB0_11:
	movl	%r14d, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	movq	_ENXIO@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_13:
	xorl	%ebx, %ebx
	jmp	LBB0_20
LBB0_14:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movq	(%rax), %rcx
	movq	-88(%rbp), %rax
	movq	%rax, %rdx
	orq	%rcx, %rdx
	shrq	$32, %rdx
	je	LBB0_16
## %bb.15:
	xorl	%edx, %edx
	divq	%rcx
	movq	%rax, %rcx
	jmp	LBB0_17
LBB0_16:
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%ecx
	movl	%eax, %ecx
LBB0_17:
	movq	%r12, %rsi
	movq	-48(%rbp), %r9                  ## 8-byte Reload
	movq	%rcx, -88(%rbp)
LBB0_18:
	movq	(%rbx), %rbx
	testq	%rcx, %rcx
	je	LBB0_20
## %bb.19:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %r8
	jmp	LBB0_21
LBB0_20:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %r8
	movq	8(%r8), %rcx
	subq	%rbx, %rcx
	incq	%rcx
	movq	%rcx, -88(%rbp)
LBB0_21:
	leaq	(%r9,%rsi), %rax
	movq	(%r8), %rdi
	movq	%rax, %rdx
	orq	%rdi, %rdx
	shrq	$32, %rdx
	je	LBB0_23
## %bb.22:
	xorl	%edx, %edx
	divq	%rdi
	jmp	LBB0_24
LBB0_23:
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%edi
                                        ## kill: def $eax killed $eax def $rax
LBB0_24:
	addq	%rbx, %rcx
	cmpq	%rcx, %rax
	jbe	LBB0_28
## %bb.25:
	movq	%r9, %rax
	orq	%rdi, %rax
	shrq	$32, %rax
	je	LBB0_35
## %bb.26:
	movq	%r9, %rax
	xorl	%edx, %edx
	divq	%rdi
	subq	%rax, %rcx
	jbe	LBB0_36
LBB0_27:
	imulq	%rdi, %rcx
	movq	%rcx, %rsi
LBB0_28:
	movq	%rsi, %rax
	orq	%rdi, %rax
	shrq	$32, %rax
	je	LBB0_30
## %bb.29:
	movq	%rsi, %rax
	xorl	%edx, %edx
	divq	%rdi
	jmp	LBB0_31
LBB0_30:
	movl	%esi, %eax
	xorl	%edx, %edx
	divl	%edi
                                        ## kill: def $edx killed $edx def $rdx
LBB0_31:
	testq	%rdx, %rdx
	movq	%r15, -112(%rbp)                ## 8-byte Spill
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	je	LBB0_33
## %bb.32:
	movl	16(%r8), %ebx
	movl	$1, %r15d
	cmpl	$2, %ebx
	jae	LBB0_42
	jmp	LBB0_47
LBB0_33:
	movq	%r9, %rax
	orq	%rdi, %rax
	shrq	$32, %rax
	je	LBB0_39
## %bb.34:
	movq	%r9, %rax
	xorl	%edx, %edx
	divq	%rdi
	jmp	LBB0_40
LBB0_35:
	movl	%r14d, %eax
	xorl	%edx, %edx
	divl	%edi
                                        ## kill: def $eax killed $eax def $rax
	subq	%rax, %rcx
	ja	LBB0_27
LBB0_36:
	testq	%r15, %r15
	je	LBB0_38
## %bb.37:
	movq	$0, (%r15)
LBB0_38:
	movq	_EIO@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_39:
	movl	%r14d, %eax
	xorl	%edx, %edx
	divl	%edi
                                        ## kill: def $edx killed $edx def $rdx
LBB0_40:
	xorl	%r15d, %r15d
	testq	%rdx, %rdx
	setne	%al
	movl	16(%r8), %ebx
	cmpl	$1, %ebx
	jbe	LBB0_44
## %bb.41:
	movb	%al, %r15b
LBB0_42:
	movq	%r13, %rdi
	movl	%ebx, %esi
	callq	_roundup2
	cmpq	%r13, %rax
	jne	LBB0_46
## %bb.43:
	testl	%r15d, %r15d
	movl	%ebx, %r15d
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	je	LBB0_45
	jmp	LBB0_47
LBB0_44:
	movl	$1, %r15d
	testq	%rdx, %rdx
	jne	LBB0_47
LBB0_45:
	movb	$1, %al
	movl	%eax, -68(%rbp)                 ## 4-byte Spill
	movq	%rsi, %rbx
	movq	%r13, %rax
	movq	%r13, -80(%rbp)                 ## 8-byte Spill
	testq	%r13, %r13
	jne	LBB0_52
	jmp	LBB0_50
LBB0_46:
	movl	%ebx, %r15d
LBB0_47:
	movq	_BIO_BUFFER_SIZE@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	testq	%rbx, %rbx
	je	LBB0_50
	.p2align	4, 0x90
LBB0_48:                                ## =>This Inner Loop Header: Depth=1
	movl	%r15d, %edi
	movq	%rbx, %rsi
	callq	_memalign
	testq	%rax, %rax
	jne	LBB0_51
## %bb.49:                              ##   in Loop: Header=BB0_48 Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	subq	(%rax), %rbx
	jne	LBB0_48
LBB0_50:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_51:
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movl	$0, -68(%rbp)                   ## 4-byte Folded Spill
LBB0_52:
	movq	-112(%rbp), %rax                ## 8-byte Reload
	testq	%rax, %rax
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	je	LBB0_54
## %bb.53:
	movq	%rdi, (%rax)
LBB0_54:
	testq	%rdi, %rdi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	je	LBB0_57
## %bb.55:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movq	(%rax), %rcx
	movq	%rdx, %rax
	orq	%rcx, %rax
	shrq	$32, %rax
	movq	%r13, -104(%rbp)                ## 8-byte Spill
	je	LBB0_58
## %bb.56:
	movq	%rdx, %rax
	xorl	%edx, %edx
	divq	%rcx
	movq	%rdx, %r15
	jmp	LBB0_61
LBB0_57:
	xorl	%r15d, %r15d
	xorl	%r14d, %r14d
	jmp	LBB0_81
LBB0_58:
	movl	%r14d, %eax
	xorl	%edx, %edx
	divl	%ecx
	movl	%edx, %r15d
                                        ## kill: def $eax killed $eax def $rax
	jmp	LBB0_61
LBB0_59:                                ##   in Loop: Header=BB0_61 Depth=1
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	-48(%rbp), %r15                 ## 8-byte Reload
LBB0_60:                                ##   in Loop: Header=BB0_61 Depth=1
	addq	%r12, -104(%rbp)                ## 8-byte Folded Spill
	addl	%r13d, %r15d
	movl	$0, %r14d
	subq	%r12, %rdi
	movq	%r15, %rax
	movl	$0, %r15d
	je	LBB0_81
LBB0_61:                                ## =>This Inner Loop Header: Depth=1
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rsi
	callq	_min
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx), %rcx
	movq	(%rcx), %rdi
	movl	$1, %r8d
	cmpq	%rdi, %rax
	jb	LBB0_65
## %bb.62:                              ##   in Loop: Header=BB0_61 Depth=1
	movq	%rax, %rcx
	orq	%rdi, %rcx
	shrq	$32, %rcx
	je	LBB0_64
## %bb.63:                              ##   in Loop: Header=BB0_61 Depth=1
	xorl	%edx, %edx
	divq	%rdi
	movq	%rax, %r8
	jmp	LBB0_65
LBB0_64:                                ##   in Loop: Header=BB0_61 Depth=1
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%edi
	movl	%eax, %r8d
	.p2align	4, 0x90
LBB0_65:                                ##   in Loop: Header=BB0_61 Depth=1
	movq	_F_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	-92(%rbp), %eax                 ## 4-byte Folded Reload
	cmpl	$128, %eax
	je	LBB0_70
## %bb.66:                              ##   in Loop: Header=BB0_61 Depth=1
	cmpl	$129, %eax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	jne	LBB0_79
## %bb.67:                              ##   in Loop: Header=BB0_61 Depth=1
	imulq	%r8, %rdi
	subq	%r15, %rdi
	cmpq	%rdi, %rcx
	movq	%rdi, %r12
	cmovbq	%rcx, %r12
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	-92(%rbp), %esi                 ## 4-byte Reload
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	movq	%r8, %r13
	movq	%r8, %rcx
	movq	-80(%rbp), %r8                  ## 8-byte Reload
	callq	_efipart_readwrite
	testl	%eax, %eax
	jne	LBB0_78
## %bb.68:                              ##   in Loop: Header=BB0_61 Depth=1
	cmpb	$0, -68(%rbp)                   ## 1-byte Folded Reload
	jne	LBB0_59
## %bb.69:                              ##   in Loop: Header=BB0_61 Depth=1
	addq	-80(%rbp), %r15                 ## 8-byte Folded Reload
	movq	-104(%rbp), %rdi                ## 8-byte Reload
	movq	%r15, %rsi
	movq	%r12, %rdx
	callq	_memmove
	jmp	LBB0_59
LBB0_70:                                ##   in Loop: Header=BB0_61 Depth=1
	testq	%r15, %r15
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	je	LBB0_72
## %bb.71:                              ##   in Loop: Header=BB0_61 Depth=1
	subq	%r15, %rdi
	callq	_min
	movq	%rax, %r12
	jmp	LBB0_73
LBB0_72:                                ##   in Loop: Header=BB0_61 Depth=1
	movq	%rsi, %r12
	cmpq	%rdi, %rsi
	jae	LBB0_77
LBB0_73:                                ##   in Loop: Header=BB0_61 Depth=1
	movl	$1, %r13d
	movl	$1, %ecx
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	$129, %esi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	movq	-80(%rbp), %r8                  ## 8-byte Reload
	callq	_efipart_readwrite
	testl	%eax, %eax
	jne	LBB0_78
## %bb.74:                              ##   in Loop: Header=BB0_61 Depth=1
	cmpb	$0, -68(%rbp)                   ## 1-byte Folded Reload
	jne	LBB0_76
LBB0_75:                                ##   in Loop: Header=BB0_61 Depth=1
	addq	-80(%rbp), %r15                 ## 8-byte Folded Reload
	movq	%r15, %rdi
	movq	-104(%rbp), %rsi                ## 8-byte Reload
	movq	%r12, %rdx
	callq	_memmove
LBB0_76:                                ##   in Loop: Header=BB0_61 Depth=1
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	$128, %esi
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	movl	%r15d, %edx
	movq	%r13, %rcx
	movq	-80(%rbp), %r8                  ## 8-byte Reload
	callq	_efipart_readwrite
	testl	%eax, %eax
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	je	LBB0_60
	jmp	LBB0_80
LBB0_77:                                ##   in Loop: Header=BB0_61 Depth=1
	movq	%r8, %r13
	imulq	%r8, %rdi
	movq	%rdi, %r12
	cmpb	$0, -68(%rbp)                   ## 1-byte Folded Reload
	je	LBB0_75
	jmp	LBB0_76
LBB0_78:
	movl	%eax, %r14d
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	jmp	LBB0_81
LBB0_79:
	movq	_EROFS@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	%rcx, %r15
	jmp	LBB0_81
LBB0_80:
	movl	%eax, %r14d
	movq	%rdi, %r15
LBB0_81:
	movq	-112(%rbp), %rax                ## 8-byte Reload
	testq	%rax, %rax
	je	LBB0_83
## %bb.82:
	subq	%r15, (%rax)
LBB0_83:
	cmpb	$0, -68(%rbp)                   ## 1-byte Folded Reload
	jne	LBB0_11
## %bb.84:
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	callq	_free
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_ENXIO,4,2                      ## @ENXIO
	.comm	_EIO,4,2                        ## @EIO
	.comm	_DEVT_DISK,8,3                  ## @DEVT_DISK
	.comm	_DIOCGMEDIASIZE,4,2             ## @DIOCGMEDIASIZE
	.comm	_BIO_BUFFER_SIZE,8,3            ## @BIO_BUFFER_SIZE
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_F_MASK,4,2                     ## @F_MASK
	.comm	_EROFS,4,2                      ## @EROFS
	.no_dead_strip	_efipart_realstrategy
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function efipart_realstrategy
_efipart_realstrategy:                  ; @efipart_realstrategy
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	cbz	x0, LBB0_10
; %bb.1:
	mov	x24, x2
	tbnz	w2, #31, LBB0_10
; %bb.2:
	mov	x26, x5
	mov	x21, x4
	mov	x20, x3
	mov	x28, x1
	mov	x19, x0
	bl	_efiblk_get_pdinfo
	cbz	x0, LBB0_10
; %bb.3:
	ldr	x23, [x0]
	cbz	x23, LBB0_13
; %bb.4:
	cbz	x20, LBB0_26
; %bb.5:
	and	x8, x20, #0x1ff
	cbnz	x8, LBB0_26
; %bb.6:
	mov	x9, #0
	lsl	w8, w24, #9
	sxtw	x27, w8
	str	xzr, [sp, #24]
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
Lloh0:
	adrp	x10, _DEVT_DISK@GOTPAGE
Lloh1:
	ldr	x10, [x10, _DEVT_DISK@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	cmp	x8, x10
	b.ne	LBB0_15
; %bb.7:
Lloh3:
	adrp	x8, _DIOCGMEDIASIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DIOCGMEDIASIZE@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	add	x2, sp, #24
	mov	x0, x19
	bl	_disk_ioctl
	cbz	x0, LBB0_14
; %bb.8:
	ldr	x10, [sp, #24]
	ldr	x9, [x19]
	cbz	x10, LBB0_15
LBB0_9:
	ldr	x8, [x23]
	b	LBB0_16
LBB0_10:
Lloh6:
	adrp	x8, _EINVAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_11:
	ldr	w19, [x8]
LBB0_12:
	mov	x0, x19
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_13:
Lloh8:
	adrp	x8, _ENXIO@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ENXIO@GOTPAGEOFF]
	b	LBB0_11
LBB0_14:
	ldr	x8, [x23]
	ldr	x8, [x8]
	ldr	x9, [sp, #24]
	udiv	x10, x9, x8
	str	x10, [sp, #24]
	ldr	x9, [x19]
	cbnz	x10, LBB0_9
LBB0_15:
	ldr	x8, [x23]
	ldr	x10, [x8, #8]
	sub	x10, x10, x9
	add	x10, x10, #1
	str	x10, [sp, #24]
LBB0_16:
	add	x12, x27, x20
	ldr	x11, [x8]
	udiv	x12, x12, x11
	add	x9, x10, x9
	cmp	x12, x9
	b.ls	LBB0_19
; %bb.17:
	udiv	x10, x27, x11
	subs	x9, x9, x10
	b.ls	LBB0_24
; %bb.18:
	mul	x20, x9, x11
LBB0_19:
	udiv	x9, x20, x11
	msub	x9, x9, x11, x20
	cbz	x9, LBB0_21
; %bb.20:
	ldr	w24, [x8, #16]
	mov	w22, #1
	mov	w19, #1
	cmp	w24, #2
	b.hs	LBB0_22
	b	LBB0_29
LBB0_21:
	udiv	x9, x27, x11
	msub	x9, x9, x11, x27
	cmp	x9, #0
	cset	w22, ne
	ldr	w24, [x8, #16]
	cmp	w24, #1
	b.ls	LBB0_27
LBB0_22:
	mov	x0, x21
	mov	x1, x24
	bl	_roundup2
	mov	x19, x24
	cmp	x0, x21
	b.ne	LBB0_29
; %bb.23:
	cbz	w22, LBB0_32
	b	LBB0_29
LBB0_24:
	cbz	x26, LBB0_26
; %bb.25:
	str	xzr, [x26]
LBB0_26:
Lloh10:
	adrp	x8, _EIO@GOTPAGE
Lloh11:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
	b	LBB0_11
LBB0_27:
	cbz	x9, LBB0_32
; %bb.28:
	mov	w19, #1
LBB0_29:
Lloh12:
	adrp	x8, _BIO_BUFFER_SIZE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _BIO_BUFFER_SIZE@GOTPAGEOFF]
Lloh14:
	ldr	x25, [x8]
	cbz	x25, LBB0_34
LBB0_30:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x25
	bl	_memalign
	cbnz	x0, LBB0_35
; %bb.31:                               ;   in Loop: Header=BB0_30 Depth=1
	ldr	x8, [x23]
	ldr	x8, [x8]
	subs	x25, x25, x8
	b.ne	LBB0_30
	b	LBB0_34
LBB0_32:
	cbz	x21, LBB0_34
; %bb.33:
	mov	w8, #1
	str	w8, [sp, #20]                   ; 4-byte Folded Spill
	mov	x25, x20
	mov	x24, x21
	b	LBB0_36
LBB0_34:
Lloh15:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_11
LBB0_35:
	mov	x24, x0
	str	wzr, [sp, #20]                  ; 4-byte Folded Spill
LBB0_36:
	cbz	x26, LBB0_38
; %bb.37:
	str	x20, [x26]
LBB0_38:
	cbz	x20, LBB0_57
; %bb.39:
	str	x26, [sp, #8]                   ; 8-byte Folded Spill
	ldr	x8, [x23]
	ldr	x8, [x8]
	udiv	x26, x27, x8
	msub	x22, x26, x8, x27
	str	w28, [sp, #16]                  ; 4-byte Folded Spill
	b	LBB0_42
LBB0_40:                                ;   in Loop: Header=BB0_42 Depth=1
	mov	x0, x23
	mov	w1, #128
	mov	x2, x26
	mov	x3, x27
	mov	x4, x24
	bl	_efipart_readwrite
	cbnz	w0, LBB0_58
LBB0_41:                                ;   in Loop: Header=BB0_42 Depth=1
	mov	x22, #0
	add	x21, x21, x28
	add	w26, w26, w27
	subs	x20, x20, x28
	ldr	w28, [sp, #16]                  ; 4-byte Folded Reload
	b.eq	LBB0_59
LBB0_42:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x25
	bl	_min
	ldr	x8, [x23]
	ldr	x8, [x8]
	cmp	x0, x8
	b.hs	LBB0_44
; %bb.43:                               ;   in Loop: Header=BB0_42 Depth=1
	mov	w27, #1
	b	LBB0_45
LBB0_44:                                ;   in Loop: Header=BB0_42 Depth=1
	udiv	x27, x0, x8
LBB0_45:                                ;   in Loop: Header=BB0_42 Depth=1
Lloh17:
	adrp	x9, _F_MASK@GOTPAGE
Lloh18:
	ldr	x9, [x9, _F_MASK@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	and	w9, w9, w28
	cmp	w9, #128
	b.eq	LBB0_50
; %bb.46:                               ;   in Loop: Header=BB0_42 Depth=1
	cmp	w9, #129
	b.ne	LBB0_60
; %bb.47:                               ;   in Loop: Header=BB0_42 Depth=1
	neg	x9, x22
	madd	x8, x27, x8, x9
	cmp	x20, x8
	mov	x1, x28
	csel	x28, x20, x8, lo
	mov	x0, x23
	mov	x2, x26
	mov	x3, x27
	mov	x4, x24
	bl	_efipart_readwrite
	cbnz	w0, LBB0_58
; %bb.48:                               ;   in Loop: Header=BB0_42 Depth=1
	ldr	w8, [sp, #20]                   ; 4-byte Folded Reload
	tbnz	w8, #0, LBB0_41
; %bb.49:                               ;   in Loop: Header=BB0_42 Depth=1
	add	x1, x24, x22
	mov	x0, x21
	mov	x2, x28
	bl	_memmove
	b	LBB0_41
LBB0_50:                                ;   in Loop: Header=BB0_42 Depth=1
	cbz	x22, LBB0_52
; %bb.51:                               ;   in Loop: Header=BB0_42 Depth=1
	sub	x0, x8, x22
	mov	x1, x20
	bl	_min
	mov	x28, x0
	b	LBB0_53
LBB0_52:                                ;   in Loop: Header=BB0_42 Depth=1
	mov	x28, x20
	cmp	x20, x8
	b.hs	LBB0_56
LBB0_53:                                ;   in Loop: Header=BB0_42 Depth=1
	mov	x0, x23
	mov	w1, #129
	mov	x2, x26
	mov	w3, #1
	mov	x4, x24
	bl	_efipart_readwrite
	mov	w27, #1
	cbnz	w0, LBB0_58
; %bb.54:                               ;   in Loop: Header=BB0_42 Depth=1
	ldr	w8, [sp, #20]                   ; 4-byte Folded Reload
	tbnz	w8, #0, LBB0_40
LBB0_55:                                ;   in Loop: Header=BB0_42 Depth=1
	add	x0, x24, x22
	mov	x1, x21
	mov	x2, x28
	bl	_memmove
	b	LBB0_40
LBB0_56:                                ;   in Loop: Header=BB0_42 Depth=1
	mul	x28, x27, x8
	ldr	w8, [sp, #20]                   ; 4-byte Folded Reload
	tbz	w8, #0, LBB0_55
	b	LBB0_40
LBB0_57:
	mov	w19, #0
	b	LBB0_62
LBB0_58:
	mov	x19, x0
	b	LBB0_61
LBB0_59:
	mov	w19, #0
	mov	x20, x22
	b	LBB0_61
LBB0_60:
Lloh20:
	adrp	x8, _EROFS@GOTPAGE
Lloh21:
	ldr	x8, [x8, _EROFS@GOTPAGEOFF]
Lloh22:
	ldr	w19, [x8]
LBB0_61:
	ldr	x26, [sp, #8]                   ; 8-byte Folded Reload
LBB0_62:
	cbz	x26, LBB0_64
; %bb.63:
	ldr	x8, [x26]
	sub	x8, x8, x20
	str	x8, [x26]
LBB0_64:
	ldr	w8, [sp, #20]                   ; 4-byte Folded Reload
	tbnz	w8, #0, LBB0_12
; %bb.65:
	mov	x0, x24
	bl	_free
	b	LBB0_12
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_ENXIO,4,2                      ; @ENXIO
	.comm	_EIO,4,2                        ; @EIO
	.comm	_DEVT_DISK,8,3                  ; @DEVT_DISK
	.comm	_DIOCGMEDIASIZE,4,2             ; @DIOCGMEDIASIZE
	.comm	_BIO_BUFFER_SIZE,8,3            ; @BIO_BUFFER_SIZE
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_F_MASK,4,2                     ; @F_MASK
	.comm	_EROFS,4,2                      ; @EROFS
	.no_dead_strip	_efipart_realstrategy
.subsections_via_symbols
