	.file	"extr_security.c_sec_login.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"realloc %lu failed"
.LC1:
	.string	"Skipping %s...\n"
.LC2:
	.string	"Trying %s...\n"
.LC3:
	.string	"AUTH %s"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC4:
	.string	"%s is not supported by the server.\n"
	.align 8
.LC5:
	.string	"%s rejected as security mechanism.\n"
	.align 8
.LC6:
	.string	"The server doesn't support the FTP security extensions."
	.text
	.p2align 4
	.globl	sec_login
	.type	sec_login, @function
sec_login:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	lea	r12, .LC2[rip]
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	rbx, QWORD PTR mechs[rip]
	mov	r13d, DWORD PTR verbose[rip]
	mov	DWORD PTR verbose[rip], -1
	mov	rax, QWORD PTR [rbx]
	test	rax, rax
	je	.L3
.L2:
	cmp	QWORD PTR [rax], 0
	je	.L26
	mov	rdi, QWORD PTR app_data[rip]
	mov	rsi, QWORD PTR 24[rax]
	call	realloc@PLT
	mov	rdi, rax
	test	rax, rax
	je	.L27
	mov	QWORD PTR app_data[rip], rax
	mov	rax, QWORD PTR [rbx]
	mov	rdx, QWORD PTR 8[rax]
	test	rdx, rdx
	je	.L6
	call	rdx
	test	rax, rax
	mov	rax, QWORD PTR [rbx]
	jne	.L7
.L6:
	mov	rsi, QWORD PTR [rax]
	mov	rdi, r12
	xor	eax, eax
	call	printf@PLT
	mov	rax, QWORD PTR [rbx]
	lea	rdi, .LC3[rip]
	mov	rsi, QWORD PTR [rax]
	call	command@PLT
	cmp	DWORD PTR CONTINUE[rip], eax
	je	.L9
	mov	edx, DWORD PTR code[rip]
	cmp	edx, 504
	je	.L28
	cmp	edx, 534
	je	.L29
	cmp	DWORD PTR ERROR[rip], eax
	je	.L30
.L8:
	mov	rax, QWORD PTR 8[rbx]
	add	rbx, 8
	test	rax, rax
	jne	.L2
.L3:
	test	rax, rax
	mov	DWORD PTR verbose[rip], r13d
	sete	al
	movzx	eax, al
.L31:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.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
.L9:
	.cfi_restore_state
	mov	rax, QWORD PTR [rbx]
	mov	rdi, QWORD PTR app_data[rip]
	mov	rsi, rbp
	call	[QWORD PTR 16[rax]]
	cmp	DWORD PTR AUTH_CONTINUE[rip], eax
	je	.L8
	cmp	DWORD PTR AUTH_OK[rip], eax
	je	.L13
	mov	DWORD PTR verbose[rip], r13d
	mov	eax, -1
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.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
.L13:
	.cfi_restore_state
	mov	rax, QWORD PTR [rbx]
	cmp	QWORD PTR doencrypt[rip], 0
	mov	DWORD PTR sec_complete[rip], 1
	mov	QWORD PTR mech[rip], rax
	je	.L14
	mov	rax, QWORD PTR prot_private[rip]
	mov	QWORD PTR command_prot[rip], rax
	mov	QWORD PTR request_data_prot[rip], rax
	mov	rax, QWORD PTR [rbx]
	mov	DWORD PTR verbose[rip], r13d
	test	rax, rax
	sete	al
	movzx	eax, al
	jmp	.L31
	.p2align 4,,10
	.p2align 3
.L7:
	mov	rsi, QWORD PTR [rax]
	lea	rdi, .LC1[rip]
	xor	eax, eax
	call	printf@PLT
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L30:
	lea	rdi, .LC6[rip]
	call	puts@PLT
	mov	DWORD PTR verbose[rip], r13d
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, -1
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.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
.L14:
	.cfi_restore_state
	mov	rax, QWORD PTR prot_safe[rip]
	mov	QWORD PTR command_prot[rip], rax
	mov	rax, QWORD PTR [rbx]
	mov	DWORD PTR verbose[rip], r13d
	test	rax, rax
	sete	al
	movzx	eax, al
	jmp	.L31
	.p2align 4,,10
	.p2align 3
.L28:
	mov	rax, QWORD PTR [rbx]
	lea	rdi, .LC4[rip]
	mov	rsi, QWORD PTR [rax]
	xor	eax, eax
	call	printf@PLT
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L29:
	mov	rax, QWORD PTR [rbx]
	lea	rdi, .LC5[rip]
	mov	rsi, QWORD PTR [rax]
	xor	eax, eax
	call	printf@PLT
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L26:
	mov	rax, QWORD PTR [rbx]
	jmp	.L3
.L27:
	mov	rax, QWORD PTR [rbx]
	lea	rdi, .LC0[rip]
	mov	rsi, QWORD PTR 24[rax]
	call	warnx@PLT
	mov	eax, -1
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	sec_login, .-sec_login
	.comm	verbose,4,4
	.comm	sec_complete,4,4
	.comm	request_data_prot,8,8
	.comm	prot_safe,8,8
	.comm	prot_private,8,8
	.comm	mechs,8,8
	.comm	mech,8,8
	.comm	doencrypt,8,8
	.comm	command_prot,8,8
	.comm	code,4,4
	.comm	app_data,8,8
	.comm	ERROR,4,4
	.comm	CONTINUE,4,4
	.comm	AUTH_OK,4,4
	.comm	AUTH_CONTINUE,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_security.c_sec_login.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"realloc %lu failed\000"
	.align	2
