	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function setupextattr
_setupextattr:                          ## @setupextattr
	.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
	movq	_extloc@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_extbufsize@GOTPCREL(%rip), %r14
	movl	(%r14), %eax
	cmpl	%edi, %eax
	jge	LBB0_1
## %bb.2:
	movl	%edi, %ebx
	testl	%eax, %eax
	jle	LBB0_4
## %bb.3:
	movq	_extbuf@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_free
LBB0_4:
	movl	%ebx, %edi
	callq	_malloc
	movq	_extbuf@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movl	%ebx, (%r14)
	jmp	LBB0_7
LBB0_1:
	movq	_extbuf@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	jmp	LBB0_7
LBB0_6:
	movl	$0, (%r14)
	movq	$0, (%rcx)
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_curfile@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movl	8(%rax), %r8d
	leaq	L_.str(%rip), %rsi
	leaq	L_.str.1(%rip), %rcx
	movl	%ebx, %edx
	callq	_fprintf
	xorl	%eax, %eax
LBB0_7:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_extloc,8,3                     ## @extloc
	.comm	_extbufsize,4,2                 ## @extbufsize
	.comm	_extbuf,8,3                     ## @extbuf
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Cannot extract %d bytes %s for inode %ju, name %s\n"

L_.str.1:                               ## @.str.1
	.asciz	"of extended attributes"

	.comm	_curfile,16,3                   ## @curfile
	.no_dead_strip	_setupextattr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function setupextattr
_setupextattr:                          ; @setupextattr
	.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
Lloh0:
	adrp	x8, _extloc@GOTPAGE
Lloh1:
	ldr	x8, [x8, _extloc@GOTPAGEOFF]
Lloh2:
	str	xzr, [x8]
Lloh3:
	adrp	x20, _extbufsize@GOTPAGE
Lloh4:
	ldr	x20, [x20, _extbufsize@GOTPAGEOFF]
	ldr	w8, [x20]
	cmp	w8, w0
	b.ge	LBB0_5
; %bb.1:
	mov	x19, x0
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.2:
Lloh5:
	adrp	x8, _extbuf@GOTPAGE
Lloh6:
	ldr	x8, [x8, _extbuf@GOTPAGEOFF]
Lloh7:
	ldr	x0, [x8]
	bl	_free
LBB0_3:
	mov	x0, x19
	bl	_malloc
Lloh8:
	adrp	x8, _extbuf@GOTPAGE
Lloh9:
	ldr	x8, [x8, _extbuf@GOTPAGEOFF]
	str	x0, [x8]
	cbz	x0, LBB0_6
; %bb.4:
	str	w19, [x20]
	b	LBB0_7
LBB0_5:
Lloh10:
	adrp	x8, _extbuf@GOTPAGE
Lloh11:
	ldr	x8, [x8, _extbuf@GOTPAGEOFF]
Lloh12:
	ldr	x0, [x8]
	b	LBB0_7
LBB0_6:
	str	wzr, [x20]
Lloh13:
	adrp	x9, _stderr@GOTPAGE
Lloh14:
	ldr	x9, [x9, _stderr@GOTPAGEOFF]
	str	xzr, [x8]
Lloh15:
	ldr	w0, [x9]
Lloh16:
	adrp	x8, _curfile@GOTPAGE
Lloh17:
	ldr	x8, [x8, _curfile@GOTPAGEOFF]
	ldr	w4, [x8, #8]
	ldr	w5, [x8]
Lloh18:
	adrp	x1, l_.str@PAGE
Lloh19:
	add	x1, x1, l_.str@PAGEOFF
Lloh20:
	adrp	x3, l_.str.1@PAGE
Lloh21:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	x2, x19
	bl	_fprintf
	mov	x0, #0
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotStr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_extloc,8,3                     ; @extloc
	.comm	_extbufsize,4,2                 ; @extbufsize
	.comm	_extbuf,8,3                     ; @extbuf
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Cannot extract %d bytes %s for inode %ju, name %s\n"

l_.str.1:                               ; @.str.1
	.asciz	"of extended attributes"

	.comm	_curfile,16,3                   ; @curfile
	.no_dead_strip	_setupextattr
.subsections_via_symbols
