	.file	"extr_login.c_login_receive_chap_a.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"CHAP_A"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"received CHAP Login PDU without CHAP_A"
	.section	.rodata.str1.1
.LC2:
	.string	"5"
	.section	.rodata.str1.8
	.align 8
.LC3:
	.string	"received CHAP Login PDU with unsupported CHAP_A \"%s\""
	.text
	.p2align 4
	.type	login_receive_chap_a, @function
login_receive_chap_a:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	xor	esi, esi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	call	login_receive@PLT
	mov	r12, rax
	xor	eax, eax
	call	keys_new@PLT
	mov	rsi, r12
	mov	rbp, rax
	mov	rdi, rax
	call	keys_load@PLT
	lea	rsi, .LC0[rip]
	mov	rdi, rbp
	call	keys_find@PLT
	mov	r13, rax
	test	rax, rax
	je	.L6
.L2:
	lea	rsi, .LC2[rip]
	mov	rdi, r13
	call	login_list_contains@PLT
	test	rax, rax
	je	.L7
.L3:
	mov	rdi, rbp
	call	keys_delete@PLT
	mov	rax, r12
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	mov	rdi, r12
	mov	edx, 1
	mov	esi, 2
	call	login_send_error@PLT
	mov	rdx, r13
	mov	edi, 1
	xor	eax, eax
	lea	rsi, .LC3[rip]
	call	log_errx@PLT
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L6:
	mov	rdi, r12
	mov	edx, 7
	mov	esi, 2
	call	login_send_error@PLT
	lea	rsi, .LC1[rip]
	mov	edi, 1
	xor	eax, eax
	call	log_errx@PLT
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	login_receive_chap_a, .-login_receive_chap_a
	.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_login.c_login_receive_chap_a.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"CHAP_A\000"
	.align	2
.LC1:
	.ascii	"received CHAP Login PDU without CHAP_A\000"
	.align	2
.LC2:
	.ascii	"5\000"
	.align	2
.LC3:
	.ascii	"received CHAP Login PDU with unsupported CHAP_A \"%"
	.ascii	"s\"\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	login_receive_chap_a, %function
login_receive_chap_a:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r1, #0
	bl	login_receive
	mov	r4, r0
	bl	keys_new
	mov	r6, r0
	mov	r1, r4
	bl	keys_load
	mov	r0, r6
	ldr	r1, .L8
	bl	keys_find
	subs	r5, r0, #0
	beq	.L6
.L2:
	mov	r0, r5
	ldr	r1, .L8+4
	bl	login_list_contains
	cmp	r0, #0
	beq	.L7
.L3:
	mov	r0, r6
	bl	keys_delete
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L7:
	mov	r2, #1
	mov	r1, #2
	mov	r0, r4
	bl	login_send_error
	mov	r2, r5
	ldr	r1, .L8+8
	mov	r0, #1
	bl	log_errx
	b	.L3
.L6:
	mov	r2, #7
	mov	r1, #2
	mov	r0, r4
	bl	login_send_error
	ldr	r1, .L8+12
	mov	r0, #1
	bl	log_errx
	b	.L2
.L9:
	.align	2
.L8:
	.word	.LC0
	.word	.LC2
	.word	.LC3
	.word	.LC1
	.size	login_receive_chap_a, .-login_receive_chap_a
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
