	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function perform_interlace_macro_validation
_perform_interlace_macro_validation:    ## @perform_interlace_macro_validation
	.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
	xorl	%r14d, %r14d
	movq	_PNG_UINT_31_MAX@GOTPCREL(%rip), %r13
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_30:                                ##   in Loop: Header=BB0_1 Depth=1
	incl	%r14d
	cmpl	$7, %r14d
	je	LBB0_31
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_10 Depth 2
	movl	%r14d, %edi
	callq	_PNG_PASS_START_ROW
	movq	%rax, %rbx
	movl	%r14d, %edi
	callq	_png_pass_start_row
	cmpq	%rax, %rbx
	jne	LBB0_2
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	%r14d, %edi
	callq	_PNG_PASS_START_COL
	movq	%rax, %rbx
	movl	%r14d, %edi
	callq	_png_pass_start_col
	cmpq	%rax, %rbx
	jne	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	%r14d, %edi
	callq	_PNG_PASS_ROW_SHIFT
	movq	%rax, %rbx
	movl	%r14d, %edi
	callq	_png_pass_row_shift
	cmpq	%rax, %rbx
	jne	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	%r14d, %edi
	callq	_PNG_PASS_COL_SHIFT
	movq	%rax, %rbx
	movl	%r14d, %edi
	callq	_png_pass_col_shift
	cmpq	%rax, %rbx
	jne	LBB0_32
## %bb.9:                               ##   in Loop: Header=BB0_1 Depth=1
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_10:                                ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	$4294967295, %edi               ## imm = 0xFFFFFFFF
	movl	%r14d, %esi
	callq	_png_pass_rows
	cmpq	%rax, %r15
	jge	LBB0_15
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=2
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_PNG_ROW_FROM_PASS_ROW
	movq	%rax, %rbx
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_png_row_from_pass_row
	cmpq	%rax, %rbx
	jne	LBB0_12
LBB0_15:                                ##   in Loop: Header=BB0_10 Depth=2
	movl	$4294967295, %edi               ## imm = 0xFFFFFFFF
	movl	%r14d, %esi
	callq	_png_pass_cols
	cmpq	%rax, %r15
	jge	LBB0_18
## %bb.16:                              ##   in Loop: Header=BB0_10 Depth=2
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_PNG_COL_FROM_PASS_COL
	movq	%rax, %rbx
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_png_col_from_pass_col
	cmpq	%rax, %rbx
	jne	LBB0_17
LBB0_18:                                ##   in Loop: Header=BB0_10 Depth=2
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_PNG_ROW_IN_INTERLACE_PASS
	movq	%rax, %rbx
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_png_row_in_interlace_pass
	cmpq	%rax, %rbx
	jne	LBB0_19
## %bb.20:                              ##   in Loop: Header=BB0_10 Depth=2
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_PNG_COL_IN_INTERLACE_PASS
	movq	%rax, %rbx
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_png_col_in_interlace_pass
	cmpq	%rax, %rbx
	jne	LBB0_21
## %bb.22:                              ##   in Loop: Header=BB0_10 Depth=2
	leaq	1(%r15), %rbx
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_PNG_PASS_ROWS
	movq	%rax, %r12
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_png_pass_rows
	cmpq	%rax, %r12
	jne	LBB0_23
## %bb.25:                              ##   in Loop: Header=BB0_10 Depth=2
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_PNG_PASS_COLS
	movq	%rax, %r12
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_png_pass_cols
	cmpq	%rax, %r12
	jne	LBB0_26
## %bb.27:                              ##   in Loop: Header=BB0_10 Depth=2
	cmpq	$1024, %r15                     ## imm = 0x400
	movq	%rbx, %r15
	jl	LBB0_10
## %bb.28:                              ##   in Loop: Header=BB0_10 Depth=2
	movq	(%r13), %rax
	cmpq	%rax, %rbx
	je	LBB0_30
## %bb.29:                              ##   in Loop: Header=BB0_10 Depth=2
	leaq	(%rbx,%rbx), %rcx
	xorq	%rbx, %rcx
	leaq	-1(%rax), %r15
	cmpq	%rax, %rcx
	cmovlq	%rcx, %r15
	jmp	LBB0_10
