	.file	"226062.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"---x = %d\t"
.LC1:
	.string	"(((30240/60)/24)/7) = %d\t"
.LC2:
	.string	"(((32768/60)/24)/7) = %d\t"
.LC3:
	.string	"(((86400/60)/60)/24) = %d\t"
	.text
	.globl	main
	.type	main, @function
main:
.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	DWORD PTR -4[rbp], 1
	mov	eax, DWORD PTR -4[rbp]
	neg	eax
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 10
	call	putchar@PLT
	mov	esi, 3
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 10
	call	putchar@PLT
	mov	esi, 3
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 10
	call	putchar@PLT
	mov	esi, 1
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 10
	call	putchar@PLT
	mov	DWORD PTR -12[rbp], -1
	mov	DWORD PTR -16[rbp], 0
	jmp	.L2
.L7:
	cmp	BYTE PTR -17[rbp], 31
	jg	.L3
	cmp	BYTE PTR -17[rbp], 9
	jne	.L4
	mov	eax, DWORD PTR -16[rbp]
	sub	eax, DWORD PTR -12[rbp]
	sub	eax, 1
	cdq
	shr	edx, 29
	add	eax, edx
	and	eax, 7
	sub	eax, edx
	mov	edx, eax
	mov	eax, 8
	sub	eax, edx
	mov	DWORD PTR -8[rbp], eax
	mov	eax, DWORD PTR -16[rbp]
	mov	DWORD PTR -12[rbp], eax
	jmp	.L5
.L6:
	mov	edi, 46
	call	putchar@PLT
	sub	DWORD PTR -8[rbp], 1
.L5:
	cmp	DWORD PTR -8[rbp], 0
	jne	.L6
	jmp	.L3
.L4:
	movsx	eax, BYTE PTR -17[rbp]
	mov	edi, eax
	call	putchar@PLT
.L3:
	add	DWORD PTR -16[rbp], 1
.L2:
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	lea	rdx, input.0[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	mov	BYTE PTR -17[rbp], al
	cmp	BYTE PTR -17[rbp], 0
	jne	.L7
	mov	edi, 10
	call	putchar@PLT
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.data
	.align 8
	.type	input.0, @object
	.size	input.0, 10
input.0:
	.string	"\tABCD\tXYZ"
	.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	"226062.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"---x = %d\011\000"
	.align	2
.LC1:
	.ascii	"(((30240/60)/24)/7) = %d\011\000"
	.align	2
.LC2:
	.ascii	"(((32768/60)/24)/7) = %d\011\000"
	.align	2
.LC3:
	.ascii	"(((86400/60)/60)/24) = %d\011\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	mov	r3, #1
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	rsb	r3, r3, #0
	mov	r1, r3
	ldr	r0, .L9
	bl	printf
	mov	r0, #10
	bl	putchar
	mov	r1, #3
	ldr	r0, .L9+4
	bl	printf
	mov	r0, #10
	bl	putchar
	mov	r1, #3
	ldr	r0, .L9+8
	bl	printf
	mov	r0, #10
	bl	putchar
	mov	r1, #1
	ldr	r0, .L9+12
	bl	printf
	mov	r0, #10
	bl	putchar
	mvn	r3, #0
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L2
.L7:
	ldrb	r3, [fp, #-21]	@ zero_extendqisi2
	cmp	r3, #31
	bhi	.L3
	ldrb	r3, [fp, #-21]	@ zero_extendqisi2
	cmp	r3, #9
	bne	.L4
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-16]
	sub	r3, r2, r3
	sub	r3, r3, #1
	rsbs	r2, r3, #0
	and	r3, r3, #7
	and	r2, r2, #7
	rsbpl	r3, r2, #0
	rsb	r3, r3, #8
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-20]
	str	r3, [fp, #-16]
	b	.L5
.L6:
	mov	r0, #46
	bl	putchar
	ldr	r3, [fp, #-12]
	sub	r3, r3, #1
	str	r3, [fp, #-12]
.L5:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L6
	b	.L3
.L4:
	ldrb	r3, [fp, #-21]	@ zero_extendqisi2
	mov	r0, r3
	bl	putchar
.L3:
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L2:
	ldr	r2, .L9+16
	ldr	r3, [fp, #-20]
	add	r3, r2, r3
	ldrb	r3, [r3]
	strb	r3, [fp, #-21]
	ldrb	r3, [fp, #-21]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L7
	mov	r0, #10
	bl	putchar
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L10:
	.align	2
.L9:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	input.4601
	.size	main, .-main
	.data
	.align	2
	.type	input.4601, %object
	.size	input.4601, 10
input.4601:
	.ascii	"\011ABCD\011XYZ\000"
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
