	.file	"979209.c"
	.intel_syntax noprefix
	.text
	.globl	print_char
	.type	print_char, @function
print_char:
.LFB0:
	.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	eax, edi
	mov	BYTE PTR -20[rbp], al
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	movzx	eax, BYTE PTR -20[rbp]
	mov	BYTE PTR -10[rbp], al
	mov	BYTE PTR -9[rbp], 0
	lea	rax, -10[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	print_string@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L2
	call	__stack_chk_fail@PLT
.L2:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	print_char, .-print_char
	.globl	print_big_str
	.type	print_big_str, @function
print_big_str:
.LFB1:
	.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	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	print_string@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	print_big_str, .-print_big_str
	.globl	print_small_str
	.type	print_small_str, @function
print_small_str:
.LFB2:
	.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	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	print_string@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	print_small_str, .-print_small_str
	.globl	print_hex_int
	.type	print_hex_int, @function
print_hex_int:
.LFB3:
	.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
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	print_hex_int, .-print_hex_int
	.globl	myprintf
	.type	myprintf, @function
myprintf:
.LFB4:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 208
	mov	QWORD PTR -200[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	DWORD PTR -192[rbp], 0
	jmp	.L8
.L17:
	mov	rax, QWORD PTR -200[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 37
	jne	.L9
	mov	rax, QWORD PTR -200[rbp]
	add	rax, 1
	mov	QWORD PTR -200[rbp], rax
	add	DWORD PTR -192[rbp], 1
	mov	rax, QWORD PTR -200[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	cmp	eax, 115
	je	.L10
	cmp	eax, 115
	jg	.L16
	cmp	eax, 100
	je	.L12
	cmp	eax, 100
	jg	.L16
	cmp	eax, 99
	je	.L13
	cmp	eax, 99
	jg	.L16
	cmp	eax, 66
	je	.L14
	cmp	eax, 98
	je	.L15
	jmp	.L16
.L12:
	mov	eax, DWORD PTR -192[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, -200[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -188[rbp], eax
	mov	eax, DWORD PTR -188[rbp]
	mov	edi, eax
	mov	eax, 0
	call	print_int@PLT
	jmp	.L16
.L10:
	mov	eax, DWORD PTR -192[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, -200[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -184[rbp], rax
	mov	rax, QWORD PTR -184[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	print_string@PLT
	jmp	.L16
.L13:
	mov	eax, DWORD PTR -192[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, -200[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -184[rbp], rax
	mov	rax, QWORD PTR -184[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	edi, eax
	call	print_char
	jmp	.L16
.L15:
	mov	eax, DWORD PTR -192[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, -200[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -184[rbp], rax
	mov	rax, QWORD PTR -184[rbp]
	mov	rdi, rax
	call	print_small_str
	jmp	.L16
.L14:
	mov	eax, DWORD PTR -192[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, -200[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -184[rbp], rax
	mov	rax, QWORD PTR -184[rbp]
	mov	rdi, rax
	call	print_big_str
	jmp	.L16
.L9:
	mov	rax, QWORD PTR -200[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	edi, eax
	call	print_char
.L16:
	mov	rax, QWORD PTR -200[rbp]
	add	rax, 1
	mov	QWORD PTR -200[rbp], rax
.L8:
	mov	rax, QWORD PTR -200[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L17
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	myprintf, .-myprintf
	.section	.rodata
.LC0:
	.string	"OK"
.LC1:
	.string	"TEST %d is %s ...\n"
.LC2:
	.string	"All done\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB5:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdx, .LC0[rip]
	mov	esi, 99
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	myprintf
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	print_string@PLT
	mov	eax, 0
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE5:
	.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	"979209.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	print_char
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_char, %function
print_char:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	mov	r3, r0
	strb	r3, [fp, #-13]
	ldr	r3, .L3
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldrb	r3, [fp, #-13]
	strb	r3, [fp, #-12]
	mov	r3, #0
	strb	r3, [fp, #-11]
	sub	r3, fp, #12
	mov	r0, r3
	bl	print_string
	nop
	ldr	r3, .L3
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L2
	bl	__stack_chk_fail
.L2:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L4:
	.align	2
.L3:
	.word	.LC0
	.size	print_char, .-print_char
	.align	2
	.global	print_big_str
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_big_str, %function
print_big_str:
	@ 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]
	ldr	r0, [fp, #-8]
	bl	print_string
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	print_big_str, .-print_big_str
	.align	2
	.global	print_small_str
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_small_str, %function
print_small_str:
	@ 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]
	ldr	r0, [fp, #-8]
	bl	print_string
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	print_small_str, .-print_small_str
	.align	2
	.global	print_hex_int
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_hex_int, %function
print_hex_int:
	@ 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]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	print_hex_int, .-print_hex_int
	.align	2
	.global	myprintf
	.syntax unified
	.arm
	.fpu softvfp
	.type	myprintf, %function
myprintf:
	@ 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
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L9
.L19:
	ldr	r3, [fp, #4]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #37
	bne	.L10
	ldr	r3, [fp, #4]
	add	r3, r3, #1
	str	r3, [fp, #4]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
	ldr	r3, [fp, #4]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #66
	beq	.L11
	cmp	r3, #66
	blt	.L18
	cmp	r3, #115
	bgt	.L18
	cmp	r3, #98
	blt	.L18
	sub	r3, r3, #98
	cmp	r3, #17
	ldrls	pc, [pc, r3, asl #2]
	b	.L18
.L14:
	.word	.L17
	.word	.L16
	.word	.L15
	.word	.L18
	.word	.L18
	.word	.L18
	.word	.L18
	.word	.L18
	.word	.L18
	.word	.L18
	.word	.L18
	.word	.L18
	.word	.L18
	.word	.L18
	.word	.L18
	.word	.L18
	.word	.L18
	.word	.L13
.L15:
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	add	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	ldr	r0, [fp, #-8]
	bl	print_int
	b	.L18
.L13:
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	add	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-12]
	ldr	r0, [fp, #-12]
	bl	print_string
	b	.L18
.L16:
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	add	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	print_char
	b	.L18
.L17:
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	add	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-12]
	ldr	r0, [fp, #-12]
	bl	print_small_str
	b	.L18
.L11:
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	add	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-12]
	ldr	r0, [fp, #-12]
	bl	print_big_str
	b	.L18
.L10:
	ldr	r3, [fp, #4]
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	print_char
.L18:
	ldr	r3, [fp, #4]
	add	r3, r3, #1
	str	r3, [fp, #4]
.L9:
	ldr	r3, [fp, #4]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L19
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, lr}
	add	sp, sp, #16
	bx	lr
	.size	myprintf, .-myprintf
	.section	.rodata
	.align	2
.LC1:
	.ascii	"OK\000"
	.align	2
.LC2:
	.ascii	"TEST %d is %s ...\012\000"
	.align	2
.LC3:
	.ascii	"All done\012\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r2, .L22
	mov	r1, #99
	ldr	r0, .L22+4
	bl	myprintf
	ldr	r0, .L22+8
	bl	print_string
	mov	r3, #0
	mov	r0, r3
	pop	{fp, pc}
.L23:
	.align	2
.L22:
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
