	.file	"extr_32998.c_pre_cmd.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"a002 STARTTLS\n"
.LC1:
	.string	"a001 CAPB\n"
.LC2:
	.string	"STLS\n"
.LC3:
	.string	"CAPA\n"
.LC4:
	.string	"STARTTLS\n"
.LC5:
	.string	"EHLO test\n"
.LC6:
	.string	"[ error in malloc()"
.LC7:
	.string	"[ banner: %s"
	.text
	.p2align 4
	.globl	pre_cmd
	.type	pre_cmd, @function
pre_cmd:
.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
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12d, edi
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	ebx, edx
	cmp	esi, 1
	je	.L6
	cmp	esi, 2
	je	.L7
	lea	r14, .LC4[rip]
	lea	r13, .LC5[rip]
	test	esi, esi
	je	.L2
.L8:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	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
.L7:
	.cfi_restore_state
	lea	r14, .LC0[rip]
	lea	r13, .LC1[rip]
.L2:
	mov	edi, 2049
	call	malloc@PLT
	mov	rbp, rax
	test	rax, rax
	je	.L11
.L4:
	xor	esi, esi
	mov	edx, 2049
	mov	rdi, rbp
	call	memset@PLT
	mov	edx, 2048
	mov	rsi, rbp
	mov	edi, r12d
	call	read@PLT
	mov	rsi, rbp
	lea	rdi, .LC7[rip]
	xor	eax, eax
	call	printf@PLT
	mov	rdi, r13
	call	strlen@PLT
	xor	ecx, ecx
	mov	rsi, r13
	mov	edi, r12d
	mov	edx, eax
	call	send@PLT
	xor	esi, esi
	mov	edx, 2049
	mov	rdi, rbp
	call	memset@PLT
	mov	edx, 2048
	mov	rsi, rbp
	mov	edi, r12d
	call	read@PLT
	cmp	ebx, 1
	je	.L12
	mov	rdi, r14
	call	strlen@PLT
	xor	ecx, ecx
	mov	rsi, r14
	mov	edi, r12d
	mov	edx, eax
	call	send@PLT
	mov	rdi, rbp
	mov	edx, 2049
	xor	esi, esi
	call	memset@PLT
	mov	rsi, rbp
	mov	edi, r12d
	mov	edx, 2048
	call	read@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	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
.L6:
	.cfi_restore_state
	lea	r14, .LC2[rip]
	lea	r13, .LC3[rip]
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L12:
	mov	rdi, rbp
	call	puts@PLT
	mov	rdi, r14
	call	strlen@PLT
	xor	ecx, ecx
	mov	rsi, r14
	mov	edi, r12d
	mov	edx, eax
	call	send@PLT
	xor	esi, esi
	mov	rdi, rbp
	mov	edx, 2049
	call	memset@PLT
	mov	edi, r12d
	mov	edx, 2048
	mov	rsi, rbp
	call	read@PLT
	mov	rdi, rbp
	call	puts@PLT
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L11:
	lea	rdi, .LC6[rip]
	call	puts@PLT
	xor	edi, edi
	call	exit@PLT
	jmp	.L4
	.cfi_endproc
.LFE0:
	.size	pre_cmd, .-pre_cmd
	.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_32998.c_pre_cmd.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"[ error in malloc()\000"
	.align	2
.LC1:
	.ascii	"[ banner: %s\000"
	.text
	.align	2
	.global	pre_cmd
	.syntax unified
	.arm
	.fpu softvfp
	.type	pre_cmd, %function
pre_cmd:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	cmp	r1, #2
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r0
	bhi	.L5
	ldr	r3, .L10
	mov	r6, r2
	ldr	r0, .L10+4
	add	r2, r3, r1, lsl #2
	ldr	r8, [r2, #12]
	ldr	r7, [r3, r1, lsl #2]
	bl	malloc
	subs	r5, r0, #0
	beq	.L8
.L3:
	mov	r1, #0
	ldr	r2, .L10+4
	mov	r0, r5
	bl	memset
	mov	r2, #2048
	mov	r1, r5
	mov	r0, r4
	bl	read
	mov	r1, r5
	ldr	r0, .L10+8
	bl	printf
	mov	r0, r7
	bl	strlen
	mov	r3, #0
	mov	r2, r0
	mov	r1, r7
	mov	r0, r4
	bl	send
	mov	r1, #0
	ldr	r2, .L10+4
	mov	r0, r5
	bl	memset
	mov	r2, #2048
	mov	r1, r5
	mov	r0, r4
	bl	read
	cmp	r6, #1
	beq	.L9
	mov	r0, r8
	bl	strlen
	mov	r1, r8
	mov	r2, r0
	mov	r3, #0
	mov	r0, r4
	bl	send
	mov	r1, #0
	ldr	r2, .L10+4
	mov	r0, r5
	bl	memset
	mov	r1, r5
	mov	r2, #2048
	mov	r0, r4
	bl	read
.L5:
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L9:
	mov	r0, r5
	bl	puts
	mov	r0, r8
	bl	strlen
	mov	r3, #0
	mov	r2, r0
	mov	r1, r8
	mov	r0, r4
	bl	send
	mov	r1, #0
	mov	r0, r5
	ldr	r2, .L10+4
	bl	memset
	mov	r2, #2048
	mov	r1, r5
	mov	r0, r4
	bl	read
	mov	r0, r5
	bl	puts
	b	.L5
.L8:
	ldr	r0, .L10+12
	bl	puts
	mov	r0, r5
	bl	exit
	b	.L3
.L11:
	.align	2
.L10:
	.word	.LANCHOR0
	.word	2049
	.word	.LC1
	.word	.LC0
	.size	pre_cmd, .-pre_cmd
	.section	.rodata.str1.4
	.align	2
.LC2:
	.ascii	"STARTTLS\012\000"
	.align	2
.LC3:
	.ascii	"STLS\012\000"
	.align	2
.LC4:
	.ascii	"a002 STARTTLS\012\000"
	.align	2
.LC5:
	.ascii	"EHLO test\012\000"
	.align	2
.LC6:
	.ascii	"CAPA\012\000"
	.align	2
.LC7:
	.ascii	"a001 CAPB\012\000"
	.section	.rodata
	.align	2
	.set	.LANCHOR0,. + 0
	.type	CSWTCH.1, %object
	.size	CSWTCH.1, 12
CSWTCH.1:
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.type	CSWTCH.2, %object
	.size	CSWTCH.2, 12
CSWTCH.2:
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
