	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function png_do_unshift
LCPI0_0:
	.long	85                              ## 0x55
	.long	85                              ## 0x55
	.long	85                              ## 0x55
	.long	85                              ## 0x55
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_png_do_unshift
	.p2align	4, 0x90
_png_do_unshift:                        ## @png_do_unshift
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	callq	_png_debug
	movl	(%r14), %ecx
	movq	_PNG_COLOR_TYPE_PALETTE@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ecx
	je	LBB0_46
## %bb.1:
	movl	8(%r14), %eax
	movq	_PNG_COLOR_MASK_COLOR@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	je	LBB0_3
## %bb.2:
	movl	(%r15), %esi
	movl	%eax, %edx
	subl	4(%r15), %edx
	movl	%edx, -44(%rbp)
	movl	%eax, %edx
	subl	8(%r15), %edx
	movl	%edx, -40(%rbp)
	movl	$3, %r9d
	jmp	LBB0_4
LBB0_3:
	movl	12(%r15), %esi
	movl	$1, %r9d
LBB0_4:
	movl	4(%r14), %r8d
	movl	%eax, %edx
	subl	%esi, %edx
	movl	%edx, -48(%rbp)
	movq	_PNG_COLOR_MASK_ALPHA@GOTPCREL(%rip), %rsi
	testl	%ecx, (%rsi)
	je	LBB0_6
## %bb.5:
	movl	%eax, %ecx
	subl	16(%r15), %ecx
	movl	%r9d, %esi
	incl	%r9d
	movl	%ecx, -48(%rbp,%rsi,4)
LBB0_6:
	xorl	%esi, %esi
	xorl	%ecx, %ecx
	testl	%edx, %edx
	setg	%cl
	cmovlel	%esi, %edx
	movl	%edx, -48(%rbp)
	cmpl	$1, %r9d
	je	LBB0_10
## %bb.7:
	movl	-44(%rbp), %edx
	testl	%edx, %edx
	cmovgl	%edx, %esi
	movl	%esi, -44(%rbp)
	movl	$1, %esi
	cmovgl	%esi, %ecx
	cmpl	$2, %r9d
	je	LBB0_10
## %bb.8:
	movl	-40(%rbp), %edi
	xorl	%edx, %edx
	testl	%edi, %edi
	cmovlel	%edx, %edi
	movl	%edi, -40(%rbp)
	cmovgl	%esi, %ecx
	cmpl	$3, %r9d
	je	LBB0_10
## %bb.9:
	movl	-36(%rbp), %esi
	testl	%esi, %esi
	cmovgl	%esi, %edx
	movl	%edx, -36(%rbp)
	movl	$1, %edx
	cmovgl	%edx, %ecx
LBB0_10:
	testl	%ecx, %ecx
	je	LBB0_46
## %bb.11:
	addl	$-2, %eax
	rorl	%eax
	cmpl	$7, %eax
	ja	LBB0_46
## %bb.12:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_13:
	movl	12(%r14), %eax
	testl	%eax, %eax
	jle	LBB0_46
## %bb.14:
	leal	-1(%rax), %r8d
	xorl	%ecx, %ecx
	cmpl	$7, %r8d
	jb	LBB0_23
## %bb.15:
	incq	%r8
	movq	%r8, %rcx
	andq	$-8, %rcx
	leaq	-8(%rcx), %rsi
	movq	%rsi, %rdx
	shrq	$3, %rdx
	incq	%rdx
	testq	%rsi, %rsi
	je	LBB0_16
## %bb.17:
	movq	%rdx, %rdi
	andq	$-2, %rdi
	xorl	%esi, %esi
	movdqa	LCPI0_0(%rip), %xmm0            ## xmm0 = [85,85,85,85]
	.p2align	4, 0x90
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	movdqu	(%rbx,%rsi,4), %xmm1
	movdqu	16(%rbx,%rsi,4), %xmm2
	movdqu	32(%rbx,%rsi,4), %xmm3
	movdqu	48(%rbx,%rsi,4), %xmm4
	psrld	$1, %xmm1
	psrld	$1, %xmm2
	pand	%xmm0, %xmm1
	pand	%xmm0, %xmm2
	movdqu	%xmm1, (%rbx,%rsi,4)
	movdqu	%xmm2, 16(%rbx,%rsi,4)
	psrld	$1, %xmm3
	psrld	$1, %xmm4
	pand	%xmm0, %xmm3
	pand	%xmm0, %xmm4
	movdqu	%xmm3, 32(%rbx,%rsi,4)
	movdqu	%xmm4, 48(%rbx,%rsi,4)
	addq	$16, %rsi
	addq	$-2, %rdi
	jne	LBB0_18
	jmp	LBB0_19
