	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_png_write_filtered_row         ## -- Begin function png_write_filtered_row
	.p2align	4, 0x90
_png_write_filtered_row:                ## @png_write_filtered_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	%rsi, %r15
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	callq	_png_debug
	movl	(%r15), %edx
	leaq	L_.str.1(%rip), %rsi
	movl	$2, %edi
	callq	_png_debug1
	leaq	40(%rbx), %r14
	movq	%r15, 72(%rbx)
	movq	88(%rbx), %rax
	incq	%rax
	movq	%rax, 64(%rbx)
	movq	_Z_NO_FLUSH@GOTPCREL(%rip), %r12
	movq	_Z_OK@GOTPCREL(%rip), %r13
	leaq	L_.str.2(%rip), %r15
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	callq	_png_error
LBB0_5:                                 ##   in Loop: Header=BB0_1 Depth=1
	cmpq	$0, 48(%rbx)
	je	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpq	$0, 64(%rbx)
	je	LBB0_8
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r12), %esi
	movq	%r14, %rdi
	callq	_deflate
	cmpl	(%r13), %eax
	je	LBB0_5
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	(%r14), %rsi
	movq	%rbx, %rdi
	testq	%rsi, %rsi
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%r15, %rsi
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	80(%rbx), %esi
	movq	32(%rbx), %rdx
	movq	%rbx, %rdi
	callq	_png_write_IDAT
	movl	80(%rbx), %eax
	movl	%eax, 56(%rbx)
	movq	32(%rbx), %rax
	movq	%rax, 48(%rbx)
	cmpq	$0, 64(%rbx)
	jne	LBB0_1
LBB0_8:
	movq	24(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	movq	16(%rbx), %rcx
	movq	%rcx, 24(%rbx)
	movq	%rax, 16(%rbx)
LBB0_10:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_png_write_finish_row           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"in png_write_filtered_row\n"

L_.str.1:                               ## @.str.1
	.asciz	"filter = %d\n"

	.comm	_Z_NO_FLUSH,4,2                 ## @Z_NO_FLUSH
	.comm	_Z_OK,4,2                       ## @Z_OK
L_.str.2:                               ## @.str.2
	.asciz	"zlib error"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_png_write_filtered_row         ; -- Begin function png_write_filtered_row
	.p2align	2
_png_write_filtered_row:                ; @png_write_filtered_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	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	_png_debug
	ldr	w2, [x21]
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #2
	bl	_png_debug1
	add	x20, x19, #40
	ldr	x8, [x19, #88]
	add	x8, x8, #1
	stp	x8, x21, [x19, #64]
Lloh4:
	adrp	x22, _Z_NO_FLUSH@GOTPAGE
Lloh5:
	ldr	x22, [x22, _Z_NO_FLUSH@GOTPAGEOFF]
Lloh6:
	adrp	x23, _Z_OK@GOTPAGE
Lloh7:
	ldr	x23, [x23, _Z_OK@GOTPAGEOFF]
Lloh8:
	adrp	x21, l_.str.2@PAGE
Lloh9:
	add	x21, x21, l_.str.2@PAGEOFF
	b	LBB0_5
LBB0_1:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x19
	mov	x1, x21
LBB0_2:                                 ;   in Loop: Header=BB0_5 Depth=1
	bl	_png_error
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x19, #48]
	cbz	x8, LBB0_8
; %bb.4:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x19, #64]
	cbz	x8, LBB0_9
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x22]
	mov	x0, x20
	bl	_deflate
	ldr	w8, [x23]
	cmp	w0, w8
	b.eq	LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x1, [x20]
	cbz	x1, LBB0_1
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x19
	b	LBB0_2
LBB0_8:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	w1, [x19, #80]
	ldr	x2, [x19, #32]
	mov	x0, x19
	bl	_png_write_IDAT
	ldr	w8, [x19, #80]
	str	w8, [x19, #56]
	ldr	x8, [x19, #32]
	str	x8, [x19, #48]
	ldr	x8, [x19, #64]
	cbnz	x8, LBB0_5
LBB0_9:
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_11
; %bb.10:
	ldr	x9, [x19, #16]
	stp	x8, x9, [x19, #16]
LBB0_11:
	mov	x0, x19
	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
	b	_png_write_finish_row
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"in png_write_filtered_row\n"

l_.str.1:                               ; @.str.1
	.asciz	"filter = %d\n"

	.comm	_Z_NO_FLUSH,4,2                 ; @Z_NO_FLUSH
	.comm	_Z_OK,4,2                       ; @Z_OK
l_.str.2:                               ; @.str.2
	.asciz	"zlib error"

.subsections_via_symbols
