	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function handle_nfs41_setattr
_handle_nfs41_setattr:                  ## @handle_nfs41_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$168, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movslq	16(%rdi), %rbx
	movq	8(%rdi), %r13
	movq	8(%r13), %r12
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -64(%rbp)
	movaps	%xmm0, -80(%rbp)
	movaps	%xmm0, -96(%rbp)
	movaps	%xmm0, -112(%rbp)
	movq	$0, -48(%rbp)
	movaps	%xmm0, -160(%rbp)
	movaps	%xmm0, -176(%rbp)
	movaps	%xmm0, -192(%rbp)
	movaps	%xmm0, -208(%rbp)
	movq	$0, -144(%rbp)
	movq	_NO_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movl	(%rbx), %eax
	testl	%eax, %eax
	je	LBB0_3
## %bb.1:
	movq	_FILE_ATTRIBUTE_HIDDEN@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	movl	(%rcx), %ecx
	andl	%eax, %ecx
	setne	%dl
	movl	%edx, -112(%rbp)
	movq	_FILE_ATTRIBUTE_SYSTEM@GOTPCREL(%rip), %rcx
	movq	%r12, -120(%rbp)                ## 8-byte Spill
	movq	%r14, %r12
	movl	%r15d, %r14d
	xorl	%r15d, %r15d
	movl	(%rcx), %ecx
	andl	%eax, %ecx
	setne	%r15b
	movq	_FILE_ATTRIBUTE_ARCHIVE@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	andl	(%rcx), %eax
	movl	%r15d, -108(%rbp)
	setne	%dl
	movl	%edx, -104(%rbp)
	movl	16(%r13), %edi
	callq	_session_name_cache
	movl	(%r13), %esi
	leaq	-208(%rbp), %rdx
	movl	%eax, %edi
	callq	_nfs41_attr_cache_lookup
	cmpl	%r15d, -204(%rbp)
	movl	%r14d, %r15d
	movq	%r12, %r14
	movq	-120(%rbp), %r12                ## 8-byte Reload
	je	LBB0_3
## %bb.2:
	movq	_FATTR4_WORD1_SYSTEM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4
	movl	$2, -88(%rbp)
LBB0_3:
	cmpl	$292, -196(%rbp)                ## imm = 0x124
	jne	LBB0_6
## %bb.4:
	movq	_FILE_ATTRIBUTE_READONLY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_5
LBB0_6:
	cmpq	$0, 8(%r12)
	je	LBB0_7
LBB0_8:
	movq	%r12, -56(%rbp)
	cmpq	$0, 24(%rbx)
	jle	LBB0_9
## %bb.10:
	leaq	24(%rbx), %rdi
	leaq	-64(%rbp), %rsi
	callq	_file_time_to_nfs_time
	movq	_FATTR4_WORD1_TIME_CREATE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	-80(%rbp), %rax
	orl	%ecx, 4(%rax)
	movl	$2, -88(%rbp)
	cmpq	$0, 16(%rbx)
	jle	LBB0_13
LBB0_12:
	leaq	16(%rbx), %rdi
	leaq	-68(%rbp), %rsi
	callq	_file_time_to_nfs_time
	movq	_FATTR4_WORD1_TIME_ACCESS_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	-80(%rbp), %rax
	orl	%ecx, 4(%rax)
	movl	$2, -88(%rbp)
LBB0_13:
	cmpq	$0, 8(%rbx)
	jle	LBB0_15
## %bb.14:
	leaq	8(%rbx), %rdi
	leaq	-72(%rbp), %rsi
	callq	_file_time_to_nfs_time
	movq	_FATTR4_WORD1_TIME_MODIFY_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	-80(%rbp), %rax
	orl	%ecx, 4(%rax)
	movl	$2, -88(%rbp)
	jmp	LBB0_15
LBB0_9:
	xorl	%eax, %eax
	cmpq	$0, 16(%rbx)
	jg	LBB0_12
	jmp	LBB0_13
LBB0_5:
	movl	$420, -100(%rbp)                ## imm = 0x1A4
	movq	_FATTR4_WORD1_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 4
	movl	$2, -88(%rbp)
	cmpq	$0, 8(%r12)
	jne	LBB0_8
LBB0_7:
	xorl	%eax, %eax
LBB0_15:
	movq	_FILE_ATTRIBUTE_READONLY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rbx)
	je	LBB0_17
## %bb.16:
	movl	$292, -100(%rbp)                ## imm = 0x124
	movq	_FATTR4_WORD1_MODE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%ecx, 4(%rax)
	movl	$2, -88(%rbp)
