	.file	"225015.c"
	.intel_syntax noprefix
	.text
	.globl	halftone_c
	.type	halftone_c, @function
halftone_c:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	push	r14
	push	r13
	push	r12
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	mov	QWORD PTR -104[rbp], rdi
	mov	QWORD PTR -112[rbp], rsi
	mov	DWORD PTR -116[rbp], edx
	mov	DWORD PTR -120[rbp], ecx
	mov	DWORD PTR -124[rbp], r8d
	mov	DWORD PTR -128[rbp], r9d
	mov	edx, DWORD PTR -124[rbp]
	movsx	rax, edx
	sub	rax, 1
	mov	QWORD PTR -80[rbp], rax
	movsx	rax, edx
	mov	QWORD PTR -144[rbp], rax
	mov	QWORD PTR -136[rbp], 0
	mov	eax, DWORD PTR -124[rbp]
	movsx	rcx, eax
	sub	rcx, 1
	mov	QWORD PTR -72[rbp], rcx
	cdqe
	mov	r14, rax
	mov	r15d, 0
	mov	rax, QWORD PTR -104[rbp]
	mov	QWORD PTR -64[rbp], rax
	mov	eax, DWORD PTR -128[rbp]
	movsx	rcx, eax
	sub	rcx, 1
	mov	QWORD PTR -56[rbp], rcx
	movsx	rcx, eax
	mov	r12, rcx
	mov	r13d, 0
	mov	ecx, DWORD PTR -128[rbp]
	movsx	rsi, ecx
	sub	rsi, 1
	mov	QWORD PTR -48[rbp], rsi
	movsx	rcx, ecx
	mov	r10, rcx
	mov	r11d, 0
	mov	rcx, QWORD PTR -112[rbp]
	mov	QWORD PTR -40[rbp], rcx
	mov	ecx, DWORD PTR -120[rbp]
	mov	esi, ecx
	sar	esi, 31
	shr	esi, 31
	add	ecx, esi
	and	ecx, 1
	sub	ecx, esi
	cmp	ecx, 1
	jne	.L2
	sub	DWORD PTR -120[rbp], 1
.L2:
	mov	ecx, DWORD PTR -116[rbp]
	mov	esi, ecx
	sar	esi, 31
	shr	esi, 31
	add	ecx, esi
	and	ecx, 1
	sub	ecx, esi
	cmp	ecx, 1
	jne	.L3
	sub	DWORD PTR -116[rbp], 1
.L3:
	mov	DWORD PTR -88[rbp], 0
	jmp	.L4
.L12:
	mov	DWORD PTR -92[rbp], 0
	jmp	.L5
