	.file	"extr_gss_acquire_cred.c_gss_acquire_cred.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	gss_acquire_cred
	.type	gss_acquire_cred, @function
gss_acquire_cred:
.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
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rdx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12d, ecx
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	ebp, r8d
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rdi
	sub	rsp, 120
	.cfi_def_cfa_offset 176
	mov	rax, QWORD PTR 184[rsp]
	mov	QWORD PTR 8[rsp], rsi
	mov	QWORD PTR 16[rsp], r9
	mov	r14, QWORD PTR 176[rsp]
	mov	QWORD PTR 24[rsp], rax
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 104[rsp], rax
	xor	eax, eax
	mov	QWORD PTR [rdi], 0
	call	kgss_gssd_client@PLT
	mov	rsi, QWORD PTR 8[rsp]
	test	rax, rax
	je	.L21
	mov	r15, rax
	mov	rax, QWORD PTR curthread[rip]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR 56[rsp], eax
	xor	eax, eax
	test	rsi, rsi
	je	.L4
	mov	rax, QWORD PTR [rsi]
.L4:
	mov	DWORD PTR 32[rsp], ebp
	lea	rbp, 64[rsp]
	mov	esi, 40
	mov	rdi, rbp
	mov	DWORD PTR 36[rsp], r12d
	mov	QWORD PTR 48[rsp], rax
	mov	QWORD PTR 40[rsp], r13
	call	bzero@PLT
	lea	rdi, 32[rsp]
	mov	rdx, r15
	mov	rsi, rbp
	call	gssd_acquire_cred_1@PLT
	mov	rdi, r15
	mov	r12d, eax
	call	CLNT_RELEASE@PLT
	cmp	r12d, DWORD PTR RPC_SUCCESS[rip]
	jne	.L23
	mov	rax, QWORD PTR 64[rsp]
	cmp	rax, QWORD PTR GSS_S_COMPLETE[rip]
	je	.L6
	mov	rdx, QWORD PTR 72[rsp]
	mov	QWORD PTR [rbx], rdx
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L23:
	mov	eax, r12d
	mov	QWORD PTR [rbx], rax
.L21:
	mov	rax, QWORD PTR GSS_S_FAILURE[rip]
