	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bd_strategy
_bd_strategy:                           ## @bd_strategy
	.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	%r9, -48(%rbp)                  ## 8-byte Spill
	movq	%r8, %r15
	movq	%rcx, %r12
	movl	%edx, %ebx
	movl	%esi, %r13d
	movq	%rdi, %r14
	addq	$8, %rdi
	callq	_bd_get_bdinfo
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	_bd_realstrategy@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, -56(%rbp)
	movq	%r14, -64(%rbp)
	movl	4(%rax), %ecx
	movl	%ecx, -72(%rbp)
	movq	8(%r14), %rcx
	movq	(%rcx), %rcx
	movq	_DEVT_DISK@GOTPCREL(%rip), %rsi
	xorl	%edx, %edx
	cmpq	(%rsi), %rcx
	jne	LBB0_4
## %bb.3:
	movl	(%rax), %eax
	imull	(%r14), %eax
	movq	_BIOSDISK_SECSIZE@GOTPCREL(%rip), %rcx
	cltd
	idivl	(%rcx)
	movl	%eax, %edx
LBB0_4:
	addl	%ebx, %edx
	leaq	-72(%rbp), %rdi
	movl	%r13d, %esi
	movq	%r12, %rcx
	movq	%r15, %r8
	movq	-48(%rbp), %r9                  ## 8-byte Reload
	callq	_bcache_strategy
	jmp	LBB0_5
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_5:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_bd_realstrategy,4,2            ## @bd_realstrategy
	.comm	_DEVT_DISK,8,3                  ## @DEVT_DISK
	.comm	_BIOSDISK_SECSIZE,4,2           ## @BIOSDISK_SECSIZE
	.no_dead_strip	_bd_strategy
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bd_strategy
_bd_strategy:                           ; @bd_strategy
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x19, x5
	mov	x20, x4
	mov	x21, x3
	mov	x23, x2
	mov	x22, x1
	mov	x24, x0
	add	x0, x0, #8
	bl	_bd_get_bdinfo
	cbz	x0, LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _bd_realstrategy@GOTPAGE
Lloh1:
	ldr	x8, [x8, _bd_realstrategy@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #24]
	str	x24, [sp, #16]
	ldr	w8, [x0, #4]
	str	w8, [sp, #8]
	ldr	x8, [x24, #8]
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _DEVT_DISK@GOTPAGE
Lloh4:
	ldr	x9, [x9, _DEVT_DISK@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.2:
	ldr	w8, [x24]
	ldr	w9, [x0]
	mul	w8, w9, w8
Lloh6:
	adrp	x9, _BIOSDISK_SECSIZE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _BIOSDISK_SECSIZE@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	sdiv	w8, w8, w9
	b	LBB0_5
LBB0_3:
Lloh9:
	adrp	x8, _EINVAL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	b	LBB0_6
LBB0_4:
	mov	w8, #0
LBB0_5:
	add	w2, w8, w23
	add	x0, sp, #8
	mov	x1, x22
	mov	x3, x21
	mov	x4, x20
	mov	x5, x19
	bl	_bcache_strategy
LBB0_6:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_bd_realstrategy,4,2            ; @bd_realstrategy
	.comm	_DEVT_DISK,8,3                  ; @DEVT_DISK
	.comm	_BIOSDISK_SECSIZE,4,2           ; @BIOSDISK_SECSIZE
	.no_dead_strip	_bd_strategy
.subsections_via_symbols