.L11:
	mov	DWORD PTR -84[rbp], 0
	mov	ecx, DWORD PTR -88[rbp]
	movsx	rsi, ecx
	movsx	rcx, edx
	imul	rsi, rcx
	mov	rcx, QWORD PTR -64[rbp]
	add	rsi, rcx
	mov	ecx, DWORD PTR -92[rbp]
	movsx	rcx, ecx
	movzx	ecx, BYTE PTR [rsi+rcx]
	movzx	ecx, cl
	add	DWORD PTR -84[rbp], ecx
	mov	ecx, DWORD PTR -88[rbp]
	movsx	rsi, ecx
	movsx	rcx, edx
	imul	rsi, rcx
	mov	rcx, QWORD PTR -64[rbp]
	add	rsi, rcx
	mov	ecx, DWORD PTR -92[rbp]
	add	ecx, 1
	movsx	rcx, ecx
	movzx	ecx, BYTE PTR [rsi+rcx]
	movzx	ecx, cl
	add	DWORD PTR -84[rbp], ecx
	mov	ecx, DWORD PTR -88[rbp]
	add	ecx, 1
	movsx	rsi, ecx
	movsx	rcx, edx
	imul	rsi, rcx
	mov	rcx, QWORD PTR -64[rbp]
	add	rsi, rcx
	mov	ecx, DWORD PTR -92[rbp]
	movsx	rcx, ecx
	movzx	ecx, BYTE PTR [rsi+rcx]
	movzx	ecx, cl
	add	DWORD PTR -84[rbp], ecx
	mov	ecx, DWORD PTR -88[rbp]
	add	ecx, 1
	movsx	rsi, ecx
	movsx	rcx, edx
	imul	rsi, rcx
	mov	rcx, QWORD PTR -64[rbp]
	add	rsi, rcx
	mov	ecx, DWORD PTR -92[rbp]
	add	ecx, 1
	movsx	rcx, ecx
	movzx	ecx, BYTE PTR [rsi+rcx]
	movzx	ecx, cl
	add	DWORD PTR -84[rbp], ecx
	cmp	DWORD PTR -84[rbp], 204
	jg	.L6
	mov	ecx, DWORD PTR -88[rbp]
	movsx	rsi, ecx
	movsx	rcx, eax
	imul	rsi, rcx
	mov	rcx, QWORD PTR -40[rbp]
	add	rsi, rcx
	mov	ecx, DWORD PTR -92[rbp]
	movsx	rcx, ecx
	mov	BYTE PTR [rsi+rcx], 0
	mov	ecx, DWORD PTR -88[rbp]
	movsx	rsi, ecx
	movsx	rcx, eax
	imul	rsi, rcx
	mov	rcx, QWORD PTR -40[rbp]
	add	rsi, rcx
	mov	ecx, DWORD PTR -92[rbp]
	add	ecx, 1
	movsx	rcx, ecx
	mov	BYTE PTR [rsi+rcx], 0
	mov	ecx, DWORD PTR -88[rbp]
	add	ecx, 1
	movsx	rsi, ecx
	movsx	rcx, eax
	imul	rsi, rcx
	mov	rcx, QWORD PTR -40[rbp]
	add	rsi, rcx
	mov	ecx, DWORD PTR -92[rbp]
	movsx	rcx, ecx
	mov	BYTE PTR [rsi+rcx], 0
	mov	ecx, DWORD PTR -88[rbp]
	add	ecx, 1
	movsx	rsi, ecx
	movsx	rcx, eax
	imul	rsi, rcx
	mov	rcx, QWORD PTR -40[rbp]
	add	rsi, rcx
	mov	ecx, DWORD PTR -92[rbp]
	add	ecx, 1
	movsx	rcx, ecx
	mov	BYTE PTR [rsi+rcx], 0
	jmp	.L7
.L6:
	cmp	DWORD PTR -84[rbp], 409
	jg	.L8
	mov	ecx, DWORD PTR -88[rbp]
	movsx	rsi, ecx
	movsx	rcx, eax
	imul	rsi, rcx
	mov	rcx, QWORD PTR -40[rbp]
	add	rsi, rcx
	mov	ecx, DWORD PTR -92[rbp]
	movsx	rcx, ecx
	mov	BYTE PTR [rsi+rcx], -1
	mov	ecx, DWORD PTR -88[rbp]
	movsx	rsi, ecx
	movsx	rcx, eax
	imul	rsi, rcx
	mov	rcx, QWORD PTR -40[rbp]
	add	rsi, rcx
	mov	ecx, DWORD PTR -92[rbp]
	add	ecx, 1
	movsx	rcx, ecx
	mov	BYTE PTR [rsi+rcx], 0
	mov	ecx, DWORD PTR -88[rbp]
	add	ecx, 1
	movsx	rsi, ecx
	movsx	rcx, eax
	imul	rsi, rcx
	mov	rcx, QWORD PTR -40[rbp]
	add	rsi, rcx
	mov	ecx, DWORD PTR -92[rbp]
	movsx	rcx, ecx
	mov	BYTE PTR [rsi+rcx], 0
	mov	ecx, DWORD PTR -88[rbp]
	add	ecx, 1
	movsx	rsi, ecx
	movsx	rcx, eax
	imul	rsi, rcx
	mov	rcx, QWORD PTR -40[rbp]
	add	rsi, rcx
	mov	ecx, DWORD PTR -92[rbp]
	add	ecx, 1
	movsx	rcx, ecx
	mov	BYTE PTR [rsi+rcx], 0
	jmp	.L7