.L1:
	mov	rcx, QWORD PTR 104[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L24
	add	rsp, 120
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	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
.L6:
	.cfi_restore_state
	mov	edx, DWORD PTR M_WAITOK[rip]
	mov	esi, DWORD PTR M_GSSAPI[rip]
	mov	edi, 4
	call	malloc@PLT
	mov	edx, DWORD PTR 96[rsp]
	mov	rcx, QWORD PTR 16[rsp]
	mov	DWORD PTR [rax], edx
	mov	QWORD PTR [rcx], rax
	test	r14, r14
	je	.L7
	mov	rsi, r14
	mov	rdi, rbx
	call	gss_create_empty_oid_set@PLT
	test	rax, rax
	jne	.L1
	mov	rax, QWORD PTR 88[rsp]
	mov	edx, DWORD PTR [rax]
	test	edx, edx
	jle	.L7
	xor	r12d, r12d
	.p2align 4,,10
	.p2align 3
.L8:
	mov	rax, QWORD PTR 8[rax]
	mov	rdx, r14
	mov	rdi, rbx
	lea	rsi, [rax+r12*4]
	call	gss_add_oid_set_member@PLT
	test	rax, rax
	jne	.L1
	mov	rax, QWORD PTR 88[rsp]
	add	r12, 1
	cmp	DWORD PTR [rax], r12d
	jg	.L8
.L7:
	mov	rbx, QWORD PTR 24[rsp]
	test	rbx, rbx
	je	.L9
	mov	rax, QWORD PTR 80[rsp]
	mov	QWORD PTR [rbx], rax
.L9:
	mov	edi, DWORD PTR xdr_acquire_cred_res[rip]
	mov	rsi, rbp
	call	xdr_free@PLT
	mov	rax, QWORD PTR GSS_S_COMPLETE[rip]
	jmp	.L1
.L24:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	gss_acquire_cred, .-gss_acquire_cred
	.comm	xdr_acquire_cred_res,8,8
	.comm	curthread,8,8
	.comm	RPC_SUCCESS,4,4
	.comm	M_WAITOK,4,4
	.comm	M_GSSAPI,4,4
	.comm	GSS_S_FAILURE,8,8
	.comm	GSS_S_COMPLETE,8,8
	.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_gss_acquire_cred.c_gss_acquire_cred.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	gss_acquire_cred
	.syntax unified
	.arm
	.fpu softvfp
	.type	gss_acquire_cred, %function
gss_acquire_cred:
	@ args = 16, pretend = 0, frame = 48
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	ip, #0
	mov	r5, r0
	ldr	r0, .L26
	sub	sp, sp, #52
	ldr	r0, [r0]
	str	r0, [sp, #44]
	mov	r0,#0
	str	ip, [r5]
	mov	r4, r1
	mov	r10, r2
	mov	r6, r3
	ldr	r9, [sp, #92]
	ldr	r7, [sp, #96]
	ldr	r8, [sp, #100]
	bl	kgss_gssd_client
	subs	fp, r0, #0
	beq	.L22
	ldr	r3, .L26+4
	cmp	r4, #0
	ldr	r3, [r3]
	ldrne	r4, [r4]
	ldr	r3, [r3]
	mov	r1, #20
	ldr	r3, [r3]
	add	r0, sp, #4
	str	r3, [sp, #40]
	ldr	r3, [sp, #88]
	str	r4, [sp, #36]
	str	r3, [sp, #24]
	str	r10, [sp, #32]
	str	r6, [sp, #28]
	bl	bzero
	mov	r2, fp
	add	r1, sp, #4
	add	r0, sp, #24
	bl	gssd_acquire_cred_1
	mov	r4, r0
	mov	r0, fp
	bl	CLNT_RELEASE
	ldr	r3, .L26+8
	ldr	r3, [r3]
	cmp	r4, r3
	bne	.L23
	ldr	r6, .L26+12
	ldr	r4, [sp, #4]
	ldr	r3, [r6]
	cmp	r4, r3
	beq	.L6
	ldr	r3, [sp, #8]
	str	r3, [r5]
.L1:
	ldr	r3, .L26
	ldr	r2, [r3]
	ldr	r3, [sp, #44]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L24
	mov	r0, r4
	add	sp, sp, #52
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L23:
	ldr	r3, .L26+16
	str	r4, [r5]
	ldr	r4, [r3]
	b	.L1
.L22:
	ldr	r3, .L26+16
	ldr	r4, [r3]
	b	.L1
.L6:
	ldr	r3, .L26+20
	ldr	r2, .L26+24
	ldr	r1, [r3]
	mov	r0, #4
	ldr	r2, [r2]
	bl	malloc
	ldr	r3, [sp, #20]
	cmp	r7, #0
	str	r3, [r0]
	str	r0, [r9]
	beq	.L7
	mov	r1, r7
	mov	r0, r5
	bl	gss_create_empty_oid_set
	subs	r4, r0, #0
	bne	.L1
	ldr	r3, [sp, #16]
	ldr	r2, [r3]
	cmp	r2, #0
	bgt	.L8
	b	.L7
.L25:
	ldr	r3, [sp, #16]
	add	r4, r4, #1
	ldr	r2, [r3]
	cmp	r2, r4
	ble	.L7
.L8:
	ldr	r1, [r3, #4]
	mov	r2, r7
	mov	r0, r5
	add	r1, r1, r4, lsl #2
	bl	gss_add_oid_set_member
	cmp	r0, #0
	beq	.L25
	mov	r4, r0
	b	.L1
.L7:
	cmp	r8, #0
	ldrne	r3, [sp, #12]
	add	r1, sp, #4
	strne	r3, [r8]
	ldr	r3, .L26+28
	ldr	r0, [r3]
	bl	xdr_free
	ldr	r4, [r6]
	b	.L1
.L24:
	bl	__stack_chk_fail
.L27:
	.align	2
.L26:
	.word	.LC0
	.word	curthread
	.word	RPC_SUCCESS
	.word	GSS_S_COMPLETE
	.word	GSS_S_FAILURE
	.word	M_GSSAPI
	.word	M_WAITOK
	.word	xdr_acquire_cred_res
	.size	gss_acquire_cred, .-gss_acquire_cred
	.comm	xdr_acquire_cred_res,4,4
	.comm	curthread,4,4
	.comm	RPC_SUCCESS,4,4
	.comm	M_WAITOK,4,4
	.comm	M_GSSAPI,4,4
	.comm	GSS_S_FAILURE,4,4
	.comm	GSS_S_COMPLETE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
