	.file	"extr_luac.c_doargs.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"--"
.LC1:
	.string	"-"
.LC2:
	.string	"-l"
.LC3:
	.string	"-o"
.LC4:
	.string	"'-o' needs argument"
.LC5:
	.string	"-p"
.LC6:
	.string	"-s"
.LC7:
	.string	"-v"
.LC8:
	.string	"%s\n"
	.text
	.p2align 4
	.type	doargs, @function
doargs:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14d, edi
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	rax, QWORD PTR [rsi]
	test	rax, rax
	je	.L2
	cmp	BYTE PTR [rax], 0
	jne	.L43
.L2:
	cmp	r14d, 1
	jle	.L19
	mov	DWORD PTR 12[rsp], 0
	mov	r12d, 1
	lea	r15, .LC0[rip]
	jmp	.L16
	.p2align 4,,10
	.p2align 3
.L46:
	add	QWORD PTR listing[rip], 1
	mov	r12d, edx
.L9:
	cmp	r14d, r12d
	jle	.L44
.L16:
	movsx	rbx, r12d
	sal	rbx, 3
	lea	rbp, 0[r13+rbx]
	mov	rax, QWORD PTR 0[rbp]
	cmp	BYTE PTR [rax], 45
	jne	.L4
	mov	rdi, r15
	call	IS@PLT
	test	rax, rax
	jne	.L45
	lea	rdi, .LC1[rip]
	call	IS@PLT
	test	rax, rax
	jne	.L4
	lea	rdi, .LC2[rip]
	call	IS@PLT
	lea	edx, 1[r12]
	test	rax, rax
	jne	.L46
	lea	rdi, .LC3[rip]
	mov	DWORD PTR 8[rsp], edx
	call	IS@PLT
	mov	edx, DWORD PTR 8[rsp]
	test	rax, rax
	je	.L10
	mov	rax, QWORD PTR 8[r13+rbx]
	mov	QWORD PTR output[rip], rax
	test	rax, rax
	je	.L11
	movzx	edx, BYTE PTR [rax]
	test	dl, dl
	je	.L11
	cmp	dl, 45
	je	.L47
.L12:
	lea	rdi, .LC1[rip]
	add	r12d, 2
	call	IS@PLT
	test	rax, rax
	je	.L9
	mov	QWORD PTR output[rip], 0
	cmp	r14d, r12d
	jg	.L16
	.p2align 4,,10
	.p2align 3
.L44:
	jne	.L4
.L6:
	cmp	QWORD PTR listing[rip], 0
	je	.L48
.L17:
	mov	rdx, QWORD PTR Output[rip]
	sub	r12d, 1
	mov	QWORD PTR dumping[rip], 0
	movsx	rax, r12d
	mov	QWORD PTR 0[r13+rax*8], rdx
.L4:
	mov	eax, DWORD PTR 12[rsp]
	test	eax, eax
	jne	.L7
.L1:
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L47:
	.cfi_restore_state
	cmp	BYTE PTR 1[rax], 0
	je	.L12
	.p2align 4,,10
	.p2align 3
.L11:
	lea	rdi, .LC4[rip]
	call	usage@PLT
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L10:
	lea	rdi, .LC5[rip]
	mov	DWORD PTR 8[rsp], edx
	call	IS@PLT
	mov	edx, DWORD PTR 8[rsp]
	test	rax, rax
	je	.L13
	mov	QWORD PTR dumping[rip], 0
	mov	r12d, edx
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L43:
	mov	QWORD PTR progname[rip], rax
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L45:
	mov	eax, DWORD PTR 12[rsp]
	add	r12d, 1
	test	eax, eax
	je	.L3
	add	eax, 1
	mov	DWORD PTR 12[rsp], eax
	cmp	r14d, r12d
	je	.L6
	.p2align 4,,10
	.p2align 3