.L8:
	cmp	DWORD PTR -84[rbp], 614
	jg	.L9
	mov	ecx, DWORD PTR -88[rbp]
	movsx	rsi, ecx
	movsx	rcx, eax
	imul	rsi, rcx
	mov	rcx, QWORD PTR -40[rbp]
	add	rsi, rcx
	mov	ecx, DWORD PTR -92[rbp]
	movsx	rcx, ecx
	mov	BYTE PTR [rsi+rcx], -1
	mov	ecx, DWORD PTR -88[rbp]
	movsx	rsi, ecx
	movsx	rcx, eax
	imul	rsi, rcx
	mov	rcx, QWORD PTR -40[rbp]
	add	rsi, rcx
	mov	ecx, DWORD PTR -92[rbp]
	add	ecx, 1
	movsx	rcx, ecx
	mov	BYTE PTR [rsi+rcx], 0
	mov	ecx, DWORD PTR -88[rbp]
	add	ecx, 1
	movsx	rsi, ecx
	movsx	rcx, eax
	imul	rsi, rcx
	mov	rcx, QWORD PTR -40[rbp]
	add	rsi, rcx
	mov	ecx, DWORD PTR -92[rbp]
	movsx	rcx, ecx
	mov	BYTE PTR [rsi+rcx], 0
	mov	ecx, DWORD PTR -88[rbp]
	add	ecx, 1
	movsx	rsi, ecx
	movsx	rcx, eax
	imul	rsi, rcx
	mov	rcx, QWORD PTR -40[rbp]
	add	rsi, rcx
	mov	ecx, DWORD PTR -92[rbp]
	add	ecx, 1
	movsx	rcx, ecx
	mov	BYTE PTR [rsi+rcx], -1
	jmp	.L7
.L9:
	cmp	DWORD PTR -84[rbp], 819
	jg	.L10
	mov	ecx, DWORD PTR -88[rbp]
	movsx	rsi, ecx
	movsx	rcx, eax
	imul	rsi, rcx
	mov	rcx, QWORD PTR -40[rbp]
	add	rsi, rcx
	mov	ecx, DWORD PTR -92[rbp]
	movsx	rcx, ecx
	mov	BYTE PTR [rsi+rcx], -1
	mov	ecx, DWORD PTR -88[rbp]
	movsx	rsi, ecx
	movsx	rcx, eax
	imul	rsi, rcx
	mov	rcx, QWORD PTR -40[rbp]
	add	rsi, rcx
	mov	ecx, DWORD PTR -92[rbp]
	add	ecx, 1
	movsx	rcx, ecx
	mov	BYTE PTR [rsi+rcx], 0
	mov	ecx, DWORD PTR -88[rbp]
	add	ecx, 1
	movsx	rsi, ecx
	movsx	rcx, eax
	imul	rsi, rcx
	mov	rcx, QWORD PTR -40[rbp]
	add	rsi, rcx
	mov	ecx, DWORD PTR -92[rbp]
	movsx	rcx, ecx
	mov	BYTE PTR [rsi+rcx], -1
	mov	ecx, DWORD PTR -88[rbp]
	add	ecx, 1
	movsx	rsi, ecx
	movsx	rcx, eax
	imul	rsi, rcx
	mov	rcx, QWORD PTR -40[rbp]
	add	rsi, rcx
	mov	ecx, DWORD PTR -92[rbp]
	add	ecx, 1
	movsx	rcx, ecx
	mov	BYTE PTR [rsi+rcx], -1
	jmp	.L7
.L10:
	mov	ecx, DWORD PTR -88[rbp]
	movsx	rsi, ecx
	movsx	rcx, eax
	imul	rsi, rcx
	mov	rcx, QWORD PTR -40[rbp]
	add	rsi, rcx
	mov	ecx, DWORD PTR -92[rbp]
	movsx	rcx, ecx
	mov	BYTE PTR [rsi+rcx], -1
	mov	ecx, DWORD PTR -88[rbp]
	movsx	rsi, ecx
	movsx	rcx, eax
	imul	rsi, rcx
	mov	rcx, QWORD PTR -40[rbp]
	add	rsi, rcx
	mov	ecx, DWORD PTR -92[rbp]
	add	ecx, 1
	movsx	rcx, ecx
	mov	BYTE PTR [rsi+rcx], -1
	mov	ecx, DWORD PTR -88[rbp]
	add	ecx, 1
	movsx	rsi, ecx
	movsx	rcx, eax
	imul	rsi, rcx
	mov	rcx, QWORD PTR -40[rbp]
	add	rsi, rcx
	mov	ecx, DWORD PTR -92[rbp]
	movsx	rcx, ecx
	mov	BYTE PTR [rsi+rcx], -1
	mov	ecx, DWORD PTR -88[rbp]
	add	ecx, 1
	movsx	rsi, ecx
	movsx	rcx, eax
	imul	rsi, rcx
	mov	rcx, QWORD PTR -40[rbp]
	add	rsi, rcx
	mov	ecx, DWORD PTR -92[rbp]
	add	ecx, 1
	movsx	rcx, ecx
	mov	BYTE PTR [rsi+rcx], -1
.L7:
	add	DWORD PTR -92[rbp], 2
.L5:
	mov	ecx, DWORD PTR -92[rbp]
	cmp	ecx, DWORD PTR -120[rbp]
	jl	.L11
	add	DWORD PTR -88[rbp], 2