.LC1:
	.ascii	"Skipping %s...\012\000"
	.align	2
.LC2:
	.ascii	"Trying %s...\012\000"
	.align	2
.LC3:
	.ascii	"AUTH %s\000"
	.align	2
.LC4:
	.ascii	"%s is not supported by the server.\012\000"
	.align	2
.LC5:
	.ascii	"%s rejected as security mechanism.\012\000"
	.align	2
.LC6:
	.ascii	"The server doesn't support the FTP security extensi"
	.ascii	"ons.\000"
	.text
	.align	2
	.global	sec_login
	.syntax unified
	.arm
	.fpu softvfp
	.type	sec_login, %function
sec_login:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	mvn	r3, #0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r2, .L32
	ldr	r6, .L32+4
	ldr	r4, [r2]
	sub	sp, sp, #12
	str	r0, [sp, #4]
	ldr	r0, [r4]
	ldr	r2, [r6]
	cmp	r0, #0
	str	r2, [sp]
	str	r3, [r6]
	beq	.L3
	ldr	r5, .L32+8
	ldr	r9, .L32+12
	ldr	r8, .L32+16
	ldr	r7, .L32+20
	ldr	fp, .L32+24
	ldr	r10, .L32+28
.L2:
	ldr	r3, [r0]
	cmp	r3, #0
	beq	.L26
	ldr	r1, [r0, #12]
	ldr	r0, [r5]
	bl	realloc
	subs	r3, r0, #0
	beq	.L27
	str	r3, [r5]
	ldr	r3, [r4]
	ldr	r2, [r3, #4]
	cmp	r2, #0
	beq	.L6
	blx	r2
	cmp	r0, #0
	ldr	r3, [r4]
	bne	.L7
.L6:
	ldr	r1, [r3]
	mov	r0, r9
	bl	printf
	ldr	r3, [r4]
	mov	r0, r8
	ldr	r1, [r3]
	bl	command
	ldr	r3, [r7]
	cmp	r3, r0
	beq	.L9
	ldr	r3, [r10]
	cmp	r3, #504
	beq	.L28
	ldr	r2, .L32+32
	cmp	r3, r2
	beq	.L29
	ldr	r3, .L32+36
	ldr	r3, [r3]
	cmp	r3, r0
	beq	.L30
.L8:
	ldr	r0, [r4, #4]!
	cmp	r0, #0
	bne	.L2
	b	.L3
.L9:
	ldr	r3, [r4]
	ldr	r1, [sp, #4]
	ldr	r3, [r3, #8]
	ldr	r0, [r5]
	blx	r3
	ldr	r3, [fp]
	cmp	r3, r0
	beq	.L8
	ldr	r3, .L32+40
	ldr	r3, [r3]
	cmp	r3, r0
	bne	.L31
	mov	r0, #1
	ldr	r3, .L32+44
	ldr	r2, [r4]
	ldr	r3, [r3]
	ldr	r1, .L32+48
	cmp	r3, #0
	ldr	r3, .L32+52
	str	r0, [r1]
	str	r2, [r3]
	ldrne	r3, .L32+56
	ldreq	r2, .L32+60
	ldrne	r3, [r3]
	ldrne	r1, .L32+64
	ldrne	r2, .L32+68
	ldreq	r3, .L32+64
	ldreq	r2, [r2]
	strne	r3, [r1]
	strne	r3, [r2]
	streq	r2, [r3]
	ldr	r0, [r4]
.L3:
	clz	r0, r0
	ldr	r3, [sp]
	lsr	r0, r0, #5
	str	r3, [r6]
.L1:
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L31:
	mvn	r0, #0
	ldr	r3, [sp]
	str	r3, [r6]
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L7:
	ldr	r1, [r3]
	ldr	r0, .L32+72
	bl	printf
	b	.L8
.L30:
	ldr	r0, .L32+76
	bl	puts
	mvn	r0, #0
	ldr	r3, [sp]
	str	r3, [r6]
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L28:
	ldr	r3, [r4]
	ldr	r0, .L32+80
	ldr	r1, [r3]
	bl	printf
	b	.L8
.L29:
	ldr	r3, [r4]
	ldr	r0, .L32+84
	ldr	r1, [r3]
	bl	printf
	b	.L8
.L26:
	ldr	r0, [r4]
	b	.L3
.L27:
	ldr	r3, [r4]
	ldr	r0, .L32+88
	ldr	r1, [r3, #12]
	bl	warnx
	mvn	r0, #0
	b	.L1
.L33:
	.align	2
.L32:
	.word	mechs
	.word	verbose
	.word	app_data
	.word	.LC2
	.word	.LC3
	.word	CONTINUE
	.word	AUTH_CONTINUE
	.word	code
	.word	534
	.word	ERROR
	.word	AUTH_OK
	.word	doencrypt
	.word	sec_complete
	.word	mech
	.word	prot_private
	.word	prot_safe
	.word	command_prot
	.word	request_data_prot
	.word	.LC1
	.word	.LC6
	.word	.LC4
	.word	.LC5
	.word	.LC0
	.size	sec_login, .-sec_login
	.comm	verbose,4,4
	.comm	sec_complete,4,4
	.comm	request_data_prot,4,4
	.comm	prot_safe,4,4
	.comm	prot_private,4,4
	.comm	mechs,4,4
	.comm	mech,4,4
	.comm	doencrypt,4,4
	.comm	command_prot,4,4
	.comm	code,4,4
	.comm	app_data,4,4
	.comm	ERROR,4,4
	.comm	CONTINUE,4,4
	.comm	AUTH_OK,4,4
	.comm	AUTH_CONTINUE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