LBB0_25:
	movl	12(%r14), %eax
	movl	-48(%rbp), %ecx
	movl	$240, %edx
	shrl	%cl, %edx
	movl	$15, %esi
	shrl	%cl, %esi
	testl	%eax, %eax
	jle	LBB0_46
## %bb.26:
	andl	$-16, %edx
	orl	%esi, %edx
	leal	-1(%rax), %r8d
	xorl	%r9d, %r9d
	cmpl	$7, %r8d
	jb	LBB0_35
## %bb.27:
	incq	%r8
	movq	%r8, %r9
	andq	$-8, %r9
	movd	%ecx, %xmm1
	movd	%edx, %xmm0
	pshufd	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0]
	leaq	-8(%r9), %rsi
	movq	%rsi, %r10
	shrq	$3, %r10
	incq	%r10
	pmovzxdq	%xmm1, %xmm1                    ## xmm1 = xmm1[0],zero,xmm1[1],zero
	testq	%rsi, %rsi
	je	LBB0_28
## %bb.29:
	movq	%r10, %rsi
	andq	$-2, %rsi
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_30:                                ## =>This Inner Loop Header: Depth=1
	movdqu	(%rbx,%rdi,4), %xmm2
	movdqu	16(%rbx,%rdi,4), %xmm3
	movdqu	32(%rbx,%rdi,4), %xmm4
	movdqu	48(%rbx,%rdi,4), %xmm5
	psrad	%xmm1, %xmm2
	psrad	%xmm1, %xmm3
	pand	%xmm0, %xmm2
	pand	%xmm0, %xmm3
	movdqu	%xmm2, (%rbx,%rdi,4)
	movdqu	%xmm3, 16(%rbx,%rdi,4)
	psrad	%xmm1, %xmm4
	psrad	%xmm1, %xmm5
	pand	%xmm0, %xmm4
	pand	%xmm0, %xmm5
	movdqu	%xmm4, 32(%rbx,%rdi,4)
	movdqu	%xmm5, 48(%rbx,%rdi,4)
	addq	$16, %rdi
	addq	$-2, %rsi
	jne	LBB0_30
	jmp	LBB0_31
LBB0_37:
	imull	%r9d, %r8d
	testl	%r8d, %r8d
	jle	LBB0_46
## %bb.38:
	xorl	%esi, %esi
	cmpl	$1, %r8d
	je	LBB0_41
## %bb.39:
	movl	%r8d, %edi
	andl	$-2, %edi
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_40:                                ## =>This Inner Loop Header: Depth=1
	movl	%esi, %eax
	xorl	%edx, %edx
	divl	%r9d
                                        ## kill: def $edx killed $edx def $rdx
	movzbl	-48(%rbp,%rdx,4), %ecx
	sarl	%cl, (%rbx)
	leal	1(%rsi), %eax
	xorl	%edx, %edx
	divl	%r9d
                                        ## kill: def $edx killed $edx def $rdx
	movzbl	-48(%rbp,%rdx,4), %ecx
	sarl	%cl, 4(%rbx)
	addq	$8, %rbx
	addl	$2, %esi
	cmpl	%esi, %edi
	jne	LBB0_40
LBB0_41:
	testb	$1, %r8b
	je	LBB0_46
## %bb.42:
	movl	%esi, %eax
	xorl	%edx, %edx
	divl	%r9d
                                        ## kill: def $edx killed $edx def $rdx
	movb	-48(%rbp,%rdx,4), %cl
	sarl	%cl, (%rbx)
	jmp	LBB0_46
LBB0_43:
	imull	%r9d, %r8d
	testl	%r8d, %r8d
	jle	LBB0_46
## %bb.44:
	movl	%r8d, %r8d
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_45:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rbx,%rsi,8), %edi
	shll	$8, %edi
	addl	4(%rbx,%rsi,8), %edi
	movl	%esi, %eax
	xorl	%edx, %edx
	divl	%r9d
                                        ## kill: def $edx killed $edx def $rdx
	movzbl	-48(%rbp,%rdx,4), %ecx
	sarl	%cl, %edi
	movzbl	%dil, %eax
	sarl	$8, %edi
	movl	%edi, (%rbx,%rsi,8)
	movl	%eax, 4(%rbx,%rsi,8)
	incq	%rsi
	cmpl	%esi, %r8d
	jne	LBB0_45
	jmp	LBB0_46
LBB0_16:
	xorl	%esi, %esi
LBB0_19:
	testb	$1, %dl
	je	LBB0_21