LBB0_17:
	leaq	-88(%rbp), %rsi
	movq	%r12, %rdi
	callq	_nfs41_superblock_supported_attrs
	cmpl	$0, -88(%rbp)
	je	LBB0_22
## %bb.18:
	movl	16(%r13), %edi
	movq	_OPEN_DELEGATE_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r13, %rsi
	callq	_nfs41_delegation_return
	leaq	-124(%rbp), %r15
	movq	%r13, %rdi
	movq	%r15, %rsi
	callq	_nfs41_open_stateid_arg
	movl	16(%r13), %edi
	leaq	-112(%rbp), %rcx
	movq	%r13, %rsi
	movq	%r15, %rdx
	callq	_nfs41_setattr
	testl	%eax, %eax
	je	LBB0_19
## %bb.20:
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_nfs_error_string
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	movl	%eax, %edx
	callq	_dprintf
	movq	_ERROR_NOT_SUPPORTED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_nfs_to_windows_error
	movl	%eax, %r15d
	jmp	LBB0_21
LBB0_19:
	xorl	%r15d, %r15d
LBB0_21:
	movl	-96(%rbp), %eax
	movl	%eax, (%r14)
LBB0_22:
	movl	%r15d, %eax
	addq	$168, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NO_ERROR,4,2                   ## @NO_ERROR
	.comm	_FILE_ATTRIBUTE_HIDDEN,4,2      ## @FILE_ATTRIBUTE_HIDDEN
	.comm	_FILE_ATTRIBUTE_SYSTEM,4,2      ## @FILE_ATTRIBUTE_SYSTEM
	.comm	_FILE_ATTRIBUTE_ARCHIVE,4,2     ## @FILE_ATTRIBUTE_ARCHIVE
	.comm	_FATTR4_WORD0_HIDDEN,4,2        ## @FATTR4_WORD0_HIDDEN
	.comm	_FATTR4_WORD0_ARCHIVE,4,2       ## @FATTR4_WORD0_ARCHIVE
	.comm	_FATTR4_WORD1_SYSTEM,4,2        ## @FATTR4_WORD1_SYSTEM
	.comm	_FILE_ATTRIBUTE_READONLY,4,2    ## @FILE_ATTRIBUTE_READONLY
	.comm	_FATTR4_WORD1_MODE,4,2          ## @FATTR4_WORD1_MODE
	.comm	_FATTR4_WORD1_TIME_CREATE,4,2   ## @FATTR4_WORD1_TIME_CREATE
	.comm	_FATTR4_WORD1_TIME_ACCESS_SET,4,2 ## @FATTR4_WORD1_TIME_ACCESS_SET
	.comm	_FATTR4_WORD1_TIME_MODIFY_SET,4,2 ## @FATTR4_WORD1_TIME_MODIFY_SET
	.comm	_OPEN_DELEGATE_READ,4,2         ## @OPEN_DELEGATE_READ
	.comm	_FALSE,4,2                      ## @FALSE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"nfs41_setattr() failed with error %s.\n"

	.comm	_ERROR_NOT_SUPPORTED,4,2        ## @ERROR_NOT_SUPPORTED
	.no_dead_strip	_handle_nfs41_setattr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function handle_nfs41_setattr
