	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hostdisk_strategy
_hostdisk_strategy:                     ## @hostdisk_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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r14
	movq	%r8, %r15
	movq	%rcx, %r12
	movq	%rdi, %rbx
	shll	$9, %edx
	movl	(%rdi), %edi
	leaq	-36(%rbp), %rcx
	xorl	%r8d, %r8d
	callq	_host_llseek
	testq	%rax, %rax
	js	LBB0_1
## %bb.2:
	movl	(%rbx), %edi
	movq	%r15, %rsi
	movq	%r12, %rdx
	callq	_host_read
	testl	%eax, %eax
	js	LBB0_3
## %bb.4:
	movl	%eax, %eax
	movq	%rax, (%r14)
	xorl	%eax, %eax
	jmp	LBB0_5
LBB0_1:
	leaq	L_str(%rip), %rdi
	callq	_puts
LBB0_3:
	movq	_EIO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_5:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EIO,4,2                        ## @EIO
	.section	__TEXT,__cstring,cstring_literals
L_str:                                  ## @str
	.asciz	"Seek error"

	.no_dead_strip	_hostdisk_strategy
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hostdisk_strategy
_hostdisk_strategy:                     ; @hostdisk_strategy
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x5
	mov	x21, x4
	mov	x20, x3
	mov	x22, x0
	lsl	w2, w2, #9
	ldr	w0, [x0]
	add	x3, sp, #12
	mov	w4, #0
	bl	_host_llseek
	tbnz	x0, #63, LBB0_3
; %bb.1:
	ldr	w0, [x22]
	mov	x1, x21
	mov	x2, x20
	bl	_host_read
	tbnz	w0, #31, LBB0_4
; %bb.2:
	mov	x8, x0
	mov	w0, #0
	mov	w8, w8
	str	x8, [x19]
	b	LBB0_5
LBB0_3:
Lloh0:
	adrp	x0, l_str@PAGE
Lloh1:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
LBB0_4:
Lloh2:
	adrp	x8, _EIO@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
LBB0_5:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_EIO,4,2                        ; @EIO
	.section	__TEXT,__cstring,cstring_literals
l_str:                                  ; @str
	.asciz	"Seek error"

	.no_dead_strip	_hostdisk_strategy
.subsections_via_symbols
