	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_png_push_process_row           ## -- Begin function png_push_process_row
	.p2align	4, 0x90
_png_push_process_row:                  ## @png_push_process_row
	.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
	subq	$32, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movl	76(%rdi), %esi
	movdqu	64(%rdi), %xmm0
	pshufd	$147, %xmm0, %xmm0              ## xmm0 = xmm0[3,0,1,2]
	movdqu	%xmm0, -32(%rbp)
	movq	(%rdi), %rdi
	movq	%rdi, -48(%rbp)
	callq	_PNG_ROWBYTES
	movq	%rax, %r14
	movq	%rax, -40(%rbp)
	movq	48(%rbx), %rdx
	movl	(%rdx), %r8d
	movq	_PNG_FILTER_VALUE_NONE@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r8d
	jle	LBB0_4
## %bb.1:
	movq	_PNG_FILTER_VALUE_LAST@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r8d
	jge	LBB0_3
## %bb.2:
	addq	$4, %rdx
	movq	56(%rbx), %rcx
	incq	%rcx
	leaq	-48(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_png_read_filter_row
	movq	-40(%rbp), %r14
	jmp	LBB0_4
LBB0_3:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_png_error
LBB0_4:
	movq	48(%rbx), %rsi
	movq	56(%rbx), %rdi
	incq	%r14
	movq	%r14, %rdx
	callq	_memcpy
	movq	16(%rbx), %rcx
	movq	-48(%rbp), %rax
	testq	%rcx, %rcx
	je	LBB0_5
## %bb.7:
	cmpq	%rax, %rcx
	je	LBB0_10
## %bb.8:
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_9
LBB0_5:
	movq	%rax, 16(%rbx)
	cmpq	24(%rbx), %rax
	jle	LBB0_10
## %bb.6:
	leaq	L_.str.1(%rip), %rsi
LBB0_9:
	movq	%rbx, %rdi
	callq	_png_error
LBB0_10:
	movq	48(%rbx), %rsi
	addq	$4, %rsi
	movq	%rbx, %rdi
	callq	_png_push_have_row
	movq	%rbx, %rdi
	callq	_png_read_push_finish_row
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PNG_FILTER_VALUE_NONE,4,2      ## @PNG_FILTER_VALUE_NONE
	.comm	_PNG_FILTER_VALUE_LAST,4,2      ## @PNG_FILTER_VALUE_LAST
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"bad adaptive filter value"

L_.str.1:                               ## @.str.1
	.asciz	"progressive row overflow"

L_.str.2:                               ## @.str.2
	.asciz	"internal progressive row size calculation error"

	.comm	_PNG_INTERLACE,4,2              ## @PNG_INTERLACE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_png_push_process_row           ; -- Begin function png_push_process_row
	.p2align	2
_png_push_process_row:                  ; @png_push_process_row
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldp	w8, w1, [x0, #72]
	str	w1, [sp, #16]
	str	w8, [sp, #28]
	ldr	d0, [x0, #64]
	stur	d0, [sp, #20]
	ldr	x0, [x0]
	str	x0, [sp]
	bl	_PNG_ROWBYTES
	mov	x20, x0
	str	x0, [sp, #8]
	ldr	x8, [x19, #48]
	ldr	w4, [x8]
Lloh0:
	adrp	x9, _PNG_FILTER_VALUE_NONE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PNG_FILTER_VALUE_NONE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w4, w9
	b.le	LBB0_4
; %bb.1:
Lloh3:
	adrp	x9, _PNG_FILTER_VALUE_LAST@GOTPAGE
Lloh4:
	ldr	x9, [x9, _PNG_FILTER_VALUE_LAST@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w4, w9
	b.ge	LBB0_3
; %bb.2:
	add	x2, x8, #4
	ldr	x8, [x19, #56]
	add	x3, x8, #1
	mov	x1, sp
	mov	x0, x19
	bl	_png_read_filter_row
	ldr	x20, [sp, #8]
	b	LBB0_4
LBB0_3:
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_png_error
LBB0_4:
	ldp	x1, x0, [x19, #48]
	add	x2, x20, #1
	bl	_memcpy
	ldr	x9, [x19, #16]
	ldr	x8, [sp]
	cbz	x9, LBB0_7
; %bb.5:
	cmp	x9, x8
	b.eq	LBB0_10
; %bb.6:
Lloh8:
	adrp	x1, l_.str.2@PAGE
Lloh9:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_9
LBB0_7:
	str	x8, [x19, #16]
	ldr	x9, [x19, #24]
	cmp	x8, x9
	b.le	LBB0_10
; %bb.8:
Lloh10:
	adrp	x1, l_.str.1@PAGE
Lloh11:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_9:
	mov	x0, x19
	bl	_png_error
LBB0_10:
	ldr	x8, [x19, #48]
	add	x1, x8, #4
	mov	x0, x19
	bl	_png_push_have_row
	mov	x0, x19
	bl	_png_read_push_finish_row
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_PNG_FILTER_VALUE_NONE,4,2      ; @PNG_FILTER_VALUE_NONE
	.comm	_PNG_FILTER_VALUE_LAST,4,2      ; @PNG_FILTER_VALUE_LAST
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"bad adaptive filter value"

l_.str.1:                               ; @.str.1
	.asciz	"progressive row overflow"

l_.str.2:                               ; @.str.2
	.asciz	"internal progressive row size calculation error"

	.comm	_PNG_INTERLACE,4,2              ; @PNG_INTERLACE
.subsections_via_symbols
