	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cb_diskread
_cb_diskread:                           ## @cb_diskread
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	testl	%esi, %esi
	js	LBB0_2
## %bb.1:
	movl	%edx, %eax
	movq	_ndisks@GOTPCREL(%rip), %rdx
	cmpl	%esi, (%rdx)
	jle	LBB0_2
## %bb.3:
	movq	%r9, %r14
	movq	%r8, %rbx
	movq	_disk_fd@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	%esi, %esi
	movl	(%rdx,%rsi,4), %edi
	movq	%rcx, %rsi
	movq	%r8, %rdx
	movl	%eax, %ecx
	callq	_pread
	subq	%rax, %rbx
	movq	%rbx, (%r14)
	xorl	%eax, %eax
	jmp	LBB0_4
LBB0_2:
	movq	_EIO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_4:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ndisks,4,2                     ## @ndisks
	.comm	_EIO,4,2                        ## @EIO
	.comm	_disk_fd,8,3                    ## @disk_fd
	.comm	_errno,4,2                      ## @errno
	.no_dead_strip	_cb_diskread
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cb_diskread
_cb_diskread:                           ; @cb_diskread
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	tbnz	w1, #31, LBB0_3
; %bb.1:
Lloh0:
	adrp	x9, _ndisks@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ndisks@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w9, w1
	b.le	LBB0_3
; %bb.2:
	mov	x19, x5
	mov	x20, x4
	mov	x8, x2
Lloh3:
	adrp	x9, _disk_fd@GOTPAGE
Lloh4:
	ldr	x9, [x9, _disk_fd@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	ldr	w0, [x9, w1, uxtw #2]
	mov	x1, x3
	mov	x2, x4
	mov	x3, x8
	bl	_pread
	mov	x8, x0
	mov	w0, #0
	sub	x8, x20, x8
	str	x8, [x19]
	b	LBB0_4
LBB0_3:
Lloh6:
	adrp	x8, _EIO@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_ndisks,4,2                     ; @ndisks
	.comm	_EIO,4,2                        ; @EIO
	.comm	_disk_fd,8,3                    ; @disk_fd
	.comm	_errno,4,2                      ; @errno
	.no_dead_strip	_cb_diskread
.subsections_via_symbols
