	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ffs_rdextattr
_ffs_rdextattr:                         ## @ffs_rdextattr
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r12d
	movq	%rdx, %r15
	movq	%rsi, %r13
	movq	%rdi, %r14
	movq	%rsi, %rdi
	callq	_VTOI
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_ITOFS
	movq	(%rbx), %rcx
	movq	(%rcx), %rbx
	leal	(%rbx,%r12), %ecx
	movq	_UFS_NXADDR@GOTPCREL(%rip), %rdx
	movl	(%rax), %eax
	imull	(%rdx), %eax
	cmpl	%eax, %ecx
	jle	LBB0_2
## %bb.1:
	movq	_EFBIG@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_5
LBB0_2:
	movslq	%r12d, %rdi
	addq	%rbx, %rdi
	movq	_M_TEMP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_M_WAITOK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_malloc
	movq	%rax, %r12
	movq	%rax, -48(%rbp)
	movq	%rbx, -56(%rbp)
	leaq	-56(%rbp), %rax
	movq	%rax, -64(%rbp)
	movl	$1, -104(%rbp)
	movq	$0, -72(%rbp)
	movq	%rbx, -80(%rbp)
	movq	_UIO_SYSSPACE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -84(%rbp)
	movq	_UIO_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -88(%rbp)
	movq	%r15, -96(%rbp)
	movq	_IO_EXT@GOTPCREL(%rip), %rax
	movq	_IO_SYNC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	leaq	-104(%rbp), %rsi
	movq	%r13, %rdi
	callq	_ffs_extread
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movl	%eax, %ebx
	movq	_M_TEMP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_free
	jmp	LBB0_5
LBB0_4:
	movq	%r12, (%r14)
	xorl	%ebx, %ebx
LBB0_5:
	movl	%ebx, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_UFS_NXADDR,4,2                 ## @UFS_NXADDR
	.comm	_EFBIG,4,2                      ## @EFBIG
	.comm	_M_TEMP,4,2                     ## @M_TEMP
	.comm	_M_WAITOK,4,2                   ## @M_WAITOK
	.comm	_UIO_SYSSPACE,4,2               ## @UIO_SYSSPACE
	.comm	_UIO_READ,4,2                   ## @UIO_READ
	.comm	_IO_EXT,4,2                     ## @IO_EXT
	.comm	_IO_SYNC,4,2                    ## @IO_SYNC
	.no_dead_strip	_ffs_rdextattr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ffs_rdextattr
_ffs_rdextattr:                         ; @ffs_rdextattr
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x22, x3
	mov	x21, x2
	mov	x20, x1
	mov	x19, x0
	mov	x0, x1
	bl	_VTOI
	mov	x23, x0
	bl	_ITOFS
	ldr	x8, [x23]
Lloh0:
	adrp	x9, _UFS_NXADDR@GOTPAGE
Lloh1:
	ldr	x9, [x9, _UFS_NXADDR@GOTPAGEOFF]
	ldr	x24, [x8]
Lloh2:
	ldr	w8, [x9]
	ldr	w9, [x0]
	mul	w8, w9, w8
	add	w9, w24, w22
	cmp	w9, w8
	b.le	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _EFBIG@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EFBIG@GOTPAGEOFF]
Lloh5:
	ldr	w20, [x8]
	b	LBB0_5
LBB0_2:
	add	x0, x24, w22, sxtw
Lloh6:
	adrp	x23, _M_TEMP@GOTPAGE
Lloh7:
	ldr	x23, [x23, _M_TEMP@GOTPAGEOFF]
	ldr	w1, [x23]
Lloh8:
	adrp	x8, _M_WAITOK@GOTPAGE
Lloh9:
	ldr	x8, [x8, _M_WAITOK@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	bl	_malloc
	mov	x22, x0
	stp	x24, x0, [sp]
	mov	x8, sp
	stp	xzr, x8, [sp, #48]
	mov	w8, #1
	str	w8, [sp, #16]
	str	x24, [sp, #40]
Lloh11:
	adrp	x8, _UIO_SYSSPACE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _UIO_SYSSPACE@GOTPAGEOFF]
Lloh13:
	adrp	x9, _UIO_READ@GOTPAGE
Lloh14:
	ldr	x9, [x9, _UIO_READ@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
Lloh16:
	ldr	w9, [x9]
	stp	w9, w8, [sp, #32]
Lloh17:
	adrp	x8, _IO_EXT@GOTPAGE
Lloh18:
	ldr	x8, [x8, _IO_EXT@GOTPAGEOFF]
	str	x21, [sp, #24]
Lloh19:
	ldr	w8, [x8]
Lloh20:
	adrp	x9, _IO_SYNC@GOTPAGE
Lloh21:
	ldr	x9, [x9, _IO_SYNC@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	orr	w2, w9, w8
	add	x1, sp, #16
	mov	x0, x20
	bl	_ffs_extread
	mov	x20, x0
	cbz	w0, LBB0_4
; %bb.3:
	ldr	w1, [x23]
	mov	x0, x22
	bl	_free
	b	LBB0_5
LBB0_4:
	str	x22, [x19]
LBB0_5:
	mov	x0, x20
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh15
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_UFS_NXADDR,4,2                 ; @UFS_NXADDR
	.comm	_EFBIG,4,2                      ; @EFBIG
	.comm	_M_TEMP,4,2                     ; @M_TEMP
	.comm	_M_WAITOK,4,2                   ; @M_WAITOK
	.comm	_UIO_SYSSPACE,4,2               ; @UIO_SYSSPACE
	.comm	_UIO_READ,4,2                   ; @UIO_READ
	.comm	_IO_EXT,4,2                     ; @IO_EXT
	.comm	_IO_SYNC,4,2                    ; @IO_SYNC
	.no_dead_strip	_ffs_rdextattr
.subsections_via_symbols
