	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_png_do_chop                    ## -- Begin function png_do_chop
	.p2align	4, 0x90
_png_do_chop:                           ## @png_do_chop
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	callq	_png_debug
	cmpl	$16, (%r14)
	jne	LBB0_10
## %bb.1:
	movq	16(%r14), %r8
	movq	8(%r14), %rax
	imulq	%r8, %rax
	testq	%rax, %rax
	jle	LBB0_9
## %bb.2:
	leaq	-1(%rax), %rsi
	movl	%eax, %edx
	andl	$7, %edx
	cmpq	$7, %rsi
	jae	LBB0_4
## %bb.3:
	movq	%rbx, %rsi
	jmp	LBB0_6
LBB0_4:
	movq	%rax, %rdi
	andq	$-8, %rdi
	movq	%rbx, %rsi
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %ecx
	movl	%ecx, (%rsi)
	movl	8(%rbx), %ecx
	movl	%ecx, 4(%rsi)
	movl	16(%rbx), %ecx
	movl	%ecx, 8(%rsi)
	movl	24(%rbx), %ecx
	movl	%ecx, 12(%rsi)
	movl	32(%rbx), %ecx
	movl	%ecx, 16(%rsi)
	movl	40(%rbx), %ecx
	movl	%ecx, 20(%rsi)
	movl	48(%rbx), %ecx
	movl	%ecx, 24(%rsi)
	movl	56(%rbx), %ecx
	movl	%ecx, 28(%rsi)
	addq	$64, %rbx
	addq	$32, %rsi
	addq	$-8, %rdi
	jne	LBB0_5
LBB0_6:
	testq	%rdx, %rdx
	je	LBB0_9
## %bb.7:
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rbx,%rdi,8), %ecx
	movl	%ecx, (%rsi,%rdi,4)
	incq	%rdi
	cmpq	%rdi, %rdx
	jne	LBB0_8
LBB0_9:
	movl	$8, (%r14)
	shlq	$3, %r8
	movq	%r8, 32(%r14)
	movl	%eax, 24(%r14)
LBB0_10:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"in png_do_chop\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_png_do_chop                    ; -- Begin function png_do_chop
	.p2align	2
_png_do_chop:                           ; @png_do_chop
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	_png_debug
	ldr	w8, [x19]
	cmp	w8, #16
	b.ne	LBB0_5
; %bb.1:
	ldp	x8, x9, [x19, #8]
	mul	x8, x9, x8
	cmp	x8, #1
	b.lt	LBB0_4
; %bb.2:
	mov	x10, x8
	mov	x11, x20
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w12, [x20], #8
	str	w12, [x11], #4
	subs	x10, x10, #1
	b.ne	LBB0_3
LBB0_4:
	mov	w10, #8
	str	w10, [x19]
	lsl	x9, x9, #3
	str	x9, [x19, #32]
	str	w8, [x19, #24]
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"in png_do_chop\n"

.subsections_via_symbols
