	.file	"118882.c"
	.intel_syntax noprefix
	.text
	.local	nibbles
	.comm	nibbles,16,16
	.section	.rodata
.LC0:
	.string	"-i"
.LC1:
	.string	"--interactive"
	.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, 16
	mov	DWORD PTR -4[rbp], edi
	mov	QWORD PTR -16[rbp], rsi
	cmp	DWORD PTR -4[rbp], 2
	je	.L2
	mov	eax, 0
	call	usage
.L2:
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	edx, 2
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	call	strncmp@PLT
	test	eax, eax
	je	.L3
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	edx, 13
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	call	strncmp@PLT
	test	eax, eax
	jne	.L4
.L3:
	mov	eax, 0
	call	interactive_loop
	mov	edi, 0
	call	exit@PLT
.L4:
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	parse_hex_string
	test	eax, eax
	je	.L5
	mov	eax, 0
	call	print_result
	jmp	.L6
.L5:
	mov	eax, 0
	call	usage
.L6:
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
.LC2:
	.string	"USAGE:\n"
.LC3:
	.string	"    ox <hex-digits>"
.LC4:
	.string	"    ox <-i | --interactive>\n"
	.text
	.globl	usage
	.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
	lea	rdi, .LC2[rip]
	call	puts@PLT
	lea	rdi, .LC3[rip]
	call	puts@PLT
	lea	rdi, .LC4[rip]
	call	puts@PLT
	mov	edi, 0
	call	exit@PLT
	.cfi_endproc
.LFE7:
	.size	usage, .-usage
	.globl	parse_hex
	.type	parse_hex, @function
parse_hex:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, edi
	mov	BYTE PTR -4[rbp], al
	cmp	BYTE PTR -4[rbp], 47
	jle	.L10
	cmp	BYTE PTR -4[rbp], 57
	jg	.L10
	movsx	eax, BYTE PTR -4[rbp]
	sub	eax, 48
	jmp	.L11
.L10:
	cmp	BYTE PTR -4[rbp], 64
	jle	.L12
	cmp	BYTE PTR -4[rbp], 70
	jg	.L12
	movsx	eax, BYTE PTR -4[rbp]
	sub	eax, 55
	jmp	.L11
.L12:
	cmp	BYTE PTR -4[rbp], 96
	jle	.L13
	cmp	BYTE PTR -4[rbp], 102
	jg	.L13
	movsx	eax, BYTE PTR -4[rbp]
	sub	eax, 87
	jmp	.L11
.L13:
	mov	eax, -1
.L11:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	parse_hex, .-parse_hex
	.globl	parse_hex_string
	.type	parse_hex_string, @function
parse_hex_string:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -40[rbp], rdi
	mov	rax, QWORD PTR -40[rbp]
	mov	esi, 17
	mov	rdi, rax
	call	strnlen@PLT
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	lea	rdx, -1[rax]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 10
	jne	.L15
	mov	rax, QWORD PTR -16[rbp]
	lea	rdx, -1[rax]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	sub	QWORD PTR -16[rbp], 1
.L15:
	cmp	QWORD PTR -16[rbp], 0
	jne	.L16
	mov	eax, 0
	jmp	.L17
.L16:
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR nibbles[rip], rax
	mov	QWORD PTR -8[rbp], 0
	jmp	.L18
.L20:
	mov	rax, QWORD PTR -16[rbp]
	sub	rax, QWORD PTR -8[rbp]
	lea	rdx, -1[rax]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	edi, eax
	call	parse_hex
	mov	DWORD PTR -20[rbp], eax
	cmp	DWORD PTR -20[rbp], -1
	jne	.L19
	mov	eax, 0
	jmp	.L17
.L19:
	mov	eax, DWORD PTR -20[rbp]
	mov	edx, eax
	lea	rcx, nibbles[rip+8]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rcx
	mov	BYTE PTR [rax], dl
	add	QWORD PTR -8[rbp], 1
