	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_do_fsetstat                    ## -- Begin function do_fsetstat
	.p2align	4, 0x90
_do_fsetstat:                           ## @do_fsetstat
	.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	%rcx, %r9
	movq	%rdx, %r8
	movq	%rsi, %rcx
	movq	%rdi, %rbx
	movslq	(%rdi), %r14
	leal	1(%r14), %eax
	movl	%eax, (%rdi)
	movq	_SSH2_FXP_FSETSTAT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rsi
	callq	_send_string_attrs_request
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_get_status
	movq	%rax, %rbx
	movq	_SSH2_FX_OK@GOTPCREL(%rip), %r14
	cmpq	(%r14), %rax
	jne	LBB0_2
## %bb.1:
	movq	%rbx, %rcx
	jmp	LBB0_3
LBB0_2:
	movq	%rbx, %rdi
	callq	_fx2txt
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	callq	_error
	movq	(%r14), %rcx
LBB0_3:
	xorl	%eax, %eax
	cmpq	%rcx, %rbx
	setne	%al
	negl	%eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SSH2_FXP_FSETSTAT,4,2          ## @SSH2_FXP_FSETSTAT
	.comm	_SSH2_FX_OK,8,3                 ## @SSH2_FX_OK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Couldn't fsetstat: %s"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_do_fsetstat                    ; -- Begin function do_fsetstat
	.p2align	2
_do_fsetstat:                           ; @do_fsetstat
	.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	x5, x3
	mov	x4, x2
	mov	x3, x1
	mov	x19, x0
	ldrsw	x20, [x0]
	add	w8, w20, #1
	str	w8, [x0]
Lloh0:
	adrp	x8, _SSH2_FXP_FSETSTAT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SSH2_FXP_FSETSTAT@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x1, x20
	bl	_send_string_attrs_request
	mov	x0, x19
	mov	x1, x20
	bl	_get_status
	mov	x19, x0
Lloh3:
	adrp	x20, _SSH2_FX_OK@GOTPAGE
Lloh4:
	ldr	x20, [x20, _SSH2_FX_OK@GOTPAGEOFF]
	ldr	x8, [x20]
	cmp	x0, x8
	b.ne	LBB0_2
; %bb.1:
	mov	x8, x19
	b	LBB0_3
LBB0_2:
	mov	x0, x19
	bl	_fx2txt
	mov	x1, x0
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	bl	_error
	ldr	x8, [x20]
LBB0_3:
	cmp	x19, x8
	csetm	w0, ne
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_SSH2_FXP_FSETSTAT,4,2          ; @SSH2_FXP_FSETSTAT
	.comm	_SSH2_FX_OK,8,3                 ; @SSH2_FX_OK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Couldn't fsetstat: %s"

.subsections_via_symbols
