	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_png_write_start_row            ## -- Begin function png_write_start_row
	.p2align	4, 0x90
_png_write_start_row:                   ## @png_write_start_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	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	callq	_png_debug
	movl	4(%rbx), %edi
	movl	8(%rbx), %esi
	imull	(%rbx), %edi
	callq	_PNG_ROWBYTES
	movq	%rax, %r14
	incq	%r14
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_png_malloc
	movq	%rax, 120(%rbx)
	movq	_PNG_FILTER_VALUE_NONE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, (%rax)
	movl	12(%rbx), %eax
	movq	_PNG_FILTER_SUB@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_2
## %bb.1:
	movq	80(%rbx), %rsi
	incq	%rsi
	movq	%rbx, %rdi
	callq	_png_malloc
	movq	%rax, 112(%rbx)
	movq	_PNG_FILTER_VALUE_SUB@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, (%rax)
	movl	12(%rbx), %eax
LBB0_2:
	movq	_PNG_FILTER_AVG@GOTPCREL(%rip), %r12
	movq	_PNG_FILTER_UP@GOTPCREL(%rip), %r13
	movl	(%r13), %ecx
	orl	(%r12), %ecx
	movq	_PNG_FILTER_PAETH@GOTPCREL(%rip), %r15
	orl	(%r15), %ecx
	testl	%eax, %ecx
	je	LBB0_9
## %bb.3:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_png_malloc
	movq	%rax, 104(%rbx)
	movq	%rax, %rdi
	xorl	%esi, %esi
	movq	%r14, %rdx
	callq	_png_memset
	movl	12(%rbx), %eax
	testl	%eax, (%r13)
	je	LBB0_5
## %bb.4:
	movq	80(%rbx), %rsi
	incq	%rsi
	movq	%rbx, %rdi
	callq	_png_malloc
	movq	%rax, 96(%rbx)
	movq	_PNG_FILTER_VALUE_UP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, (%rax)
	movl	12(%rbx), %eax
LBB0_5:
	testl	%eax, (%r12)
	je	LBB0_7
## %bb.6:
	movq	80(%rbx), %rsi
	incq	%rsi
	movq	%rbx, %rdi
	callq	_png_malloc
	movq	%rax, 88(%rbx)
	movq	_PNG_FILTER_VALUE_AVG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, (%rax)
	movl	12(%rbx), %eax
LBB0_7:
	testl	%eax, (%r15)
	je	LBB0_9
## %bb.8:
	movq	80(%rbx), %rsi
	incq	%rsi
	movq	%rbx, %rdi
	callq	_png_malloc
	movq	%rax, 72(%rbx)
	movq	_PNG_FILTER_VALUE_PAETH@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, (%rax)
