	.file	"extr_svcauth_gss.c_svcauth_gss_legacy_init.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	svcauth_gss_legacy_init, @function
svcauth_gss_legacy_init:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, rdx
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 72
	.cfi_def_cfa_offset 128
	mov	r15d, DWORD PTR sunrpc_net_id[rip]
	mov	r13, QWORD PTR 16[rdi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 56[rsp], rax
	xor	eax, eax
	mov	rax, QWORD PTR 8[rdi]
	mov	QWORD PTR 8[rsp], rax
	call	SVC_NET@PLT
	mov	esi, r15d
	lea	r15, 16[rsp]
	mov	edi, eax
	call	net_generic@PLT
	mov	edx, 28
	xor	esi, esi
	mov	rdi, r15
	mov	rbx, rax
	call	memset@PLT
	mov	rdi, r12
	lea	rcx, 40[rsp]
	mov	rdx, r14
	lea	r8, 36[rsp]
	mov	rsi, r13
	call	gss_read_verf@PLT
	mov	r12d, eax
	test	eax, eax
	je	.L9
.L1:
	mov	rax, QWORD PTR 56[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L10
	add	rsp, 72
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	mov	edi, DWORD PTR [rbx]
	mov	rsi, r15
	call	rsi_lookup@PLT
	mov	rdi, r15
	mov	r14, rax
	call	rsi_free@PLT
	mov	r12d, DWORD PTR SVC_CLOSE[rip]
	test	r14, r14
	je	.L1
	mov	edi, DWORD PTR [rbx]
	mov	rdx, rbp
	mov	rsi, r14
	call	cache_check@PLT
	mov	r12d, DWORD PTR SVC_CLOSE[rip]
	test	rax, rax
	js	.L1
	lea	r15, 16[r14]
	mov	edi, DWORD PTR 4[rbx]
	lea	rcx, 8[r14]
	mov	rsi, rbp
	mov	rdx, r15
	call	gss_write_init_verf@PLT
	test	rax, rax
	jne	.L5
	mov	r9d, DWORD PTR 4[r14]
	mov	r8d, DWORD PTR 8[r14]
	lea	rcx, 12[r14]
	mov	rdx, r15
	mov	esi, DWORD PTR PAGE_SIZE[rip]
	mov	rdi, QWORD PTR 8[rsp]
	call	gss_write_resv@PLT
	test	rax, rax
	cmove	r12d, DWORD PTR SVC_COMPLETE[rip]
.L5:
	mov	esi, DWORD PTR [rbx]
	mov	rdi, r14
	call	cache_put@PLT
	jmp	.L1
.L10:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	svcauth_gss_legacy_init, .-svcauth_gss_legacy_init
	.comm	sunrpc_net_id,4,4
	.comm	SVC_COMPLETE,4,4
	.comm	SVC_CLOSE,4,4
	.comm	PAGE_SIZE,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_svcauth_gss.c_svcauth_gss_legacy_init.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	svcauth_gss_legacy_init, %function
svcauth_gss_legacy_init:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	ldmib	r0, {r8, r9}
	ldr	r3, .L12
	sub	sp, sp, #44
	mov	r4, r2
	mov	r7, r1
	ldr	r3, [r3]
	str	r3, [sp, #36]
	mov	r3,#0
	mov	r5, r0
	bl	SVC_NET
	ldr	r3, .L12+4
	ldr	r1, [r3]
	bl	net_generic
	mov	ip, #0
	add	r3, sp, #28
	mov	r2, r4
	str	r3, [sp]
	mov	r6, r0
	mov	r1, r9
	mov	r0, r7
	add	r3, sp, #32
	str	ip, [sp, #8]
	str	ip, [sp, #12]
	str	ip, [sp, #16]
	str	ip, [sp, #20]
	str	ip, [sp, #24]
	str	ip, [sp, #28]
	str	ip, [sp, #32]
	bl	gss_read_verf
	subs	r4, r0, #0
	beq	.L10
.L1:
	ldr	r3, .L12
	ldr	r2, [r3]
	ldr	r3, [sp, #36]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L11
	mov	r0, r4
	add	sp, sp, #44
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L10:
	add	r1, sp, #8
	ldr	r0, [r6]
	bl	rsi_lookup
	mov	r7, r0
	add	r0, sp, #8
	bl	rsi_free
	cmp	r7, #0
	beq	.L8
	mov	r2, r5
	mov	r1, r7
	ldr	r0, [r6]
	bl	cache_check
	cmp	r0, #0
	blt	.L8
	ldr	ip, .L12+8
	add	r9, r7, #16
	mov	r1, r5
	mov	r2, r9
	ldr	r0, [r6, #4]
	add	r3, r7, #8
	ldr	r4, [ip]
	bl	gss_write_init_verf
	cmp	r0, #0
	bne	.L5
	ldr	r2, [r7, #4]
	ldr	r3, .L12+12
	str	r2, [sp, #4]
	ldr	r1, [r7, #8]
	mov	r2, r9
	str	r1, [sp]
	ldr	r1, [r3]
	mov	r0, r8
	add	r3, r7, #12
	bl	gss_write_resv
	cmp	r0, #0
	ldreq	r3, .L12+16
	ldreq	r4, [r3]
.L5:
	mov	r0, r7
	ldr	r1, [r6]
	bl	cache_put
	b	.L1
.L8:
	ldr	r3, .L12+8
	ldr	r4, [r3]
	b	.L1
.L11:
	bl	__stack_chk_fail
.L13:
	.align	2
.L12:
	.word	.LC0
	.word	sunrpc_net_id
	.word	SVC_CLOSE
	.word	PAGE_SIZE
	.word	SVC_COMPLETE
	.size	svcauth_gss_legacy_init, .-svcauth_gss_legacy_init
	.comm	sunrpc_net_id,4,4
	.comm	SVC_COMPLETE,4,4
	.comm	SVC_CLOSE,4,4
	.comm	PAGE_SIZE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
