	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ffs_getextattr
_ffs_getextattr:                        ## @ffs_getextattr
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	16(%rdi), %rdi
	callq	_VTOI
	movq	%rax, %r14
	movq	16(%r15), %rdi
	movq	(%rdi), %rax
	movq	_VCHR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_7
## %bb.1:
	movq	_VBLK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_7
## %bb.2:
	movl	36(%r15), %esi
	movl	8(%r15), %ecx
	movl	12(%r15), %edx
	movq	_VREAD@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	callq	_extattr_check_cred
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_8
## %bb.3:
	movq	16(%r15), %rdi
	movl	8(%r15), %edx
	movl	12(%r15), %esi
	callq	_ffs_open_ea
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_8
## %bb.4:
	movq	8(%r14), %rdi
	movl	(%r14), %esi
	movl	32(%r15), %ecx
	movl	36(%r15), %edx
	leaq	-32(%rbp), %r9
	xorl	%r8d, %r8d
	callq	_ffs_findextattr
	testl	%eax, %eax
	js	LBB0_9
## %bb.5:
	movq	(%r15), %rcx
	testq	%rcx, %rcx
	je	LBB0_10
## %bb.6:
	movl	%eax, (%rcx)
LBB0_12:
	xorl	%ebx, %ebx
	jmp	LBB0_13
LBB0_7:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_8:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movq	_ENOATTR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_13
LBB0_10:
	movq	24(%r15), %rdx
	testq	%rdx, %rdx
	je	LBB0_12
## %bb.11:
	movq	-32(%rbp), %rdi
	movl	%eax, %esi
	callq	_uiomove
	movl	%eax, %ebx
LBB0_13:
	movq	16(%r15), %rdi
	movl	8(%r15), %ecx
	movl	12(%r15), %edx
	xorl	%esi, %esi
	callq	_ffs_close_ea
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_VCHR,8,3                       ## @VCHR
	.comm	_VBLK,8,3                       ## @VBLK
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_VREAD,4,2                      ## @VREAD
	.comm	_ENOATTR,4,2                    ## @ENOATTR
	.no_dead_strip	_ffs_getextattr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ffs_getextattr
_ffs_getextattr:                        ; @ffs_getextattr
	.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, x0
	ldr	x0, [x0, #16]
	bl	_VTOI
	mov	x20, x0
	ldr	x0, [x19, #16]
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _VCHR@GOTPAGE
Lloh1:
	ldr	x9, [x9, _VCHR@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x10, _VBLK@GOTPAGE
Lloh4:
	ldr	x10, [x10, _VBLK@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_2
; %bb.1:
Lloh6:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
Lloh8:
	ldr	w21, [x8]
	b	LBB0_12
LBB0_2:
	ldr	w1, [x19, #36]
	ldp	w3, w2, [x19, #8]
Lloh9:
	adrp	x8, _VREAD@GOTPAGE
Lloh10:
	ldr	x8, [x8, _VREAD@GOTPAGEOFF]
Lloh11:
	ldr	w4, [x8]
	bl	_extattr_check_cred
	mov	x21, x0
	cbnz	w0, LBB0_12
; %bb.3:
	ldr	x0, [x19, #16]
	ldp	w2, w1, [x19, #8]
	bl	_ffs_open_ea
	mov	x21, x0
	cbnz	w0, LBB0_12
; %bb.4:
	ldr	x0, [x20, #8]
	ldr	w1, [x20]
	ldp	w3, w2, [x19, #32]
	add	x5, sp, #8
	mov	x4, #0
	bl	_ffs_findextattr
	tbnz	w0, #31, LBB0_7
; %bb.5:
	mov	x1, x0
	ldr	x8, [x19]
	cbz	x8, LBB0_8
; %bb.6:
	mov	w21, #0
	str	w1, [x8]
	b	LBB0_11
LBB0_7:
Lloh12:
	adrp	x8, _ENOATTR@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ENOATTR@GOTPAGEOFF]
Lloh14:
	ldr	w21, [x8]
	b	LBB0_11
LBB0_8:
	ldr	x2, [x19, #24]
	cbz	x2, LBB0_10
; %bb.9:
	ldr	x0, [sp, #8]
	bl	_uiomove
	mov	x21, x0
	b	LBB0_11
LBB0_10:
	mov	w21, #0
LBB0_11:
	ldr	x0, [x19, #16]
	ldp	w3, w2, [x19, #8]
	mov	w1, #0
	bl	_ffs_close_ea
LBB0_12:
	mov	x0, x21
	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
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_VCHR,8,3                       ; @VCHR
	.comm	_VBLK,8,3                       ; @VBLK
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_VREAD,4,2                      ; @VREAD
	.comm	_ENOATTR,4,2                    ; @ENOATTR
	.no_dead_strip	_ffs_getextattr
.subsections_via_symbols
