	.file	"151706290.c"
	.intel_syntax noprefix
	.text
	.globl	nibble
	.bss
	.align 4
	.type	nibble, @object
	.size	nibble, 4
nibble:
	.zero	4
	.globl	prog
	.align 8
	.type	prog, @object
	.size	prog, 8
prog:
	.zero	8
	.section	.rodata
.LC0:
	.string	"Usage: %s decimal numbers \n"
	.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
	add	rsp, -128
	mov	DWORD PTR -116[rbp], edi
	mov	QWORD PTR -128[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -128[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR prog[rip], rax
	mov	BYTE PTR -15[rbp], 0
	mov	DWORD PTR nibble[rip], 0
	cmp	DWORD PTR -116[rbp], 1
	jne	.L2
	mov	rax, QWORD PTR prog[rip]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	error
.L2:
	mov	rdx, QWORD PTR -128[rbp]
	mov	eax, DWORD PTR -116[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	scanargs
	jmp	.L3
.L9:
	add	QWORD PTR -128[rbp], 8
	mov	rax, QWORD PTR -128[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atol@PLT
	mov	QWORD PTR -104[rbp], rax
	cmp	QWORD PTR -104[rbp], 0
	jne	.L4
	jmp	.L3
.L4:
	mov	DWORD PTR -112[rbp], 80
	mov	DWORD PTR -108[rbp], 0
	jmp	.L5
.L8:
	cmp	DWORD PTR -108[rbp], 4
	jne	.L6
	mov	eax, DWORD PTR nibble[rip]
	test	eax, eax
	je	.L6
	mov	eax, DWORD PTR -112[rbp]
	lea	edx, -1[rax]
	mov	DWORD PTR -112[rbp], edx
	cdqe
	mov	BYTE PTR -96[rbp+rax], 32
	mov	DWORD PTR -108[rbp], 0
.L6:
	mov	rax, QWORD PTR -104[rbp]
	cqo
	shr	rdx, 63
	add	rax, rdx
	and	eax, 1
	sub	rax, rdx
	add	eax, 48
	mov	edx, eax
	mov	eax, DWORD PTR -112[rbp]
	cdqe
	mov	BYTE PTR -96[rbp+rax], dl
	mov	rax, QWORD PTR -104[rbp]
	mov	rdx, rax
	shr	rdx, 63
	add	rax, rdx
	sar	rax
	mov	QWORD PTR -104[rbp], rax
	sub	DWORD PTR -112[rbp], 1
	mov	eax, DWORD PTR nibble[rip]
	test	eax, eax
	setne	al
	movzx	eax, al
	add	DWORD PTR -108[rbp], eax
.L5:
	cmp	DWORD PTR -112[rbp], 0
	js	.L7
	cmp	QWORD PTR -104[rbp], 0
	jne	.L8
.L7:
	mov	eax, DWORD PTR -112[rbp]
	cdqe
	lea	rdx, 1[rax]
	lea	rax, -96[rbp]
	add	rax, rdx
	mov	rdi, rax
	call	puts@PLT
.L3:
	sub	DWORD PTR -116[rbp], 1
	cmp	DWORD PTR -116[rbp], 0
	jg	.L9
	mov	edi, 0
	call	exit@PLT
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
.LC1:
	.string	"%s unknown option %c"
	.text
	.type	scanargs, @function
scanargs:
.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, 16
	mov	DWORD PTR -4[rbp], edi
	mov	QWORD PTR -16[rbp], rsi
	jmp	.L12
.L16:
	add	QWORD PTR -16[rbp], 8
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 45
	jne	.L12
	jmp	.L13
.L15:
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	cmp	eax, 110
	jne	.L14
	mov	DWORD PTR nibble[rip], 1
	jmp	.L13
.L14:
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR [rax]
	movsx	edx, al
	mov	rax, QWORD PTR prog[rip]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	error
	nop
.L13:
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L15
.L12:
	sub	DWORD PTR -4[rbp], 1
	cmp	DWORD PTR -4[rbp], 0
	jg	.L16
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	scanargs, .-scanargs
	.type	error, @function
error:
.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, 224
	mov	QWORD PTR -216[rbp], rdi
	mov	QWORD PTR -168[rbp], rsi
	mov	QWORD PTR -160[rbp], rdx
	mov	QWORD PTR -152[rbp], rcx
	mov	QWORD PTR -144[rbp], r8
	mov	QWORD PTR -136[rbp], r9
	test	al, al
	je	.L18
	movaps	XMMWORD PTR -128[rbp], xmm0
	movaps	XMMWORD PTR -112[rbp], xmm1
	movaps	XMMWORD PTR -96[rbp], xmm2
	movaps	XMMWORD PTR -80[rbp], xmm3
	movaps	XMMWORD PTR -64[rbp], xmm4
	movaps	XMMWORD PTR -48[rbp], xmm5
	movaps	XMMWORD PTR -32[rbp], xmm6
	movaps	XMMWORD PTR -16[rbp], xmm7
.L18:
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -184[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -208[rbp], 8
	mov	DWORD PTR -204[rbp], 48
	lea	rax, 16[rbp]
	mov	QWORD PTR -200[rbp], rax
	lea	rax, -176[rbp]
	mov	QWORD PTR -192[rbp], rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rdx, -208[rbp]
	mov	rcx, QWORD PTR -216[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	vfprintf@PLT
	mov	edi, 1
	call	exit@PLT
	.cfi_endproc
.LFE8:
	.size	error, .-error
	.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	"151706290.c"
	.text
	.comm	nibble,4,4
	.comm	prog,4,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Usage: %s decimal numbers \012\000"
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 112
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #112
	str	r0, [fp, #-112]
	str	r1, [fp, #-116]
	ldr	r3, .L11
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-116]
	ldr	r3, [r3]
	ldr	r2, .L11+4
	str	r3, [r2]
	mov	r3, #0
	strb	r3, [fp, #-11]
	ldr	r3, .L11+8
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-112]
	cmp	r3, #1
	bne	.L2
	ldr	r3, .L11+4
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L11+12
	bl	error
.L2:
	ldr	r1, [fp, #-116]
	ldr	r0, [fp, #-112]
	bl	scanargs
	b	.L3
.L9:
	ldr	r3, [fp, #-116]
	add	r3, r3, #4
	str	r3, [fp, #-116]
	ldr	r3, [fp, #-116]
	ldr	r3, [r3]
	mov	r0, r3
	bl	atol
	str	r0, [fp, #-96]
	ldr	r3, [fp, #-96]
	cmp	r3, #0
	bne	.L4
	b	.L3
.L4:
	mov	r3, #80
	str	r3, [fp, #-104]
	mov	r3, #0
	str	r3, [fp, #-100]
	b	.L5
.L8:
	ldr	r3, [fp, #-100]
	cmp	r3, #4
	bne	.L6
	ldr	r3, .L11+8
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L6
	ldr	r3, [fp, #-104]
	sub	r2, r3, #1
	str	r2, [fp, #-104]
	sub	r2, fp, #4
	add	r3, r2, r3
	mov	r2, #32
	strb	r2, [r3, #-88]
	mov	r3, #0
	str	r3, [fp, #-100]
.L6:
	ldr	r3, [fp, #-96]
	cmp	r3, #0
	and	r3, r3, #1
	rsblt	r3, r3, #0
	and	r3, r3, #255
	add	r3, r3, #48
	and	r1, r3, #255
	sub	r2, fp, #92
	ldr	r3, [fp, #-104]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3]
	ldr	r3, [fp, #-96]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	str	r3, [fp, #-96]
	ldr	r3, [fp, #-104]
	sub	r3, r3, #1
	str	r3, [fp, #-104]
	ldr	r3, .L11+8
	ldr	r3, [r3]
	cmp	r3, #0
	movne	r3, #1
	moveq	r3, #0
	and	r3, r3, #255
	mov	r2, r3
	ldr	r3, [fp, #-100]
	add	r3, r3, r2
	str	r3, [fp, #-100]
.L5:
	ldr	r3, [fp, #-104]
	cmp	r3, #0
	blt	.L7
	ldr	r3, [fp, #-96]
	cmp	r3, #0
	bne	.L8
.L7:
	ldr	r3, [fp, #-104]
	add	r3, r3, #1
	sub	r2, fp, #92
	add	r3, r2, r3
	mov	r0, r3
	bl	puts
.L3:
	ldr	r3, [fp, #-112]
	sub	r3, r3, #1
	str	r3, [fp, #-112]
	ldr	r3, [fp, #-112]
	cmp	r3, #0
	bgt	.L9
	mov	r0, #0
	bl	exit
.L12:
	.align	2
.L11:
	.word	.LC1
	.word	prog
	.word	nibble
	.word	.LC0
	.size	main, .-main
	.section	.rodata
	.align	2
.LC2:
	.ascii	"%s unknown option %c\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	scanargs, %function
scanargs:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	b	.L14
.L18:
	ldr	r3, [fp, #-12]
	add	r3, r3, #4
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #45
	bne	.L14
	b	.L15
.L17:
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #110
	bne	.L16
	ldr	r3, .L19
	mov	r2, #1
	str	r2, [r3]
	b	.L15
.L16:
	ldr	r3, .L19+4
	ldr	r1, [r3]
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r0, .L19+8
	bl	error
	nop
.L15:
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r3, [fp, #-12]
	str	r2, [r3]
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L17
.L14:
	ldr	r3, [fp, #-8]
	sub	r3, r3, #1
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bgt	.L18
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L20:
	.align	2
.L19:
	.word	nibble
	.word	prog
	.word	.LC2
	.size	scanargs, .-scanargs
	.section	.rodata
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	error, %function
error:
	@ args = 4, pretend = 16, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 1
	push	{r0, r1, r2, r3}
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	ldr	r3, [fp, #4]
	str	r3, [fp, #-16]
	ldr	r3, .L23
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	add	r3, fp, #8
	str	r3, [fp, #-12]
	ldr	r3, .L23+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	ldr	r1, [fp, #-16]
	mov	r0, r3
	bl	vfprintf
	mov	r0, #1
	bl	exit
.L24:
	.align	2
.L23:
	.word	.LC3
	.word	stderr
	.size	error, .-error
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