## %bb.20:
	movdqu	(%rbx,%rsi,4), %xmm0
	movdqu	16(%rbx,%rsi,4), %xmm1
	psrld	$1, %xmm0
	psrld	$1, %xmm1
	movdqa	LCPI0_0(%rip), %xmm2            ## xmm2 = [85,85,85,85]
	pand	%xmm2, %xmm0
	pand	%xmm2, %xmm1
	movdqu	%xmm0, (%rbx,%rsi,4)
	movdqu	%xmm1, 16(%rbx,%rsi,4)
LBB0_21:
	cmpq	%rcx, %r8
	je	LBB0_46
## %bb.22:
	leaq	(%rbx,%rcx,4), %rbx
LBB0_23:
	subl	%ecx, %eax
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_24:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rbx,%rcx,4), %edx
	shrl	%edx
	andl	$85, %edx
	movl	%edx, (%rbx,%rcx,4)
	incq	%rcx
	cmpl	%ecx, %eax
	jne	LBB0_24
	jmp	LBB0_46
LBB0_28:
	xorl	%edi, %edi
LBB0_31:
	testb	$1, %r10b
	je	LBB0_33
## %bb.32:
	movdqu	(%rbx,%rdi,4), %xmm2
	movdqu	16(%rbx,%rdi,4), %xmm3
	psrad	%xmm1, %xmm2
	psrad	%xmm1, %xmm3
	pand	%xmm0, %xmm2
	pand	%xmm0, %xmm3
	movdqu	%xmm2, (%rbx,%rdi,4)
	movdqu	%xmm3, 16(%rbx,%rdi,4)
LBB0_33:
	cmpq	%r9, %r8
	je	LBB0_46
## %bb.34:
	leaq	(%rbx,%r9,4), %rbx
LBB0_35:
	subl	%r9d, %eax
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_36:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rbx,%rsi,4), %edi
	sarl	%cl, %edi
	andl	%edx, %edi
	movl	%edi, (%rbx,%rsi,4)
	incq	%rsi
	cmpl	%esi, %eax
	jne	LBB0_36
LBB0_46:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_48
## %bb.47:
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_48:
	callq	___stack_chk_fail
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_25, LBB0_25-LJTI0_0
.set L0_0_set_46, LBB0_46-LJTI0_0
.set L0_0_set_37, LBB0_37-LJTI0_0
.set L0_0_set_43, LBB0_43-LJTI0_0
LJTI0_0:
	.long	L0_0_set_13
	.long	L0_0_set_25
	.long	L0_0_set_46
	.long	L0_0_set_37
	.long	L0_0_set_46
	.long	L0_0_set_46
	.long	L0_0_set_46
	.long	L0_0_set_43
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"in png_do_unshift\n"

	.comm	_PNG_COLOR_TYPE_PALETTE,4,2     ## @PNG_COLOR_TYPE_PALETTE
	.comm	_PNG_COLOR_MASK_COLOR,4,2       ## @PNG_COLOR_MASK_COLOR
	.comm	_PNG_COLOR_MASK_ALPHA,4,2       ## @PNG_COLOR_MASK_ALPHA
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_png_do_unshift                 ; -- Begin function png_do_unshift
	.p2align	2
_png_do_unshift:                        ; @png_do_unshift
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x21, x2
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	_png_debug
	ldr	w11, [x20]
Lloh5:
	adrp	x8, _PNG_COLOR_TYPE_PALETTE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _PNG_COLOR_TYPE_PALETTE@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	cmp	w11, w8
	b.eq	LBB0_40
; %bb.1:
Lloh8:
	adrp	x8, _PNG_COLOR_MASK_COLOR@GOTPAGE
