	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_initattr                       ## -- Begin function initattr
	.p2align	4, 0x90
_initattr:                              ## @initattr
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_O_CREAT@GOTPCREL(%rip), %rax
	movq	_O_WRONLY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r15d
	orl	(%rax), %r15d
	movq	%rsi, %r12
	movl	%edi, %ebx
	movq	_O_TRUNC@GOTPCREL(%rip), %rax
	orl	(%rax), %r15d
	movq	_O_EXCL@GOTPCREL(%rip), %rax
	orl	(%rax), %r15d
	movq	_optind@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	leaq	L_.str(%rip), %r13
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	movq	%r12, %rsi
	movq	%r13, %rdx
	callq	_getopt
	cmpl	$-1, %eax
	je	LBB0_7
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$112, %eax
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$102, %eax
	je	LBB0_4
## %bb.6:                               ##   in Loop: Header=BB0_1 Depth=1
	xorl	%eax, %eax
	callq	_usage
	jmp	LBB0_1
LBB0_5:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	_optarg@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	jmp	LBB0_1
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	_O_EXCL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, %r15d
	jmp	LBB0_1
LBB0_7:
	movq	_optind@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	subl	%r13d, %ebx
	cmpl	$2, %ebx
	je	LBB0_9
## %bb.8:
	xorl	%eax, %eax
	callq	_usage
LBB0_9:
	movq	8(%r12,%r13,8), %rdi
	movl	%r15d, %esi
	movl	$384, %edx                      ## imm = 0x180
	callq	_open
	cmpl	$-1, %eax
	je	LBB0_10
## %bb.11:
	movl	%eax, %r15d
	movq	_UFS_EXTATTR_MAGIC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)
	movq	_UFS_EXTATTR_VERSION@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -52(%rbp)
	movq	(%r12,%r13,8), %rdi
	callq	_atoi
	movl	%eax, %ebx
	movl	%eax, -56(%rbp)
	leaq	-56(%rbp), %rsi
	movl	$12, %edx
	movl	%r15d, %edi
	callq	_write
	cmpl	$-1, %eax
	je	LBB0_19
## %bb.12:
	testq	%r14, %r14
	je	LBB0_20
## %bb.13:
	movq	%r14, %rdi
	movslq	%ebx, %r14
	addq	$12, %r14
	callq	_num_inodes_by_path
	movslq	%eax, %rbx
	imulq	%r14, %rbx
	testq	%rbx, %rbx
	je	LBB0_20
## %bb.14:
	movq	_zero_buf@GOTPCREL(%rip), %r14
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdx
	cmpq	$8, %rbx
	jb	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_16 Depth=1
	movl	$8, %edx
LBB0_18:                                ##   in Loop: Header=BB0_16 Depth=1
	movq	(%r14), %rsi
	movl	%r15d, %edi
	callq	_write
	cmpl	$-1, %eax
	je	LBB0_19
## %bb.15:                              ##   in Loop: Header=BB0_16 Depth=1
	cltq
	subq	%rax, %rbx
	jne	LBB0_16
LBB0_20:
	movl	%r15d, %edi
	callq	_close
	xorl	%eax, %eax
LBB0_21:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_19:
	leaq	(%r12,%r13,8), %rdi
	addq	$8, %rdi
	movl	%r15d, %esi
	callq	_initattr.cold.1
	movl	$-1, %eax
	jmp	LBB0_21
LBB0_10:
	movq	8(%r12,%r13,8), %rdi
	callq	_perror
	movl	$-1, %eax
	jmp	LBB0_21
	.cfi_endproc
                                        ## -- End function
	.p2align	4, 0x90                         ## -- Begin function initattr.cold.1
_initattr.cold.1:                       ## @initattr.cold.1
	.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
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	(%rdi), %rdi
	callq	_perror
	movq	(%rbx), %rdi
	callq	_unlink
	movl	%r14d, %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_close                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_O_CREAT,4,2                    ## @O_CREAT
	.comm	_O_WRONLY,4,2                   ## @O_WRONLY
	.comm	_O_TRUNC,4,2                    ## @O_TRUNC
	.comm	_O_EXCL,4,2                     ## @O_EXCL
	.comm	_optind,8,3                     ## @optind
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"fp:r:w:"

	.comm	_optarg,8,3                     ## @optarg
	.comm	_UFS_EXTATTR_MAGIC,4,2          ## @UFS_EXTATTR_MAGIC
	.comm	_UFS_EXTATTR_VERSION,4,2        ## @UFS_EXTATTR_VERSION
	.comm	_zero_buf,8,3                   ## @zero_buf
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_initattr                       ; -- Begin function initattr
	.p2align	2
_initattr:                              ; @initattr
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x1
	mov	x22, x0
	mov	x19, #0
Lloh0:
	adrp	x8, _O_CREAT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _O_CREAT@GOTPAGEOFF]
Lloh2:
	adrp	x9, _O_WRONLY@GOTPAGE
