	.file	"extr_argv.c_format_expand_arg.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Command argument: "
.LC1:
	.string	"%(prompt"
.LC2:
	.string	"%.*s"
.LC3:
	.string	"%s"
	.text
	.p2align 4
	.type	format_expand_arg, @function
format_expand_arg:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	push	r14
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	mov	r14, rsi
	lea	rsi, .LC1[rip]
	push	r13
	.cfi_offset 13, -40
	mov	r13, rdi
	push	r12
	push	rbx
	sub	rsp, 40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	QWORD PTR -72[rbp], rdx
	mov	rbx, QWORD PTR 16[rdi]
	mov	rdi, r14
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	call	prefixcmp@PLT
	test	eax, eax
	je	.L35
	mov	eax, DWORD PTR 0[r13]
	xor	r12d, r12d
	test	eax, eax
	jle	.L18
.L15:
	mov	edx, DWORD PTR 16[rbx]
	mov	esi, DWORD PTR 20[rbx]
	mov	rdi, r14
	call	string_enum_compare@PLT
	test	rax, rax
	jne	.L36
	lea	rax, argv_env[rip]
	cmp	QWORD PTR 8[rbx], rax
	je	.L37
.L16:
	mov	rsi, rbx
	mov	rdi, r13
	call	[QWORD PTR [rbx]]
	mov	r12d, eax
.L1:
	mov	rax, QWORD PTR -56[rbp]
	xor	rax, QWORD PTR fs:40
	jne	.L38
	lea	rsp, -40[rbp]
	mov	eax, r12d
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
	.p2align 4,,10
	.p2align 3
.L35:
	.cfi_restore_state
	mov	r12d, eax
	movsx	rax, DWORD PTR SIZEOF_STR[rip]
	mov	rcx, rsp
	mov	rbx, rsp
	add	rax, 15
	mov	rdx, rax
	and	rax, -4096
	sub	rcx, rax
	and	rdx, -16
	mov	rax, rcx
	cmp	rsp, rax
	je	.L4
.L39:
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	cmp	rsp, rax
	jne	.L39
.L4:
	and	edx, 4095
	sub	rsp, rdx
	test	rdx, rdx
	jne	.L40
.L5:
	lea	rdi, .LC1[rip]
	mov	r15, rsp
	call	STRING_SIZE@PLT
	movsx	rcx, eax
	mov	rax, QWORD PTR -72[rbp]
	add	rcx, r14
	mov	rdx, rax
	sub	rdx, rcx
	sub	edx, 1
	test	rax, rax
	je	.L10
	test	edx, edx
	jg	.L6
.L10:
	lea	r15, .LC0[rip]
.L8:
	mov	rdi, r15
	call	read_prompt@PLT
	mov	rcx, rax
	test	rax, rax
	je	.L12
	mov	edi, DWORD PTR 12[r13]
	lea	rsi, 8[r13]
	lea	rdx, .LC3[rip]
	call	string_format_from@PLT
	mov	r12d, eax
.L12:
	mov	rsp, rbx
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L36:
	add	r12d, 1
	add	rbx, 24
	cmp	DWORD PTR 0[r13], r12d
	jg	.L15
.L18:
	xor	r12d, r12d
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L37:
	mov	edx, DWORD PTR 4[r13]
	mov	r12d, 1
	test	edx, edx
	jne	.L16
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L6:
	lea	rsi, .LC2[rip]
	mov	rdi, rsp
	call	string_format@PLT
	test	rax, rax
	jne	.L9
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L11:
	add	r15, 1
.L9:
	movsx	edi, BYTE PTR [r15]
	call	isspace@PLT
	test	rax, rax
	jne	.L11
	cmp	BYTE PTR [r15], 0
	je	.L10
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L40:
	or	QWORD PTR -8[rsp+rdx], 0
	jmp	.L5
.L38:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	format_expand_arg, .-format_expand_arg
	.comm	argv_env,4,4
	.comm	SIZEOF_STR,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_argv.c_format_expand_arg.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Command argument: \000"
	.align	2
.LC1:
	.ascii	"%(prompt\000"
	.align	2
.LC2:
	.ascii	"%.*s\000"
	.align	2
.LC3:
	.ascii	"%s\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	format_expand_arg, %function
format_expand_arg:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, fp, lr}
	add	fp, sp, #28
	sub	sp, sp, #8
	mov	r6, r0
	ldr	r3, .L33
	mov	r0, r1
	mov	r7, r1
	ldr	r1, .L33+4
	mov	r8, r2
	ldr	r3, [r3]
	str	r3, [fp, #-32]
	mov	r3,#0
	ldr	r4, [r6, #16]
	bl	prefixcmp
	subs	r5, r0, #0
	beq	.L29
	ldr	r3, [r6]
	cmp	r3, #0
	movgt	r5, #0
	ble	.L13
.L10:
	mov	r0, r7
	ldr	r2, [r4, #8]
	ldr	r1, [r4, #12]
	bl	string_enum_compare
	cmp	r0, #0
	bne	.L30
	ldr	r3, .L33+8
	ldr	r2, [r4, #4]
	cmp	r2, r3
	beq	.L31
.L11:
	mov	r0, r6
	mov	r1, r4
	ldr	r3, [r4]
	blx	r3
	mov	r5, r0
.L1:
	ldr	r3, .L33
	ldr	r2, [r3]
	ldr	r3, [fp, #-32]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L32
	mov	r0, r5
	sub	sp, fp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, fp, pc}
.L29:
	ldr	r3, .L33+12
	mov	r9, sp
	ldr	r3, [r3]
	ldr	r0, .L33+4
	add	r3, r3, #7
	bic	r3, r3, #7
	sub	sp, sp, r3
	bl	STRING_SIZE
	add	r3, r7, r0
	sub	r2, r8, r3
	sub	r2, r2, #1
	cmp	r8, #0
	cmpne	r2, #0
	bgt	.L3
.L5:
	ldr	r7, .L33+16
.L4:
	mov	r0, r7
	bl	read_prompt
	subs	r3, r0, #0
	beq	.L7
	ldr	r2, .L33+20
	ldr	r0, [r6, #12]
	add	r1, r6, #8
	bl	string_format_from
	mov	r5, r0
.L7:
	mov	sp, r9
	b	.L1
.L30:
	ldr	r3, [r6]
	add	r5, r5, #1
	cmp	r3, r5
	add	r4, r4, #16
	bgt	.L10
.L13:
	mov	r5, #0
	b	.L1
.L31:
	ldr	r3, [r6, #4]
	cmp	r3, #0
	moveq	r5, #1
	bne	.L11
	b	.L1
.L3:
	mov	r0, sp
	ldr	r1, .L33+24
	bl	string_format
	cmp	r0, #0
	beq	.L5
	mov	r4, sp
.L6:
	mov	r7, r4
	ldrb	r0, [r4], #1	@ zero_extendqisi2
	bl	isspace
	cmp	r0, #0
	bne	.L6
	ldrb	r3, [r7]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L5
	b	.L4
.L32:
	bl	__stack_chk_fail
.L34:
	.align	2
.L33:
	.word	.LC4
	.word	.LC1
	.word	argv_env
	.word	SIZEOF_STR
	.word	.LC0
	.word	.LC3
	.word	.LC2
	.size	format_expand_arg, .-format_expand_arg
	.comm	argv_env,4,4
	.comm	SIZEOF_STR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
