	.file	"192425.c"
	.intel_syntax noprefix
	.text
	.globl	icrc
	.type	icrc, @function
icrc:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 56
	.cfi_offset 3, -24
	mov	QWORD PTR -48[rbp], rsi
	mov	QWORD PTR -56[rbp], rdx
	mov	eax, ecx
	mov	DWORD PTR -60[rbp], r8d
	mov	edx, edi
	mov	WORD PTR -36[rbp], dx
	mov	WORD PTR -40[rbp], ax
	movzx	eax, WORD PTR -36[rbp]
	mov	WORD PTR -18[rbp], ax
	movzx	eax, WORD PTR init.3[rip]
	test	ax, ax
	jne	.L2
	mov	WORD PTR init.3[rip], 1
	mov	WORD PTR -20[rbp], 0
	jmp	.L3
.L4:
	movzx	eax, WORD PTR -20[rbp]
	sal	eax, 8
	movzx	eax, ax
	movzx	ebx, WORD PTR -20[rbp]
	mov	esi, 0
	mov	edi, eax
	call	icrc1@PLT
	movsx	rdx, ebx
	lea	rcx, [rdx+rdx]
	lea	rdx, icrctb.2[rip]
	mov	WORD PTR [rcx+rdx], ax
	movzx	eax, WORD PTR -20[rbp]
	and	eax, 15
	cdqe
	lea	rdx, it.1[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	movzx	eax, al
	sal	eax, 4
	mov	ecx, eax
	movzx	eax, WORD PTR -20[rbp]
	shr	ax, 4
	movzx	eax, ax
	cdqe
	lea	rdx, it.1[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	or	ecx, eax
	mov	edx, ecx
	movzx	eax, WORD PTR -20[rbp]
	mov	ecx, edx
	cdqe
	lea	rdx, rchr.0[rip]
	mov	BYTE PTR [rax+rdx], cl
	movzx	eax, WORD PTR -20[rbp]
	add	eax, 1
	mov	WORD PTR -20[rbp], ax
.L3:
	cmp	WORD PTR -20[rbp], 255
	jbe	.L4
.L2:
	cmp	WORD PTR -40[rbp], 0
	js	.L5
	movzx	eax, WORD PTR -40[rbp]
	movzx	edx, al
	movzx	eax, WORD PTR -40[rbp]
	movzx	eax, al
	sal	eax, 8
	or	eax, edx
	mov	WORD PTR -18[rbp], ax
	jmp	.L6
.L5:
	cmp	DWORD PTR -60[rbp], 0
	jns	.L6
	movzx	eax, WORD PTR -18[rbp]
	shr	ax, 8
	movzx	eax, al
	cdqe
	lea	rdx, rchr.0[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	movzx	ecx, al
	movzx	eax, WORD PTR -18[rbp]
	movzx	eax, al
	cdqe
	lea	rdx, rchr.0[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	movzx	eax, al
	sal	eax, 8
	or	eax, ecx
	mov	WORD PTR -18[rbp], ax
.L6:
	mov	WORD PTR -20[rbp], 1
	jmp	.L7
.L10:
	cmp	DWORD PTR -60[rbp], 0
	jns	.L8
	movzx	edx, WORD PTR -20[rbp]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	cdqe
	lea	rdx, rchr.0[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	movzx	eax, al
	jmp	.L9
.L8:
	movzx	edx, WORD PTR -20[rbp]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
.L9:
	movzx	edx, WORD PTR -18[rbp]
	shr	dx, 8
	movzx	edx, dl
	xor	eax, edx
	cdqe
	lea	rdx, [rax+rax]
	lea	rax, icrctb.2[rip]
	movzx	eax, WORD PTR [rdx+rax]
	mov	edx, eax
	movzx	eax, WORD PTR -18[rbp]
	movzx	eax, al
	sal	eax, 8
	xor	eax, edx
	mov	WORD PTR -18[rbp], ax
	movzx	eax, WORD PTR -20[rbp]
	add	eax, 1
	mov	WORD PTR -20[rbp], ax
.L7:
	movzx	eax, WORD PTR -20[rbp]
	cmp	QWORD PTR -56[rbp], rax
	jnb	.L10
	cmp	DWORD PTR -60[rbp], 0
	jns	.L11
	movzx	eax, WORD PTR -18[rbp]
	shr	ax, 8
	movzx	eax, al
	cdqe
	lea	rdx, rchr.0[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	movzx	ecx, al
	movzx	eax, WORD PTR -18[rbp]
	movzx	eax, al
	cdqe
	lea	rdx, rchr.0[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	movzx	eax, al
	sal	eax, 8
	or	eax, ecx
	jmp	.L13
.L11:
	movzx	eax, WORD PTR -18[rbp]
.L13:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	icrc, .-icrc
	.local	init.3
	.comm	init.3,2,2
	.local	icrctb.2
	.comm	icrctb.2,512,32
	.data
	.align 16
	.type	it.1, @object
	.size	it.1, 16
it.1:
	.string	""
	.ascii	"\b\004\f\002\n\006\016\001\t\005\r\003\013\007\017"
	.local	rchr.0
	.comm	rchr.0,256,32
	.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	"192425.c"
	.text
	.align	2
	.global	icrc
	.syntax unified
	.arm
	.fpu softvfp
	.type	icrc, %function
icrc:
	@ args = 4, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #28
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	mov	r2, r3
	mov	r3, r0	@ movhi
	strh	r3, [fp, #-22]	@ movhi
	mov	r3, r2	@ movhi
	strh	r3, [fp, #-24]	@ movhi
	ldrh	r3, [fp, #-22]	@ movhi
	strh	r3, [fp, #-14]	@ movhi
	ldr	r3, .L14
	ldrh	r3, [r3]
	cmp	r3, #0
	bne	.L2
	ldr	r3, .L14
	mov	r2, #1
	strh	r2, [r3]	@ movhi
	mov	r3, #0
	strh	r3, [fp, #-16]	@ movhi
	b	.L3
.L4:
	ldrh	r3, [fp, #-16]	@ movhi
	lsl	r3, r3, #8
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	ldrh	r4, [fp, #-16]
	mov	r1, #0
	mov	r0, r3
	bl	icrc1
	mov	r3, r0
	mov	r1, r3
	ldr	r2, .L14+4
	lsl	r3, r4, #1
	add	r3, r2, r3
	strh	r1, [r3]	@ movhi
	ldrh	r3, [fp, #-16]
	and	r3, r3, #15
	ldr	r2, .L14+8
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	lsl	r3, r3, #4
	lsl	r3, r3, #24
	asr	r2, r3, #24
	ldrh	r3, [fp, #-16]
	lsr	r3, r3, #4
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	mov	r1, r3
	ldr	r3, .L14+8
	ldrb	r3, [r3, r1]	@ zero_extendqisi2
	lsl	r3, r3, #24
	asr	r3, r3, #24
	orr	r3, r2, r3
	lsl	r3, r3, #24
	asr	r2, r3, #24
	ldrh	r3, [fp, #-16]
	and	r1, r2, #255
	ldr	r2, .L14+12
	strb	r1, [r2, r3]
	ldrh	r3, [fp, #-16]
	add	r3, r3, #1
	strh	r3, [fp, #-16]	@ movhi
.L3:
	ldrh	r3, [fp, #-16]
	cmp	r3, #255
	bls	.L4
.L2:
	ldrsh	r3, [fp, #-24]
	cmp	r3, #0
	blt	.L5
	ldrh	r3, [fp, #-24]	@ movhi
	and	r3, r3, #255
	lsl	r3, r3, #16
	asr	r2, r3, #16
	ldrh	r3, [fp, #-24]	@ movhi
	and	r3, r3, #255
	lsl	r3, r3, #8
	lsl	r3, r3, #16
	asr	r3, r3, #16
	orr	r3, r2, r3
	lsl	r3, r3, #16
	asr	r3, r3, #16
	strh	r3, [fp, #-14]	@ movhi
	b	.L6
.L5:
	ldr	r3, [fp, #4]
	cmp	r3, #0
	bge	.L6
	ldrh	r3, [fp, #-14]
	lsr	r3, r3, #8
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	and	r3, r3, #255
	mov	r2, r3
	ldr	r3, .L14+12
	ldrb	r3, [r3, r2]	@ zero_extendqisi2
	lsl	r3, r3, #16
	asr	r2, r3, #16
	ldrh	r3, [fp, #-14]	@ movhi
	and	r3, r3, #255
	mov	r1, r3
	ldr	r3, .L14+12
	ldrb	r3, [r3, r1]	@ zero_extendqisi2
	lsl	r3, r3, #8
	lsl	r3, r3, #16
	asr	r3, r3, #16
	orr	r3, r2, r3
	lsl	r3, r3, #16
	asr	r3, r3, #16
	strh	r3, [fp, #-14]	@ movhi
.L6:
	mov	r3, #1
	strh	r3, [fp, #-16]	@ movhi
	b	.L7
.L10:
	ldr	r3, [fp, #4]
	cmp	r3, #0
	bge	.L8
	ldrh	r3, [fp, #-16]
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, .L14+12
	ldrb	r3, [r3, r2]	@ zero_extendqisi2
	mov	r2, r3
	b	.L9
.L8:
	ldrh	r3, [fp, #-16]
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
.L9:
	ldrh	r3, [fp, #-14]
	lsr	r3, r3, #8
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	and	r3, r3, #255
	eor	r3, r3, r2
	ldr	r2, .L14+4
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	lsl	r3, r3, #16
	asr	r2, r3, #16
	ldrh	r3, [fp, #-14]	@ movhi
	and	r3, r3, #255
	lsl	r3, r3, #8
	lsl	r3, r3, #16
	asr	r3, r3, #16
	eor	r3, r3, r2
	lsl	r3, r3, #16
	asr	r3, r3, #16
	strh	r3, [fp, #-14]	@ movhi
	ldrh	r3, [fp, #-16]
	add	r3, r3, #1
	strh	r3, [fp, #-16]	@ movhi
.L7:
	ldrh	r3, [fp, #-16]
	ldr	r2, [fp, #-32]
	cmp	r2, r3
	bcs	.L10
	ldr	r3, [fp, #4]
	cmp	r3, #0
	bge	.L11
	ldrh	r3, [fp, #-14]
	lsr	r3, r3, #8
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	and	r3, r3, #255
	mov	r2, r3
	ldr	r3, .L14+12
	ldrb	r3, [r3, r2]	@ zero_extendqisi2
	lsl	r3, r3, #16
	asr	r2, r3, #16
	ldrh	r3, [fp, #-14]	@ movhi
	and	r3, r3, #255
	mov	r1, r3
	ldr	r3, .L14+12
	ldrb	r3, [r3, r1]	@ zero_extendqisi2
	lsl	r3, r3, #8
	lsl	r3, r3, #16
	asr	r3, r3, #16
	orr	r3, r2, r3
	lsl	r3, r3, #16
	asr	r3, r3, #16
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	b	.L12
.L11:
	ldrh	r3, [fp, #-14]
.L12:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L15:
	.align	2
.L14:
	.word	init.4206
	.word	icrctb.4205
	.word	it.4210
	.word	rchr.4207
	.size	icrc, .-icrc
	.local	init.4206
	.comm	init.4206,2,2
	.local	icrctb.4205
	.comm	icrctb.4205,512,4
	.data
	.align	2
	.type	it.4210, %object
	.size	it.4210, 16
it.4210:
	.ascii	"\000\010\004\014\002\012\006\016\001\011\005\015\003"
	.ascii	"\013\007\017"
	.local	rchr.4207
	.comm	rchr.4207,256,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
