	.file	"948410.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"Value 0x%lx is at address %p\n"
.LC1:
	.string	"\t%p: %02x\n"
	.align 8
.LC2:
	.string	"Based on the location of the least significant byte, your processor is "
.LC3:
	.string	"little endian."
.LC4:
	.string	"big endian."
	.align 8
.LC5:
	.string	"neither big- nor little endian, perhaps multibyte-swapped little endian."
	.align 8
.LC6:
	.string	"Based on the pre-defined macros, your processor is "
.LC7:
	.string	"16bit-swapped little endian."
	.align 8
.LC8:
	.string	"neither big- nor little- nor pdp-endian."
	.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, 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	movabs	rax, 81985529216486895
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	BYTE PTR -33[rbp], al
	lea	rax, -24[rbp]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, -24[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -32[rbp], 7
	jmp	.L2
.L3:
	mov	eax, DWORD PTR -32[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	mov	edx, DWORD PTR -32[rbp]
	movsx	rcx, edx
	mov	rdx, QWORD PTR -16[rbp]
	add	rcx, rdx
	mov	edx, eax
	mov	rsi, rcx
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	sub	DWORD PTR -32[rbp], 1
.L2:
	cmp	DWORD PTR -32[rbp], 0
	jns	.L3
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	BYTE PTR -33[rbp], al
	jne	.L4
	lea	rdi, .LC3[rip]
	call	puts@PLT
	jmp	.L5
.L4:
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 7
	movzx	eax, BYTE PTR [rax]
	cmp	BYTE PTR -33[rbp], al
	jne	.L6
	lea	rdi, .LC4[rip]
	call	puts@PLT
	jmp	.L5
.L6:
	lea	rdi, .LC5[rip]
	call	puts@PLT
.L5:
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -28[rbp], 1234
	cmp	DWORD PTR -28[rbp], 4321
	je	.L7
	cmp	DWORD PTR -28[rbp], 4321
	jg	.L8
	cmp	DWORD PTR -28[rbp], 1234
	je	.L9
	cmp	DWORD PTR -28[rbp], 3412
	je	.L10
	jmp	.L8
.L9:
	lea	rdi, .LC3[rip]
	call	puts@PLT
	jmp	.L11
.L7:
	lea	rdi, .LC4[rip]
	call	puts@PLT
	jmp	.L11
.L10:
	lea	rdi, .LC7[rip]
	call	puts@PLT
	jmp	.L11
.L8:
	lea	rdi, .LC8[rip]
	call	puts@PLT
.L11:
	mov	eax, 0
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L13
	call	__stack_chk_fail@PLT
.L13:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.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	"948410.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Value 0x%lx is at address %p\012\000"
	.align	2
.LC1:
	.ascii	"\011%p: %02x\012\000"
	.align	2
.LC2:
	.ascii	"Based on the location of the least significant byte"
	.ascii	", your processor is \000"
	.align	2
.LC3:
	.ascii	"little endian.\000"
	.align	2
.LC4:
	.ascii	"big endian.\000"
	.align	2
.LC5:
	.ascii	"neither big- nor little endian, perhaps multibyte-s"
	.ascii	"wapped little endian.\000"
	.align	2
.LC6:
	.ascii	"Based on the pre-defined macros, your processor is "
	.ascii	"\000"
	.align	2
.LC7:
	.ascii	"16bit-swapped little endian.\000"
	.align	2
.LC8:
	.ascii	"neither big- nor little- nor pdp-endian.\000"
	.align	2
.LC9:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	ldr	r3, .L14+8
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	adr	r3, .L14
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	mov	r3, r2
	strb	r3, [fp, #-33]
	sub	r3, fp, #20
	str	r3, [fp, #-28]
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	sub	r1, fp, #20
	str	r1, [sp]
	ldr	r0, .L14+12
	bl	printf
	mov	r3, #7
	str	r3, [fp, #-32]
	b	.L2
.L3:
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-28]
	add	r1, r2, r3
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r0, .L14+16
	bl	printf
	ldr	r3, [fp, #-32]
	sub	r3, r3, #1
	str	r3, [fp, #-32]
.L2:
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	bge	.L3
	ldr	r0, .L14+20
	bl	printf
	ldr	r3, [fp, #-28]
	ldrb	r3, [r3]	@ zero_extendqisi2
	ldrb	r2, [fp, #-33]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L4
	ldr	r0, .L14+24
	bl	puts
	b	.L5
.L4:
	ldr	r3, [fp, #-28]
	add	r3, r3, #7
	ldrb	r3, [r3]	@ zero_extendqisi2
	ldrb	r2, [fp, #-33]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L6
	ldr	r0, .L14+28
	bl	puts
	b	.L5
.L6:
	ldr	r0, .L14+32
	bl	puts
.L5:
	ldr	r0, .L14+36
	bl	printf
	ldr	r3, .L14+40
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-24]
	ldr	r2, .L14+44
	cmp	r3, r2
	beq	.L7
	ldr	r3, [fp, #-24]
	ldr	r2, .L14+44
	cmp	r3, r2
	bgt	.L8
	ldr	r3, [fp, #-24]
	ldr	r2, .L14+40
	cmp	r3, r2
	beq	.L9
	ldr	r3, [fp, #-24]
	ldr	r2, .L14+48
	cmp	r3, r2
	beq	.L10
	b	.L8
.L9:
	ldr	r0, .L14+24
	bl	puts
	b	.L11
.L7:
	ldr	r0, .L14+28
	bl	puts
	b	.L11
.L10:
	ldr	r0, .L14+52
	bl	puts
	b	.L11
.L8:
	ldr	r0, .L14+56
	bl	puts
.L11:
	mov	r3, #0
	ldr	r2, .L14+8
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L13
	bl	__stack_chk_fail
.L13:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L15:
	.align	3
.L14:
	.word	-1985229329
	.word	19088743
	.word	.LC9
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	1234
	.word	4321
	.word	3412
	.word	.LC7
	.word	.LC8
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
