	.file	"extr_proc.c_smb_proc_trunc64.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	smb_proc_trunc64, @function
smb_proc_trunc64:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14d, esi
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	call	server_from_inode@PLT
	mov	r12d, DWORD PTR ENOMEM[rip]
	mov	esi, 14
	mov	rdi, rax
	call	smb_alloc_request@PLT
	neg	r12d
	test	rax, rax
	je	.L1
	mov	rdi, r13
	mov	rbp, rax
	mov	r12, QWORD PTR [rax]
	call	SMB_I@PLT
	xor	esi, esi
	mov	edx, DWORD PTR [rax]
	mov	rdi, r12
	lea	rbx, 6[r12]
	call	WSET@PLT
	mov	edx, DWORD PTR SMB_SET_FILE_END_OF_FILE_INFO[rip]
	mov	rdi, r12
	mov	esi, 2
	call	WSET@PLT
	mov	rdi, r12
	xor	edx, edx
	mov	esi, 4
	call	WSET@PLT
	mov	edx, r14d
	xor	esi, esi
	mov	rdi, rbx
	call	LSET@PLT
	mov	eax, DWORD PTR TRANSACT2_SETFILEINFO[rip]
	mov	QWORD PTR 32[rbp], r12
	mov	rdi, rbp
	mov	DWORD PTR 8[rbp], 8
	mov	DWORD PTR 52[rbp], eax
	mov	eax, DWORD PTR SMB_REQ_NORETRY[rip]
	or	DWORD PTR 48[rbp], eax
	mov	QWORD PTR 16[rbp], rbx
	mov	DWORD PTR 24[rbp], 6
	call	smb_add_request@PLT
	mov	r12d, eax
	test	eax, eax
	js	.L4
	xor	r12d, r12d
	cmp	QWORD PTR 40[rbp], 0
	jne	.L8
.L4:
	mov	rdi, rbp
	call	smb_rput@PLT
.L3:
	endbr64
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	rdi, rbp
	call	smb_errno@PLT
	mov	r12d, eax
	jmp	.L4
	.cfi_endproc
.LFE0:
	.size	smb_proc_trunc64, .-smb_proc_trunc64
	.comm	TRANSACT2_SETFILEINFO,4,4
	.comm	SMB_SET_FILE_END_OF_FILE_INFO,4,4
	.comm	SMB_REQ_NORETRY,4,4
	.comm	ENOMEM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_proc.c_smb_proc_trunc64.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	smb_proc_trunc64, %function
smb_proc_trunc64:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r6, r1
	mov	r7, r0
	bl	server_from_inode
	ldr	r3, .L11
	mov	r1, #14
	ldr	r5, [r3]
	bl	smb_alloc_request
	subs	r4, r0, #0
	rsbeq	r5, r5, #0
	beq	.L1
	mov	r0, r7
	ldr	r5, [r4]
	bl	SMB_I
	mov	r1, #0
	ldr	r2, [r0]
	mov	r0, r5
	bl	WSET
	ldr	r3, .L11+4
	mov	r0, r5
	ldr	r2, [r3]
	mov	r1, #2
	bl	WSET
	add	r7, r5, #6
	mov	r0, r5
	mov	r2, #0
	mov	r1, #4
	bl	WSET
	mov	r2, r6
	mov	r1, #0
	mov	r0, r7
	bl	LSET
	mov	r1, #8
	mov	r2, #6
	ldr	r0, .L11+8
	ldr	r3, .L11+12
	ldr	ip, [r0]
	ldr	r0, [r3]
	ldr	r3, [r4, #24]
	str	r5, [r4, #16]
	orr	r3, r3, ip
	str	r0, [r4, #28]
	str	r7, [r4, #8]
	mov	r0, r4
	str	r3, [r4, #24]
	str	r1, [r4, #4]
	str	r2, [r4, #12]
	bl	smb_add_request
	subs	r5, r0, #0
	blt	.L4
	ldr	r5, [r4, #20]
	cmp	r5, #0
	bne	.L10
.L4:
	mov	r0, r4
	bl	smb_rput
.L3:
.L1:
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, pc}
.L10:
	mov	r0, r4
	bl	smb_errno
	mov	r5, r0
	b	.L4
.L12:
	.align	2
.L11:
	.word	ENOMEM
	.word	SMB_SET_FILE_END_OF_FILE_INFO
	.word	SMB_REQ_NORETRY
	.word	TRANSACT2_SETFILEINFO
	.size	smb_proc_trunc64, .-smb_proc_trunc64
	.comm	TRANSACT2_SETFILEINFO,4,4
	.comm	SMB_SET_FILE_END_OF_FILE_INFO,4,4
	.comm	SMB_REQ_NORETRY,4,4
	.comm	ENOMEM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
