	.file	"extr_keytab_file.c_fkt_start_seq_get_int.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	""
.LC1:
	.string	"keytab %s open failed: %s"
.LC2:
	.string	"malloc: out of memory"
	.text
	.p2align 4
	.type	fkt_start_seq_get_int, @function
fkt_start_seq_get_int:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rsi
	mov	esi, edx
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12d, ecx
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	ebp, edi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, r8
	sub	rsp, 16
	.cfi_def_cfa_offset 64
	mov	r14, QWORD PTR 8[r13]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	edi, DWORD PTR [r14]
	call	open@PLT
	mov	DWORD PTR 8[rbx], eax
	test	eax, eax
	js	.L13
	mov	edi, eax
	call	rk_cloexec@PLT
	mov	esi, DWORD PTR 8[rbx]
	mov	ecx, DWORD PTR [r14]
	mov	edx, r12d
	mov	edi, ebp
	call	_krb5_xlock@PLT
	mov	edi, DWORD PTR 8[rbx]
	mov	r12, rax
	test	rax, rax
	jne	.L14
	call	krb5_storage_from_fd@PLT
	mov	QWORD PTR [rbx], rax
	mov	rdi, rax
	test	rax, rax
	je	.L15
	mov	esi, DWORD PTR KRB5_KT_END[rip]
	call	krb5_storage_set_eof_code@PLT
	mov	rdi, QWORD PTR [rbx]
	mov	rsi, rsp
	call	krb5_ret_int8@PLT
	mov	rdi, QWORD PTR [rbx]
	mov	r12, rax
	test	rax, rax
	jne	.L11
	cmp	DWORD PTR [rsp], 5
	jne	.L16
	lea	rsi, 4[rsp]
	call	krb5_ret_int8@PLT
	mov	r12, rax
	test	rax, rax
	jne	.L17
	mov	edx, DWORD PTR 4[rsp]
	mov	rsi, QWORD PTR [rbx]
	mov	edi, ebp
	mov	DWORD PTR 0[r13], edx
	call	storage_set_flags@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L14:
	call	close@PLT
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L18
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	mov	rax, r12
	pop	rbx
	.cfi_def_cfa_offset 40
	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
