	.file	"175221.c"
	.intel_syntax noprefix
	.text
	.globl	hex
	.type	hex, @function
hex:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -4[rbp], edi
	cmp	DWORD PTR -4[rbp], 47
	jle	.L2
	cmp	DWORD PTR -4[rbp], 57
	jg	.L2
	mov	eax, DWORD PTR -4[rbp]
	sub	eax, 48
	jmp	.L3
.L2:
	cmp	DWORD PTR -4[rbp], 64
	jle	.L4
	cmp	DWORD PTR -4[rbp], 70
	jg	.L4
	mov	eax, DWORD PTR -4[rbp]
	sub	eax, 55
	jmp	.L3
.L4:
	cmp	DWORD PTR -4[rbp], 96
	jle	.L5
	cmp	DWORD PTR -4[rbp], 102
	jg	.L5
	mov	eax, DWORD PTR -4[rbp]
	sub	eax, 87
	jmp	.L3
.L5:
	mov	eax, 0
.L3:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	hex, .-hex
	.globl	main
	.type	main, @function
main:
.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, 32
	mov	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	jmp	.L7
.L20:
	cmp	DWORD PTR -4[rbp], 61
	jne	.L8
	call	getchar@PLT
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 63
	jne	.L9
	jmp	.L10
.L12:
	nop
.L10:
	call	getchar@PLT
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], -1
	je	.L13
	cmp	DWORD PTR -4[rbp], 63
	jne	.L12
	jmp	.L13
.L15:
	nop
.L13:
	call	getchar@PLT
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], -1
	je	.L16
	cmp	DWORD PTR -4[rbp], 63
	jne	.L15
	jmp	.L16
.L19:
	cmp	DWORD PTR -4[rbp], 61
	jne	.L17
	call	getchar@PLT
	mov	edi, eax
	call	hex
	sal	eax, 4
	mov	DWORD PTR -4[rbp], eax
	call	getchar@PLT
	mov	edi, eax
	call	hex
	or	DWORD PTR -4[rbp], eax
.L17:
	mov	eax, DWORD PTR -4[rbp]
	mov	edi, eax
	call	putchar@PLT
.L16:
	call	getchar@PLT
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], -1
	je	.L18
	cmp	DWORD PTR -4[rbp], 63
	jne	.L19
.L18:
	call	getchar@PLT
	jmp	.L7
.L9:
	mov	edi, 61
	call	putchar@PLT
	mov	eax, DWORD PTR -4[rbp]
	mov	edi, eax
	call	putchar@PLT
	jmp	.L7
.L8:
	mov	eax, DWORD PTR -4[rbp]
	mov	edi, eax
	call	putchar@PLT
.L7:
	call	getchar@PLT
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], -1
	jne	.L20
	mov	edi, 0
	call	exit@PLT
	.cfi_endproc
.LFE7:
	.size	main, .-main
	.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	"175221.c"
	.text
	.align	2
	.global	hex
	.syntax unified
	.arm
	.fpu softvfp
	.type	hex, %function
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
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #47
	ble	.L2
	ldr	r3, [fp, #-8]
	cmp	r3, #57
	bgt	.L2
	ldr	r3, [fp, #-8]
	sub	r3, r3, #48
	b	.L3
.L2:
	ldr	r3, [fp, #-8]
	cmp	r3, #64
	ble	.L4
	ldr	r3, [fp, #-8]
	cmp	r3, #70
	bgt	.L4
	ldr	r3, [fp, #-8]
	sub	r3, r3, #55
	b	.L3
.L4:
	ldr	r3, [fp, #-8]
	cmp	r3, #96
	ble	.L5
	ldr	r3, [fp, #-8]
	cmp	r3, #102
	bgt	.L5
	ldr	r3, [fp, #-8]
	sub	r3, r3, #87
	b	.L3
.L5:
	mov	r3, #0
.L3:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	hex, .-hex
	.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]
	b	.L7
.L20:
	ldr	r3, [fp, #-8]
	cmp	r3, #61
	bne	.L8
	bl	getchar
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #63
	bne	.L9
	b	.L10
.L12:
	nop
.L10:
	bl	getchar
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmn	r3, #1
	beq	.L13
	ldr	r3, [fp, #-8]
	cmp	r3, #63
	bne	.L12
	b	.L13
.L15:
	nop
.L13:
	bl	getchar
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmn	r3, #1
	beq	.L16
	ldr	r3, [fp, #-8]
	cmp	r3, #63
	bne	.L15
	b	.L16
.L19:
	ldr	r3, [fp, #-8]
	cmp	r3, #61
	bne	.L17
	bl	getchar
	mov	r3, r0
	mov	r0, r3
	bl	hex
	mov	r3, r0
	lsl	r3, r3, #4
	str	r3, [fp, #-8]
	bl	getchar
	mov	r3, r0
	mov	r0, r3
	bl	hex
	mov	r2, r0
	ldr	r3, [fp, #-8]
	orr	r3, r3, r2
	str	r3, [fp, #-8]
.L17:
	ldr	r0, [fp, #-8]
	bl	putchar
.L16:
	bl	getchar
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmn	r3, #1
	beq	.L18
	ldr	r3, [fp, #-8]
	cmp	r3, #63
	bne	.L19
.L18:
	bl	getchar
	b	.L7
.L9:
	mov	r0, #61
	bl	putchar
	ldr	r0, [fp, #-8]
	bl	putchar
	b	.L7
.L8:
	ldr	r0, [fp, #-8]
	bl	putchar
.L7:
	bl	getchar
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmn	r3, #1
	bne	.L20
	mov	r0, #0
	bl	exit
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
