	.file	"681873.c"
	.intel_syntax noprefix
	.text
	.globl	_svcauth_unix
	.type	_svcauth_unix, @function
_svcauth_unix:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r14
	push	r13
	push	r12
	push	rbx
	sub	rsp, 96
	.cfi_offset 14, -24
	.cfi_offset 13, -32
	.cfi_offset 12, -40
	.cfi_offset 3, -48
	mov	r12, rdi
	mov	rax, rsi
	mov	rcx, QWORD PTR fs:40
	mov	QWORD PTR -40[rbp], rcx
	xor	ecx, ecx
	mov	rdx, QWORD PTR 48[r12]
	mov	QWORD PTR -104[rbp], rdx
	mov	rbx, QWORD PTR -104[rbp]
	mov	rdx, QWORD PTR -104[rbp]
	add	rdx, 40
	mov	QWORD PTR 8[rbx], rdx
	mov	rdx, QWORD PTR -104[rbp]
	add	rdx, 296
	mov	QWORD PTR 32[rbx], rdx
	mov	edx, DWORD PTR 64[rax]
	mov	DWORD PTR -124[rbp], edx
	mov	rsi, QWORD PTR 56[rax]
	mov	edx, DWORD PTR -124[rbp]
	lea	rax, -96[rbp]
	mov	ecx, 1
	mov	rdi, rax
	call	xdrmem_create@PLT
	mov	rax, QWORD PTR -88[rbp]
	mov	rcx, QWORD PTR 48[rax]
	mov	edx, DWORD PTR -124[rbp]
	lea	rax, -96[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	rcx
	mov	QWORD PTR -112[rbp], rax
	cmp	QWORD PTR -112[rbp], 0
	je	.L2
	mov	rax, QWORD PTR -112[rbp]
	lea	rdx, 4[rax]
	mov	QWORD PTR -112[rbp], rdx
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	ntohl@PLT
	mov	eax, eax
	mov	QWORD PTR [rbx], rax
	mov	rax, QWORD PTR -112[rbp]
	lea	rdx, 4[rax]
	mov	QWORD PTR -112[rbp], rdx
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	ntohl@PLT
	mov	DWORD PTR -120[rbp], eax
	cmp	DWORD PTR -120[rbp], 255
	jbe	.L3
	mov	ebx, 1
	jmp	.L4
.L3:
	mov	edx, DWORD PTR -120[rbp]
	mov	rax, QWORD PTR 8[rbx]
	mov	rcx, QWORD PTR -112[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	memmove@PLT
	mov	rdx, QWORD PTR 8[rbx]
	mov	eax, DWORD PTR -120[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	mov	eax, DWORD PTR -120[rbp]
	add	eax, 3
	and	eax, -4
	mov	DWORD PTR -120[rbp], eax
	mov	eax, DWORD PTR -120[rbp]
	shr	eax, 2
	mov	eax, eax
	sal	rax, 2
	add	QWORD PTR -112[rbp], rax
	mov	rax, QWORD PTR -112[rbp]
	lea	rdx, 4[rax]
	mov	QWORD PTR -112[rbp], rdx
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	ntohl@PLT
	mov	DWORD PTR 16[rbx], eax
	mov	rax, QWORD PTR -112[rbp]
	lea	rdx, 4[rax]
	mov	QWORD PTR -112[rbp], rdx
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	ntohl@PLT
	mov	DWORD PTR 20[rbx], eax
	mov	rax, QWORD PTR -112[rbp]
	lea	rdx, 4[rax]
	mov	QWORD PTR -112[rbp], rdx
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	ntohl@PLT
	mov	DWORD PTR -116[rbp], eax
	cmp	DWORD PTR -116[rbp], 65536
	jbe	.L5
	mov	ebx, 1
	jmp	.L4
.L5:
	mov	eax, DWORD PTR -116[rbp]
	mov	DWORD PTR 24[rbx], eax
	mov	r13d, 0
	jmp	.L6
.L7:
	mov	rax, QWORD PTR -112[rbp]
	lea	rdx, 4[rax]
	mov	QWORD PTR -112[rbp], rdx
	mov	eax, DWORD PTR [rax]
	mov	edx, eax
	mov	rcx, QWORD PTR 32[rbx]
	movsx	rax, r13d
	sal	rax, 2
	lea	r14, [rcx+rax]
	mov	edi, edx
	call	ntohl@PLT
	mov	DWORD PTR [r14], eax
	add	r13d, 1
.L6:
	mov	eax, r13d
	cmp	DWORD PTR -116[rbp], eax
	ja	.L7
	mov	eax, DWORD PTR -116[rbp]
	add	eax, 5
	lea	edx, 0[0+rax*4]
	mov	eax, DWORD PTR -120[rbp]
	add	eax, edx
	cmp	DWORD PTR -124[rbp], eax
	jnb	.L8
	mov	ebx, 1
	jmp	.L4
.L2:
	lea	rax, -96[rbp]
	mov	rsi, rbx
	mov	rdi, rax
	call	xdr_authunix_parms@PLT
	test	eax, eax
	jne	.L8
	mov	DWORD PTR -96[rbp], 2
	lea	rax, -96[rbp]
	mov	rsi, rbx
	mov	rdi, rax
	call	xdr_authunix_parms@PLT
	mov	ebx, 1
	jmp	.L4
.L8:
	mov	rax, QWORD PTR 56[r12]
	mov	DWORD PTR 40[rax], 0
	mov	rax, QWORD PTR 56[r12]
	mov	DWORD PTR 56[rax], 0
	mov	ebx, 0
.L4:
	mov	rax, QWORD PTR -88[rbp]
	mov	rax, QWORD PTR 56[rax]
	test	rax, rax
	je	.L9
	mov	rax, QWORD PTR -88[rbp]
	mov	rdx, QWORD PTR 56[rax]
	lea	rax, -96[rbp]
	mov	rdi, rax
	call	rdx
.L9:
	mov	eax, ebx
	mov	rcx, QWORD PTR -40[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L11
	call	__stack_chk_fail@PLT
.L11:
	add	rsp, 96
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	_svcauth_unix, .-_svcauth_unix
	.globl	_svcauth_short
	.type	_svcauth_short, @function
_svcauth_short:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	eax, 2
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	_svcauth_short, .-_svcauth_short
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"681873.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	_svcauth_unix
	.syntax unified
	.arm
	.fpu softvfp
	.type	_svcauth_unix, %function
_svcauth_unix:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, fp, lr}
	add	fp, sp, #24
	sub	sp, sp, #52
	mov	r6, r0
	mov	r3, r1
	ldr	r2, .L12
	ldr	r2, [r2]
	str	r2, [fp, #-32]
	mov	r2,#0
	ldr	r2, [r6, #24]
	str	r2, [fp, #-72]
	ldr	r5, [fp, #-72]
	ldr	r2, [fp, #-72]
	add	r2, r2, #24
	str	r2, [r5, #4]
	ldr	r2, [fp, #-72]
	add	r2, r2, #280
	str	r2, [r5, #20]
	ldr	r2, [r3, #32]
	str	r2, [fp, #-68]
	ldr	r1, [r3, #28]
	sub	r0, fp, #56
	mov	r3, #1
	ldr	r2, [fp, #-68]
	bl	xdrmem_create
	ldr	r3, [fp, #-52]
	ldr	r3, [r3, #24]
	sub	r2, fp, #56
	ldr	r1, [fp, #-68]
	mov	r0, r2
	blx	r3
	mov	r4, r0
	cmp	r4, #0
	beq	.L2
	mov	r3, r4
	add	r4, r3, #4
	ldr	r3, [r3]
	mov	r0, r3
	bl	ntohl
	mov	r3, r0
	str	r3, [r5]
	mov	r3, r4
	add	r4, r3, #4
	ldr	r3, [r3]
	mov	r0, r3
	bl	ntohl
	str	r0, [fp, #-64]
	ldr	r3, [fp, #-64]
	cmp	r3, #255
	bls	.L3
	mov	r4, #1
	b	.L4
.L3:
	ldr	r3, [r5, #4]
	ldr	r2, [fp, #-64]
	mov	r1, r4
	mov	r0, r3
	bl	memmove
	ldr	r2, [r5, #4]
	ldr	r3, [fp, #-64]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-64]
	add	r3, r3, #3
	bic	r3, r3, #3
	str	r3, [fp, #-64]
	ldr	r3, [fp, #-64]
	bic	r3, r3, #3
	add	r4, r4, r3
	mov	r3, r4
	add	r4, r3, #4
	ldr	r3, [r3]
	mov	r0, r3
	bl	ntohl
	mov	r3, r0
	str	r3, [r5, #8]
	mov	r3, r4
	add	r4, r3, #4
	ldr	r3, [r3]
	mov	r0, r3
	bl	ntohl
	mov	r3, r0
	str	r3, [r5, #12]
	mov	r3, r4
	add	r4, r3, #4
	ldr	r3, [r3]
	mov	r0, r3
	bl	ntohl
	str	r0, [fp, #-60]
	ldr	r3, [fp, #-60]
	cmp	r3, #65536
	bls	.L5
	mov	r4, #1
	b	.L4
.L5:
	ldr	r3, [fp, #-60]
	str	r3, [r5, #16]
	mov	r7, #0
	b	.L6
.L7:
	mov	r3, r4
	add	r4, r3, #4
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r2, [r5, #20]
	mov	r3, r7
	lsl	r3, r3, #2
	add	r8, r2, r3
	mov	r0, r1
	bl	ntohl
	mov	r3, r0
	str	r3, [r8]
	add	r7, r7, #1
.L6:
	mov	r2, r7
	ldr	r3, [fp, #-60]
	cmp	r3, r2
	bhi	.L7
	ldr	r3, [fp, #-60]
	add	r3, r3, #5
	lsl	r2, r3, #2
	ldr	r3, [fp, #-64]
	add	r3, r2, r3
	ldr	r2, [fp, #-68]
	cmp	r2, r3
	bcs	.L8
	mov	r4, #1
	b	.L4
.L2:
	sub	r3, fp, #56
	mov	r1, r5
	mov	r0, r3
	bl	xdr_authunix_parms
	mov	r3, r0
	cmp	r3, #0
	bne	.L8
	mov	r3, #2
	str	r3, [fp, #-56]
	sub	r3, fp, #56
	mov	r1, r5
	mov	r0, r3
	bl	xdr_authunix_parms
	mov	r4, #1
	b	.L4
.L8:
	ldr	r3, [r6, #28]
	mov	r2, #0
	str	r2, [r3, #32]
	ldr	r3, [r6, #28]
	mov	r2, #0
	str	r2, [r3, #40]
	mov	r4, #0
.L4:
	ldr	r3, [fp, #-52]
	ldr	r3, [r3, #28]
	cmp	r3, #0
	beq	.L9
	ldr	r3, [fp, #-52]
	ldr	r3, [r3, #28]
	sub	r2, fp, #56
	mov	r0, r2
	blx	r3
.L9:
	mov	r3, r4
	ldr	r2, .L12
	ldr	r1, [r2]
	ldr	r2, [fp, #-32]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L11
	bl	__stack_chk_fail
.L11:
	mov	r0, r3
	sub	sp, fp, #24
	@ sp needed
	pop	{r4, r5, r6, r7, r8, fp, pc}
.L13:
	.align	2
.L12:
	.word	.LC0
	.size	_svcauth_unix, .-_svcauth_unix
	.align	2
	.global	_svcauth_short
	.syntax unified
	.arm
	.fpu softvfp
	.type	_svcauth_short, %function
_svcauth_short:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	mov	r3, #2
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	_svcauth_short, .-_svcauth_short
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
