	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function png_do_read_filler
_png_do_read_filler:                    ## @png_do_read_filler
	.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
	movl	%ecx, %r12d
	movl	%edx, %r15d
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movslq	(%rdi), %r13
	movl	%r13d, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	callq	_png_debug
	movq	8(%r14), %rax
	movq	_PNG_COLOR_TYPE_GRAY@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_20
## %bb.1:
	cmpl	$8, 16(%r14)
	jne	LBB0_38
## %bb.2:
	movq	_PNG_FLAG_FILLER_AFTER@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	je	LBB0_11
## %bb.3:
	leaq	(%rbx,%r13,4), %rax
	leaq	(%rax,%r13,4), %rsi
	movl	$1, %ecx
	movl	$16, %r8d
	movl	$2, %r9d
	movq	-48(%rbp), %r11                 ## 8-byte Reload
	cmpl	$2, %r11d
	jl	LBB0_29
## %bb.4:
	movl	%r11d, %edx
	decl	%edx
	leal	-2(%r13), %r10d
	movl	%edx, %edi
	andl	$3, %edi
	cmpl	$3, %r10d
	jb	LBB0_8
## %bb.5:
	andl	$-4, %edx
	leaq	(,%r13,8), %rax
	negq	%rax
	shlq	$2, %r13
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r15d, -4(%rbx,%r13,2)
	movl	-4(%rbx,%r13), %esi
	movl	%esi, -8(%rbx,%r13,2)
	movl	%r15d, -12(%rbx,%r13,2)
	movl	-8(%rbx,%r13), %esi
	movl	%esi, -16(%rbx,%r13,2)
	movl	%r15d, -20(%rbx,%r13,2)
	movl	-12(%rbx,%r13), %esi
	movl	%esi, -24(%rbx,%r13,2)
	movl	%r15d, -28(%rbx,%r13,2)
	movl	-16(%rbx,%r13), %esi
	movl	%esi, -32(%rbx,%r13,2)
	addq	$32, %rax
	addq	$-16, %r13
	addl	$-4, %edx
	jne	LBB0_6
## %bb.7:
	movq	%rbx, %rsi
	subq	%rax, %rsi
	addq	%rbx, %r13
	movq	%r13, %rax
LBB0_8:
	testl	%edi, %edi
	je	LBB0_29
## %bb.9:
	negl	%edi
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movl	%r15d, -4(%rsi)
	movl	-4(%rax,%rdx,4), %ebx
	movl	%ebx, -8(%rsi)
	addq	$-8, %rsi
	decq	%rdx
	cmpl	%edx, %edi
	jne	LBB0_10
	jmp	LBB0_29
LBB0_20:
	movq	_PNG_COLOR_TYPE_RGB@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_38
## %bb.21:
	cmpl	$8, 16(%r14)
	jne	LBB0_38
## %bb.22:
	movq	_PNG_FLAG_FILLER_AFTER@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	je	LBB0_30
## %bb.23:
	leaq	(,%r13,2), %rax
	addq	%r13, %rax
	leaq	(%rbx,%rax,4), %rdi
	leaq	(%rdi,%r13,4), %rsi
	movl	$2, %ecx
	movl	$32, %r8d
	movl	$4, %r9d
	movq	-48(%rbp), %r11                 ## 8-byte Reload
	cmpl	$2, %r11d
	jl	LBB0_29
## %bb.24:
	decl	%r13d
	cmpl	$2, %r11d
	je	LBB0_27
## %bb.25:
	movl	%r13d, %eax
	andl	$-2, %eax
	.p2align	4, 0x90
LBB0_26:                                ## =>This Inner Loop Header: Depth=1
	movl	%r15d, -4(%rsi)
	movl	-4(%rdi), %edx
	movl	%edx, -8(%rsi)
	movl	-8(%rdi), %edx
	movl	%edx, -12(%rsi)
	movl	-12(%rdi), %edx
	movl	%edx, -16(%rsi)
	movl	%r15d, -20(%rsi)
	movl	-16(%rdi), %edx
	movl	%edx, -24(%rsi)
	movl	-20(%rdi), %edx
	movl	%edx, -28(%rsi)
	movl	-24(%rdi), %edx
	addq	$-24, %rdi
	movl	%edx, -32(%rsi)
	addq	$-32, %rsi
	addl	$-2, %eax
	jne	LBB0_26
LBB0_27:
	testb	$1, %r13b
	je	LBB0_29
## %bb.28:
	movl	%r15d, -4(%rsi)
	movl	-4(%rdi), %eax
	movl	%eax, -8(%rsi)
	movl	-8(%rdi), %eax
	movl	%eax, -12(%rsi)
	movl	-12(%rdi), %eax
	movl	%eax, -16(%rsi)
	addq	$-16, %rsi
LBB0_29:
	movl	%r15d, -4(%rsi)
LBB0_37:
	movl	%r9d, 20(%r14)
	movl	%r8d, 24(%r14)
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %r11d
	movl	%r11d, 28(%r14)
