	.file	"90766474.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"hi0"
.LC1:
	.string	"%s%c"
	.text
	.globl	main
	.type	main, @function
main:
.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, 32
	mov	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	mov	DWORD PTR -4[rbp], 0
	mov	BYTE PTR -5[rbp], 10
	jmp	.L2
.L6:
	cmp	DWORD PTR -4[rbp], 105
	je	.L3
	cmp	DWORD PTR -4[rbp], 105
	jg	.L4
	cmp	DWORD PTR -4[rbp], 48
	je	.L5
	cmp	DWORD PTR -4[rbp], 104
	jne	.L4
	call	usage
.L3:
	mov	QWORD PTR environ[rip], 0
	jmp	.L2
.L5:
	mov	BYTE PTR -5[rbp], 0
	jmp	.L2
.L4:
	call	usage
.L2:
	mov	rcx, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR -20[rbp]
	lea	rdx, .LC0[rip]
	mov	rsi, rcx
	mov	edi, eax
	call	getopt@PLT
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], -1
	jne	.L6
	mov	eax, DWORD PTR optind[rip]
	sub	DWORD PTR -20[rbp], eax
	mov	eax, DWORD PTR optind[rip]
	cdqe
	sal	rax, 3
	add	QWORD PTR -32[rbp], rax
	jmp	.L7
.L9:
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	putenv@PLT
	add	QWORD PTR -32[rbp], 8
.L7:
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L8
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR [rax]
	mov	esi, 61
	mov	rdi, rax
	call	strchr@PLT
	test	rax, rax
	jne	.L9
.L8:
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L12
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR -32[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	execvp@PLT
	mov	eax, 1
	jmp	.L11
.L13:
	movsx	ecx, BYTE PTR -5[rbp]
	mov	rax, QWORD PTR environ[rip]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stdout[rip]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR environ[rip]
	add	rax, 8
	mov	QWORD PTR environ[rip], rax
.L12:
	mov	rax, QWORD PTR environ[rip]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L13
	mov	eax, 0
.L11:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.type	usage, @function
usage:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	rax, QWORD PTR usage.0[rip]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR usage.0[rip]
	mov	rsi, rax
	mov	edi, 1
	call	write@PLT
	mov	edi, 0
	call	exit@PLT
	.cfi_endproc
.LFE7:
	.size	usage, .-usage
	.section	.rodata
	.align 8
.LC2:
	.string	"usage: nxenv [-h] [-i0] [cmd ...]\n"
	.section	.data.rel.local,"aw"
	.align 8
	.type	usage.0, @object
	.size	usage.0, 8
usage.0:
	.quad	.LC2
	.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	"90766474.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"hi0\000"
	.align	2
.LC1:
	.ascii	"%s%c\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ 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]
	mov	r3, #0
	str	r3, [fp, #-8]
	mov	r3, #10
	strb	r3, [fp, #-9]
	b	.L2
.L6:
	ldr	r3, [fp, #-8]
	cmp	r3, #105
	beq	.L3
	ldr	r3, [fp, #-8]
	cmp	r3, #105
	bgt	.L4
	ldr	r3, [fp, #-8]
	cmp	r3, #48
	beq	.L5
	ldr	r3, [fp, #-8]
	cmp	r3, #104
	bne	.L4
	bl	usage
.L3:
	ldr	r3, .L14
	mov	r2, #0
	str	r2, [r3]
	b	.L2
.L5:
	mov	r3, #0
	strb	r3, [fp, #-9]
	b	.L2
.L4:
	bl	usage
.L2:
	ldr	r2, .L14+4
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	getopt
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmn	r3, #1
	bne	.L6
	ldr	r3, .L14+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	sub	r3, r2, r3
	str	r3, [fp, #-16]
	ldr	r3, .L14+8
	ldr	r3, [r3]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	str	r3, [fp, #-20]
	b	.L7
.L9:
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	mov	r0, r3
	bl	putenv
	ldr	r3, [fp, #-20]
	add	r3, r3, #4
	str	r3, [fp, #-20]
.L7:
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L8
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	mov	r1, #61
	mov	r0, r3
	bl	strchr
	mov	r3, r0
	cmp	r3, #0
	bne	.L9
.L8:
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L12
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	ldr	r1, [fp, #-20]
	mov	r0, r3
	bl	execvp
	mov	r3, #1
	b	.L11
.L13:
	ldr	r3, .L14+12
	ldr	r0, [r3]
	ldr	r3, .L14
	ldr	r3, [r3]
	ldr	r2, [r3]
	ldrb	r3, [fp, #-9]	@ zero_extendqisi2
	ldr	r1, .L14+16
	bl	fprintf
	ldr	r3, .L14
	ldr	r3, [r3]
	add	r3, r3, #4
	ldr	r2, .L14
	str	r3, [r2]
.L12:
	ldr	r3, .L14
	ldr	r3, [r3]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L13
	mov	r3, #0
.L11:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L15:
	.align	2
.L14:
	.word	environ
	.word	.LC0
	.word	optind
	.word	stdout
	.word	.LC1
	.size	main, .-main
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	usage, %function
usage:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	ldr	r3, .L17
	ldr	r4, [r3]
	ldr	r3, .L17
	ldr	r3, [r3]
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	mov	r1, r4
	mov	r0, #1
	bl	write
	mov	r0, #0
	bl	exit
.L18:
	.align	2
.L17:
	.word	usage.5928
	.size	usage, .-usage
	.section	.rodata
	.align	2
.LC2:
	.ascii	"usage: nxenv [-h] [-i0] [cmd ...]\012\000"
	.data
	.align	2
	.type	usage.5928, %object
	.size	usage.5928, 4
usage.5928:
	.word	.LC2
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
