	.file	"extr_svcauth_gss.c_rsi_parse.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	rsi_parse, @function
rsi_parse:
.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, rdi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12d, edx
	mov	edx, 48
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 120
	.cfi_def_cfa_offset 176
	mov	QWORD PTR 24[rsp], rsi
	lea	rbx, 48[rsp]
	xor	esi, esi
	lea	r14, 24[rsp]
	mov	rdi, rbx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 104[rsp], rax
	xor	eax, eax
	call	memset@PLT
	mov	edx, r12d
	mov	rsi, rbp
	mov	rdi, r14
	call	qword_get@PLT
	test	eax, eax
	js	.L4
	mov	edx, eax
	lea	rdi, 92[rsp]
	mov	rsi, rbp
	call	dup_to_netobj@PLT
	test	rax, rax
	je	.L24
.L4:
	mov	rdi, rbx
	call	rsi_free@PLT
.L3:
	mov	r15d, DWORD PTR ENOMEM[rip]
	neg	r15d
.L1:
	mov	rax, QWORD PTR 104[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L25
	add	rsp, 120
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r15d
	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
.L24:
	.cfi_restore_state
	mov	edx, r12d
	mov	rsi, rbp
	mov	rdi, r14
	call	qword_get@PLT
	mov	edx, eax
	test	eax, eax
	js	.L4
	lea	rdi, 88[rsp]
	mov	rsi, rbp
	call	dup_to_netobj@PLT
	test	rax, rax
	jne	.L4
	mov	rsi, rbx
	mov	rdi, r13
	call	rsi_lookup@PLT
	test	rax, rax
	mov	QWORD PTR [rsp], rax
	je	.L4
	mov	QWORD PTR 56[rsp], 0
	mov	rdi, r14
	call	get_expiry@PLT
	mov	r15d, DWORD PTR EINVAL[rip]
	mov	r9, QWORD PTR [rsp]
	mov	QWORD PTR 8[rsp], rax
	neg	r15d
	test	rax, rax
	jne	.L26
.L5:
	mov	rdi, rbx
	mov	QWORD PTR [rsp], r9
	call	rsi_free@PLT
	mov	r9, QWORD PTR [rsp]
.L10:
	mov	rsi, r13
	mov	rdi, r9
	call	cache_put@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L26:
	mov	edx, r12d
	mov	rsi, rbp
	mov	rdi, r14
	call	qword_get@PLT
	mov	r9, QWORD PTR [rsp]
	test	eax, eax
	jle	.L5
	lea	r10, 40[rsp]
	mov	edx, 10
	mov	rdi, rbp
	mov	rsi, r10
	mov	QWORD PTR 16[rsp], r10
	call	simple_strtoul@PLT
	mov	r9, QWORD PTR [rsp]
	mov	QWORD PTR 80[rsp], rax
	mov	rax, QWORD PTR 40[rsp]
	cmp	BYTE PTR [rax], 0
	jne	.L5
	mov	edx, r12d
	mov	rsi, rbp
	mov	rdi, r14
	call	qword_get@PLT
	mov	r9, QWORD PTR [rsp]
	test	eax, eax
	jle	.L5
	mov	r10, QWORD PTR 16[rsp]
	mov	edx, 10
	mov	rdi, rbp
	mov	rsi, r10
	call	simple_strtoul@PLT
	mov	r9, QWORD PTR [rsp]
	mov	QWORD PTR 72[rsp], rax
	mov	rax, QWORD PTR 40[rsp]
	cmp	BYTE PTR [rax], 0
	jne	.L5
	mov	edx, r12d
	mov	rsi, rbp
	mov	rdi, r14
	call	qword_get@PLT
	mov	r9, QWORD PTR [rsp]
	test	eax, eax
	mov	edx, eax
	js	.L5
	lea	rdi, 68[rsp]
	mov	rsi, rbp
	mov	r15d, DWORD PTR ENOMEM[rip]
	call	dup_to_netobj@PLT
	mov	r9, QWORD PTR [rsp]
	test	rax, rax
	jne	.L22
	mov	edx, r12d
	mov	rsi, rbp
	mov	rdi, r14
	mov	QWORD PTR [rsp], r9
	call	qword_get@PLT
	mov	r9, QWORD PTR [rsp]
	test	eax, eax
	mov	edx, eax
	js	.L27
	lea	rdi, 64[rsp]
	mov	rsi, rbp
	mov	QWORD PTR [rsp], r9
	mov	r12d, DWORD PTR ENOMEM[rip]
	call	dup_to_netobj@PLT
	mov	r9, QWORD PTR [rsp]
	test	rax, rax
	je	.L8
	mov	r15d, r12d
	neg	r15d
	jmp	.L5
.L27:
	mov	r15d, DWORD PTR EINVAL[rip]
.L22:
	neg	r15d
	jmp	.L5
.L25:
	call	__stack_chk_fail@PLT
.L8:
	mov	rax, QWORD PTR 8[rsp]
	mov	rdx, r9
	mov	rsi, rbx
	mov	rdi, r13
	mov	QWORD PTR 48[rsp], rax
	call	rsi_update@PLT
	mov	rdi, rbx
	mov	QWORD PTR [rsp], rax
	call	rsi_free@PLT
	mov	r9, QWORD PTR [rsp]
	test	r9, r9
	je	.L3
	xor	r15d, r15d
	jmp	.L10
	.cfi_endproc
.LFE0:
	.size	rsi_parse, .-rsi_parse
	.comm	ENOMEM,4,4
	.comm	EINVAL,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_rsi_parse.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	rsi_parse, %function
rsi_parse:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r7, r2
	mov	r4, r1
	sub	sp, sp, #52
	ldr	r3, .L28
	str	r1, [sp, #4]
	mov	r2, #32
	mov	r1, #0
	mov	r6, r0
	add	r0, sp, #12
	ldr	r3, [r3]
	str	r3, [sp, #44]
	mov	r3,#0
	bl	memset
	mov	r2, r7
	mov	r1, r4
	add	r0, sp, #4
	bl	qword_get
	subs	r2, r0, #0
	blt	.L4
	mov	r1, r4
	add	r0, sp, #40
	bl	dup_to_netobj
	cmp	r0, #0
	beq	.L24
.L4:
	add	r0, sp, #12
	bl	rsi_free
	ldr	r8, .L28+4
.L3:
	ldr	r5, [r8]
	rsb	r5, r5, #0
.L1:
	ldr	r3, .L28
	ldr	r2, [r3]
	ldr	r3, [sp, #44]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L25
	mov	r0, r5
	add	sp, sp, #52
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L24:
	mov	r2, r7
	mov	r1, r4
	add	r0, sp, #4
	bl	qword_get
	subs	r2, r0, #0
	blt	.L4
	mov	r1, r4
	add	r0, sp, #36
	bl	dup_to_netobj
	subs	r5, r0, #0
	bne	.L4
	mov	r0, r6
	add	r1, sp, #12
	bl	rsi_lookup
	subs	r9, r0, #0
	beq	.L4
	add	r0, sp, #4
	str	r5, [sp, #16]
	bl	get_expiry
	ldr	fp, .L28+8
	subs	r10, r0, #0
	ldr	r5, [fp]
	rsb	r5, r5, #0
	bne	.L26
.L5:
	add	r0, sp, #12
	bl	rsi_free
.L10:
	mov	r1, r6
	mov	r0, r9
	bl	cache_put
	b	.L1
.L26:
	mov	r2, r7
	mov	r1, r4
	add	r0, sp, #4
	bl	qword_get
	cmp	r0, #0
	ble	.L5
	mov	r2, #10
	mov	r0, r4
	add	r1, sp, #8
	bl	simple_strtoul
	ldr	r3, [sp, #8]
	str	r0, [sp, #32]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L5
	mov	r2, r7
	mov	r1, r4
	add	r0, sp, #4
	bl	qword_get
	cmp	r0, #0
	ble	.L5
	mov	r2, #10
	mov	r0, r4
	add	r1, sp, #8
	bl	simple_strtoul
	ldr	r3, [sp, #8]
	str	r0, [sp, #28]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L5
	mov	r2, r7
	mov	r1, r4
	add	r0, sp, #4
	bl	qword_get
	subs	r2, r0, #0
	blt	.L5
	ldr	r8, .L28+4
	mov	r1, r4
	add	r0, sp, #24
	ldr	r5, [r8]
	bl	dup_to_netobj
	cmp	r0, #0
	bne	.L22
	mov	r2, r7
	mov	r1, r4
	add	r0, sp, #4
	bl	qword_get
	subs	r2, r0, #0
	blt	.L27
	mov	r1, r4
	add	r0, sp, #20
	ldr	r4, [r8]
	bl	dup_to_netobj
	subs	r5, r0, #0
	rsbne	r5, r4, #0
	bne	.L5
	mov	r2, r9
	add	r1, sp, #12
	mov	r0, r6
	str	r10, [sp, #12]
	bl	rsi_update
	mov	r9, r0
	add	r0, sp, #12
	bl	rsi_free
	cmp	r9, #0
	beq	.L3
	b	.L10
.L27:
	ldr	r5, [fp]
.L22:
	rsb	r5, r5, #0
	b	.L5
.L25:
	bl	__stack_chk_fail
.L29:
	.align	2
.L28:
	.word	.LC0
	.word	ENOMEM
	.word	EINVAL
	.size	rsi_parse, .-rsi_parse
	.comm	ENOMEM,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