.L7:
	mov	rsi, QWORD PTR LUA_COPYRIGHT[rip]
	lea	rdi, .LC8[rip]
	sub	r14d, 1
	call	printf@PLT
	cmp	r14d, DWORD PTR 12[rsp]
	jne	.L1
	mov	edi, DWORD PTR EXIT_SUCCESS[rip]
	call	exit@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L13:
	lea	rdi, .LC6[rip]
	mov	DWORD PTR 8[rsp], edx
	call	IS@PLT
	mov	edx, DWORD PTR 8[rsp]
	test	rax, rax
	je	.L14
	mov	DWORD PTR stripping[rip], 1
	mov	r12d, edx
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L48:
	cmp	QWORD PTR dumping[rip], 0
	jne	.L4
	jmp	.L17
.L19:
	mov	r12d, 1
	.p2align 4,,10
	.p2align 3
.L3:
	mov	DWORD PTR 12[rsp], 0
	cmp	r12d, r14d
	jne	.L1
	cmp	QWORD PTR listing[rip], 0
	jne	.L17
	jmp	.L48
	.p2align 4,,10
	.p2align 3
.L14:
	lea	rdi, .LC7[rip]
	mov	DWORD PTR 8[rsp], edx
	call	IS@PLT
	mov	edx, DWORD PTR 8[rsp]
	test	rax, rax
	je	.L15
	add	DWORD PTR 12[rsp], 1
	mov	r12d, edx
	jmp	.L9
.L15:
	mov	rdi, QWORD PTR 0[rbp]
	mov	DWORD PTR 8[rsp], edx
	call	usage@PLT
	mov	edx, DWORD PTR 8[rsp]
	mov	r12d, edx
	jmp	.L9
	.cfi_endproc
.LFE0:
	.size	doargs, .-doargs
	.comm	stripping,4,4
	.comm	progname,8,8
	.comm	output,8,8
	.comm	listing,8,8
	.comm	dumping,8,8
	.comm	Output,8,8
	.comm	LUA_COPYRIGHT,8,8
	.comm	EXIT_SUCCESS,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_luac.c_doargs.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"--\000"
	.align	2
.LC1:
	.ascii	"-\000"
	.align	2
.LC2:
	.ascii	"-l\000"
	.align	2
.LC3:
	.ascii	"-o\000"
	.align	2
.LC4:
	.ascii	"'-o' needs argument\000"
	.align	2
.LC5:
	.ascii	"-p\000"
	.align	2
.LC6:
	.ascii	"-s\000"
	.align	2
.LC7:
	.ascii	"-v\000"
	.align	2
.LC8:
	.ascii	"%s\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	doargs, %function
doargs:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r3, [r1]
	mov	r4, r1
	cmp	r3, #0
	mov	r5, r0
	sub	sp, sp, #20
	beq	.L2
	ldrb	r2, [r3]	@ zero_extendqisi2
	cmp	r2, #0
	ldrne	r2, .L56
	strne	r3, [r2]