LBB0_31:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_19:
	movq	_stderr@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	leaq	L_.str.6(%rip), %rsi
	jmp	LBB0_13
LBB0_21:
	movq	_stderr@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	leaq	L_.str.7(%rip), %rsi
	jmp	LBB0_13
LBB0_23:
	movq	_stderr@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	leaq	L_.str.8(%rip), %rsi
	jmp	LBB0_24
LBB0_26:
	movq	_stderr@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	leaq	L_.str.9(%rip), %rsi
LBB0_24:
	movq	%rbx, %rdx
	movl	%r14d, %ecx
	movq	%r12, %r8
	jmp	LBB0_14
LBB0_12:
	movq	_stderr@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	leaq	L_.str.4(%rip), %rsi
	jmp	LBB0_13
LBB0_17:
	movq	_stderr@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	leaq	L_.str.5(%rip), %rsi
LBB0_13:
	movq	%r15, %rdx
	movl	%r14d, %ecx
	movq	%rbx, %r8
LBB0_14:
	movq	%rax, %r9
	xorl	%eax, %eax
	callq	_fprintf
	movl	$99, %edi
	callq	_exit
LBB0_2:
	movq	_stderr@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movl	%r14d, %edx
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_3
LBB0_5:
	movq	_stderr@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movl	%r14d, %edx
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_3
LBB0_7:
	movq	_stderr@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movl	%r14d, %edx
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_3
LBB0_32:
	movq	_stderr@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movl	%r14d, %edx
	leaq	L_.str.3(%rip), %rsi
LBB0_3:
	movl	%ebx, %ecx
	movq	%rax, %r8
	xorl	%eax, %eax
	callq	_fprintf
	movl	$99, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"PNG_PASS_START_ROW(%d) = %u != %x\n"

L_.str.1:                               ## @.str.1
	.asciz	"PNG_PASS_START_COL(%d) = %u != %x\n"

L_.str.2:                               ## @.str.2
	.asciz	"PNG_PASS_ROW_SHIFT(%d) = %u != %x\n"

L_.str.3:                               ## @.str.3
	.asciz	"PNG_PASS_COL_SHIFT(%d) = %u != %x\n"

L_.str.4:                               ## @.str.4
	.asciz	"PNG_ROW_FROM_PASS_ROW(%u, %d) = %u != %x\n"

L_.str.5:                               ## @.str.5
	.asciz	"PNG_COL_FROM_PASS_COL(%u, %d) = %u != %x\n"

L_.str.6:                               ## @.str.6
	.asciz	"PNG_ROW_IN_INTERLACE_PASS(%u, %d) = %u != %x\n"

L_.str.7:                               ## @.str.7
	.asciz	"PNG_COL_IN_INTERLACE_PASS(%u, %d) = %u != %x\n"

L_.str.8:                               ## @.str.8
	.asciz	"PNG_PASS_ROWS(%u, %d) = %u != %x\n"

L_.str.9:                               ## @.str.9
	.asciz	"PNG_PASS_COLS(%u, %d) = %u != %x\n"

	.comm	_PNG_UINT_31_MAX,8,3            ## @PNG_UINT_31_MAX
	.no_dead_strip	_perform_interlace_macro_validation
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function perform_interlace_macro_validation
_perform_interlace_macro_validation:    ; @perform_interlace_macro_validation
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	w19, #0
Lloh0:
	adrp	x23, _PNG_UINT_31_MAX@GOTPAGE