_handle_nfs41_setattr:                  ; @handle_nfs41_setattr
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #224
	.cfi_def_cfa_offset 224
	stp	x24, x23, [sp, #160]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #176]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #192]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #208]            ; 16-byte Folded Spill
	add	x29, sp, #208
	.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	x19, x0
	ldrsw	x23, [x0, #16]
	ldr	x20, [x0, #8]
	ldr	x22, [x20, #8]
	str	xzr, [sp, #144]
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [sp, #112]
	stp	q0, q0, [sp, #80]
	str	xzr, [sp, #64]
	stp	q0, q0, [sp, #32]
	stp	q0, q0, [sp]
Lloh0:
	adrp	x8, _NO_ERROR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NO_ERROR@GOTPAGEOFF]
Lloh2:
	ldr	w21, [x8]
	ldr	w8, [x23]
	cbz	w8, LBB0_3
; %bb.1:
Lloh3:
	adrp	x9, _FILE_ATTRIBUTE_HIDDEN@GOTPAGE
Lloh4:
	ldr	x9, [x9, _FILE_ATTRIBUTE_HIDDEN@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w9, ne
Lloh6:
	adrp	x10, _FILE_ATTRIBUTE_SYSTEM@GOTPAGE
Lloh7:
	ldr	x10, [x10, _FILE_ATTRIBUTE_SYSTEM@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	tst	w10, w8
	cset	w24, ne
Lloh9:
	adrp	x10, _FILE_ATTRIBUTE_ARCHIVE@GOTPAGE
Lloh10:
	ldr	x10, [x10, _FILE_ATTRIBUTE_ARCHIVE@GOTPAGEOFF]
	stp	w9, w24, [sp, #80]
Lloh11:
	ldr	w9, [x10]
	tst	w9, w8
	cset	w8, ne
	str	w8, [sp, #88]
	ldr	w0, [x20, #16]
	bl	_session_name_cache
	ldr	w1, [x20]
	mov	x2, sp
	bl	_nfs41_attr_cache_lookup
	ldr	w8, [sp, #4]
	cmp	w8, w24
	b.eq	LBB0_3
; %bb.2:
Lloh12:
	adrp	x8, _FATTR4_WORD1_SYSTEM@GOTPAGE
Lloh13:
	ldr	x8, [x8, _FATTR4_WORD1_SYSTEM@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	mov	w9, #4
	str	w8, [x9]
	mov	w8, #2
	str	w8, [sp, #104]
LBB0_3:
	ldr	w8, [sp, #12]
Lloh15:
	adrp	x24, _FILE_ATTRIBUTE_READONLY@GOTPAGE
Lloh16:
	ldr	x24, [x24, _FILE_ATTRIBUTE_READONLY@GOTPAGEOFF]
	cmp	w8, #292
	b.ne	LBB0_5
; %bb.4:
	ldr	w8, [x23]
	ldr	w9, [x24]
	tst	w9, w8
	b.eq	LBB0_21
LBB0_5:
	ldr	x8, [x22, #8]
	cbz	x8, LBB0_13
LBB0_6:
	str	x22, [sp, #136]
	mov	x0, x23
	ldr	x8, [x0, #24]!
	cmp	x8, #1
	b.lt	LBB0_8
; %bb.7:
	add	x8, sp, #80
	add	x1, x8, #48
	bl	_file_time_to_nfs_time
Lloh17:
	adrp	x8, _FATTR4_WORD1_TIME_CREATE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _FATTR4_WORD1_TIME_CREATE@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x8]
	ldr	x8, [sp, #112]
	ldr	w10, [x8, #4]
	orr	w9, w10, w9
	str	w9, [x8, #4]
	mov	w9, #2
	str	w9, [sp, #104]
	b	LBB0_9
LBB0_8:
	mov	x8, #0
LBB0_9:
	mov	x0, x23
	ldr	x9, [x0, #16]!
	cmp	x9, #1
	b.lt	LBB0_11
; %bb.10:
	add	x8, sp, #80
	add	x1, x8, #44
	bl	_file_time_to_nfs_time
Lloh20:
	adrp	x8, _FATTR4_WORD1_TIME_ACCESS_SET@GOTPAGE
Lloh21:
	ldr	x8, [x8, _FATTR4_WORD1_TIME_ACCESS_SET@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x8]
	ldr	x8, [sp, #112]
	ldr	w10, [x8, #4]
	orr	w9, w10, w9
	str	w9, [x8, #4]
	mov	w9, #2
	str	w9, [sp, #104]
LBB0_11:
	mov	x0, x23
	ldr	x9, [x0, #8]!
	cmp	x9, #1
	b.lt	LBB0_13
; %bb.12:
	add	x8, sp, #80
	add	x1, x8, #40
	bl	_file_time_to_nfs_time
Lloh23:
	adrp	x8, _FATTR4_WORD1_TIME_MODIFY_SET@GOTPAGE
Lloh24:
	ldr	x8, [x8, _FATTR4_WORD1_TIME_MODIFY_SET@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x8]
	ldr	x8, [sp, #112]
	ldr	w10, [x8, #4]
	orr	w9, w10, w9
	str	w9, [x8, #4]
	mov	w9, #2
	str	w9, [sp, #104]
LBB0_13:
	ldr	w9, [x23]
	ldr	w10, [x24]
	tst	w10, w9
	b.eq	LBB0_15
; %bb.14:
	mov	w9, #292
	str	w9, [sp, #92]
Lloh26:
	adrp	x9, _FATTR4_WORD1_MODE@GOTPAGE
Lloh27:
	ldr	x9, [x9, _FATTR4_WORD1_MODE@GOTPAGEOFF]
Lloh28:
	ldr	w9, [x9]
	ldr	w10, [x8, #4]
	orr	w9, w10, w9
	str	w9, [x8, #4]
	mov	w8, #2
	str	w8, [sp, #104]
LBB0_15:
	add	x8, sp, #80
	add	x1, x8, #24
	mov	x0, x22
	bl	_nfs41_superblock_supported_attrs
	ldr	w8, [sp, #104]
	cbz	w8, LBB0_20
; %bb.16:
	ldr	w0, [x20, #16]
Lloh29:
	adrp	x8, _OPEN_DELEGATE_READ@GOTPAGE
Lloh30:
	ldr	x8, [x8, _OPEN_DELEGATE_READ@GOTPAGEOFF]
Lloh31:
	ldr	w2, [x8]
Lloh32:
	adrp	x8, _FALSE@GOTPAGE
Lloh33:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh34:
	ldr	w3, [x8]
	mov	x1, x20
	bl	_nfs41_delegation_return
	sub	x1, x29, #52
	mov	x0, x20
	bl	_nfs41_open_stateid_arg
	ldr	w0, [x20, #16]
	sub	x2, x29, #52
	add	x3, sp, #80
	mov	x1, x20
	bl	_nfs41_setattr
	cbz	w0, LBB0_18
; %bb.17:
	mov	x20, x0
	bl	_nfs_error_string
	mov	x2, x0
Lloh35:
	adrp	x1, l_.str@PAGE
Lloh36:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	_dprintf
Lloh37:
	adrp	x8, _ERROR_NOT_SUPPORTED@GOTPAGE
Lloh38:
	ldr	x8, [x8, _ERROR_NOT_SUPPORTED@GOTPAGEOFF]
Lloh39:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_nfs_to_windows_error
	mov	x21, x0
	b	LBB0_19
LBB0_18:
	mov	w21, #0
LBB0_19:
	ldr	w8, [sp, #96]
	str	w8, [x19]
LBB0_20:
	mov	x0, x21
	ldp	x29, x30, [sp, #208]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #192]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #176]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #160]            ; 16-byte Folded Reload
	add	sp, sp, #224
	ret
LBB0_21:
	mov	w8, #420
Lloh40:
	adrp	x9, _FATTR4_WORD1_MODE@GOTPAGE
Lloh41:
	ldr	x9, [x9, _FATTR4_WORD1_MODE@GOTPAGEOFF]
Lloh42:
	ldr	w9, [x9]
	mov	w10, #4
	ldr	w11, [x10]
	orr	w9, w11, w9
	str	w9, [x10]
	mov	w9, #2
	str	w8, [sp, #92]
	str	w9, [sp, #104]
	ldr	x8, [x22, #8]
	cbnz	x8, LBB0_6
	b	LBB0_13
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.cfi_endproc
                                        ; -- End function
	.comm	_NO_ERROR,4,2                   ; @NO_ERROR
	.comm	_FILE_ATTRIBUTE_HIDDEN,4,2      ; @FILE_ATTRIBUTE_HIDDEN
	.comm	_FILE_ATTRIBUTE_SYSTEM,4,2      ; @FILE_ATTRIBUTE_SYSTEM
	.comm	_FILE_ATTRIBUTE_ARCHIVE,4,2     ; @FILE_ATTRIBUTE_ARCHIVE
	.comm	_FATTR4_WORD0_HIDDEN,4,2        ; @FATTR4_WORD0_HIDDEN
	.comm	_FATTR4_WORD0_ARCHIVE,4,2       ; @FATTR4_WORD0_ARCHIVE
	.comm	_FATTR4_WORD1_SYSTEM,4,2        ; @FATTR4_WORD1_SYSTEM
	.comm	_FILE_ATTRIBUTE_READONLY,4,2    ; @FILE_ATTRIBUTE_READONLY
	.comm	_FATTR4_WORD1_MODE,4,2          ; @FATTR4_WORD1_MODE
	.comm	_FATTR4_WORD1_TIME_CREATE,4,2   ; @FATTR4_WORD1_TIME_CREATE
	.comm	_FATTR4_WORD1_TIME_ACCESS_SET,4,2 ; @FATTR4_WORD1_TIME_ACCESS_SET
	.comm	_FATTR4_WORD1_TIME_MODIFY_SET,4,2 ; @FATTR4_WORD1_TIME_MODIFY_SET
	.comm	_OPEN_DELEGATE_READ,4,2         ; @OPEN_DELEGATE_READ
	.comm	_FALSE,4,2                      ; @FALSE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"nfs41_setattr() failed with error %s.\n"

	.comm	_ERROR_NOT_SUPPORTED,4,2        ; @ERROR_NOT_SUPPORTED
	.no_dead_strip	_handle_nfs41_setattr
.subsections_via_symbols
