	.file	"390702.c"
	.intel_syntax noprefix
	.text
	.type	shitfer, @function
shitfer:
.LFB0:
	.cfi_startproc
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	edx, edi
	mov	eax, esi
	mov	BYTE PTR -20[rbp], dl
	mov	WORD PTR -24[rbp], ax
	movzx	eax, WORD PTR -24[rbp]
	mov	DWORD PTR -4[rbp], eax
	mov	BYTE PTR -5[rbp], -128
	jmp	.L2
.L4:
	sal	DWORD PTR -4[rbp]
	movzx	eax, BYTE PTR -20[rbp]
	and	al, BYTE PTR -5[rbp]
	test	al, al
	je	.L3
	add	DWORD PTR -4[rbp], 1
.L3:
	shr	BYTE PTR -5[rbp]
	cmp	DWORD PTR -4[rbp], 65535
	jbe	.L2
	and	DWORD PTR -4[rbp], 65535
	xor	DWORD PTR -4[rbp], 4129
.L2:
	cmp	BYTE PTR -5[rbp], 0
	jne	.L4
	mov	eax, DWORD PTR -4[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	shitfer, .-shitfer
	.globl	mboot_crc16
	.type	mboot_crc16, @function
mboot_crc16:
.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, 32
	mov	eax, edi
	mov	QWORD PTR -32[rbp], rsi
	mov	DWORD PTR -24[rbp], edx
	mov	WORD PTR -20[rbp], ax
	mov	rax, QWORD PTR -32[rbp]
	mov	QWORD PTR -8[rbp], rax
	movzx	eax, WORD PTR -20[rbp]
	mov	WORD PTR -10[rbp], ax
	jmp	.L7
.L8:
	movzx	edx, WORD PTR -10[rbp]
	mov	rax, QWORD PTR -8[rbp]
	lea	rcx, 1[rax]
	mov	QWORD PTR -8[rbp], rcx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	mov	esi, edx
	mov	edi, eax
	call	shitfer
	mov	WORD PTR -10[rbp], ax
.L7:
	mov	eax, DWORD PTR -24[rbp]
	lea	edx, -1[rax]
	mov	DWORD PTR -24[rbp], edx
	test	eax, eax
	jg	.L8
	movzx	eax, WORD PTR -10[rbp]
	mov	esi, eax
	mov	edi, 0
	call	shitfer
	mov	WORD PTR -10[rbp], ax
	movzx	eax, WORD PTR -10[rbp]
	mov	esi, eax
	mov	edi, 0
	call	shitfer
	mov	WORD PTR -10[rbp], ax
	movzx	eax, WORD PTR -10[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	mboot_crc16, .-mboot_crc16
	.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	"390702.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	shitfer, %function
shitfer:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	mov	r3, r0
	mov	r2, r1
	strb	r3, [fp, #-13]
	mov	r3, r2	@ movhi
	strh	r3, [fp, #-16]	@ movhi
	ldrh	r3, [fp, #-16]
	str	r3, [fp, #-8]
	mvn	r3, #127
	strb	r3, [fp, #-9]
	b	.L2
.L4:
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #1
	str	r3, [fp, #-8]
	ldrb	r2, [fp, #-13]
	ldrb	r3, [fp, #-9]
	and	r3, r3, r2
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L3
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L3:
	ldrb	r3, [fp, #-9]	@ zero_extendqisi2
	lsr	r3, r3, #1
	strb	r3, [fp, #-9]
	ldr	r3, [fp, #-8]
	cmp	r3, #65536
	bcc	.L2
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	eor	r3, r3, #4096
	eor	r3, r3, #33
	str	r3, [fp, #-8]
.L2:
	ldrb	r3, [fp, #-9]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L4
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	shitfer, .-shitfer
	.align	2
	.global	mboot_crc16
	.syntax unified
	.arm
	.fpu softvfp
	.type	mboot_crc16, %function
mboot_crc16:
	@ 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, r0
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	strh	r3, [fp, #-14]	@ movhi
	ldr	r3, [fp, #-20]
	str	r3, [fp, #-8]
	ldrh	r3, [fp, #-14]	@ movhi
	strh	r3, [fp, #-10]	@ movhi
	b	.L7
.L8:
	ldr	r3, [fp, #-8]
	add	r2, r3, #1
	str	r2, [fp, #-8]
	ldrb	r3, [r3]	@ zero_extendqisi2
	ldrh	r2, [fp, #-10]
	mov	r1, r2
	mov	r0, r3
	bl	shitfer
	mov	r3, r0
	strh	r3, [fp, #-10]	@ movhi
.L7:
	ldr	r3, [fp, #-24]
	sub	r2, r3, #1
	str	r2, [fp, #-24]
	cmp	r3, #0
	bgt	.L8
	ldrh	r3, [fp, #-10]
	mov	r1, r3
	mov	r0, #0
	bl	shitfer
	mov	r3, r0
	strh	r3, [fp, #-10]	@ movhi
	ldrh	r3, [fp, #-10]
	mov	r1, r3
	mov	r0, #0
	bl	shitfer
	mov	r3, r0
	strh	r3, [fp, #-10]	@ movhi
	ldrh	r3, [fp, #-10]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	mboot_crc16, .-mboot_crc16
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