LBB0_38:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	movl	$1, %ecx
	movl	$16, %r8d
	movl	$2, %r9d
	testl	%r13d, %r13d
	movq	-48(%rbp), %r11                 ## 8-byte Reload
	jle	LBB0_37
## %bb.12:
	leal	-1(%r11), %eax
	movl	%r13d, %esi
	andl	$3, %esi
	cmpl	$3, %eax
	jae	LBB0_14
## %bb.13:
	leaq	(%rbx,%r11,4), %rdi
	leaq	(%rdi,%r11,4), %rdx
	jmp	LBB0_17
LBB0_30:
	movl	$2, %ecx
	movl	$32, %r8d
	movl	$4, %r9d
	testl	%r13d, %r13d
	jle	LBB0_31
## %bb.32:
	movq	-48(%rbp), %r11                 ## 8-byte Reload
	leaq	(%r11,%r11,2), %rax
	leaq	(%rbx,%rax,4), %rdi
	leaq	(%rdi,%r11,4), %rsi
	cmpl	$1, %r13d
	je	LBB0_35
## %bb.33:
	movl	%r11d, %eax
	andl	$-2, %eax
	.p2align	4, 0x90
LBB0_34:                                ## =>This Inner Loop Header: Depth=1
	movl	-4(%rdi), %edx
	movl	%edx, -4(%rsi)
	movl	-8(%rdi), %edx
	movl	%edx, -8(%rsi)
	movl	-12(%rdi), %edx
	movl	%edx, -12(%rsi)
	movl	%r15d, -16(%rsi)
	movl	-16(%rdi), %edx
	movl	%edx, -20(%rsi)
	movl	-20(%rdi), %edx
	movl	%edx, -24(%rsi)
	movl	-24(%rdi), %edx
	addq	$-24, %rdi
	movl	%edx, -28(%rsi)
	movl	%r15d, -32(%rsi)
	addq	$-32, %rsi
	addl	$-2, %eax
	jne	LBB0_34
LBB0_35:
	testb	$1, %r11b
	je	LBB0_37
## %bb.36:
	movl	-4(%rdi), %eax
	movl	%eax, -4(%rsi)
	movl	-8(%rdi), %eax
	movl	%eax, -8(%rsi)
	movl	-12(%rdi), %eax
	movl	%eax, -12(%rsi)
	movl	%r15d, -16(%rsi)
	jmp	LBB0_37
LBB0_14:
	andl	$-4, %r13d
	leaq	(,%r11,8), %rax
	negq	%rax
	movq	%r11, %rdi
	shlq	$2, %rdi
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movl	-4(%rbx,%rdi), %edx
	movl	%edx, -4(%rbx,%rdi,2)
	movl	%r15d, -8(%rbx,%rdi,2)
	movl	-8(%rbx,%rdi), %edx
	movl	%edx, -12(%rbx,%rdi,2)
	movl	%r15d, -16(%rbx,%rdi,2)
	movl	-12(%rbx,%rdi), %edx
	movl	%edx, -20(%rbx,%rdi,2)
	movl	%r15d, -24(%rbx,%rdi,2)
	movl	-16(%rbx,%rdi), %edx
	movl	%edx, -28(%rbx,%rdi,2)
	movl	%r15d, -32(%rbx,%rdi,2)
	addq	$32, %rax
	addq	$-16, %rdi
	addl	$-4, %r13d
	jne	LBB0_15
## %bb.16:
	movq	%rbx, %rdx
	subq	%rax, %rdx
	addq	%rbx, %rdi
LBB0_17:
	testl	%esi, %esi
	je	LBB0_37
## %bb.18:
	negl	%esi
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_19:                                ## =>This Inner Loop Header: Depth=1
	movl	-4(%rdi,%rax,4), %ebx
	movl	%ebx, -4(%rdx,%rax,8)
	movl	%r15d, -8(%rdx,%rax,8)
	decq	%rax
	cmpl	%eax, %esi
	jne	LBB0_19
	jmp	LBB0_37
LBB0_31:
	movq	-48(%rbp), %r11                 ## 8-byte Reload
	jmp	LBB0_37
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"in png_do_read_filler"

	.comm	_PNG_COLOR_TYPE_GRAY,8,3        ## @PNG_COLOR_TYPE_GRAY
	.comm	_PNG_FLAG_FILLER_AFTER,4,2      ## @PNG_FLAG_FILLER_AFTER
	.comm	_PNG_COLOR_TYPE_RGB,8,3         ## @PNG_COLOR_TYPE_RGB
	.no_dead_strip	_png_do_read_filler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function png_do_read_filler
lCPI0_0:
	.long	4                               ; 0x4
	.long	32                              ; 0x20