Lloh9:
	ldr	x8, [x8, _PNG_COLOR_MASK_COLOR@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	ldr	w9, [x20, #8]
	tst	w8, w11
	b.eq	LBB0_3
; %bb.2:
	ldr	w12, [x21]
	ldur	d0, [x21, #4]
	dup.2s	v1, w9
	sub.2s	v0, v1, v0
	stur	d0, [sp, #12]
	mov	w8, #3
	b	LBB0_4
LBB0_3:
	ldr	w12, [x21, #12]
	mov	w8, #1
LBB0_4:
	ldr	w10, [x20, #4]
	sub	w12, w9, w12
	str	w12, [sp, #8]
Lloh11:
	adrp	x13, _PNG_COLOR_MASK_ALPHA@GOTPAGE
Lloh12:
	ldr	x13, [x13, _PNG_COLOR_MASK_ALPHA@GOTPAGEOFF]
Lloh13:
	ldr	w13, [x13]
	tst	w13, w11
	b.eq	LBB0_6
; %bb.5:
	ldr	w11, [x21, #16]
	sub	w11, w9, w11
	add	x13, sp, #8
	str	w11, [x13, w8, uxtw #2]
	add	w8, w8, #1
LBB0_6:
	cmp	w12, #0
	cset	w11, gt
	cmp	w12, #1
	csel	w12, wzr, w12, lt
	str	w12, [sp, #8]
	cmp	w8, #1
	b.eq	LBB0_10
; %bb.7:
	ldr	w12, [sp, #12]
	cmp	w12, #1
	csel	w12, wzr, w12, lt
	str	w12, [sp, #12]
	csinc	w11, w11, wzr, lt
	cmp	w8, #2
	b.eq	LBB0_10
; %bb.8:
	ldr	w12, [sp, #16]
	cmp	w12, #1
	csel	w12, wzr, w12, lt
	str	w12, [sp, #16]
	csinc	w11, w11, wzr, lt
	cmp	w8, #3
	b.eq	LBB0_10
; %bb.9:
	ldr	w12, [sp, #20]
	cmp	w12, #1
	csel	w12, wzr, w12, lt
	str	w12, [sp, #20]
	csinc	w11, w11, wzr, lt
LBB0_10:
	cbz	w11, LBB0_40
; %bb.11:
	sub	w9, w9, #2
	ror	w9, w9, #1
	cmp	w9, #7
	b.hi	LBB0_40
; %bb.12:
Lloh14:
	adrp	x11, lJTI0_0@PAGE
Lloh15:
	add	x11, x11, lJTI0_0@PAGEOFF
	adr	x12, LBB0_13
	ldrb	w13, [x11, x9]
	add	x12, x12, x13, lsl #2
	br	x12
LBB0_13:
	ldr	w9, [x20, #12]
	subs	w8, w9, #1
	b.lt	LBB0_40
; %bb.14:
	cmp	w8, #15
	b.hs	LBB0_25
; %bb.15:
	mov	w10, #0
	mov	x8, x19
	b	LBB0_28
LBB0_16:
	ldr	w10, [x20, #12]
	subs	w11, w10, #1
	b.lt	LBB0_40
; %bb.17:
	ldr	w8, [sp, #8]
	mov	w9, #240
	lsr	w9, w9, w8
	and	w9, w9, #0xf0
	mov	w12, #15
	lsr	w12, w12, w8
	orr	w9, w9, w12
	cmp	w11, #15
	b.hs	LBB0_30
; %bb.18:
	mov	w12, #0
	mov	x11, x19
	b	LBB0_33
LBB0_19:
	mul	w9, w8, w10
	subs	w10, w9, #1
	b.lt	LBB0_40
; %bb.20:
	cmp	w10, #3
	b.hs	LBB0_35
; %bb.21:
	mov	w10, #0
	mov	x11, x19
	b	LBB0_38
LBB0_22:
	mul	w9, w8, w10
	cmp	w9, #1
	b.lt	LBB0_40
; %bb.23:
	mov	w10, #0
	add	x11, sp, #8
LBB0_24:                                ; =>This Inner Loop Header: Depth=1
	ldp	w12, w13, [x19]
	add	w12, w13, w12, lsl #8
	udiv	w13, w10, w8
	msub	w13, w13, w8, w10
	ldr	w13, [x11, w13, uxtw #2]
	asr	w12, w12, w13
	asr	w13, w12, #8
	and	w12, w12, #0xff
	stp	w13, w12, [x19], #8
	add	w10, w10, #1
	cmp	w9, w10
	b.ne	LBB0_24
	b	LBB0_40
LBB0_25:
	add	x11, x8, #1
	and	x10, x11, #0x1fffffff0
	add	x8, x19, x10, lsl #2
	add	x12, x19, #32
	movi.4s	v0, #85
	mov	x13, x10
LBB0_26:                                ; =>This Inner Loop Header: Depth=1
	ldp	q1, q2, [x12, #-32]
	ldp	q3, q4, [x12]
	ushr.4s	v1, v1, #1
	ushr.4s	v2, v2, #1
	ushr.4s	v3, v3, #1
	ushr.4s	v4, v4, #1
	and.16b	v1, v1, v0
	and.16b	v2, v2, v0
	and.16b	v3, v3, v0
	and.16b	v4, v4, v0
	stp	q1, q2, [x12, #-32]
	stp	q3, q4, [x12], #64
	subs	x13, x13, #16
	b.ne	LBB0_26
; %bb.27:
	cmp	x11, x10
	b.eq	LBB0_40
LBB0_28:
	sub	w9, w9, w10
	mov	w10, #85
LBB0_29:                                ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x8]
	and	w11, w10, w11, lsr #1
	str	w11, [x8], #4
	subs	w9, w9, #1
	b.ne	LBB0_29
	b	LBB0_40
LBB0_30:
	add	x13, x11, #1
	and	x12, x13, #0x1fffffff0
	dup.4s	v1, w8
	add	x11, x19, x12, lsl #2
	dup.4s	v0, w9
	add	x14, x19, #32
	neg.4s	v1, v1
	mov	x15, x12
LBB0_31:                                ; =>This Inner Loop Header: Depth=1
	ldp	q2, q3, [x14, #-32]
	ldp	q4, q5, [x14]
	sshl.4s	v2, v2, v1
	sshl.4s	v3, v3, v1
	sshl.4s	v4, v4, v1
	sshl.4s	v5, v5, v1
	and.16b	v2, v2, v0
	and.16b	v3, v3, v0
	and.16b	v4, v4, v0
	and.16b	v5, v5, v0
	stp	q2, q3, [x14, #-32]
	stp	q4, q5, [x14], #64
	subs	x15, x15, #16
	b.ne	LBB0_31
; %bb.32:
	cmp	x13, x12
	b.eq	LBB0_40
LBB0_33:
	sub	w10, w10, w12
LBB0_34:                                ; =>This Inner Loop Header: Depth=1
	ldr	w12, [x11]
	asr	w12, w12, w8
	and	w12, w12, w9
	str	w12, [x11], #4
	subs	w10, w10, #1
	b.ne	LBB0_34
	b	LBB0_40
LBB0_35:
	mov	x12, #0
	add	x13, x10, #1
	and	x10, x13, #0x1fffffffc
	add	x11, x19, x10, lsl #2
	add	x14, x19, #8
	add	x15, sp, #8
LBB0_36:                                ; =>This Inner Loop Header: Depth=1
	add	w16, w12, #1
	add	w17, w12, #2
	add	w0, w12, #3
	udiv	w1, w12, w8
	msub	w1, w1, w8, w12
	udiv	w2, w16, w8
	msub	w16, w2, w8, w16
	udiv	w2, w17, w8
	ldr	w1, [x15, w1, uxtw #2]
	msub	w17, w2, w8, w17
	ldr	w16, [x15, w16, uxtw #2]
	ldr	w17, [x15, w17, uxtw #2]
	udiv	w2, w0, w8
	msub	w0, w2, w8, w0
	ldr	w0, [x15, w0, uxtw #2]
	ldp	w2, w3, [x14, #-8]
	ldp	w4, w5, [x14]
	asr	w1, w2, w1
	asr	w16, w3, w16
	asr	w17, w4, w17
	asr	w0, w5, w0
	stp	w1, w16, [x14, #-8]
	stp	w17, w0, [x14], #16
	add	x12, x12, #4
	cmp	x10, x12
	b.ne	LBB0_36
; %bb.37:
	cmp	x13, x10
	b.eq	LBB0_40
LBB0_38:
	add	x12, sp, #8
LBB0_39:                                ; =>This Inner Loop Header: Depth=1
	udiv	w13, w10, w8
	msub	w13, w13, w8, w10
	ldr	w13, [x12, w13, uxtw #2]
	ldr	w14, [x11]
	asr	w13, w14, w13
	str	w13, [x11], #4
	add	w10, w10, #1
	cmp	w9, w10
	b.ne	LBB0_39
LBB0_40:
	ldr	x8, [sp, #24]
Lloh16:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh17:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_42
; %bb.41:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_42:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_13-LBB0_13)>>2
	.byte	(LBB0_16-LBB0_13)>>2
	.byte	(LBB0_40-LBB0_13)>>2
	.byte	(LBB0_19-LBB0_13)>>2
	.byte	(LBB0_40-LBB0_13)>>2
	.byte	(LBB0_40-LBB0_13)>>2
	.byte	(LBB0_40-LBB0_13)>>2
	.byte	(LBB0_22-LBB0_13)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"in png_do_unshift\n"

	.comm	_PNG_COLOR_TYPE_PALETTE,4,2     ; @PNG_COLOR_TYPE_PALETTE
	.comm	_PNG_COLOR_MASK_COLOR,4,2       ; @PNG_COLOR_MASK_COLOR
	.comm	_PNG_COLOR_MASK_ALPHA,4,2       ; @PNG_COLOR_MASK_ALPHA
.subsections_via_symbols
