	.file	"extr_97.c_print_hex.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%04x  %02x"
.LC1:
	.string	" %02x   %s\n"
.LC2:
	.string	" %02x"
.LC3:
	.string	"   %s\n"
.LC4:
	.string	"   "
	.text
	.p2align 4
	.globl	print_hex
	.type	print_hex, @function
print_hex:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 56
	.cfi_def_cfa_offset 112
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	test	esi, esi
	jle	.L1
	lea	rax, 16[rsp]
	mov	rbp, rdi
	lea	r14d, -1[rsi]
	xor	ebx, ebx
	mov	QWORD PTR 8[rsp], rax
	xor	r15d, r15d
.L15:
	mov	r12d, ebx
	test	r15d, r15d
	je	.L12
	movzx	edi, BYTE PTR 0[rbp+rbx]
	cmp	r15d, 15
	jne	.L21
	call	isprint@PLT
	movzx	esi, BYTE PTR 0[rbp+rbx]
	test	rax, rax
	jne	.L9
	mov	eax, 46
.L10:
	mov	rdx, QWORD PTR 8[rsp]
	mov	BYTE PTR 31[rsp], al
	xor	eax, eax
	lea	rdi, .LC1[rip]
	mov	BYTE PTR 32[rsp], 0
	call	printf@PLT
	lea	rax, 1[rbx]
	cmp	r14, rbx
	je	.L1
	mov	r12d, eax
	mov	rbx, rax
.L12:
	movzx	edi, BYTE PTR 0[rbp+rbx]
	call	isprint@PLT
	movzx	edx, BYTE PTR 0[rbp+rbx]
	test	rax, rax
	jne	.L5
	mov	eax, 46
.L6:
	mov	BYTE PTR 16[rsp], al
	mov	esi, r12d
	lea	rdi, .LC0[rip]
	xor	eax, eax
	call	printf@PLT
	lea	r12, 1[rbx]
	cmp	r14, rbx
	je	.L7
	movzx	edi, BYTE PTR 1[rbp+rbx]
	mov	r13d, 1
.L8:
	call	isprint@PLT
	movzx	esi, BYTE PTR 0[rbp+r12]
	mov	edx, 46
	test	rax, rax
	je	.L14
	mov	edx, esi
.L14:
	movsx	rax, r13d
	lea	rdi, .LC2[rip]
	lea	r15d, 1[r13]
	mov	BYTE PTR 16[rsp+rax], dl
	xor	eax, eax
	lea	rbx, 1[r12]
	call	printf@PLT
	cmp	r14, r12
	jne	.L15
	add	r13d, 2
	movsx	r13, r13d
	mov	BYTE PTR 16[rsp+r13], 0
	cmp	r15d, 15
	jg	.L18
.L19:
	lea	rbx, .LC4[rip]
	.p2align 4,,10
	.p2align 3
.L17:
	mov	rdi, rbx
	xor	eax, eax
	add	r15d, 1
	call	printf@PLT
	cmp	r15d, 16
	jne	.L17
.L18:
	mov	rsi, QWORD PTR 8[rsp]
	lea	rdi, .LC3[rip]
	xor	eax, eax
	call	printf@PLT
.L1:
	mov	rax, QWORD PTR 40[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L27
	add	rsp, 56
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	mov	eax, edx
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L21:
	mov	r13d, r15d
	mov	r12, rbx
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L9:
	mov	eax, esi
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L7:
	mov	BYTE PTR 18[rsp], 0
	mov	r15d, 1
	jmp	.L19
.L27:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	print_hex, .-print_hex
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.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, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_97.c_print_hex.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"%04x  %02x\000"
	.align	2
.LC1:
	.ascii	" %02x   %s\012\000"
	.align	2
.LC2:
	.ascii	" %02x\000"
	.align	2
.LC3:
	.ascii	"   %s\012\000"
	.align	2
.LC4:
	.ascii	"   \000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	print_hex
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_hex, %function
print_hex:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r3, .L28
	sub	sp, sp, #28
	subs	r7, r1, #0
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	ble	.L1
	mov	r5, #0
	mov	r6, r0
	mov	r4, r5
	ldr	r10, .L28+4
	ldr	r9, .L28+8
	ldr	r8, .L28+12
.L2:
	cmp	r5, #0
	beq	.L11
	cmp	r5, #15
	ldrb	r0, [r6, r4]	@ zero_extendqisi2
	bne	.L8
	bl	isprint
	cmp	r0, #0
	moveq	r3, #46
	mov	ip, #0
	ldrbne	r3, [r6, r4]	@ zero_extendqisi2
	ldrbeq	r1, [r6, r4]	@ zero_extendqisi2
	movne	r1, r3
	mov	r2, sp
	mov	r0, r10
	add	r4, r4, #1
	strb	r3, [sp, #15]
	strb	ip, [sp, #16]
	bl	printf
	cmp	r4, r7
	beq	.L1
.L11:
	ldrb	r0, [r6, r4]	@ zero_extendqisi2
	bl	isprint
	cmp	r0, #0
	moveq	r3, #46
	ldrbne	r3, [r6, r4]	@ zero_extendqisi2
	ldrbeq	r2, [r6, r4]	@ zero_extendqisi2
	movne	r2, r3
	mov	r1, r4
	mov	r0, r9
	add	r4, r4, #1
	strb	r3, [sp]
	bl	printf
	cmp	r4, r7
	beq	.L7
	mov	r5, #1
	ldrb	r0, [r6, r4]	@ zero_extendqisi2
.L8:
	bl	isprint
	cmp	r0, #0
	moveq	r3, #46
	ldrbne	r3, [r6, r4]	@ zero_extendqisi2
	add	r2, sp, #24
	ldrbeq	r1, [r6, r4]	@ zero_extendqisi2
	add	fp, r2, r5
	movne	r1, r3
	mov	r0, r8
	add	r4, r4, #1
	strb	r3, [fp, #-24]
	bl	printf
	cmp	r7, r4
	add	r5, r5, #1
	bne	.L2
	mov	r3, #0
	cmp	r5, #15
	strb	r3, [fp, #-22]
	bgt	.L17
.L18:
	ldr	r4, .L28+16
.L16:
	mov	r0, r4
	add	r5, r5, #1
	bl	printf
	cmp	r5, #16
	bne	.L16
.L17:
	mov	r1, sp
	ldr	r0, .L28+20
	bl	printf
.L1:
	ldr	r3, .L28
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L27
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L7:
	mov	r3, #0
	mov	r5, #1
	strb	r3, [sp, #2]
	b	.L18
.L27:
	bl	__stack_chk_fail
.L29:
	.align	2
.L28:
	.word	.LC5
	.word	.LC1
	.word	.LC0
	.word	.LC2
	.word	.LC4
	.word	.LC3
	.size	print_hex, .-print_hex
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
