	.file	"48574639.c"
	.intel_syntax noprefix
	.text
	.globl	expect_char
	.type	expect_char, @function
expect_char:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 192
	mov	DWORD PTR -180[rbp], edi
	mov	QWORD PTR -192[rbp], rsi
	mov	DWORD PTR -184[rbp], edx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
.L6:
	cmp	DWORD PTR -184[rbp], 0
	je	.L2
	mov	eax, 0
	mov	ecx, 16
	lea	rdx, -144[rbp]
	mov	rdi, rdx
#APP
# 44 "the_stack_data/48574639.c" 1
	cld; rep; stosq
# 0 "" 2
#NO_APP
	mov	eax, edi
	mov	edx, ecx
	mov	DWORD PTR -172[rbp], edx
	mov	DWORD PTR -168[rbp], eax
	mov	eax, DWORD PTR -180[rbp]
	lea	edx, 63[rax]
	test	eax, eax
	cmovs	eax, edx
	sar	eax, 6
	mov	esi, eax
	movsx	rax, esi
	mov	rdi, QWORD PTR -144[rbp+rax*8]
	mov	eax, DWORD PTR -180[rbp]
	cdq
	shr	edx, 26
	add	eax, edx
	and	eax, 63
	sub	eax, edx
	mov	edx, 1
	mov	ecx, eax
	sal	rdx, cl
	mov	rax, rdx
	or	rdi, rax
	mov	rdx, rdi
	movsx	rax, esi
	mov	QWORD PTR -144[rbp+rax*8], rdx
	mov	eax, DWORD PTR -184[rbp]
	cdqe
	mov	QWORD PTR -160[rbp], rax
	mov	QWORD PTR -152[rbp], 0
	mov	eax, DWORD PTR -180[rbp]
	lea	edi, 1[rax]
	lea	rdx, -160[rbp]
	lea	rax, -144[rbp]
	mov	r8, rdx
	mov	ecx, 0
	mov	edx, 0
	mov	rsi, rax
	call	select@PLT
	mov	DWORD PTR -164[rbp], eax
	cmp	DWORD PTR -164[rbp], 0
	jg	.L2
	mov	eax, -1
	jmp	.L7
.L2:
	lea	rcx, -173[rbp]
	mov	eax, DWORD PTR -180[rbp]
	mov	edx, 1
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	mov	DWORD PTR -164[rbp], eax
	cmp	DWORD PTR -164[rbp], 0
	jle	.L4
	cmp	QWORD PTR -192[rbp], 0
	jne	.L5
	lea	rax, -173[rbp]
	mov	edx, 1
	mov	rsi, rax
	mov	edi, 1
	call	write@PLT
.L5:
	cmp	QWORD PTR -192[rbp], 0
	je	.L4
	mov	rax, QWORD PTR -192[rbp]
	movzx	edx, BYTE PTR [rax]
	movzx	eax, BYTE PTR -173[rbp]
	cmp	dl, al
	jne	.L4
	mov	eax, 0
	jmp	.L7
.L4:
	cmp	DWORD PTR -164[rbp], 0
	jg	.L6
	mov	eax, -1
.L7:
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L8
	call	__stack_chk_fail@PLT
.L8:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	expect_char, .-expect_char
	.section	.rodata
.LC0:
	.string	"\n"
	.text
	.globl	write_answer
	.type	write_answer, @function
write_answer:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -4[rbp], eax
	mov	DWORD PTR -8[rbp], 0
	jmp	.L10
.L11:
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -32[rbp]
	lea	rcx, [rdx+rax]
	mov	eax, DWORD PTR -20[rbp]
	mov	edx, 1
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	add	DWORD PTR -8[rbp], 1
.L10:
	mov	eax, DWORD PTR -8[rbp]
	cmp	eax, DWORD PTR -4[rbp]
	jl	.L11
	mov	eax, DWORD PTR -20[rbp]
	mov	edx, 1
	lea	rsi, .LC0[rip]
	mov	edi, eax
	call	write@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	write_answer, .-write_answer
	.section	.rodata
	.align 8
.LC1:
	.string	"\n  myexpect [-h] <-p password> <-u username> <command>\n\nSYNOPSIS\n  Wraps the execution of a command and sends username & password\n\nOPTIONS\n\t-h\tprints this help.\n\t-p\tthe password\n\t-u\tthe username\n\t<virsh command>\tcomplete virsh command\n"
	.section	.data.rel.local,"aw"
	.align 8
	.type	myexpect_usage, @object
	.size	myexpect_usage, 8