.L13:
	.cfi_restore_state
	mov	r12, QWORD PTR errno[rip]
	mov	rdi, r12
	call	strerror@PLT
	mov	r13d, DWORD PTR [r14]
	lea	rsi, .LC0[rip]
	lea	rdi, .LC1[rip]
	mov	ebx, eax
	call	N_@PLT
	mov	r8d, ebx
	mov	ecx, r13d
	mov	rsi, r12
	mov	edx, eax
	mov	edi, ebp
	xor	eax, eax
	call	krb5_set_error_message@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L16:
	call	krb5_storage_free@PLT
	mov	esi, DWORD PTR 8[rbx]
	mov	edi, ebp
	call	_krb5_xunlock@PLT
	mov	edi, DWORD PTR 8[rbx]
	call	close@PLT
	mov	edi, ebp
	call	krb5_clear_error_message@PLT
	mov	r12, QWORD PTR KRB5_KEYTAB_BADVNO[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L17:
	mov	rdi, QWORD PTR [rbx]
.L11:
	call	krb5_storage_free@PLT
	mov	esi, DWORD PTR 8[rbx]
	mov	edi, ebp
	call	_krb5_xunlock@PLT
	mov	edi, DWORD PTR 8[rbx]
	call	close@PLT
	mov	edi, ebp
	call	krb5_clear_error_message@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L15:
	mov	esi, DWORD PTR 8[rbx]
	mov	edi, ebp
	call	_krb5_xunlock@PLT
	mov	edi, DWORD PTR 8[rbx]
	call	close@PLT
	lea	rsi, .LC0[rip]
	lea	rdi, .LC2[rip]
	call	N_@PLT
	mov	rsi, QWORD PTR ENOMEM[rip]
	mov	edi, ebp
	mov	edx, eax
	xor	eax, eax
	call	krb5_set_error_message@PLT
	mov	r12, QWORD PTR ENOMEM[rip]
	jmp	.L1
.L18:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	fkt_start_seq_get_int, .-fkt_start_seq_get_int
	.comm	errno,8,8
	.comm	KRB5_KT_END,4,4
	.comm	KRB5_KEYTAB_BADVNO,8,8
	.comm	ENOMEM,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_keytab_file.c_fkt_start_seq_get_int.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"\000"
	.align	2
.LC1:
	.ascii	"keytab %s open failed: %s\000"
	.align	2
.LC2:
	.ascii	"malloc: out of memory\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	fkt_start_seq_get_int, %function
fkt_start_seq_get_int:
	@ args = 4, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r8, [r1, #4]
	mov	r4, r3
	ldr	r3, .L18
	sub	sp, sp, #24
	mov	r7, r1
	mov	r6, r0
	mov	r1, r2
	ldr	r0, [r8]
	ldr	r5, [sp, #48]
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	bl	open
	cmp	r0, #0
	str	r0, [r5, #4]
	blt	.L13
	bl	rk_cloexec
	mov	r2, r4
	mov	r0, r6
	ldr	r3, [r8]
	ldr	r1, [r5, #4]
	bl	_krb5_xlock
	subs	r4, r0, #0
	ldr	r0, [r5, #4]
	bne	.L14
	bl	krb5_storage_from_fd
	cmp	r0, #0
	str	r0, [r5]
	beq	.L15
	ldr	r3, .L18+4
	ldr	r1, [r3]
	bl	krb5_storage_set_eof_code
	ldr	r0, [r5]
	add	r1, sp, #12
	bl	krb5_ret_int8
	subs	r4, r0, #0
	bne	.L11
	ldr	r3, [sp, #12]
	ldr	r0, [r5]
	cmp	r3, #5
	bne	.L16
	add	r1, sp, #16
	bl	krb5_ret_int8
	subs	r4, r0, #0
	bne	.L11
	ldr	r2, [sp, #16]
	ldr	r1, [r5]
	mov	r0, r6
	str	r2, [r7]
	bl	storage_set_flags
	b	.L1
.L14:
	bl	close
.L1:
	ldr	r3, .L18
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L17
	mov	r0, r4
	add	sp, sp, #24
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L13:
	ldr	r3, .L18+8
	ldr	r1, .L18+12
	ldr	r0, .L18+16
	ldr	r4, [r3]
	bl	N_
	mov	r5, r0
	mov	r0, r4
	ldr	r7, [r8]
	bl	strerror
	mov	r2, r5
	str	r0, [sp]
	mov	r3, r7
	mov	r0, r6
	mov	r1, r4
	bl	krb5_set_error_message
	b	.L1
.L16:
	bl	krb5_storage_free
	ldr	r1, [r5, #4]
	mov	r0, r6
	bl	_krb5_xunlock
	ldr	r0, [r5, #4]
	bl	close
	mov	r0, r6
	bl	krb5_clear_error_message
	ldr	r3, .L18+20
	ldr	r4, [r3]
	b	.L1
.L11:
	ldr	r0, [r5]
	bl	krb5_storage_free
	ldr	r1, [r5, #4]
	mov	r0, r6
	bl	_krb5_xunlock
	ldr	r0, [r5, #4]
	bl	close
	mov	r0, r6
	bl	krb5_clear_error_message
	b	.L1
.L15:
	ldr	r1, [r5, #4]
	mov	r0, r6
	bl	_krb5_xunlock
	ldr	r4, .L18+24
	ldr	r0, [r5, #4]
	bl	close
	ldr	r1, .L18+12
	ldr	r0, .L18+28
	ldr	r5, [r4]
	bl	N_
	mov	r1, r5
	mov	r2, r0
	mov	r0, r6
	bl	krb5_set_error_message
	ldr	r4, [r4]
	b	.L1
.L17:
	bl	__stack_chk_fail
.L19:
	.align	2
.L18:
	.word	.LC3
	.word	KRB5_KT_END
	.word	errno
	.word	.LC0
	.word	.LC1
	.word	KRB5_KEYTAB_BADVNO
	.word	ENOMEM
	.word	.LC2
	.size	fkt_start_seq_get_int, .-fkt_start_seq_get_int
	.comm	errno,4,4
	.comm	KRB5_KT_END,4,4
	.comm	KRB5_KEYTAB_BADVNO,4,4
	.comm	ENOMEM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