lCPI0_1:
	.long	2                               ; 0x2
	.long	16                              ; 0x10
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_png_do_read_filler:                    ; @png_do_read_filler
	.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	x22, x3
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	ldr	w23, [x0]
	mov	x8, x23
	sxtw	x24, w8
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	_png_debug
	ldr	x8, [x19, #8]
Lloh2:
	adrp	x9, _PNG_COLOR_TYPE_GRAY@GOTPAGE
Lloh3:
	ldr	x9, [x9, _PNG_COLOR_TYPE_GRAY@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.1:
	ldr	w8, [x19, #16]
	cmp	w8, #8
	b.ne	LBB0_23
; %bb.2:
Lloh5:
	adrp	x8, _PNG_FLAG_FILLER_AFTER@GOTPAGE
Lloh6:
	ldr	x8, [x8, _PNG_FLAG_FILLER_AFTER@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_14
; %bb.3:
	lsl	x8, x24, #2
	add	x9, x21, x8
	add	x8, x9, x8
Lloh8:
	adrp	x9, lCPI0_1@PAGE
Lloh9:
	ldr	d0, [x9, lCPI0_1@PAGEOFF]
	cmp	w23, #2
	b.lt	LBB0_6
; %bb.4:
	sub	w9, w23, #1
	add	x10, x21, x24, lsl #2
	sub	x10, x10, #4
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	stur	w20, [x8, #-4]
	ldr	w11, [x10], #-4
	str	w11, [x8, #-8]!
	subs	w9, w9, #1
	b.ne	LBB0_5
LBB0_6:
	mov	w9, #1
	stur	w20, [x8, #-4]
	b	LBB0_22
LBB0_7:
Lloh10:
	adrp	x9, _PNG_COLOR_TYPE_RGB@GOTPAGE
Lloh11:
	ldr	x9, [x9, _PNG_COLOR_TYPE_RGB@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_23
; %bb.8:
	ldr	w8, [x19, #16]
	cmp	w8, #8
	b.ne	LBB0_23
; %bb.9:
Lloh13:
	adrp	x8, _PNG_FLAG_FILLER_AFTER@GOTPAGE
Lloh14:
	ldr	x8, [x8, _PNG_FLAG_FILLER_AFTER@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_18
; %bb.10:
	add	x8, x24, x24, lsl #1
	add	x10, x21, x8, lsl #2
	add	x8, x10, x24, lsl #2
Lloh16:
	adrp	x9, lCPI0_0@PAGE
Lloh17:
	ldr	d0, [x9, lCPI0_0@PAGEOFF]
	cmp	w23, #2
	b.lt	LBB0_13
; %bb.11:
	sub	w9, w23, #1
	sub	x10, x10, #4
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	stur	w20, [x8, #-4]
	ldr	w11, [x10]
	stur	w11, [x8, #-8]
	ldur	w11, [x10, #-4]
	stur	w11, [x8, #-12]
	ldur	w11, [x10, #-8]
	str	w11, [x8, #-16]!
	sub	x10, x10, #12
	sub	w9, w9, #1
	cbnz	w9, LBB0_12
LBB0_13:
	mov	w9, #2
	stur	w20, [x8, #-4]
	b	LBB0_22
LBB0_14:
Lloh18:
	adrp	x8, lCPI0_1@PAGE
Lloh19:
	ldr	d0, [x8, lCPI0_1@PAGEOFF]
	cmp	w23, #1
	b.lt	LBB0_17
; %bb.15:
	add	x8, x21, x23, lsl #3
	sub	x8, x8, #4
	sub	x9, x21, #4
	mov	x10, x23
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x9, x10, lsl #2]
	stp	w20, w11, [x8, #-4]
	sub	x8, x8, #8
	sub	x10, x10, #1
	cbnz	w10, LBB0_16
LBB0_17:
	mov	w9, #1
	b	LBB0_22
LBB0_18:
Lloh20:
	adrp	x8, lCPI0_0@PAGE
Lloh21:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	cmp	w23, #1
	b.lt	LBB0_21
; %bb.19:
	mov	w8, #12
	madd	x8, x23, x8, x21
	sub	x8, x8, #4
	add	x9, x21, x23, lsl #4
	sub	x9, x9, #8
	mov	x10, x23
LBB0_20:                                ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x8]
	str	w11, [x9, #4]
	ldur	w11, [x8, #-4]
	str	w11, [x9]
	ldur	w11, [x8, #-8]
	stp	w20, w11, [x9, #-8]
	sub	x8, x8, #12
	sub	x9, x9, #16
	sub	w10, w10, #1
	cbnz	w10, LBB0_20
LBB0_21:
	mov	w9, #2
LBB0_22:
	stur	d0, [x19, #20]
	lsl	w8, w23, w9
	str	w8, [x19, #28]
LBB0_23:
	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	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdr	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdr	Lloh16, Lloh17
	.loh AdrpLdr	Lloh18, Lloh19
	.loh AdrpLdr	Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"in png_do_read_filler"

	.comm	_PNG_COLOR_TYPE_GRAY,8,3        ; @PNG_COLOR_TYPE_GRAY
	.comm	_PNG_FLAG_FILLER_AFTER,4,2      ; @PNG_FLAG_FILLER_AFTER
	.comm	_PNG_COLOR_TYPE_RGB,8,3         ; @PNG_COLOR_TYPE_RGB
	.no_dead_strip	_png_do_read_filler
.subsections_via_symbols