Lloh3:
	ldr	x9, [x9, _O_WRONLY@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh6:
	adrp	x9, _O_TRUNC@GOTPAGE
Lloh7:
	ldr	x9, [x9, _O_TRUNC@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh9:
	adrp	x24, _O_EXCL@GOTPAGE
Lloh10:
	ldr	x24, [x24, _O_EXCL@GOTPAGEOFF]
	ldr	w9, [x24]
Lloh11:
	adrp	x25, _optind@GOTPAGE
Lloh12:
	ldr	x25, [x25, _optind@GOTPAGEOFF]
	orr	w21, w8, w9
	str	xzr, [x25]
Lloh13:
	adrp	x23, l_.str@PAGE
Lloh14:
	add	x23, x23, l_.str@PAGEOFF
Lloh15:
	adrp	x26, _optarg@GOTPAGE
Lloh16:
	ldr	x26, [x26, _optarg@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	mov	x1, x20
	mov	x2, x23
	bl	_getopt
	cmn	w0, #1
	b.eq	LBB0_7
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	cmp	w0, #112
	b.eq	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_1 Depth=1
	cmp	w0, #102
	b.eq	LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_1 Depth=1
	bl	_usage
	b	LBB0_1
LBB0_5:                                 ;   in Loop: Header=BB0_1 Depth=1
	ldr	x19, [x26]
	b	LBB0_1
LBB0_6:                                 ;   in Loop: Header=BB0_1 Depth=1
	ldr	w8, [x24]
	bic	w21, w21, w8
	b	LBB0_1
LBB0_7:
	ldr	x8, [x25]
	sub	w9, w22, w8
	add	x22, x20, x8, lsl #3
	cmp	w9, #2
	b.eq	LBB0_9
; %bb.8:
	bl	_usage
LBB0_9:
	ldr	x0, [x22, #8]
	mov	x1, x21
	mov	w2, #384
	bl	_open
	cmn	w0, #1
	b.eq	LBB0_19
; %bb.10:
	mov	x20, x0
Lloh17:
	adrp	x8, _UFS_EXTATTR_MAGIC@GOTPAGE
Lloh18:
	ldr	x8, [x8, _UFS_EXTATTR_MAGIC@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
Lloh20:
	adrp	x9, _UFS_EXTATTR_VERSION@GOTPAGE
Lloh21:
	ldr	x9, [x9, _UFS_EXTATTR_VERSION@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	stp	w9, w8, [sp, #4]
	ldr	x0, [x22]
	bl	_atoi
	mov	x21, x0
	str	w0, [sp]
	mov	x1, sp
	mov	x0, x20
	mov	w2, #12
	bl	_write
	cmn	w0, #1
	b.eq	LBB0_18
; %bb.11:
	cbz	x19, LBB0_16
; %bb.12:
	sxtw	x8, w21
	add	x21, x8, #12
	mov	x0, x19
	bl	_num_inodes_by_path
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x8, w0
	mul	x19, x21, x8
	cbz	x19, LBB0_16
; %bb.13:
Lloh23:
	adrp	x21, _zero_buf@GOTPAGE
Lloh24:
	ldr	x21, [x21, _zero_buf@GOTPAGEOFF]
	mov	w23, #8
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	ldr	x1, [x21]
	cmp	x19, #8
	csel	x2, x19, x23, lo
	mov	x0, x20
	bl	_write
	cmn	w0, #1
	b.eq	LBB0_18
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=1
	subs	x19, x19, w0, sxtw
	b.ne	LBB0_14
LBB0_16:
	mov	x0, x20
	bl	_close
	mov	w0, #0
LBB0_17:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_18:
	add	x0, x22, #8
	mov	x1, x20
	bl	_initattr.cold.1
	mov	w0, #-1
	b	LBB0_17
LBB0_19:
	ldr	x0, [x22, #8]
	bl	_perror
	mov	w0, #-1
	b	LBB0_17
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.p2align	2                               ; -- Begin function initattr.cold.1
_initattr.cold.1:                       ; @initattr.cold.1
	.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
	mov	x19, x1
	mov	x20, x0
	ldr	x0, [x0]
	bl	_perror
	ldr	x0, [x20]
	bl	_unlink
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_close
	.cfi_endproc
                                        ; -- End function
	.comm	_O_CREAT,4,2                    ; @O_CREAT
	.comm	_O_WRONLY,4,2                   ; @O_WRONLY
	.comm	_O_TRUNC,4,2                    ; @O_TRUNC
	.comm	_O_EXCL,4,2                     ; @O_EXCL
	.comm	_optind,8,3                     ; @optind
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"fp:r:w:"

	.comm	_optarg,8,3                     ; @optarg
	.comm	_UFS_EXTATTR_MAGIC,4,2          ; @UFS_EXTATTR_MAGIC
	.comm	_UFS_EXTATTR_VERSION,4,2        ; @UFS_EXTATTR_VERSION
	.comm	_zero_buf,8,3                   ; @zero_buf
.subsections_via_symbols