.L4:
	mov	ecx, DWORD PTR -88[rbp]
	cmp	ecx, DWORD PTR -116[rbp]
	jl	.L12
	nop
	nop
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	halftone_c, .-halftone_c
	.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	"225015.c"
	.text
	.align	2
	.global	halftone_c
	.syntax unified
	.arm
	.fpu softvfp
	.type	halftone_c, %function
halftone_c:
	@ args = 8, pretend = 0, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #56
	str	r0, [fp, #-48]
	str	r1, [fp, #-52]
	str	r2, [fp, #-56]
	str	r3, [fp, #-60]
	ldr	lr, [fp, #4]
	sub	r3, lr, #1
	str	r3, [fp, #-40]
	mov	r3, lr
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #3
	orr	r3, r3, r0, lsr #29
	lsl	r2, r0, #3
	ldr	r3, [fp, #4]
	sub	r2, r3, #1
	str	r2, [fp, #-28]
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #3
	orr	r3, r3, r0, lsr #29
	lsl	r2, r0, #3
	ldr	r3, [fp, #-48]
	str	r3, [fp, #-24]
	ldr	ip, [fp, #8]
	sub	r3, ip, #1
	str	r3, [fp, #-20]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #3
	orr	r3, r3, r0, lsr #29
	lsl	r2, r0, #3
	ldr	r3, [fp, #8]
	sub	r2, r3, #1
	str	r2, [fp, #-16]
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #3
	orr	r3, r3, r0, lsr #29
	lsl	r2, r0, #3
	ldr	r3, [fp, #-52]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-60]
	cmp	r3, #0
	and	r3, r3, #1
	rsblt	r3, r3, #0
	cmp	r3, #1
	bne	.L2
	ldr	r3, [fp, #-60]
	sub	r3, r3, #1
	str	r3, [fp, #-60]
.L2:
	ldr	r3, [fp, #-56]
	cmp	r3, #0
	and	r3, r3, #1
	rsblt	r3, r3, #0
	cmp	r3, #1
	bne	.L3
	ldr	r3, [fp, #-56]
	sub	r3, r3, #1
	str	r3, [fp, #-56]
.L3:
	mov	r3, #0
	str	r3, [fp, #-32]
	b	.L4
.L12:
	mov	r3, #0
	str	r3, [fp, #-36]
	b	.L5
.L11:
	mov	r3, #0
	str	r3, [fp, #-8]
	mov	r2, lr
	ldr	r3, [fp, #-32]
	mul	r3, r2, r3
	ldr	r2, [fp, #-24]
	add	r2, r2, r3
	ldr	r3, [fp, #-36]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, [fp, #-8]
	add	r3, r3, r2
	str	r3, [fp, #-8]
	mov	r2, lr
	ldr	r3, [fp, #-32]
	mul	r3, r2, r3
	ldr	r2, [fp, #-24]
	add	r2, r2, r3
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, [fp, #-8]
	add	r3, r3, r2
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	mov	r2, lr
	mul	r3, r2, r3
	ldr	r2, [fp, #-24]
	add	r2, r2, r3
	ldr	r3, [fp, #-36]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, [fp, #-8]
	add	r3, r3, r2
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	mov	r2, lr
	mul	r3, r2, r3
	ldr	r2, [fp, #-24]
	add	r2, r2, r3
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, [fp, #-8]
	add	r3, r3, r2
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #204
	bgt	.L6
	mov	r2, ip
	ldr	r3, [fp, #-32]
	mul	r3, r2, r3
	ldr	r2, [fp, #-12]
	add	r2, r2, r3
	ldr	r3, [fp, #-36]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	mov	r2, ip
	ldr	r3, [fp, #-32]
	mul	r3, r2, r3
	ldr	r2, [fp, #-12]
	add	r2, r2, r3
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	mov	r1, #0
	strb	r1, [r2, r3]
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	mov	r2, ip
	mul	r3, r2, r3
	ldr	r2, [fp, #-12]
	add	r2, r2, r3
	ldr	r3, [fp, #-36]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	mov	r2, ip
	mul	r3, r2, r3
	ldr	r2, [fp, #-12]
	add	r2, r2, r3
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	mov	r1, #0
	strb	r1, [r2, r3]
	b	.L7
.L6:
	ldr	r3, [fp, #-8]
	ldr	r2, .L13
	cmp	r3, r2
	bgt	.L8
	mov	r2, ip
	ldr	r3, [fp, #-32]
	mul	r3, r2, r3
	ldr	r2, [fp, #-12]
	add	r2, r2, r3
	ldr	r3, [fp, #-36]
	add	r3, r2, r3
	mvn	r2, #0
	strb	r2, [r3]
	mov	r2, ip
	ldr	r3, [fp, #-32]
	mul	r3, r2, r3
	ldr	r2, [fp, #-12]
	add	r2, r2, r3
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	mov	r1, #0
	strb	r1, [r2, r3]
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	mov	r2, ip
	mul	r3, r2, r3
	ldr	r2, [fp, #-12]
	add	r2, r2, r3
	ldr	r3, [fp, #-36]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	mov	r2, ip
	mul	r3, r2, r3
	ldr	r2, [fp, #-12]
	add	r2, r2, r3
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	mov	r1, #0
	strb	r1, [r2, r3]
	b	.L7
.L8:
	ldr	r3, [fp, #-8]
	ldr	r2, .L13+4
	cmp	r3, r2
	bgt	.L9
	mov	r2, ip
	ldr	r3, [fp, #-32]
	mul	r3, r2, r3
	ldr	r2, [fp, #-12]
	add	r2, r2, r3
	ldr	r3, [fp, #-36]
	add	r3, r2, r3
	mvn	r2, #0
	strb	r2, [r3]
	mov	r2, ip
	ldr	r3, [fp, #-32]
	mul	r3, r2, r3
	ldr	r2, [fp, #-12]
	add	r2, r2, r3
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	mov	r1, #0
	strb	r1, [r2, r3]
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	mov	r2, ip
	mul	r3, r2, r3
	ldr	r2, [fp, #-12]
	add	r2, r2, r3
	ldr	r3, [fp, #-36]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	mov	r2, ip
	mul	r3, r2, r3
	ldr	r2, [fp, #-12]
	add	r2, r2, r3
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	mvn	r1, #0
	strb	r1, [r2, r3]
	b	.L7
.L9:
	ldr	r3, [fp, #-8]
	cmp	r3, #820
	bge	.L10
	mov	r2, ip
	ldr	r3, [fp, #-32]
	mul	r3, r2, r3
	ldr	r2, [fp, #-12]
	add	r2, r2, r3
	ldr	r3, [fp, #-36]
	add	r3, r2, r3
	mvn	r2, #0
	strb	r2, [r3]
	mov	r2, ip
	ldr	r3, [fp, #-32]
	mul	r3, r2, r3
	ldr	r2, [fp, #-12]
	add	r2, r2, r3
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	mov	r1, #0
	strb	r1, [r2, r3]
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	mov	r2, ip
	mul	r3, r2, r3
	ldr	r2, [fp, #-12]
	add	r2, r2, r3
	ldr	r3, [fp, #-36]
	add	r3, r2, r3
	mvn	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	mov	r2, ip
	mul	r3, r2, r3
	ldr	r2, [fp, #-12]
	add	r2, r2, r3
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	mvn	r1, #0
	strb	r1, [r2, r3]
	b	.L7
.L10:
	mov	r2, ip
	ldr	r3, [fp, #-32]
	mul	r3, r2, r3
	ldr	r2, [fp, #-12]
	add	r2, r2, r3
	ldr	r3, [fp, #-36]
	add	r3, r2, r3
	mvn	r2, #0
	strb	r2, [r3]
	mov	r2, ip
	ldr	r3, [fp, #-32]
	mul	r3, r2, r3
	ldr	r2, [fp, #-12]
	add	r2, r2, r3
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	mvn	r1, #0
	strb	r1, [r2, r3]
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	mov	r2, ip
	mul	r3, r2, r3
	ldr	r2, [fp, #-12]
	add	r2, r2, r3
	ldr	r3, [fp, #-36]
	add	r3, r2, r3
	mvn	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	mov	r2, ip
	mul	r3, r2, r3
	ldr	r2, [fp, #-12]
	add	r2, r2, r3
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	mvn	r1, #0
	strb	r1, [r2, r3]
.L7:
	ldr	r3, [fp, #-36]
	add	r3, r3, #2
	str	r3, [fp, #-36]
.L5:
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-60]
	cmp	r2, r3
	blt	.L11
	ldr	r3, [fp, #-32]
	add	r3, r3, #2
	str	r3, [fp, #-32]
.L4:
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-56]
	cmp	r2, r3
	blt	.L12
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L14:
	.align	2
.L13:
	.word	409
	.word	614
	.size	halftone_c, .-halftone_c
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
