	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dtfs_node_setattr              ## -- Begin function dtfs_node_setattr
	.p2align	4, 0x90
_dtfs_node_setattr:                     ## @dtfs_node_setattr
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdx), %rax
	movq	_PUFFS_VNOVAL@GOTPCREL(%rip), %r12
	cmpq	(%r12), %rax
	jne	LBB0_19
## %bb.1:
	movq	%rcx, %r15
	movq	%rdx, %rbx
	movq	%rsi, %r14
	movq	8(%rdx), %rdx
	movq	16(%rbx), %rcx
	cmpq	%rax, %rdx
	jne	LBB0_3
## %bb.2:
	cmpq	%rax, %rcx
	je	LBB0_5
LBB0_3:
	movl	20(%r14), %esi
	movl	24(%r14), %edi
	movq	%r15, %r8
	callq	_puffs_access_chown
	testl	%eax, %eax
	jne	LBB0_21
## %bb.4:
	movq	(%r12), %rax
LBB0_5:
	movq	24(%rbx), %rcx
	cmpq	%rax, %rcx
	je	LBB0_8
## %bb.6:
	movl	24(%r14), %edi
	movl	(%r14), %edx
	movl	20(%r14), %esi
	movq	%r15, %r8
	callq	_puffs_access_chmod
	testl	%eax, %eax
	jne	LBB0_21
## %bb.7:
	movq	(%r12), %rax
LBB0_8:
	cmpq	%rax, 64(%rbx)
	je	LBB0_10
## %bb.9:
	cmpq	%rax, 72(%rbx)
	jne	LBB0_12
LBB0_10:
	cmpq	%rax, 48(%rbx)
	je	LBB0_14
## %bb.11:
	cmpq	%rax, 56(%rbx)
	je	LBB0_14
LBB0_12:
	movl	24(%r14), %edi
	movl	16(%r14), %edx
	movl	20(%r14), %esi
	movq	_VA_UTIMES_NULL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	andl	32(%rbx), %ecx
	movq	%r15, %r8
	callq	_puffs_access_times
	testl	%eax, %eax
	jne	LBB0_21
## %bb.13:
	movq	(%r12), %rax
LBB0_14:
	movq	40(%rbx), %rsi
	cmpq	%rax, %rsi
	je	LBB0_18
## %bb.15:
	movl	(%r14), %eax
	addl	$-128, %eax
	cmpl	$4, %eax
	ja	LBB0_19
## %bb.16:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_17:
	movq	%r14, %rdi
	callq	_dtfs_setsize
	movq	40(%rbx), %rax
	movq	%rax, 8(%r14)
LBB0_18:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_puffs_setvattr
	xorl	%eax, %eax
	jmp	LBB0_21
LBB0_19:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rax
LBB0_20:
	movl	(%rax), %eax
LBB0_21:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_22:
	movq	_EISDIR@GOTPCREL(%rip), %rax
	jmp	LBB0_20
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_22, LBB0_22-LJTI0_0
LJTI0_0:
	.long	L0_0_set_17
	.long	L0_0_set_18
	.long	L0_0_set_22
	.long	L0_0_set_18
	.long	L0_0_set_18
	.end_data_region
                                        ## -- End function
	.comm	_PUFFS_VNOVAL,8,3               ## @PUFFS_VNOVAL
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_VA_UTIMES_NULL,4,2             ## @VA_UTIMES_NULL
	.comm	_EISDIR,4,2                     ## @EISDIR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dtfs_node_setattr              ; -- Begin function dtfs_node_setattr
	.p2align	2
_dtfs_node_setattr:                     ; @dtfs_node_setattr
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	ldr	x8, [x2]
Lloh0:
	adrp	x22, _PUFFS_VNOVAL@GOTPAGE
Lloh1:
	ldr	x22, [x22, _PUFFS_VNOVAL@GOTPAGEOFF]
	ldr	x9, [x22]
	cmp	x8, x9
	b.ne	LBB0_18
; %bb.1:
	mov	x21, x3
	mov	x19, x2
	mov	x20, x1
	ldr	x2, [x2, #8]
	ldr	x3, [x19, #16]
	cmp	x2, x8
	ccmp	x3, x8, #0, eq
	b.eq	LBB0_4
; %bb.2:
	ldp	w1, w0, [x20, #20]
	mov	x4, x21
	bl	_puffs_access_chown
	cbnz	w0, LBB0_20
; %bb.3:
	ldr	x8, [x22]
LBB0_4:
	ldr	x3, [x19, #24]
	cmp	x3, x8
	b.eq	LBB0_7
; %bb.5:
	ldp	w1, w0, [x20, #20]
	ldr	w2, [x20]
	mov	x4, x21
	bl	_puffs_access_chmod
	cbnz	w0, LBB0_20
; %bb.6:
	ldr	x8, [x22]
LBB0_7:
	ldr	x9, [x19, #64]
	cmp	x9, x8
	b.eq	LBB0_9
; %bb.8:
	ldr	x9, [x19, #72]
	cmp	x9, x8
	b.ne	LBB0_11
LBB0_9:
	ldr	x9, [x19, #48]
	cmp	x9, x8
	b.eq	LBB0_13
; %bb.10:
	ldr	x9, [x19, #56]
	cmp	x9, x8
	b.eq	LBB0_13
LBB0_11:
	ldp	w1, w0, [x20, #20]
	ldr	w2, [x20, #16]
	ldr	w8, [x19, #32]
Lloh2:
	adrp	x9, _VA_UTIMES_NULL@GOTPAGE
Lloh3:
	ldr	x9, [x9, _VA_UTIMES_NULL@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	and	w3, w9, w8
	mov	x4, x21
	bl	_puffs_access_times
	cbnz	w0, LBB0_20
; %bb.12:
	ldr	x8, [x22]
LBB0_13:
	ldr	x1, [x19, #40]
	cmp	x1, x8
	b.eq	LBB0_17
; %bb.14:
	ldr	w8, [x20]
	sub	w8, w8, #128
	cmp	w8, #4
	b.hi	LBB0_18
; %bb.15:
Lloh5:
	adrp	x9, lJTI0_0@PAGE
Lloh6:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_16
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_16:
	mov	x0, x20
	bl	_dtfs_setsize
	ldr	x8, [x19, #40]
	str	x8, [x20, #8]
LBB0_17:
	mov	x0, x20
	mov	x1, x19
	bl	_puffs_setvattr
	mov	w0, #0
	b	LBB0_20
LBB0_18:
Lloh7:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
LBB0_19:
	ldr	w0, [x8]
LBB0_20:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_21:
Lloh9:
	adrp	x8, _EISDIR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EISDIR@GOTPAGEOFF]
	b	LBB0_19
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_16-LBB0_16)>>2
	.byte	(LBB0_17-LBB0_16)>>2
	.byte	(LBB0_21-LBB0_16)>>2
	.byte	(LBB0_17-LBB0_16)>>2
	.byte	(LBB0_17-LBB0_16)>>2
                                        ; -- End function
	.comm	_PUFFS_VNOVAL,8,3               ; @PUFFS_VNOVAL
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_VA_UTIMES_NULL,4,2             ; @VA_UTIMES_NULL
	.comm	_EISDIR,4,2                     ; @EISDIR
.subsections_via_symbols
