	.file	"extr_pngwtran.c_png_do_write_intrapixel.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"in png_do_write_intrapixel\n"
	.text
	.p2align 4
	.globl	png_do_write_intrapixel
	.type	png_do_write_intrapixel, @function
png_do_write_intrapixel:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	mov	edi, 1
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rsi
	lea	rsi, .LC0[rip]
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	png_debug@PLT
	mov	eax, DWORD PTR 0[rbp]
	test	DWORD PTR PNG_COLOR_MASK_COLOR[rip], eax
	je	.L1
	mov	edx, DWORD PTR 16[rbp]
	mov	rcx, QWORD PTR 8[rbp]
	cmp	edx, 8
	je	.L17
	cmp	edx, 16
	je	.L18
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L17:
	.cfi_restore_state
	cmp	eax, DWORD PTR PNG_COLOR_TYPE_RGB[rip]
	je	.L8
	cmp	eax, DWORD PTR PNG_COLOR_TYPE_RGB_ALPHA[rip]
	mov	edi, 4
	jne	.L1
.L4:
	test	rcx, rcx
	jle	.L1
	sal	rdi, 2
	xor	edx, edx
	.p2align 4,,10
	.p2align 3
.L5:
	mov	esi, DWORD PTR 4[rbx]
	mov	eax, DWORD PTR [rbx]
	add	rdx, 1
	sub	eax, esi
	and	eax, 255
	mov	DWORD PTR [rbx], eax
	mov	eax, DWORD PTR 8[rbx]
	sub	eax, esi
	and	eax, 255
	mov	DWORD PTR 8[rbx], eax
	add	rbx, rdi
	cmp	rcx, rdx
	jne	.L5
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L18:
	.cfi_restore_state
	cmp	eax, DWORD PTR PNG_COLOR_TYPE_RGB[rip]
	je	.L9
	cmp	eax, DWORD PTR PNG_COLOR_TYPE_RGB_ALPHA[rip]
	mov	r8d, 8
	jne	.L1
.L6:
	test	rcx, rcx
	jle	.L1
	sal	r8, 2
	xor	edi, edi
	.p2align 4,,10
	.p2align 3
.L7:
	mov	edx, DWORD PTR [rbx]
	mov	esi, DWORD PTR 8[rbx]
	add	rdi, 1
	mov	eax, DWORD PTR 16[rbx]
	sal	esi, 8
	sal	edx, 8
	or	esi, DWORD PTR 12[rbx]
	or	edx, DWORD PTR 4[rbx]
	sub	edx, esi
	sal	eax, 8
	or	eax, DWORD PTR 20[rbx]
	sub	eax, esi
	movzx	esi, dh
	movzx	edx, dl
	mov	DWORD PTR 4[rbx], edx
	movzx	edx, ah
	movzx	eax, al
	mov	DWORD PTR [rbx], esi
	mov	DWORD PTR 16[rbx], edx
	mov	DWORD PTR 20[rbx], eax
	add	rbx, r8
	cmp	rcx, rdi
	jne	.L7
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L8:
	mov	edi, 3
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L9:
	mov	r8d, 6
	jmp	.L6
	.cfi_endproc
.LFE0:
	.size	png_do_write_intrapixel, .-png_do_write_intrapixel
	.comm	PNG_COLOR_TYPE_RGB_ALPHA,4,4
	.comm	PNG_COLOR_TYPE_RGB,4,4
	.comm	PNG_COLOR_MASK_COLOR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.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, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_pngwtran.c_png_do_write_intrapixel.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"in png_do_write_intrapixel\012\000"
	.text
	.align	2
	.global	png_do_write_intrapixel
	.syntax unified
	.arm
	.fpu softvfp
	.type	png_do_write_intrapixel, %function
png_do_write_intrapixel:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r0
	mov	r4, r1
	mov	r0, #1
	ldr	r1, .L21
	bl	png_debug
	ldr	r2, .L21+4
	ldr	r3, [r5]
	ldr	r2, [r2]
	tst	r3, r2
	popeq	{r4, r5, r6, pc}
	ldmib	r5, {r1, r2}
	cmp	r2, #8
	beq	.L20
	cmp	r2, #16
	popne	{r4, r5, r6, pc}
	ldr	r2, .L21+8
	ldr	r2, [r2]
	cmp	r3, r2
	beq	.L9
	ldr	r2, .L21+12
	ldr	r2, [r2]
	cmp	r3, r2
	moveq	lr, #8
	popne	{r4, r5, r6, pc}
.L6:
	cmp	r1, #0
	pople	{r4, r5, r6, pc}
	mov	ip, #0
	lsl	lr, lr, #2
.L7:
	ldr	r3, [r4, #8]
	ldr	r0, [r4, #12]
	ldr	r5, [r4, #16]
	orr	r0, r0, r3, lsl #8
	ldr	r6, [r4]
	ldr	r2, [r4, #4]
	ldr	r3, [r4, #20]
	orr	r2, r2, r6, lsl #8
	orr	r3, r3, r5, lsl #8
	sub	r2, r2, r0
	sub	r3, r3, r0
	asr	r5, r2, #8
	asr	r0, r3, #8
	add	ip, ip, #1
	and	r5, r5, #255
	and	r2, r2, #255
	and	r0, r0, #255
	and	r3, r3, #255
	cmp	r1, ip
	str	r5, [r4]
	str	r2, [r4, #4]
	str	r0, [r4, #16]
	str	r3, [r4, #20]
	add	r4, r4, lr
	bne	.L7
	pop	{r4, r5, r6, pc}
.L20:
	ldr	r2, .L21+8
	ldr	r2, [r2]
	cmp	r3, r2
	beq	.L8
	ldr	r2, .L21+12
	ldr	r2, [r2]
	cmp	r3, r2
	moveq	lr, #4
	popne	{r4, r5, r6, pc}
.L4:
	cmp	r1, #0
	pople	{r4, r5, r6, pc}
	mov	r0, #0
	lsl	lr, lr, #2
.L5:
	ldr	r3, [r4, #8]
	ldm	r4, {r2, ip}
	add	r0, r0, #1
	sub	r2, r2, ip
	sub	r3, r3, ip
	and	r2, r2, #255
	and	r3, r3, #255
	cmp	r1, r0
	str	r2, [r4]
	str	r3, [r4, #8]
	add	r4, r4, lr
	bne	.L5
	pop	{r4, r5, r6, pc}
.L8:
	mov	lr, #3
	b	.L4
.L9:
	mov	lr, #6
	b	.L6
.L22:
	.align	2
.L21:
	.word	.LC0
	.word	PNG_COLOR_MASK_COLOR
	.word	PNG_COLOR_TYPE_RGB
	.word	PNG_COLOR_TYPE_RGB_ALPHA
	.size	png_do_write_intrapixel, .-png_do_write_intrapixel
	.comm	PNG_COLOR_TYPE_RGB_ALPHA,4,4
	.comm	PNG_COLOR_TYPE_RGB,4,4
	.comm	PNG_COLOR_MASK_COLOR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
