	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ufs_use_sa_read
_ufs_use_sa_read:                       ## @ufs_use_sa_read
	.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
	movl	%ecx, %r15d
	movq	%rdx, %rbx
	movl	%esi, %r14d
	movq	%rdi, %r12
	movl	%ecx, %edi
	callq	_malloc
	movq	%rax, (%rbx)
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r8
	movq	8(%r12), %rbx
	movl	(%r12), %edi
	movq	_F_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DEV_BSIZE@GOTPCREL(%rip), %rcx
	movl	%r14d, %eax
	cltd
	idivl	(%rcx)
	leaq	-40(%rbp), %r9
	movl	%eax, %edx
	movl	%r15d, %ecx
	callq	*(%rbx)
	testl	%eax, %eax
	jne	LBB0_6
## %bb.3:
	movslq	%r15d, %rcx
	xorl	%eax, %eax
	cmpq	%rcx, -40(%rbp)
	je	LBB0_6
## %bb.4:
	movq	_EIO@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_1:
	movq	_ENOSPC@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %eax
LBB0_6:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOSPC,4,2                     ## @ENOSPC
	.comm	_F_READ,4,2                     ## @F_READ
	.comm	_DEV_BSIZE,4,2                  ## @DEV_BSIZE
	.comm	_EIO,4,2                        ## @EIO
	.no_dead_strip	_ufs_use_sa_read
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ufs_use_sa_read
_ufs_use_sa_read:                       ; @ufs_use_sa_read
	.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, x3
	mov	x22, x2
	mov	x20, x1
	mov	x21, x0
	mov	x0, x3
	bl	_malloc
	str	x0, [x22]
	cbz	x0, LBB0_3
; %bb.1:
	mov	x4, x0
	ldr	x8, [x21, #8]
	ldr	x8, [x8]
Lloh0:
	adrp	x9, _F_READ@GOTPAGE
Lloh1:
	ldr	x9, [x9, _F_READ@GOTPAGEOFF]
	ldr	w0, [x21]
Lloh2:
	ldr	w1, [x9]
Lloh3:
	adrp	x9, _DEV_BSIZE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _DEV_BSIZE@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	sdiv	w2, w20, w9
	add	x5, sp, #8
	mov	x3, x19
	blr	x8
	cbnz	w0, LBB0_4
; %bb.2:
	ldr	x8, [sp, #8]
Lloh6:
	adrp	x9, _EIO@GOTPAGE
Lloh7:
	ldr	x9, [x9, _EIO@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	cmp	x8, w19, sxtw
	csel	w0, wzr, w9, eq
	b	LBB0_4
LBB0_3:
Lloh9:
	adrp	x8, _ENOSPC@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ENOSPC@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
LBB0_4:
	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 AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOSPC,4,2                     ; @ENOSPC
	.comm	_F_READ,4,2                     ; @F_READ
	.comm	_DEV_BSIZE,4,2                  ; @DEV_BSIZE
	.comm	_EIO,4,2                        ; @EIO
	.no_dead_strip	_ufs_use_sa_read
.subsections_via_symbols
