	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function md_strategy
_md_strategy:                           ## @md_strategy
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpq	$0, (%rdi)
	je	LBB0_2
## %bb.1:
	movq	_ENXIO@GOTPCREL(%rip), %rax
	jmp	LBB0_19
LBB0_2:
	movq	%rdx, %r11
	movq	_MD_IMAGE_SIZE@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	_MD_BLOCK_SIZE@GOTPCREL(%rip), %rax
	movq	(%rax), %r10
	movq	%rdi, %rax
	orq	%r10, %rax
	shrq	$32, %rax
	je	LBB0_3
## %bb.4:
	movq	%rdi, %rax
	xorl	%edx, %edx
	divq	%r10
	cmpq	%r11, %rax
	ja	LBB0_7
	jmp	LBB0_6
LBB0_3:
	movl	%edi, %eax
	xorl	%edx, %edx
	divl	%r10d
                                        ## kill: def $eax killed $eax def $rax
	cmpq	%r11, %rax
	jbe	LBB0_6
LBB0_7:
	movq	%rcx, %rax
	orq	%r10, %rax
	shrq	$32, %rax
	je	LBB0_8
## %bb.9:
	movq	%rcx, %rax
	xorl	%edx, %edx
	divq	%r10
	testq	%rdx, %rdx
	je	LBB0_11
LBB0_6:
	movq	_EIO@GOTPCREL(%rip), %rax
LBB0_19:
	movl	(%rax), %eax
	popq	%rbp
	retq
LBB0_8:
	movl	%ecx, %eax
	xorl	%edx, %edx
	divl	%r10d
                                        ## kill: def $edx killed $edx def $rdx
	testq	%rdx, %rdx
	jne	LBB0_6
LBB0_11:
	imulq	%r11, %r10
	leaq	(%r10,%rcx), %rax
	movq	%rdi, %rdx
	subq	%r10, %rdx
	cmpq	%rdi, %rax
	cmovbeq	%rcx, %rdx
	testq	%r9, %r9
	je	LBB0_13
## %bb.12:
	movq	%rdx, (%r9)
LBB0_13:
	movq	_F_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %esi
	cmpl	$128, %esi
	je	LBB0_17
## %bb.14:
	cmpl	$129, %esi
	jne	LBB0_18
## %bb.15:
	movq	_md_image@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	addq	%rax, %r10
	movq	%r8, %rdi
	movq	%r10, %rsi
	jmp	LBB0_16
LBB0_17:
	movq	_md_image@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	addq	%rax, %r10
	movq	%r10, %rdi
	movq	%r8, %rsi
LBB0_16:
	callq	_memmove
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_18:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	jmp	LBB0_19
	.cfi_endproc
                                        ## -- End function
	.comm	_ENXIO,4,2                      ## @ENXIO
	.comm	_MD_IMAGE_SIZE,8,3              ## @MD_IMAGE_SIZE
	.comm	_MD_BLOCK_SIZE,8,3              ## @MD_BLOCK_SIZE
	.comm	_EIO,4,2                        ## @EIO
	.comm	_F_MASK,4,2                     ## @F_MASK
	.comm	_md_image,4,2                   ## @md_image
	.comm	_ENODEV,4,2                     ## @ENODEV
	.no_dead_strip	_md_strategy
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function md_strategy
_md_strategy:                           ; @md_strategy
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	x8, [x0]
	cbz	x8, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _ENXIO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENXIO@GOTPAGEOFF]
	b	LBB0_5
LBB0_2:
Lloh2:
	adrp	x8, _MD_IMAGE_SIZE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MD_IMAGE_SIZE@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x8]
Lloh5:
	adrp	x8, _MD_BLOCK_SIZE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MD_BLOCK_SIZE@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	udiv	x10, x9, x8
	cmp	x10, x2
	b.ls	LBB0_4
; %bb.3:
	udiv	x10, x3, x8
	msub	x10, x10, x8, x3
	cbz	x10, LBB0_6
LBB0_4:
Lloh8:
	adrp	x8, _EIO@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
LBB0_5:
	ldr	w0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_6:
	mul	x8, x8, x2
	sub	x10, x9, x8
	add	x11, x8, x3
	cmp	x11, x9
	csel	x2, x10, x3, hi
	cbz	x5, LBB0_8
; %bb.7:
	str	x2, [x5]
LBB0_8:
Lloh10:
	adrp	x9, _F_MASK@GOTPAGE
Lloh11:
	ldr	x9, [x9, _F_MASK@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	and	w9, w9, w1
	cmp	w9, #128
	b.eq	LBB0_11
; %bb.9:
	cmp	w9, #129
	b.ne	LBB0_13
; %bb.10:
Lloh13:
	adrp	x9, _md_image@GOTPAGE
Lloh14:
	ldr	x9, [x9, _md_image@GOTPAGEOFF]
Lloh15:
	ldrsw	x9, [x9]
	add	x1, x8, x9
	mov	x0, x4
	b	LBB0_12
LBB0_11:
Lloh16:
	adrp	x9, _md_image@GOTPAGE
Lloh17:
	ldr	x9, [x9, _md_image@GOTPAGEOFF]
Lloh18:
	ldrsw	x9, [x9]
	add	x0, x8, x9
	mov	x1, x4
LBB0_12:
	bl	_memmove
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_13:
Lloh19:
	adrp	x8, _ENODEV@GOTPAGE
Lloh20:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
	b	LBB0_5
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_ENXIO,4,2                      ; @ENXIO
	.comm	_MD_IMAGE_SIZE,8,3              ; @MD_IMAGE_SIZE
	.comm	_MD_BLOCK_SIZE,8,3              ; @MD_BLOCK_SIZE
	.comm	_EIO,4,2                        ; @EIO
	.comm	_F_MASK,4,2                     ; @F_MASK
	.comm	_md_image,4,2                   ; @md_image
	.comm	_ENODEV,4,2                     ; @ENODEV
	.no_dead_strip	_md_strategy
.subsections_via_symbols