Lloh1:
	ldr	x23, [x23, _PNG_UINT_31_MAX@GOTPAGEOFF]
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	add	w19, w19, #1
	cmp	w19, #7
	b.eq	LBB0_18
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
	mov	x0, x19
	bl	_PNG_PASS_START_ROW
	mov	x20, x0
	mov	x0, x19
	bl	_png_pass_start_row
	cmp	x20, x0
	b.ne	LBB0_28
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x19
	bl	_PNG_PASS_START_COL
	mov	x20, x0
	mov	x0, x19
	bl	_png_pass_start_col
	cmp	x20, x0
	b.ne	LBB0_29
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x19
	bl	_PNG_PASS_ROW_SHIFT
	mov	x20, x0
	mov	x0, x19
	bl	_png_pass_row_shift
	cmp	x20, x0
	b.ne	LBB0_30
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x19
	bl	_PNG_PASS_COL_SHIFT
	mov	x20, x0
	mov	x0, x19
	bl	_png_pass_col_shift
	cmp	x20, x0
	b.ne	LBB0_31
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x20, #0
LBB0_7:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	w0, #-1
	mov	x1, x19
	bl	_png_pass_rows
	cmp	x20, x0
	b.ge	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=2
	mov	x0, x20
	mov	x1, x19
	bl	_PNG_ROW_FROM_PASS_ROW
	mov	x21, x0
	mov	x0, x20
	mov	x1, x19
	bl	_png_row_from_pass_row
	cmp	x21, x0
	b.ne	LBB0_24
LBB0_9:                                 ;   in Loop: Header=BB0_7 Depth=2
	mov	w0, #-1
	mov	x1, x19
	bl	_png_pass_cols
	cmp	x20, x0
	b.ge	LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=2
	mov	x0, x20
	mov	x1, x19
	bl	_PNG_COL_FROM_PASS_COL
	mov	x21, x0
	mov	x0, x20
	mov	x1, x19
	bl	_png_col_from_pass_col
	cmp	x21, x0
	b.ne	LBB0_25
LBB0_11:                                ;   in Loop: Header=BB0_7 Depth=2
	mov	x0, x20
	mov	x1, x19
	bl	_PNG_ROW_IN_INTERLACE_PASS
	mov	x21, x0
	mov	x0, x20
	mov	x1, x19
	bl	_png_row_in_interlace_pass
	cmp	x21, x0
	b.ne	LBB0_19
; %bb.12:                               ;   in Loop: Header=BB0_7 Depth=2
	mov	x0, x20
	mov	x1, x19
	bl	_PNG_COL_IN_INTERLACE_PASS
	mov	x21, x0
	mov	x0, x20
	mov	x1, x19
	bl	_png_col_in_interlace_pass
	cmp	x21, x0
	b.ne	LBB0_20
; %bb.13:                               ;   in Loop: Header=BB0_7 Depth=2
	add	x21, x20, #1
	mov	x0, x21
	mov	x1, x19
	bl	_PNG_PASS_ROWS
	mov	x22, x0
	mov	x0, x21
	mov	x1, x19
	bl	_png_pass_rows
	cmp	x22, x0
	b.ne	LBB0_21
; %bb.14:                               ;   in Loop: Header=BB0_7 Depth=2
	mov	x0, x21
	mov	x1, x19
	bl	_PNG_PASS_COLS
	mov	x22, x0
	mov	x0, x21
	mov	x1, x19
	bl	_png_pass_cols
	cmp	x22, x0
	b.ne	LBB0_22
; %bb.15:                               ;   in Loop: Header=BB0_7 Depth=2
	cmp	x20, #1024
	mov	x20, x21
	b.lt	LBB0_7
; %bb.16:                               ;   in Loop: Header=BB0_7 Depth=2
	ldr	x8, [x23]
	cmp	x21, x8
	b.eq	LBB0_1
; %bb.17:                               ;   in Loop: Header=BB0_7 Depth=2
	eor	x9, x21, x21, lsl #1
	sub	x10, x8, #1
	cmp	x9, x8
	csel	x20, x9, x10, lt
	b	LBB0_7
LBB0_18:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_19:
Lloh2:
	adrp	x8, _stderr@GOTPAGE
Lloh3:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x1, l_.str.6@PAGE
Lloh6:
	add	x1, x1, l_.str.6@PAGEOFF
	b	LBB0_26
LBB0_20:
Lloh7:
	adrp	x8, _stderr@GOTPAGE
Lloh8:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
Lloh10:
	adrp	x1, l_.str.7@PAGE
Lloh11:
	add	x1, x1, l_.str.7@PAGEOFF
	b	LBB0_26
LBB0_21:
Lloh12:
	adrp	x8, _stderr@GOTPAGE
Lloh13:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
Lloh15:
	adrp	x1, l_.str.8@PAGE