myexpect_usage:
	.quad	.LC1
	.section	.rodata
.LC2:
	.string	"%s"
.LC3:
	.string	"Wrong option. Check usage\n"
.LC4:
	.string	"+hrp:u:"
	.align 8
.LC5:
	.string	"Wrong number of arguments. Check usage\n"
.LC6:
	.string	"fork\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 144
	mov	DWORD PTR -132[rbp], edi
	mov	QWORD PTR -144[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -96[rbp], 0
	mov	QWORD PTR -88[rbp], 0
	mov	BYTE PTR -117[rbp], 58
	mov	DWORD PTR -108[rbp], 1
	jmp	.L13
.L19:
	cmp	DWORD PTR -104[rbp], 117
	je	.L14
	cmp	DWORD PTR -104[rbp], 117
	jg	.L15
	cmp	DWORD PTR -104[rbp], 114
	je	.L16
	cmp	DWORD PTR -104[rbp], 114
	jg	.L15
	cmp	DWORD PTR -104[rbp], 104
	je	.L17
	cmp	DWORD PTR -104[rbp], 112
	je	.L18
	jmp	.L15
.L17:
	mov	rax, QWORD PTR myexpect_usage[rip]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 0
	call	exit@PLT
.L18:
	mov	rax, QWORD PTR optarg[rip]
	mov	rdi, rax
	call	strdup@PLT
	mov	QWORD PTR -96[rbp], rax
	jmp	.L13
.L14:
	mov	rax, QWORD PTR optarg[rip]
	mov	rdi, rax
	call	strdup@PLT
	mov	QWORD PTR -88[rbp], rax
	jmp	.L13
.L16:
	mov	DWORD PTR -108[rbp], 2
	jmp	.L13
.L15:
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 26
	mov	esi, 1
	lea	rdi, .LC3[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR myexpect_usage[rip]
	mov	rdx, QWORD PTR stderr[rip]
	mov	rsi, rdx
	mov	rdi, rax
	call	fputs@PLT
	mov	edi, -1
	call	exit@PLT
.L13:
	mov	rcx, QWORD PTR -144[rbp]
	mov	eax, DWORD PTR -132[rbp]
	lea	rdx, .LC4[rip]
	mov	rsi, rcx
	mov	edi, eax
	call	getopt@PLT
	mov	DWORD PTR -104[rbp], eax
	cmp	DWORD PTR -104[rbp], -1
	jne	.L19
	cmp	QWORD PTR -96[rbp], 0
	je	.L20
	cmp	QWORD PTR -88[rbp], 0
	je	.L20
	mov	eax, DWORD PTR optind[rip]
	cmp	DWORD PTR -132[rbp], eax
	jg	.L21
.L20:
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 39
	mov	esi, 1
	lea	rdi, .LC5[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR myexpect_usage[rip]
	mov	rdx, QWORD PTR stderr[rip]
	mov	rsi, rdx
	mov	rdi, rax
	call	fputs@PLT
	mov	edi, -1
	call	exit@PLT
.L21:
	lea	rax, -116[rbp]
	mov	ecx, 0
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	call	forkpty@PLT
	mov	DWORD PTR -100[rbp], eax
	cmp	DWORD PTR -100[rbp], 0
	jne	.L22
	mov	eax, DWORD PTR -116[rbp]
	lea	rdx, -80[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	tcgetattr@PLT
	mov	eax, DWORD PTR -68[rbp]
	and	eax, -121
	mov	DWORD PTR -68[rbp], eax
	mov	eax, DWORD PTR -76[rbp]
	and	eax, -5
	mov	DWORD PTR -76[rbp], eax
	mov	eax, DWORD PTR -116[rbp]
	lea	rdx, -80[rbp]
	mov	esi, 0
	mov	edi, eax
	call	tcsetattr@PLT
	mov	eax, DWORD PTR optind[rip]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -144[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR optind[rip]
	cdqe
	lea	rcx, 0[0+rax*8]
	mov	rax, QWORD PTR -144[rbp]
	add	rax, rcx
	mov	rax, QWORD PTR [rax]
	mov	rsi, rdx
	mov	rdi, rax
	call	execvp@PLT
	mov	edi, -1
	call	exit@PLT
.L22:
	cmp	DWORD PTR -100[rbp], -1
	jne	.L24
	lea	rdi, .LC6[rip]
	call	perror@PLT
	jmp	.L24
.L28:
	mov	eax, DWORD PTR -116[rbp]
	lea	rcx, -117[rbp]
	mov	edx, 1
	mov	rsi, rcx
	mov	edi, eax
	call	expect_char
	cmp	eax, -1
	jne	.L25
	mov	eax, -1
	jmp	.L29
.L25:
	mov	edi, 1
	call	sleep@PLT
	mov	eax, DWORD PTR -116[rbp]
	mov	rdx, QWORD PTR -88[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	write_answer
	mov	eax, DWORD PTR -116[rbp]
	lea	rcx, -117[rbp]
	mov	edx, 1
	mov	rsi, rcx
	mov	edi, eax
	call	expect_char
	cmp	eax, -1
	jne	.L27
	mov	eax, -1
	jmp	.L29
.L27:
	mov	edi, 1
	call	sleep@PLT
	mov	eax, DWORD PTR -116[rbp]
	mov	rdx, QWORD PTR -96[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	write_answer
	sub	DWORD PTR -108[rbp], 1
.L24:
	cmp	DWORD PTR -108[rbp], 0
	jg	.L28
	mov	eax, DWORD PTR -116[rbp]
	mov	edx, 0
	mov	esi, 0
	mov	edi, eax
	call	expect_char
	lea	rax, -112[rbp]
	mov	rdi, rax
	call	wait@PLT
	mov	eax, DWORD PTR -112[rbp]
	sar	eax, 8
	movzx	eax, al
.L29:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L30
	call	__stack_chk_fail@PLT
.L30:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"48574639.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	expect_char
	.syntax unified
	.arm
	.fpu softvfp
	.type	expect_char, %function
expect_char:
	@ args = 0, pretend = 0, frame = 176
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #184
	str	r0, [fp, #-168]
	str	r1, [fp, #-172]
	str	r2, [fp, #-176]
	ldr	r3, .L11
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
.L8:
	ldr	r3, [fp, #-176]
	cmp	r3, #0
	beq	.L2
	sub	r3, fp, #136
	str	r3, [fp, #-152]
	mov	r3, #0
	str	r3, [fp, #-156]
	b	.L3
.L4:
	ldr	r3, [fp, #-152]
	ldr	r2, [fp, #-156]
	mov	r1, #0
	str	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-156]
	add	r3, r3, #1
	str	r3, [fp, #-156]
.L3:
	ldr	r3, [fp, #-156]
	cmp	r3, #31
	bls	.L4
	ldr	r3, [fp, #-168]
	add	r2, r3, #31
	cmp	r3, #0
	movlt	r3, r2
	movge	r3, r3
	asr	r3, r3, #5
	mov	r2, r3
	lsl	r3, r2, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	ldr	r1, [r3, #-132]
	ldr	r3, [fp, #-168]
	rsbs	r0, r3, #0
	and	r3, r3, #31
	and	r0, r0, #31
	rsbpl	r3, r0, #0
	mov	r0, #1
	lsl	r3, r0, r3
	orr	r1, r1, r3
	lsl	r3, r2, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	str	r1, [r3, #-132]
	ldr	r3, [fp, #-176]
	str	r3, [fp, #-144]
	mov	r3, #0
	str	r3, [fp, #-140]
	ldr	r3, [fp, #-168]
	add	r0, r3, #1
	sub	r1, fp, #136
	sub	r3, fp, #144
	str	r3, [sp]
	mov	r3, #0
	mov	r2, #0
	bl	select
	str	r0, [fp, #-148]
	ldr	r3, [fp, #-148]
	cmp	r3, #0
	bgt	.L2
	mvn	r3, #0
	b	.L9
.L2:
	sub	r3, fp, #157
	mov	r2, #1
	mov	r1, r3
	ldr	r0, [fp, #-168]
	bl	read
	str	r0, [fp, #-148]
	ldr	r3, [fp, #-148]
	cmp	r3, #0
	ble	.L6
	ldr	r3, [fp, #-172]
	cmp	r3, #0
	bne	.L7
	sub	r3, fp, #157
	mov	r2, #1
	mov	r1, r3
	mov	r0, #1
	bl	write
.L7:
	ldr	r3, [fp, #-172]
	cmp	r3, #0
	beq	.L6
	ldr	r3, [fp, #-172]
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldrb	r3, [fp, #-157]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L6
	mov	r3, #0
	b	.L9
.L6:
	ldr	r3, [fp, #-148]
	cmp	r3, #0
	bgt	.L8
	mvn	r3, #0
.L9:
	ldr	r2, .L11
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L10
	bl	__stack_chk_fail
.L10:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L12:
	.align	2
.L11:
	.word	.LC0
	.size	expect_char, .-expect_char
	.section	.rodata
	.align	2
.LC1:
	.ascii	"\012\000"
	.text
	.align	2
	.global	write_answer
	.syntax unified
	.arm
	.fpu softvfp
	.type	write_answer, %function
write_answer:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r0, [fp, #-20]
	bl	strlen
	mov	r3, r0
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L14
.L15:
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	mov	r2, #1
	mov	r1, r3
	ldr	r0, [fp, #-16]
	bl	write
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L14:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-8]
	cmp	r2, r3
	blt	.L15
	mov	r2, #1
	ldr	r1, .L16
	ldr	r0, [fp, #-16]
	bl	write
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L17:
	.align	2
.L16:
	.word	.LC1
	.size	write_answer, .-write_answer
	.section	.rodata
	.align	2
.LC2:
	.ascii	"\012  myexpect [-h] <-p password> <-u username> <co"
	.ascii	"mmand>\012\012SYNOPSIS\012  Wraps the execution of "
	.ascii	"a command and sends username & password\012\012OPTI"
	.ascii	"ONS\012\011-h\011prints this help.\012\011-p\011the"
	.ascii	" password\012\011-u\011the username\012\011<virsh c"
	.ascii	"ommand>\011complete virsh command\012\000"
	.data
	.align	2
	.type	myexpect_usage, %object
	.size	myexpect_usage, 4
myexpect_usage:
	.word	.LC2
	.section	.rodata
	.align	2
.LC3:
	.ascii	"%s\000"
	.align	2
.LC4:
	.ascii	"Wrong option. Check usage\012\000"
	.align	2
.LC5:
	.ascii	"+hrp:u:\000"
	.align	2
.LC6:
	.ascii	"Wrong number of arguments. Check usage\012\000"
	.align	2
.LC7:
	.ascii	"fork\012\000"
	.align	2
.LC8:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 104
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #104
	str	r0, [fp, #-104]
	str	r1, [fp, #-108]
	ldr	r3, .L38
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-88]
	mov	r3, #0
	str	r3, [fp, #-84]
	mov	r3, #58
	strb	r3, [fp, #-97]
	mov	r3, #1
	str	r3, [fp, #-80]
	b	.L19
.L26:
	ldr	r3, [fp, #-76]
	sub	r3, r3, #104
	cmp	r3, #13
	ldrls	pc, [pc, r3, asl #2]
	b	.L20
.L22:
	.word	.L25
	.word	.L20
	.word	.L20
	.word	.L20
	.word	.L20
	.word	.L20
	.word	.L20
	.word	.L20
	.word	.L24
	.word	.L20
	.word	.L23
	.word	.L20
	.word	.L20
	.word	.L21
.L25:
	ldr	r3, .L38+4
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L38+8
	bl	printf
	mov	r0, #0
	bl	exit
.L24:
	ldr	r3, .L38+12
	ldr	r3, [r3]
	mov	r0, r3
	bl	strdup
	mov	r3, r0
	str	r3, [fp, #-88]
	b	.L19
.L21:
	ldr	r3, .L38+12
	ldr	r3, [r3]
	mov	r0, r3
	bl	strdup
	mov	r3, r0
	str	r3, [fp, #-84]
	b	.L19
.L23:
	mov	r3, #2
	str	r3, [fp, #-80]
	b	.L19
.L20:
	ldr	r3, .L38+16
	ldr	r3, [r3]
	mov	r2, #26
	mov	r1, #1
	ldr	r0, .L38+20
	bl	fwrite
	ldr	r3, .L38+16
	ldr	r2, [r3]
	ldr	r3, .L38+4
	ldr	r3, [r3]
	mov	r1, r2
	mov	r0, r3
	bl	fputs
	mvn	r0, #0
	bl	exit
.L19:
	ldr	r2, .L38+24
	ldr	r1, [fp, #-108]
	ldr	r0, [fp, #-104]
	bl	getopt
	str	r0, [fp, #-76]
	ldr	r3, [fp, #-76]
	cmn	r3, #1
	bne	.L26
	ldr	r3, [fp, #-88]
	cmp	r3, #0
	beq	.L27
	ldr	r3, [fp, #-84]
	cmp	r3, #0
	beq	.L27
	ldr	r3, .L38+28
	ldr	r3, [r3]
	ldr	r2, [fp, #-104]
	cmp	r2, r3
	bgt	.L28
.L27:
	ldr	r3, .L38+16
	ldr	r3, [r3]
	mov	r2, #39
	mov	r1, #1
	ldr	r0, .L38+32
	bl	fwrite
	ldr	r3, .L38+16
	ldr	r2, [r3]
	ldr	r3, .L38+4
	ldr	r3, [r3]
	mov	r1, r2
	mov	r0, r3
	bl	fputs
	mvn	r0, #0
	bl	exit
.L28:
	sub	r0, fp, #96
	mov	r3, #0
	mov	r2, #0
	mov	r1, #0
	bl	forkpty
	str	r0, [fp, #-72]
	ldr	r3, [fp, #-72]
	cmp	r3, #0
	bne	.L29
	ldr	r3, [fp, #-96]
	sub	r2, fp, #68
	mov	r1, r2
	mov	r0, r3
	bl	tcgetattr
	ldr	r3, [fp, #-56]
	bic	r3, r3, #120
	str	r3, [fp, #-56]
	ldr	r3, [fp, #-64]
	bic	r3, r3, #4
	str	r3, [fp, #-64]
	ldr	r3, [fp, #-96]
	sub	r2, fp, #68
	mov	r1, #0
	mov	r0, r3
	bl	tcsetattr
	ldr	r3, .L38+28
	ldr	r3, [r3]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-108]
	add	r3, r2, r3
	ldr	r0, [r3]
	ldr	r3, .L38+28
	ldr	r3, [r3]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-108]
	add	r3, r2, r3
	mov	r1, r3
	bl	execvp
	mvn	r0, #0
	bl	exit
.L29:
	ldr	r3, [fp, #-72]
	cmn	r3, #1
	bne	.L31
	ldr	r0, .L38+36
	bl	perror
	b	.L31
.L35:
	ldr	r3, [fp, #-96]
	sub	r1, fp, #97
	mov	r2, #1
	mov	r0, r3
	bl	expect_char
	mov	r3, r0
	cmn	r3, #1
	bne	.L32
	mvn	r3, #0
	b	.L36
.L32:
	mov	r0, #1
	bl	sleep
	ldr	r3, [fp, #-96]
	ldr	r1, [fp, #-84]
	mov	r0, r3
	bl	write_answer
	ldr	r3, [fp, #-96]
	sub	r1, fp, #97
	mov	r2, #1
	mov	r0, r3
	bl	expect_char
	mov	r3, r0
	cmn	r3, #1
	bne	.L34
	mvn	r3, #0
	b	.L36
.L34:
	mov	r0, #1
	bl	sleep
	ldr	r3, [fp, #-96]
	ldr	r1, [fp, #-88]
	mov	r0, r3
	bl	write_answer
	ldr	r3, [fp, #-80]
	sub	r3, r3, #1
	str	r3, [fp, #-80]
.L31:
	ldr	r3, [fp, #-80]
	cmp	r3, #0
	bgt	.L35
	ldr	r3, [fp, #-96]
	mov	r2, #0
	mov	r1, #0
	mov	r0, r3
	bl	expect_char
	sub	r3, fp, #92
	mov	r0, r3
	bl	wait
	ldr	r3, [fp, #-92]
	asr	r3, r3, #8
	and	r3, r3, #255
.L36:
	ldr	r2, .L38
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L37
	bl	__stack_chk_fail
.L37:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L39:
	.align	2
.L38:
	.word	.LC8
	.word	myexpect_usage
	.word	.LC3
	.word	optarg
	.word	stderr
	.word	.LC4
	.word	.LC5
	.word	optind
	.word	.LC6
	.word	.LC7
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