.L18:
	mov	rax, QWORD PTR -8[rbp]
	cmp	rax, QWORD PTR -16[rbp]
	jb	.L20
	mov	eax, 1
.L17:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	parse_hex_string, .-parse_hex_string
	.section	.rodata
.LC5:
	.string	"invalid hex string\n"
	.text
	.globl	interactive_loop
	.type	interactive_loop, @function
interactive_loop:
.LFB10:
	.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	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	jmp	.L22
.L24:
	lea	rax, -32[rbp]
	mov	rdi, rax
	call	parse_hex_string
	test	eax, eax
	je	.L23
	mov	eax, 0
	call	print_result
	jmp	.L22
.L23:
	lea	rdi, .LC5[rip]
	call	puts@PLT
.L22:
	mov	rdx, QWORD PTR stdin[rip]
	lea	rax, -32[rbp]
	mov	esi, 18
	mov	rdi, rax
	call	fgets@PLT
	test	rax, rax
	jne	.L24
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L25
	call	__stack_chk_fail@PLT
.L25:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	interactive_loop, .-interactive_loop
	.globl	print_nibble
	.type	print_nibble, @function
print_nibble:
.LFB11:
	.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	eax, edi
	mov	BYTE PTR -4[rbp], al
	movzx	eax, BYTE PTR -4[rbp]
	and	eax, 8
	test	eax, eax
	je	.L27
	mov	edi, 49
	call	putchar@PLT
	jmp	.L28
.L27:
	mov	edi, 48
	call	putchar@PLT
.L28:
	movzx	eax, BYTE PTR -4[rbp]
	and	eax, 4
	test	eax, eax
	je	.L29
	mov	edi, 49
	call	putchar@PLT
	jmp	.L30
.L29:
	mov	edi, 48
	call	putchar@PLT
.L30:
	movzx	eax, BYTE PTR -4[rbp]
	and	eax, 2
	test	eax, eax
	je	.L31
	mov	edi, 49
	call	putchar@PLT
	jmp	.L32
.L31:
	mov	edi, 48
	call	putchar@PLT
.L32:
	movzx	eax, BYTE PTR -4[rbp]
	and	eax, 1
	test	eax, eax
	je	.L33
	mov	edi, 49
	call	putchar@PLT
	jmp	.L35
.L33:
	mov	edi, 48
	call	putchar@PLT
.L35:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	print_nibble, .-print_nibble
	.globl	print_nibbles
	.type	print_nibbles, @function
print_nibbles:
.LFB12:
	.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	rax, QWORD PTR nibbles[rip]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L37
.L38:
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, -1[rax]
	lea	rax, nibbles[rip+8]
	movzx	eax, BYTE PTR [rdx+rax]
	movzx	eax, al
	mov	edi, eax
	call	print_nibble
	mov	edi, 32
	call	putchar@PLT
	sub	QWORD PTR -8[rbp], 1
.L37:
	cmp	QWORD PTR -8[rbp], 0
	jne	.L38
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	print_nibbles, .-print_nibbles
	.globl	nibbles_to_u_int64_t
	.type	nibbles_to_u_int64_t, @function
nibbles_to_u_int64_t:
.LFB13:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -16[rbp], 0
	mov	rax, QWORD PTR nibbles[rip]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L40
.L41:
	sal	QWORD PTR -16[rbp], 4
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, -1[rax]
	lea	rax, nibbles[rip+8]
	movzx	eax, BYTE PTR [rdx+rax]
	movzx	eax, al
	or	QWORD PTR -16[rbp], rax
	sub	QWORD PTR -8[rbp], 1