Lloh16:
	add	x1, x1, l_.str.8@PAGEOFF
	b	LBB0_23
LBB0_22:
Lloh17:
	adrp	x8, _stderr@GOTPAGE
Lloh18:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
Lloh20:
	adrp	x1, l_.str.9@PAGE
Lloh21:
	add	x1, x1, l_.str.9@PAGEOFF
LBB0_23:
	str	x0, [sp]
	mov	x0, x8
	mov	x2, x21
	mov	x3, x19
	mov	x4, x22
	b	LBB0_27
LBB0_24:
Lloh22:
	adrp	x8, _stderr@GOTPAGE
Lloh23:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
Lloh25:
	adrp	x1, l_.str.4@PAGE
Lloh26:
	add	x1, x1, l_.str.4@PAGEOFF
	b	LBB0_26
LBB0_25:
Lloh27:
	adrp	x8, _stderr@GOTPAGE
Lloh28:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
Lloh30:
	adrp	x1, l_.str.5@PAGE
Lloh31:
	add	x1, x1, l_.str.5@PAGEOFF
LBB0_26:
	str	x0, [sp]
	mov	x0, x8
	mov	x2, x20
	mov	x3, x19
	mov	x4, x21
LBB0_27:
	bl	_fprintf
	mov	w0, #99
	bl	_exit
LBB0_28:
	mov	x4, x0
Lloh32:
	adrp	x8, _stderr@GOTPAGE
Lloh33:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh34:
	ldr	w0, [x8]
	mov	w2, w19
Lloh35:
	adrp	x1, l_.str@PAGE
Lloh36:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_32
LBB0_29:
	mov	x4, x0
Lloh37:
	adrp	x8, _stderr@GOTPAGE
Lloh38:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh39:
	ldr	w0, [x8]
	mov	w2, w19
Lloh40:
	adrp	x1, l_.str.1@PAGE
Lloh41:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_32
LBB0_30:
	mov	x4, x0
Lloh42:
	adrp	x8, _stderr@GOTPAGE
Lloh43:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh44:
	ldr	w0, [x8]
	mov	w2, w19
Lloh45:
	adrp	x1, l_.str.2@PAGE
Lloh46:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_32
LBB0_31:
	mov	x4, x0
Lloh47:
	adrp	x8, _stderr@GOTPAGE
Lloh48:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh49:
	ldr	w0, [x8]
	mov	w2, w19
Lloh50:
	adrp	x1, l_.str.3@PAGE
Lloh51:
	add	x1, x1, l_.str.3@PAGEOFF
LBB0_32:
	mov	x3, x20
	b	LBB0_27
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.cfi_endproc
                                        ; -- End function
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"PNG_PASS_START_ROW(%d) = %u != %x\n"

l_.str.1:                               ; @.str.1
	.asciz	"PNG_PASS_START_COL(%d) = %u != %x\n"

l_.str.2:                               ; @.str.2
	.asciz	"PNG_PASS_ROW_SHIFT(%d) = %u != %x\n"

l_.str.3:                               ; @.str.3
	.asciz	"PNG_PASS_COL_SHIFT(%d) = %u != %x\n"

l_.str.4:                               ; @.str.4
	.asciz	"PNG_ROW_FROM_PASS_ROW(%u, %d) = %u != %x\n"

l_.str.5:                               ; @.str.5
	.asciz	"PNG_COL_FROM_PASS_COL(%u, %d) = %u != %x\n"

l_.str.6:                               ; @.str.6
	.asciz	"PNG_ROW_IN_INTERLACE_PASS(%u, %d) = %u != %x\n"

l_.str.7:                               ; @.str.7
	.asciz	"PNG_COL_IN_INTERLACE_PASS(%u, %d) = %u != %x\n"

l_.str.8:                               ; @.str.8
	.asciz	"PNG_PASS_ROWS(%u, %d) = %u != %x\n"

l_.str.9:                               ; @.str.9
	.asciz	"PNG_PASS_COLS(%u, %d) = %u != %x\n"

	.comm	_PNG_UINT_31_MAX,8,3            ; @PNG_UINT_31_MAX
	.no_dead_strip	_perform_interlace_macro_validation
.subsections_via_symbols
