	.file	"135908.c"
	.intel_syntax noprefix
	.text
	.type	nibble_to_char, @function
nibble_to_char:
.LFB0:
	.cfi_startproc
	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
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, map.0[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	nibble_to_char, .-nibble_to_char
	.type	get_low_nibble, @function
get_low_nibble:
.LFB1:
	.cfi_startproc
	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
	movzx	eax, BYTE PTR -4[rbp]
	and	eax, 15
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	get_low_nibble, .-get_low_nibble
	.type	get_high_nibble, @function
get_high_nibble:
.LFB2:
	.cfi_startproc
	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
	movzx	eax, BYTE PTR -4[rbp]
	shr	al, 4
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	get_high_nibble, .-get_high_nibble
	.section	.tbss,"awT",@nobits
	.type	buffer.1, @object
	.size	buffer.1, 256
buffer.1:
	.zero	256
	.text
	.globl	hexdump
	.type	hexdump, @function
hexdump:
.LFB3:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 48
	.cfi_offset 3, -24
	mov	QWORD PTR -48[rbp], rdi
	mov	QWORD PTR -56[rbp], rsi
	mov	rax, QWORD PTR -48[rbp]
	mov	QWORD PTR -16[rbp], rax
	mov	QWORD PTR -32[rbp], 0
	mov	QWORD PTR -24[rbp], 0
	jmp	.L8
.L10:
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	mov	edi, eax
	call	get_high_nibble
	movzx	eax, al
	mov	rbx, QWORD PTR -32[rbp]
	lea	rdx, 1[rbx]
	mov	QWORD PTR -32[rbp], rdx
	mov	edi, eax
	call	nibble_to_char
	mov	BYTE PTR fs:buffer.1@tpoff[rbx], al
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	mov	edi, eax
	call	get_low_nibble
	movzx	eax, al
	mov	rbx, QWORD PTR -32[rbp]
	lea	rdx, 1[rbx]
	mov	QWORD PTR -32[rbp], rdx
	mov	edi, eax
	call	nibble_to_char
	mov	BYTE PTR fs:buffer.1@tpoff[rbx], al
	add	QWORD PTR -24[rbp], 1
.L8:
	mov	rax, QWORD PTR -24[rbp]
	cmp	rax, QWORD PTR -56[rbp]
	jnb	.L9
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 2
	cmp	rax, 255
	jbe	.L10
.L9:
	mov	rdx, QWORD PTR fs:0
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	add	rax, OFFSET FLAT:buffer.1@tpoff
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR fs:0
	add	rax, OFFSET FLAT:buffer.1@tpoff
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	hexdump, .-hexdump
	.data
	.align 16
	.type	map.0, @object
	.size	map.0, 16
map.0:
	.ascii	"0123456789ABCDEF"
	.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	"135908.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	nibble_to_char, %function
nibble_to_char:
	@ 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	r2, .L3
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L4:
	.align	2
.L3:
	.word	map.4901
	.size	nibble_to_char, .-nibble_to_char
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_low_nibble, %function
get_low_nibble:
	@ 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]
	and	r3, r3, #15
	and	r3, r3, #255
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	get_low_nibble, .-get_low_nibble
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_high_nibble, %function
get_high_nibble:
	@ 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
	lsr	r3, r3, #4
	and	r3, r3, #255
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	get_high_nibble, .-get_high_nibble
	.section	.tbss,"awT",%nobits
	.align	2
	.type	buffer.4913, %object
	.size	buffer.4913, 256
buffer.4913:
	.space	256
	.text
	.align	2
	.global	hexdump
	.syntax unified
	.arm
	.fpu softvfp
	.type	hexdump, %function
hexdump:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #28
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	ldr	r3, [fp, #-32]
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L10
.L12:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-20]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	get_high_nibble
	mov	r3, r0
	mov	r2, r3
	ldr	r4, [fp, #-24]
	add	r3, r4, #1
	str	r3, [fp, #-24]
	mov	r0, r2
	bl	nibble_to_char
	mov	r3, r0
	mov	r1, r3
	bl	__aeabi_read_tp	@ load_tp_soft
	mov	r3, r0
	ldr	r2, .L14
	add	r3, r4, r3
	add	r3, r3, r2
	mov	r2, r1
	strb	r2, [r3]
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-20]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	get_low_nibble
	mov	r3, r0
	mov	r2, r3
	ldr	r4, [fp, #-24]
	add	r3, r4, #1
	str	r3, [fp, #-24]
	mov	r0, r2
	bl	nibble_to_char
	mov	r3, r0
	mov	r1, r3
	bl	__aeabi_read_tp	@ load_tp_soft
	mov	r3, r0
	ldr	r2, .L14
	add	r3, r4, r3
	add	r3, r3, r2
	mov	r2, r1
	strb	r2, [r3]
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L10:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-36]
	cmp	r2, r3
	bcs	.L11
	ldr	r3, [fp, #-24]
	add	r3, r3, #2
	cmp	r3, #255
	bls	.L12
.L11:
	bl	__aeabi_read_tp	@ load_tp_soft
	mov	r3, r0
	ldr	r2, .L14
	add	r2, r3, r2
	ldr	r3, [fp, #-24]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	bl	__aeabi_read_tp	@ load_tp_soft
	mov	r3, r0
	ldr	r2, .L14
	add	r3, r3, r2
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L15:
	.align	2
.L14:
	.word	buffer.4913(tpoff)
	.size	hexdump, .-hexdump
	.data
	.align	2
	.type	map.4901, %object
	.size	map.4901, 16
map.4901:
	.ascii	"0123456789ABCDEF"
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
