	.file	"508455.c"
	.intel_syntax noprefix
	.text
	.globl	crc1
	.type	crc1, @function
crc1:
.LFB0:
	.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 -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	mov	eax, 4294967295
	mov	QWORD PTR -8[rbp], rax
	mov	DWORD PTR -16[rbp], 0
	jmp	.L2
.L7:
	mov	edx, DWORD PTR -16[rbp]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	sal	rax, 24
	xor	QWORD PTR -8[rbp], rax
	mov	DWORD PTR -12[rbp], 0
	jmp	.L3
.L6:
	mov	rax, QWORD PTR -8[rbp]
	and	eax, 2147483648
	test	rax, rax
	je	.L4
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rax
	xor	rax, 79764919
	mov	QWORD PTR -8[rbp], rax
	jmp	.L5
.L4:
	sal	QWORD PTR -8[rbp]
.L5:
	add	DWORD PTR -12[rbp], 1
.L3:
	cmp	DWORD PTR -12[rbp], 7
	jbe	.L6
	add	DWORD PTR -16[rbp], 1
.L2:
	mov	eax, DWORD PTR -20[rbp]
	cmp	DWORD PTR -16[rbp], eax
	jb	.L7
	mov	rax, QWORD PTR -8[rbp]
	not	rax
	mov	eax, eax
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	crc1, .-crc1
	.globl	crc2
	.type	crc2, @function
crc2:
.LFB1:
	.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 -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	mov	eax, 4294967295
	mov	QWORD PTR -8[rbp], rax
	mov	DWORD PTR -16[rbp], 0
	jmp	.L10
.L15:
	mov	edx, DWORD PTR -16[rbp]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	xor	QWORD PTR -8[rbp], rax
	mov	DWORD PTR -12[rbp], 0
	jmp	.L11
.L14:
	mov	rax, QWORD PTR -8[rbp]
	and	eax, 1
	test	rax, rax
	je	.L12
	mov	rax, QWORD PTR -8[rbp]
	shr	rax
	mov	rdx, rax
	mov	eax, 3988292384
	xor	rax, rdx
	mov	QWORD PTR -8[rbp], rax
	jmp	.L13
.L12:
	shr	QWORD PTR -8[rbp]
.L13:
	add	DWORD PTR -12[rbp], 1
.L11:
	cmp	DWORD PTR -12[rbp], 7
	jbe	.L14
	add	DWORD PTR -16[rbp], 1
.L10:
	mov	eax, DWORD PTR -20[rbp]
	cmp	DWORD PTR -16[rbp], eax
	jb	.L15
	mov	eax, 4294967295
	xor	rax, QWORD PTR -8[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	crc2, .-crc2
	.section	.rodata
.LC0:
	.string	"crc1(%s) = %08lX\n"
.LC1:
	.string	"crc2(%s) = %08lX\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rsi, s.0[rip]
	mov	edi, 13
	call	crc1
	mov	rdx, rax
	lea	rsi, s.0[rip]
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rsi, s.0[rip]
	mov	edi, 13
	call	crc2
	mov	rdx, rax
	lea	rsi, s.0[rip]
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	main, .-main
	.data
	.align 8
	.type	s.0, @object
	.size	s.0, 14
s.0:
	.string	"Hello, world!"
	.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	"508455.c"
	.text
	.align	2
	.global	crc1
	.syntax unified
	.arm
	.fpu softvfp
	.type	crc1, %function
crc1:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #28
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	mvn	r3, #0
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L2
.L7:
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #24
	ldr	r2, [fp, #-8]
	eor	r3, r3, r2
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L3
.L6:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bge	.L4
	ldr	r3, [fp, #-8]
	lsl	r2, r3, #1
	ldr	r3, .L9
	eor	r3, r3, r2
	str	r3, [fp, #-8]
	b	.L5
.L4:
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #1
	str	r3, [fp, #-8]
.L5:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L3:
	ldr	r3, [fp, #-12]
	cmp	r3, #7
	bls	.L6
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L2:
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	bcc	.L7
	ldr	r3, [fp, #-8]
	mvn	r3, r3
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L10:
	.align	2
.L9:
	.word	79764919
	.size	crc1, .-crc1
	.align	2
	.global	crc2
	.syntax unified
	.arm
	.fpu softvfp
	.type	crc2, %function
crc2:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #28
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	mvn	r3, #0
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L12
.L17:
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, [fp, #-8]
	eor	r3, r3, r2
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L13
.L16:
	ldr	r3, [fp, #-8]
	and	r3, r3, #1
	cmp	r3, #0
	beq	.L14
	ldr	r3, [fp, #-8]
	lsr	r2, r3, #1
	ldr	r3, .L19
	eor	r3, r3, r2
	str	r3, [fp, #-8]
	b	.L15
.L14:
	ldr	r3, [fp, #-8]
	lsr	r3, r3, #1
	str	r3, [fp, #-8]
.L15:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L13:
	ldr	r3, [fp, #-12]
	cmp	r3, #7
	bls	.L16
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L12:
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	bcc	.L17
	ldr	r3, [fp, #-8]
	mvn	r3, r3
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L20:
	.align	2
.L19:
	.word	-306674912
	.size	crc2, .-crc2
	.section	.rodata
	.align	2
.LC0:
	.ascii	"crc1(%s) = %08lX\012\000"
	.align	2
.LC1:
	.ascii	"crc2(%s) = %08lX\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	r1, .L23
	mov	r0, #13
	bl	crc1
	mov	r3, r0
	mov	r2, r3
	ldr	r1, .L23
	ldr	r0, .L23+4
	bl	printf
	ldr	r1, .L23
	mov	r0, #13
	bl	crc2
	mov	r3, r0
	mov	r2, r3
	ldr	r1, .L23
	ldr	r0, .L23+8
	bl	printf
	mov	r3, #0
	mov	r0, r3
	pop	{fp, pc}
.L24:
	.align	2
.L23:
	.word	s.5145
	.word	.LC0
	.word	.LC1
	.size	main, .-main
	.data
	.align	2
	.type	s.5145, %object
	.size	s.5145, 14
s.5145:
	.ascii	"Hello, world!\000"
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
