	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function png_do_chop
_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_5
## %bb.1:
	movslq	4(%r14), %rax
	testq	%rax, %rax
	jle	LBB0_4
## %bb.2:
	leaq	(%rbx,%rax,4), %rax
	movq	%rbx, %rcx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %edx
	movl	%edx, (%rcx)
	addq	$4, %rcx
	addq	$8, %rbx
	cmpq	%rax, %rbx
	jb	LBB0_3
LBB0_4:
	movl	$8, (%r14)
	movslq	8(%r14), %rax
	movq	%rax, %rcx
	shlq	$3, %rcx
	movq	%rcx, 16(%r14)
	movl	12(%r14), %ecx
	imull	%eax, %ecx
	movl	%ecx, 4(%r14)
LBB0_5:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"in png_do_chop"

	.no_dead_strip	_png_do_chop
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function png_do_chop
_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:
	ldrsw	x8, [x19, #4]
	cmp	w8, #1
	b.lt	LBB0_4
; %bb.2:
	add	x8, x20, x8, lsl #2
	mov	x9, x20
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x20], #8
	str	w10, [x9], #4
	cmp	x20, x8
	b.lo	LBB0_3
LBB0_4:
	mov	w8, #8
	ldp	w9, w10, [x19, #8]
                                        ; kill: def $w9 killed $w9 def $x9
	sxtw	x9, w9
	lsl	x11, x9, #3
	str	x11, [x19, #16]
	mul	w9, w10, w9
	stp	w8, w9, [x19]
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"

	.no_dead_strip	_png_do_chop
.subsections_via_symbols