.L2:
	cmp	r5, #1
	ble	.L19
	mov	r3, #0
	mov	fp, #1
	ldr	r8, .L56+4
	ldr	r6, .L56+8
	ldr	r9, .L56+12
	str	r3, [sp, #8]
	b	.L16
.L54:
	ldr	r2, .L56+16
	mov	fp, r3
	ldr	r3, [r2]
	add	r3, r3, #1
	str	r3, [r2]
.L9:
	cmp	r5, fp
	ble	.L52
.L16:
	ldr	r3, [r4, fp, lsl #2]
	lsl	r10, fp, #2
	ldrb	r3, [r3]	@ zero_extendqisi2
	add	r7, r4, fp, lsl #2
	cmp	r3, #45
	bne	.L4
	mov	r0, r8
	bl	IS
	cmp	r0, #0
	bne	.L53
	mov	r0, r6
	bl	IS
	cmp	r0, #0
	bne	.L4
	mov	r0, r9
	bl	IS
	cmp	r0, #0
	add	r3, fp, #1
	bne	.L54
	ldr	r0, .L56+20
	str	r3, [sp, #4]
	bl	IS
	subs	r2, r0, #0
	ldr	r3, [sp, #4]
	beq	.L10
	ldr	r3, [r7, #4]
	ldr	r7, .L56+24
	cmp	r3, #0
	str	r3, [r7]
	beq	.L11
	ldrb	r2, [r3]	@ zero_extendqisi2
	cmp	r2, #0
	beq	.L11
	cmp	r2, #45
	beq	.L55
.L12:
	mov	r0, r6
	bl	IS
	cmp	r0, #0
	movne	r3, #0
	add	fp, fp, #2
	strne	r3, [r7]
	cmp	r5, fp
	bgt	.L16
.L52:
	bne	.L4
.L6:
	ldr	r2, .L56+16
	ldr	r2, [r2]
	cmp	r2, #0
	ldr	r2, .L56+28
	beq	.L47
.L17:
	mov	r0, #0
	ldr	r1, .L56+32
	sub	fp, fp, #1
	ldr	r1, [r1]
	str	r0, [r2]
	str	r1, [r4, fp, lsl #2]
.L4:
	ldr	r3, [sp, #8]
	cmp	r3, #0
	bne	.L7
.L1:
	mov	r0, fp
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L55:
	ldrb	r3, [r3, #1]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L12
.L11:
	ldr	r0, .L56+36
	bl	usage
	b	.L12
.L10:
	ldr	r0, .L56+40
	str	r3, [sp, #4]
	str	r2, [sp, #12]
	bl	IS
	cmp	r0, #0
	ldr	r3, [sp, #4]
	beq	.L13
	ldr	r1, .L56+28
	ldr	r2, [sp, #12]
	mov	fp, r3
	str	r2, [r1]
	b	.L9
.L53:
	ldr	r3, [sp, #8]
	add	fp, fp, #1
	cmp	r3, #0
	beq	.L3
	add	r3, r3, #1
	cmp	r5, fp
	str	r3, [sp, #8]
	beq	.L6
.L7:
	ldr	r2, .L56+44
	ldr	r0, .L56+48
	ldr	r1, [r2]
	bl	printf
	ldr	r3, [sp, #8]
	sub	r5, r5, #1
	cmp	r5, r3
	bne	.L1
	ldr	r2, .L56+52
	ldr	r0, [r2]
	bl	exit
	b	.L1
.L13:
	ldr	r0, .L56+56
	str	r3, [sp, #4]
	bl	IS
	cmp	r0, #0
	ldr	r3, [sp, #4]
	beq	.L14
	mov	r1, #1
	ldr	r2, .L56+60
	mov	fp, r3
	str	r1, [r2]
	b	.L9
.L47:
	ldr	r1, [r2]
	cmp	r1, #0
	bne	.L4
	b	.L17
.L19:
	mov	fp, #1
.L3:
	cmp	fp, r5
	moveq	r3, #0
	streq	r3, [sp, #8]
	beq	.L6
	b	.L1
.L14:
	ldr	r0, .L56+64
	str	r3, [sp, #4]
	bl	IS
	cmp	r0, #0
	ldr	r3, [sp, #4]
	beq	.L15
	ldr	r2, [sp, #8]
	mov	fp, r3
	add	r2, r2, #1
	str	r2, [sp, #8]
	b	.L9
.L15:
	ldr	r0, [r4, r10]
	str	r3, [sp, #4]
	bl	usage
	ldr	r3, [sp, #4]
	mov	fp, r3
	b	.L9
.L57:
	.align	2
.L56:
	.word	progname
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	listing
	.word	.LC3
	.word	output
	.word	dumping
	.word	Output
	.word	.LC4
	.word	.LC5
	.word	LUA_COPYRIGHT
	.word	.LC8
	.word	EXIT_SUCCESS
	.word	.LC6
	.word	stripping
	.word	.LC7
	.size	doargs, .-doargs
	.comm	stripping,4,4
	.comm	progname,4,4
	.comm	output,4,4
	.comm	listing,4,4
	.comm	dumping,4,4
	.comm	Output,4,4
	.comm	LUA_COPYRIGHT,4,4
	.comm	EXIT_SUCCESS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