LBB0_9:
	movl	8(%rbx), %eax
	movl	24(%rbx), %ecx
	movl	%ecx, 20(%rbx)
	movl	%eax, 28(%rbx)
	movq	56(%rbx), %rax
	movq	%rax, 48(%rbx)
	movl	32(%rbx), %eax
	movl	%eax, 40(%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"in png_write_start_row\n"

	.comm	_PNG_FILTER_VALUE_NONE,4,2      ## @PNG_FILTER_VALUE_NONE
	.comm	_PNG_FILTER_SUB,4,2             ## @PNG_FILTER_SUB
	.comm	_PNG_FILTER_VALUE_SUB,4,2       ## @PNG_FILTER_VALUE_SUB
	.comm	_PNG_FILTER_AVG,4,2             ## @PNG_FILTER_AVG
	.comm	_PNG_FILTER_UP,4,2              ## @PNG_FILTER_UP
	.comm	_PNG_FILTER_PAETH,4,2           ## @PNG_FILTER_PAETH
	.comm	_PNG_FILTER_VALUE_UP,4,2        ## @PNG_FILTER_VALUE_UP
	.comm	_PNG_FILTER_VALUE_AVG,4,2       ## @PNG_FILTER_VALUE_AVG
	.comm	_PNG_FILTER_VALUE_PAETH,4,2     ## @PNG_FILTER_VALUE_PAETH
	.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_write_start_row            ; -- Begin function png_write_start_row
	.p2align	2
_png_write_start_row:                   ; @png_write_start_row
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	_png_debug
	ldp	w8, w9, [x19]
	mul	w0, w9, w8
	ldr	w1, [x19, #8]
	bl	_PNG_ROWBYTES
	add	x20, x0, #1
	mov	x0, x19
	mov	x1, x20
	bl	_png_malloc
	str	x0, [x19, #120]
Lloh2:
	adrp	x8, _PNG_FILTER_VALUE_NONE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _PNG_FILTER_VALUE_NONE@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	str	w8, [x0]
	ldr	w8, [x19, #12]
Lloh5:
	adrp	x9, _PNG_FILTER_SUB@GOTPAGE
Lloh6:
	ldr	x9, [x9, _PNG_FILTER_SUB@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	ldr	x8, [x19, #80]
	add	x1, x8, #1
	mov	x0, x19
	bl	_png_malloc
	str	x0, [x19, #112]
Lloh8:
	adrp	x8, _PNG_FILTER_VALUE_SUB@GOTPAGE
Lloh9:
	ldr	x8, [x8, _PNG_FILTER_VALUE_SUB@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	str	w8, [x0]
	ldr	w8, [x19, #12]
LBB0_2:
Lloh11:
	adrp	x22, _PNG_FILTER_AVG@GOTPAGE
Lloh12:
	ldr	x22, [x22, _PNG_FILTER_AVG@GOTPAGEOFF]
	ldr	w9, [x22]
Lloh13:
	adrp	x23, _PNG_FILTER_UP@GOTPAGE
Lloh14:
	ldr	x23, [x23, _PNG_FILTER_UP@GOTPAGEOFF]
	ldr	w10, [x23]
	orr	w9, w10, w9
Lloh15:
	adrp	x21, _PNG_FILTER_PAETH@GOTPAGE
Lloh16:
	ldr	x21, [x21, _PNG_FILTER_PAETH@GOTPAGEOFF]
	ldr	w10, [x21]
	orr	w9, w9, w10
	tst	w9, w8
	b.eq	LBB0_9
; %bb.3:
	mov	x0, x19
	mov	x1, x20
	bl	_png_malloc
	str	x0, [x19, #104]
	mov	w1, #0
	mov	x2, x20
	bl	_png_memset
	ldr	w8, [x19, #12]
	ldr	w9, [x23]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.4:
	ldr	x8, [x19, #80]
	add	x1, x8, #1
	mov	x0, x19
	bl	_png_malloc
	str	x0, [x19, #96]
Lloh17:
	adrp	x8, _PNG_FILTER_VALUE_UP@GOTPAGE
Lloh18:
	ldr	x8, [x8, _PNG_FILTER_VALUE_UP@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	str	w8, [x0]
	ldr	w8, [x19, #12]
LBB0_5:
	ldr	w9, [x22]
	tst	w9, w8
	b.eq	LBB0_7
; %bb.6:
	ldr	x8, [x19, #80]
	add	x1, x8, #1
	mov	x0, x19
	bl	_png_malloc
	str	x0, [x19, #88]
Lloh20:
	adrp	x8, _PNG_FILTER_VALUE_AVG@GOTPAGE
Lloh21:
	ldr	x8, [x8, _PNG_FILTER_VALUE_AVG@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	str	w8, [x0]
	ldr	w8, [x19, #12]
LBB0_7:
	ldr	w9, [x21]
	tst	w9, w8
	b.eq	LBB0_9
; %bb.8:
	ldr	x8, [x19, #80]
	add	x1, x8, #1
	mov	x0, x19
	bl	_png_malloc
	str	x0, [x19, #72]
Lloh23:
	adrp	x8, _PNG_FILTER_VALUE_PAETH@GOTPAGE
Lloh24:
	ldr	x8, [x8, _PNG_FILTER_VALUE_PAETH@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
	str	w8, [x0]
LBB0_9:
	ldr	w8, [x19, #24]
	str	w8, [x19, #20]
	ldr	w8, [x19, #8]
	str	w8, [x19, #28]
	ldr	x8, [x19, #56]
	str	x8, [x19, #48]
	ldr	w8, [x19, #32]
	str	w8, [x19, #40]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"in png_write_start_row\n"

	.comm	_PNG_FILTER_VALUE_NONE,4,2      ; @PNG_FILTER_VALUE_NONE
	.comm	_PNG_FILTER_SUB,4,2             ; @PNG_FILTER_SUB
	.comm	_PNG_FILTER_VALUE_SUB,4,2       ; @PNG_FILTER_VALUE_SUB
	.comm	_PNG_FILTER_AVG,4,2             ; @PNG_FILTER_AVG
	.comm	_PNG_FILTER_UP,4,2              ; @PNG_FILTER_UP
	.comm	_PNG_FILTER_PAETH,4,2           ; @PNG_FILTER_PAETH
	.comm	_PNG_FILTER_VALUE_UP,4,2        ; @PNG_FILTER_VALUE_UP
	.comm	_PNG_FILTER_VALUE_AVG,4,2       ; @PNG_FILTER_VALUE_AVG
	.comm	_PNG_FILTER_VALUE_PAETH,4,2     ; @PNG_FILTER_VALUE_PAETH
	.comm	_PNG_INTERLACE,4,2              ; @PNG_INTERLACE
.subsections_via_symbols