.L40:
	cmp	QWORD PTR -8[rbp], 0
	jne	.L41
	mov	rax, QWORD PTR -16[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	nibbles_to_u_int64_t, .-nibbles_to_u_int64_t
	.section	.rodata
.LC6:
	.string	"%llu"
	.text
	.globl	print_unsigned
	.type	print_unsigned, @function
print_unsigned:
.LFB14:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, 0
	call	nibbles_to_u_int64_t
	mov	rsi, rax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	print_unsigned, .-print_unsigned
	.section	.rodata
.LC7:
	.string	"%lld"
	.text
	.globl	print_signed
	.type	print_signed, @function
print_signed:
.LFB15:
	.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	eax, 0
	call	nibbles_to_u_int64_t
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR nibbles[rip]
	lea	rdx, -1[rax]
	lea	rax, nibbles[rip+8]
	movzx	eax, BYTE PTR [rdx+rax]
	movzx	eax, al
	and	eax, 8
	test	eax, eax
	je	.L45
	mov	QWORD PTR -8[rbp], -16
	mov	rax, QWORD PTR nibbles[rip]
	sub	rax, 1
	sal	eax, 2
	mov	ecx, eax
	sal	QWORD PTR -8[rbp], cl
	mov	rax, QWORD PTR -8[rbp]
	or	QWORD PTR -16[rbp], rax
.L45:
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, rax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE15:
	.size	print_signed, .-print_signed
	.section	.rodata
.LC8:
	.string	"= "
.LC9:
	.string	" | "
	.text
	.globl	print_result
	.type	print_result, @function
print_result:
.LFB16:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, 0
	call	print_nibbles
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	call	print_unsigned
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	call	print_signed
	mov	edi, 10
	call	putchar@PLT
	mov	edi, 10
	call	putchar@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE16:
	.size	print_result, .-print_result
	.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	"118882.c"
	.text
	.local	nibbles
	.comm	nibbles,12,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"-i\000"
	.align	2
.LC1:
	.ascii	"--interactive\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ 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]
	ldr	r3, [fp, #-8]
	cmp	r3, #2
	beq	.L2
	bl	usage
.L2:
	ldr	r3, [fp, #-12]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r2, #2
	ldr	r1, .L8
	mov	r0, r3
	bl	strncmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L3
	ldr	r3, [fp, #-12]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r2, #13
	ldr	r1, .L8+4
	mov	r0, r3
	bl	strncmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L4
.L3:
	bl	interactive_loop
	mov	r0, #0
	bl	exit
.L4:
	ldr	r3, [fp, #-12]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r0, r3
	bl	parse_hex_string
	mov	r3, r0
	cmp	r3, #0
	beq	.L5
	bl	print_result
	b	.L6
.L5:
	bl	usage
.L6:
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L9:
	.align	2
.L8:
	.word	.LC0
	.word	.LC1
	.size	main, .-main
	.section	.rodata
	.align	2
.LC2:
	.ascii	"USAGE:\012\000"
	.align	2
.LC3:
	.ascii	"    ox <hex-digits>\000"
	.align	2
.LC4:
	.ascii	"    ox <-i | --interactive>\012\000"
	.text
	.align	2
	.global	usage
	.syntax unified
	.arm
	.fpu softvfp
	.type	usage, %function
usage:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L11
	bl	puts
	ldr	r0, .L11+4
	bl	puts
	ldr	r0, .L11+8
	bl	puts
	mov	r0, #0
	bl	exit
.L12:
	.align	2
.L11:
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.size	usage, .-usage
	.align	2
	.global	parse_hex
	.syntax unified
	.arm
	.fpu softvfp
	.type	parse_hex, %function
parse_hex:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	mov	r3, r0
	strb	r3, [fp, #-5]
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #47
	bls	.L14
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #57
	bhi	.L14
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	sub	r3, r3, #48
	b	.L15
.L14:
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #64
	bls	.L16
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #70
	bhi	.L16
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	sub	r3, r3, #55
	b	.L15
.L16:
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #96
	bls	.L17
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #102
	bhi	.L17
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	sub	r3, r3, #87
	b	.L15
.L17:
	mvn	r3, #0
.L15:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	parse_hex, .-parse_hex
	.align	2
	.global	parse_hex_string
	.syntax unified
	.arm
	.fpu softvfp
	.type	parse_hex_string, %function
parse_hex_string:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	mov	r1, #17
	ldr	r0, [fp, #-24]
	bl	strnlen
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	sub	r3, r3, #1
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #10
	bne	.L19
	ldr	r3, [fp, #-16]
	sub	r3, r3, #1
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-16]
	sub	r3, r3, #1
	str	r3, [fp, #-16]
.L19:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L20
	mov	r3, #0
	b	.L21
.L20:
	ldr	r2, .L25
	ldr	r3, [fp, #-16]
	str	r3, [r2]
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L22
.L24:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-12]
	sub	r3, r2, r3
	sub	r3, r3, #1
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	parse_hex
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmn	r3, #1
	bne	.L23
	mov	r3, #0
	b	.L21
.L23:
	ldr	r3, [fp, #-8]
	and	r1, r3, #255
	ldr	r2, .L25
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	add	r3, r3, #4
	mov	r2, r1
	strb	r2, [r3]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L22:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	bcc	.L24
	mov	r3, #1
.L21:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L26:
	.align	2
.L25:
	.word	nibbles
	.size	parse_hex_string, .-parse_hex_string
	.section	.rodata
	.align	2
.LC5:
	.ascii	"invalid hex string\012\000"
	.align	2
.LC6:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	interactive_loop
	.syntax unified
	.arm
	.fpu softvfp
	.type	interactive_loop, %function
interactive_loop:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	ldr	r3, .L32
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	b	.L28
.L30:
	sub	r3, fp, #28
	mov	r0, r3
	bl	parse_hex_string
	mov	r3, r0
	cmp	r3, #0
	beq	.L29
	bl	print_result
	b	.L28
.L29:
	ldr	r0, .L32+4
	bl	puts
.L28:
	ldr	r3, .L32+8
	ldr	r2, [r3]
	sub	r3, fp, #28
	mov	r1, #18
	mov	r0, r3
	bl	fgets
	mov	r3, r0
	cmp	r3, #0
	bne	.L30
	nop
	ldr	r3, .L32
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L31
	bl	__stack_chk_fail
.L31:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L33:
	.align	2
.L32:
	.word	.LC6
	.word	.LC5
	.word	stdin
	.size	interactive_loop, .-interactive_loop
	.align	2
	.global	print_nibble
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_nibble, %function
print_nibble:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	mov	r3, r0
	strb	r3, [fp, #-5]
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	and	r3, r3, #8
	cmp	r3, #0
	beq	.L35
	mov	r0, #49
	bl	putchar
	b	.L36
.L35:
	mov	r0, #48
	bl	putchar
.L36:
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	and	r3, r3, #4
	cmp	r3, #0
	beq	.L37
	mov	r0, #49
	bl	putchar
	b	.L38
.L37:
	mov	r0, #48
	bl	putchar
.L38:
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	and	r3, r3, #2
	cmp	r3, #0
	beq	.L39
	mov	r0, #49
	bl	putchar
	b	.L40
.L39:
	mov	r0, #48
	bl	putchar
.L40:
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	and	r3, r3, #1
	cmp	r3, #0
	beq	.L41
	mov	r0, #49
	bl	putchar
	b	.L43
.L41:
	mov	r0, #48
	bl	putchar
.L43:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	print_nibble, .-print_nibble
	.align	2
	.global	print_nibbles
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_nibbles, %function
print_nibbles:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	ldr	r3, .L47
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	b	.L45
.L46:
	ldr	r3, [fp, #-8]
	sub	r3, r3, #1
	ldr	r2, .L47
	add	r3, r2, r3
	ldrb	r3, [r3, #4]	@ zero_extendqisi2
	mov	r0, r3
	bl	print_nibble
	mov	r0, #32
	bl	putchar
	ldr	r3, [fp, #-8]
	sub	r3, r3, #1
	str	r3, [fp, #-8]
.L45:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L46
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L48:
	.align	2
.L47:
	.word	nibbles
	.size	print_nibbles, .-print_nibbles
	.align	2
	.global	nibbles_to_u_int64_t
	.syntax unified
	.arm
	.fpu softvfp
	.type	nibbles_to_u_int64_t, %function
nibbles_to_u_int64_t:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	push	{r4, r5, fp}
	add	fp, sp, #8
	sub	sp, sp, #20
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	ldr	r3, .L53
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	b	.L50
.L51:
	sub	r1, fp, #20
	ldmia	r1, {r0-r1}
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #4
	orr	r3, r3, r0, lsr #28
	lsl	r2, r0, #4
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-24]
	sub	r3, r3, #1
	ldr	r2, .L53
	add	r3, r2, r3
	ldrb	r3, [r3, #4]	@ zero_extendqisi2
	and	r2, r3, #255
	mov	r3, #0
	sub	r1, fp, #20
	ldmia	r1, {r0-r1}
	orr	r4, r0, r2
	orr	r5, r1, r3
	str	r4, [fp, #-20]
	str	r5, [fp, #-16]
	ldr	r3, [fp, #-24]
	sub	r3, r3, #1
	str	r3, [fp, #-24]
.L50:
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bne	.L51
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, r5, fp}
	bx	lr
.L54:
	.align	2
.L53:
	.word	nibbles
	.size	nibbles_to_u_int64_t, .-nibbles_to_u_int64_t
	.section	.rodata
	.align	2
.LC7:
	.ascii	"%llu\000"
	.text
	.align	2
	.global	print_unsigned
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_unsigned, %function
print_unsigned:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	bl	nibbles_to_u_int64_t
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L56
	bl	printf
	nop
	pop	{fp, pc}
.L57:
	.align	2
.L56:
	.word	.LC7
	.size	print_unsigned, .-print_unsigned
	.section	.rodata
	.align	2
.LC8:
	.ascii	"%lld\000"
	.text
	.align	2
	.global	print_signed
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_signed, %function
print_signed:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #16
	bl	nibbles_to_u_int64_t
	str	r0, [fp, #-36]
	str	r1, [fp, #-32]
	ldr	r3, .L60
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L60
	add	r3, r2, r3
	ldrb	r3, [r3, #4]	@ zero_extendqisi2
	and	r3, r3, #8
	cmp	r3, #0
	beq	.L59
	mvn	r2, #15
	mvn	r3, #0
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	ldr	r3, .L60
	ldr	r3, [r3]
	sub	r3, r3, #1
	lsl	r1, r3, #2
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	sub	ip, r1, #32
	rsb	r0, r1, #32
	lsl	r5, r3, r1
	orr	r5, r5, r2, lsl ip
	orr	r5, r5, r2, lsr r0
	lsl	r4, r2, r1
	str	r4, [fp, #-28]
	str	r5, [fp, #-24]
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	orr	r6, r0, r2
	orr	r7, r1, r3
	str	r6, [fp, #-36]
	str	r7, [fp, #-32]
.L59:
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	ldr	r0, .L60+4
	bl	printf
	nop
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
.L61:
	.align	2
.L60:
	.word	nibbles
	.word	.LC8
	.size	print_signed, .-print_signed
	.section	.rodata
	.align	2
.LC9:
	.ascii	"= \000"
	.align	2
.LC10:
	.ascii	" | \000"
	.text
	.align	2
	.global	print_result
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_result, %function
print_result:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	bl	print_nibbles
	ldr	r0, .L63
	bl	printf
	bl	print_unsigned
	ldr	r0, .L63+4
	bl	printf
	bl	print_signed
	mov	r0, #10
	bl	putchar
	mov	r0, #10
	bl	putchar
	nop
	pop	{fp, pc}
.L64:
	.align	2
.L63:
	.word	.LC9
	.word	.LC10
	.size	print_result, .-print_result
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
