	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ## -- Begin function main
	.p2align	4, 0x90
_main:                                  ## @main
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movl	%edi, -56(%rbp)                 ## 4-byte Spill
	movq	_STDERR@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	movq	_PNG_LIBPNG_VER_STRING@GOTPCREL(%rip), %r14
	movq	(%r14), %rdx
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	callq	_fprintf
	movl	(%r13), %edi
	movq	_ZLIB_VERSION@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movl	(%r13), %ebx
	xorl	%edi, %edi
	callq	_png_get_copyright
	leaq	L_.str.2(%rip), %rsi
	movl	%ebx, %edi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_fprintf
	movl	(%r13), %r15d
	xorl	%eax, %eax
	callq	_png_access_version_number
	movq	%rax, %rbx
	xorl	%edi, %edi
	callq	_png_get_header_version
	leaq	L_.str.3(%rip), %rsi
	movl	%r15d, %edi
	movq	%rbx, %rdx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_fprintf
	movl	(%r13), %edi
	movq	_PNG_LIBPNG_VER@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	_PNG_HEADER_VERSION_STRING@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str.4(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movl	(%r13), %r15d
	movq	_png_struct@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_png_sizeof
	movq	%rax, %rbx
	movq	_png_info@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_png_sizeof
	leaq	L_.str.5(%rip), %rsi
	movl	%r15d, %edi
	movq	%rbx, %rdx
	movq	%rax, %rcx
	xorl	%eax, %eax
	callq	_fprintf
	movq	_png_libpng_ver@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	movq	(%r14), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	(%r13), %edi
	leaq	L_.str.6(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movl	(%r13), %edi
	movq	(%r14), %rdx
	leaq	L_.str.7(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movl	(%r13), %edi
	movq	(%rbx), %rdx
	leaq	L_.str.8(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movl	$1, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
LBB0_2:
	movl	-56(%rbp), %ebx                 ## 4-byte Reload
	cmpl	$2, %ebx
	jl	LBB0_15
## %bb.3:
	movq	8(%r12), %rdi
	leaq	L_.str.9(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	8(%r12), %rdi
	leaq	L_.str.10(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	8(%r12), %rdi
	leaq	L_.str.11(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_7
## %bb.12:
	movq	8(%r12), %rdi
	leaq	L_.str.12(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_13
## %bb.14:
	movq	8(%r12), %rax
	movq	_inname@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	_status_dots_requested@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
	jmp	LBB0_15
LBB0_7:
	movq	%r12, %r14
	movq	_verbose@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	movl	$1, %eax
	jmp	LBB0_8
LBB0_4:
	movq	%r12, %r14
	xorl	%eax, %eax
LBB0_8:
	movq	%r13, %r12
	movq	_status_dots_requested@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	cmpl	$3, %ebx
	jb	LBB0_39
## %bb.9:
	movl	%ebx, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	$2, %r15d
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_22:                                ##   in Loop: Header=BB0_10 Depth=1
	movl	%eax, %ebx
	leaq	L_.str.18(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	addl	%ebx, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
LBB0_23:                                ##   in Loop: Header=BB0_10 Depth=1
	incq	%r15
	cmpq	%r15, -56(%rbp)                 ## 8-byte Folded Reload
	je	LBB0_39
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	%r12, %r13
	movl	(%r12), %edi
	movq	%r14, %rbx
	movq	(%r14,%r15,8), %rdx
	leaq	L_.str.16(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movq	(%r14,%r15,8), %rdi
	movq	_outname@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	callq	_test_one_file
	movl	(%r12), %edi
	testl	%eax, %eax
	jne	LBB0_22
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	leaq	L_.str.17(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	jmp	LBB0_23
LBB0_13:
	movq	_verbose@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	movq	_status_dots_requested@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	movq	16(%r12), %rax
	movq	_inname@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
LBB0_15:
	movq	%r12, %rsi
	movq	%r13, %r12
	movq	_verbose@GOTPCREL(%rip), %r15
	movslq	(%r15), %rcx
	leal	3(%rcx), %eax
	cmpl	%ebx, %eax
	jne	LBB0_17
## %bb.16:
	movq	16(%rsi,%rcx,8), %rcx
	movq	_outname@GOTPCREL(%rip), %rdx
	movq	%rcx, (%rdx)
LBB0_17:
	cmpl	%ebx, %eax
	jl	LBB0_21
## %bb.18:
	movl	$3, %r14d
	movq	_inname@GOTPCREL(%rip), %r13
	jmp	LBB0_19
	.p2align	4, 0x90
LBB0_37:                                ##   in Loop: Header=BB0_19 Depth=1
	movl	(%r12), %edi
	leaq	L_.str.18(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	addl	%ebx, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
LBB0_38:                                ##   in Loop: Header=BB0_19 Depth=1
	decl	%r14d
	je	LBB0_39
LBB0_19:                                ## =>This Inner Loop Header: Depth=1
	cmpl	$2, %r14d
	jne	LBB0_24
## %bb.20:                              ##   in Loop: Header=BB0_19 Depth=1
	movq	_status_dots_requested@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	movl	(%r15), %eax
	jmp	LBB0_26
	.p2align	4, 0x90
LBB0_24:                                ##   in Loop: Header=BB0_19 Depth=1
	movl	(%r15), %eax
	testl	%eax, %eax
	jne	LBB0_26
## %bb.25:                              ##   in Loop: Header=BB0_19 Depth=1
	movq	_status_dots_requested@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_26:                                ##   in Loop: Header=BB0_19 Depth=1
	cmpl	$3, %r14d
	je	LBB0_29
## %bb.27:                              ##   in Loop: Header=BB0_19 Depth=1
	cmpl	$1, %eax
	je	LBB0_29
## %bb.28:                              ##   in Loop: Header=BB0_19 Depth=1
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_30
LBB0_29:                                ##   in Loop: Header=BB0_19 Depth=1
	movl	(%r12), %edi
	movq	(%r13), %rdx
	leaq	L_.str.16(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
LBB0_30:                                ##   in Loop: Header=BB0_19 Depth=1
	movq	(%r13), %rdi
	movq	_outname@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	callq	_test_one_file
	movl	%eax, %ebx
	movl	(%r15), %eax
	testl	%ebx, %ebx
	je	LBB0_31
## %bb.34:                              ##   in Loop: Header=BB0_19 Depth=1
	testl	%eax, %eax
	jne	LBB0_37
## %bb.35:                              ##   in Loop: Header=BB0_19 Depth=1
	cmpl	$1, %r14d
	je	LBB0_37
## %bb.36:                              ##   in Loop: Header=BB0_19 Depth=1
	movl	(%r12), %edi
	movq	(%r13), %rdx
	leaq	L_.str.16(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	jmp	LBB0_37
	.p2align	4, 0x90
LBB0_31:                                ##   in Loop: Header=BB0_19 Depth=1
	cmpl	$1, %eax
	je	LBB0_33
## %bb.32:                              ##   in Loop: Header=BB0_19 Depth=1
	cmpl	$1, %r14d
	jne	LBB0_38
LBB0_33:                                ##   in Loop: Header=BB0_19 Depth=1
	movl	(%r12), %edi
	leaq	L_.str.17(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	jmp	LBB0_38
LBB0_39:
	movl	(%r12), %edi
	xorl	%ebx, %ebx
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	leaq	L_.str.19(%rip), %rax
	leaq	L_.str.20(%rip), %rsi
	cmoveq	%rax, %rsi
	setne	%bl
	xorl	%eax, %eax
	callq	_fprintf
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_21:
	movl	(%r12), %edi
	movq	(%rsi), %rcx
	leaq	L_.str.13(%rip), %rsi
	movq	%rcx, %rdx
	xorl	%eax, %eax
	callq	_fprintf
	movl	(%r12), %edi
	leaq	L_.str.14(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movl	(%r12), %edi
	movq	_outname@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	leaq	L_.str.15(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movl	$1, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_STDERR,4,2                     ## @STDERR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Testing libpng version %s\n"

	.comm	_PNG_LIBPNG_VER_STRING,8,3      ## @PNG_LIBPNG_VER_STRING
L_.str.1:                               ## @.str.1
	.asciz	"   with zlib   version %s\n"

	.comm	_ZLIB_VERSION,8,3               ## @ZLIB_VERSION
L_.str.2:                               ## @.str.2
	.asciz	"%s"

L_.str.3:                               ## @.str.3
	.asciz	" library (%lu):%s"

L_.str.4:                               ## @.str.4
	.asciz	" pngtest (%lu):%s"

	.comm	_PNG_LIBPNG_VER,8,3             ## @PNG_LIBPNG_VER
	.comm	_PNG_HEADER_VERSION_STRING,4,2  ## @PNG_HEADER_VERSION_STRING
L_.str.5:                               ## @.str.5
	.asciz	" png_sizeof(png_struct)=%ld, png_sizeof(png_info)=%ld\n"

	.comm	_png_struct,4,2                 ## @png_struct
	.comm	_png_info,4,2                   ## @png_info
	.comm	_png_libpng_ver,8,3             ## @png_libpng_ver
L_.str.6:                               ## @.str.6
	.asciz	"Warning: versions are different between png.h and png.c\n"

L_.str.7:                               ## @.str.7
	.asciz	"  png.h version: %s\n"

L_.str.8:                               ## @.str.8
	.asciz	"  png.c version: %s\n\n"

L_.str.9:                               ## @.str.9
	.asciz	"-m"

	.comm	_status_dots_requested,4,2      ## @status_dots_requested
L_.str.10:                              ## @.str.10
	.asciz	"-mv"

L_.str.11:                              ## @.str.11
	.asciz	"-vm"

	.comm	_verbose,4,2                    ## @verbose
L_.str.12:                              ## @.str.12
	.asciz	"-v"

	.comm	_inname,8,3                     ## @inname
	.comm	_outname,8,3                    ## @outname
L_.str.13:                              ## @.str.13
	.asciz	"usage: %s [infile.png] [outfile.png]\n\t%s -m {infile.png}\n"

L_.str.14:                              ## @.str.14
	.asciz	"  reads/writes one PNG file (without -m) or multiple files (-m)\n"

L_.str.15:                              ## @.str.15
	.asciz	"  with -m %s is used as a temporary file\n"

L_.str.16:                              ## @.str.16
	.asciz	"Testing %s:"

L_.str.17:                              ## @.str.17
	.asciz	" PASS\n"

L_.str.18:                              ## @.str.18
	.asciz	" FAIL\n"

L_.str.19:                              ## @.str.19
	.asciz	"libpng passes test\n"

L_.str.20:                              ## @.str.20
	.asciz	"libpng FAILS test\n"

	.comm	_CLOCKS_PER_SEC,8,3             ## @CLOCKS_PER_SEC
	.comm	_current_allocation,4,2         ## @current_allocation
	.comm	_filters_used,8,3               ## @filters_used
	.comm	_maximum_allocation,4,2         ## @maximum_allocation
	.comm	_num_allocations,4,2            ## @num_allocations
	.comm	_pinformation,8,3               ## @pinformation
	.comm	_tIME_chunk_present,8,3         ## @tIME_chunk_present
	.comm	_tIME_string,8,3                ## @tIME_string
	.comm	_t_decode,4,2                   ## @t_decode
	.comm	_t_encode,4,2                   ## @t_encode
	.comm	_t_misc,4,2                     ## @t_misc
	.comm	_t_start,4,2                    ## @t_start
	.comm	_t_stop,4,2                     ## @t_stop
	.comm	_total_allocation,4,2           ## @total_allocation
	.comm	_zero_samples,8,3               ## @zero_samples
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ; -- Begin function main
	.p2align	2
_main:                                  ; @main
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x23, _STDERR@GOTPAGE
Lloh1:
	ldr	x23, [x23, _STDERR@GOTPAGEOFF]
	ldr	w0, [x23]
Lloh2:
	adrp	x24, _PNG_LIBPNG_VER_STRING@GOTPAGE
Lloh3:
	ldr	x24, [x24, _PNG_LIBPNG_VER_STRING@GOTPAGEOFF]
	ldr	x8, [x24]
	str	x8, [sp]
Lloh4:
	adrp	x1, l_.str@PAGE
Lloh5:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf
	ldr	w0, [x23]
Lloh6:
	adrp	x8, _ZLIB_VERSION@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ZLIB_VERSION@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	str	x8, [sp]
Lloh9:
	adrp	x1, l_.str.1@PAGE
Lloh10:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_fprintf
	ldr	w21, [x23]
	mov	x0, #0
	bl	_png_get_copyright
	str	x0, [sp]
Lloh11:
	adrp	x1, l_.str.2@PAGE
Lloh12:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x21
	bl	_fprintf
	ldr	w21, [x23]
	bl	_png_access_version_number
	mov	x22, x0
	mov	x0, #0
	bl	_png_get_header_version
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x22, x0, [sp]
Lloh13:
	adrp	x1, l_.str.3@PAGE
Lloh14:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x21
	bl	_fprintf
	ldr	w0, [x23]
Lloh15:
	adrp	x8, _PNG_LIBPNG_VER@GOTPAGE
Lloh16:
	ldr	x8, [x8, _PNG_LIBPNG_VER@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
Lloh18:
	adrp	x9, _PNG_HEADER_VERSION_STRING@GOTPAGE
Lloh19:
	ldr	x9, [x9, _PNG_HEADER_VERSION_STRING@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	stp	x8, x9, [sp]
Lloh21:
	adrp	x1, l_.str.4@PAGE
Lloh22:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_fprintf
	ldr	w21, [x23]
Lloh23:
	adrp	x8, _png_struct@GOTPAGE
Lloh24:
	ldr	x8, [x8, _png_struct@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
	bl	_png_sizeof
	mov	x22, x0
Lloh26:
	adrp	x8, _png_info@GOTPAGE
Lloh27:
	ldr	x8, [x8, _png_info@GOTPAGEOFF]
Lloh28:
	ldr	w0, [x8]
	bl	_png_sizeof
	stp	x22, x0, [sp]
Lloh29:
	adrp	x1, l_.str.5@PAGE
Lloh30:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x21
	bl	_fprintf
Lloh31:
	adrp	x21, _png_libpng_ver@GOTPAGE
Lloh32:
	ldr	x21, [x21, _png_libpng_ver@GOTPAGEOFF]
	ldr	x0, [x21]
	ldr	x1, [x24]
	bl	_strcmp
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w0, [x23]
Lloh33:
	adrp	x1, l_.str.6@PAGE
Lloh34:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_fprintf
	ldr	w0, [x23]
	ldr	x8, [x24]
	str	x8, [sp]
Lloh35:
	adrp	x1, l_.str.7@PAGE
Lloh36:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_fprintf
	ldr	w0, [x23]
	ldr	x8, [x21]
	str	x8, [sp]
Lloh37:
	adrp	x1, l_.str.8@PAGE
Lloh38:
	add	x1, x1, l_.str.8@PAGEOFF
	bl	_fprintf
	mov	w24, #1
	cmp	w20, #2
	b.ge	LBB0_3
	b	LBB0_17
LBB0_2:
	mov	w24, #0
	cmp	w20, #2
	b.lt	LBB0_17
LBB0_3:
	ldr	x0, [x19, #8]
Lloh39:
	adrp	x1, l_.str.9@PAGE
Lloh40:
	add	x1, x1, l_.str.9@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_9
; %bb.4:
	ldr	x0, [x19, #8]
Lloh41:
	adrp	x1, l_.str.10@PAGE
Lloh42:
	add	x1, x1, l_.str.10@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_8
; %bb.5:
	ldr	x0, [x19, #8]
Lloh43:
	adrp	x1, l_.str.11@PAGE
Lloh44:
	add	x1, x1, l_.str.11@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_8
; %bb.6:
	ldr	x0, [x19, #8]
Lloh45:
	adrp	x1, l_.str.12@PAGE
Lloh46:
	add	x1, x1, l_.str.12@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_16
; %bb.7:
	ldr	x8, [x19, #8]
Lloh47:
	adrp	x9, _inname@GOTPAGE
Lloh48:
	ldr	x9, [x9, _inname@GOTPAGEOFF]
Lloh49:
	str	x8, [x9]
Lloh50:
	adrp	x8, _status_dots_requested@GOTPAGE
Lloh51:
	ldr	x8, [x8, _status_dots_requested@GOTPAGEOFF]
Lloh52:
	str	wzr, [x8]
	b	LBB0_17
LBB0_8:
Lloh53:
	adrp	x9, _verbose@GOTPAGE
Lloh54:
	ldr	x9, [x9, _verbose@GOTPAGEOFF]
	mov	w8, #1
Lloh55:
	str	w8, [x9]
	b	LBB0_10
LBB0_9:
	mov	w8, #0
LBB0_10:
Lloh56:
	adrp	x9, _status_dots_requested@GOTPAGE
Lloh57:
	ldr	x9, [x9, _status_dots_requested@GOTPAGEOFF]
Lloh58:
	str	w8, [x9]
	cmp	w20, #3
	b.lo	LBB0_35
; %bb.11:
	mov	w8, w20
	add	x25, x19, #16
	sub	x26, x8, #2
Lloh59:
	adrp	x19, l_.str.16@PAGE
Lloh60:
	add	x19, x19, l_.str.16@PAGEOFF
Lloh61:
	adrp	x27, _outname@GOTPAGE
Lloh62:
	ldr	x27, [x27, _outname@GOTPAGEOFF]
Lloh63:
	adrp	x20, l_.str.17@PAGE
Lloh64:
	add	x20, x20, l_.str.17@PAGEOFF
Lloh65:
	adrp	x21, l_.str.18@PAGE
Lloh66:
	add	x21, x21, l_.str.18@PAGEOFF
	b	LBB0_14
LBB0_12:                                ;   in Loop: Header=BB0_14 Depth=1
	mov	x1, x21
	bl	_fprintf
	add	w24, w22, w24
LBB0_13:                                ;   in Loop: Header=BB0_14 Depth=1
	add	x25, x25, #8
	subs	x26, x26, #1
	b.eq	LBB0_35
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x23]
	ldr	x8, [x25]
	str	x8, [sp]
	mov	x1, x19
	bl	_fprintf
	ldr	x0, [x25]
	ldr	x1, [x27]
	bl	_test_one_file
	mov	x22, x0
	ldr	w0, [x23]
	cbnz	w22, LBB0_12
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=1
	mov	x1, x20
	bl	_fprintf
	b	LBB0_13
LBB0_16:
Lloh67:
	adrp	x8, _verbose@GOTPAGE
Lloh68:
	ldr	x8, [x8, _verbose@GOTPAGEOFF]
	mov	w9, #1
Lloh69:
	adrp	x10, _status_dots_requested@GOTPAGE
Lloh70:
	ldr	x10, [x10, _status_dots_requested@GOTPAGEOFF]
Lloh71:
	str	w9, [x8]
Lloh72:
	str	w9, [x10]
	ldr	x8, [x19, #16]
Lloh73:
	adrp	x9, _inname@GOTPAGE
Lloh74:
	ldr	x9, [x9, _inname@GOTPAGEOFF]
Lloh75:
	str	x8, [x9]
LBB0_17:
Lloh76:
	adrp	x26, _verbose@GOTPAGE
Lloh77:
	ldr	x26, [x26, _verbose@GOTPAGEOFF]
	ldr	w9, [x26]
	add	w8, w9, #3
Lloh78:
	adrp	x25, _outname@GOTPAGE
Lloh79:
	ldr	x25, [x25, _outname@GOTPAGEOFF]
	cmp	w8, w20
	b.ne	LBB0_19
; %bb.18:
	add	w9, w9, #2
	ldr	x9, [x19, w9, sxtw #3]
	str	x9, [x25]
LBB0_19:
	cmp	w8, w20
	b.lt	LBB0_36
; %bb.20:
	mov	w27, #3
Lloh80:
	adrp	x28, _status_dots_requested@GOTPAGE
Lloh81:
	ldr	x28, [x28, _status_dots_requested@GOTPAGEOFF]
Lloh82:
	adrp	x20, _inname@GOTPAGE
Lloh83:
	ldr	x20, [x20, _inname@GOTPAGEOFF]
Lloh84:
	adrp	x19, l_.str.16@PAGE
Lloh85:
	add	x19, x19, l_.str.16@PAGEOFF
Lloh86:
	adrp	x21, l_.str.18@PAGE
Lloh87:
	add	x21, x21, l_.str.18@PAGEOFF
	b	LBB0_23
LBB0_21:                                ;   in Loop: Header=BB0_23 Depth=1
	ldr	w0, [x23]
	mov	x1, x21
	bl	_fprintf
	add	w24, w22, w24
LBB0_22:                                ;   in Loop: Header=BB0_23 Depth=1
	subs	w27, w27, #1
	b.eq	LBB0_35
LBB0_23:                                ; =>This Inner Loop Header: Depth=1
	cmp	w27, #2
	b.ne	LBB0_25
; %bb.24:                               ;   in Loop: Header=BB0_23 Depth=1
	mov	w8, #1
	str	w8, [x28]
	ldr	w8, [x26]
	b	LBB0_27
LBB0_25:                                ;   in Loop: Header=BB0_23 Depth=1
	ldr	w8, [x26]
	cbnz	w8, LBB0_27
; %bb.26:                               ;   in Loop: Header=BB0_23 Depth=1
	str	wzr, [x28]
LBB0_27:                                ;   in Loop: Header=BB0_23 Depth=1
	cmp	w27, #3
	b.eq	LBB0_29
; %bb.28:                               ;   in Loop: Header=BB0_23 Depth=1
	cmp	w8, #1
	ccmp	w24, #0, #0, ne
	b.eq	LBB0_30
LBB0_29:                                ;   in Loop: Header=BB0_23 Depth=1
	ldr	w0, [x23]
	ldr	x8, [x20]
	str	x8, [sp]
	mov	x1, x19
	bl	_fprintf
LBB0_30:                                ;   in Loop: Header=BB0_23 Depth=1
	ldr	x0, [x20]
	ldr	x1, [x25]
	bl	_test_one_file
	ldr	w8, [x26]
	cbz	w0, LBB0_33
; %bb.31:                               ;   in Loop: Header=BB0_23 Depth=1
	mov	x22, x0
	cmp	w8, #0
	ccmp	w27, #1, #4, eq
	b.eq	LBB0_21
; %bb.32:                               ;   in Loop: Header=BB0_23 Depth=1
	ldr	w0, [x23]
	ldr	x8, [x20]
	str	x8, [sp]
	mov	x1, x19
	bl	_fprintf
	b	LBB0_21
LBB0_33:                                ;   in Loop: Header=BB0_23 Depth=1
	cmp	w8, #1
	ccmp	w27, #1, #4, ne
	b.ne	LBB0_22
; %bb.34:                               ;   in Loop: Header=BB0_23 Depth=1
	ldr	w0, [x23]
Lloh88:
	adrp	x1, l_.str.17@PAGE
Lloh89:
	add	x1, x1, l_.str.17@PAGEOFF
	bl	_fprintf
	b	LBB0_22
LBB0_35:
	ldr	w0, [x23]
Lloh90:
	adrp	x8, l_.str.20@PAGE
Lloh91:
	add	x8, x8, l_.str.20@PAGEOFF
Lloh92:
	adrp	x9, l_.str.19@PAGE
Lloh93:
	add	x9, x9, l_.str.19@PAGEOFF
	cmp	w24, #0
	csel	x1, x9, x8, eq
	cset	w19, ne
	bl	_fprintf
	mov	x0, x19
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_36:
	ldr	w0, [x23]
	ldr	x8, [x19]
	stp	x8, x8, [sp]
Lloh94:
	adrp	x1, l_.str.13@PAGE
Lloh95:
	add	x1, x1, l_.str.13@PAGEOFF
	bl	_fprintf
	ldr	w0, [x23]
Lloh96:
	adrp	x1, l_.str.14@PAGE
Lloh97:
	add	x1, x1, l_.str.14@PAGEOFF
	bl	_fprintf
	ldr	w0, [x23]
	ldr	x8, [x25]
	str	x8, [sp]
Lloh98:
	adrp	x1, l_.str.15@PAGE
Lloh99:
	add	x1, x1, l_.str.15@PAGEOFF
	bl	_fprintf
	mov	w0, #1
	bl	_exit
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpLdrGotStr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotStr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotStr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotStr	Lloh56, Lloh57, Lloh58
	.loh AdrpAdd	Lloh65, Lloh66
	.loh AdrpAdd	Lloh63, Lloh64
	.loh AdrpLdrGot	Lloh61, Lloh62
	.loh AdrpAdd	Lloh59, Lloh60
	.loh AdrpLdrGotStr	Lloh73, Lloh74, Lloh75
	.loh AdrpLdrGotStr	Lloh69, Lloh70, Lloh72
	.loh AdrpLdrGotStr	Lloh67, Lloh68, Lloh71
	.loh AdrpLdrGot	Lloh78, Lloh79
	.loh AdrpLdrGot	Lloh76, Lloh77
	.loh AdrpAdd	Lloh86, Lloh87
	.loh AdrpAdd	Lloh84, Lloh85
	.loh AdrpLdrGot	Lloh82, Lloh83
	.loh AdrpLdrGot	Lloh80, Lloh81
	.loh AdrpAdd	Lloh88, Lloh89
	.loh AdrpAdd	Lloh92, Lloh93
	.loh AdrpAdd	Lloh90, Lloh91
	.loh AdrpAdd	Lloh98, Lloh99
	.loh AdrpAdd	Lloh96, Lloh97
	.loh AdrpAdd	Lloh94, Lloh95
	.cfi_endproc
                                        ; -- End function
	.comm	_STDERR,4,2                     ; @STDERR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Testing libpng version %s\n"

	.comm	_PNG_LIBPNG_VER_STRING,8,3      ; @PNG_LIBPNG_VER_STRING
l_.str.1:                               ; @.str.1
	.asciz	"   with zlib   version %s\n"

	.comm	_ZLIB_VERSION,8,3               ; @ZLIB_VERSION
l_.str.2:                               ; @.str.2
	.asciz	"%s"

l_.str.3:                               ; @.str.3
	.asciz	" library (%lu):%s"

l_.str.4:                               ; @.str.4
	.asciz	" pngtest (%lu):%s"

	.comm	_PNG_LIBPNG_VER,8,3             ; @PNG_LIBPNG_VER
	.comm	_PNG_HEADER_VERSION_STRING,4,2  ; @PNG_HEADER_VERSION_STRING
l_.str.5:                               ; @.str.5
	.asciz	" png_sizeof(png_struct)=%ld, png_sizeof(png_info)=%ld\n"

	.comm	_png_struct,4,2                 ; @png_struct
	.comm	_png_info,4,2                   ; @png_info
	.comm	_png_libpng_ver,8,3             ; @png_libpng_ver
l_.str.6:                               ; @.str.6
	.asciz	"Warning: versions are different between png.h and png.c\n"

l_.str.7:                               ; @.str.7
	.asciz	"  png.h version: %s\n"

l_.str.8:                               ; @.str.8
	.asciz	"  png.c version: %s\n\n"

l_.str.9:                               ; @.str.9
	.asciz	"-m"

	.comm	_status_dots_requested,4,2      ; @status_dots_requested
l_.str.10:                              ; @.str.10
	.asciz	"-mv"

l_.str.11:                              ; @.str.11
	.asciz	"-vm"

	.comm	_verbose,4,2                    ; @verbose
l_.str.12:                              ; @.str.12
	.asciz	"-v"

	.comm	_inname,8,3                     ; @inname
	.comm	_outname,8,3                    ; @outname
l_.str.13:                              ; @.str.13
	.asciz	"usage: %s [infile.png] [outfile.png]\n\t%s -m {infile.png}\n"

l_.str.14:                              ; @.str.14
	.asciz	"  reads/writes one PNG file (without -m) or multiple files (-m)\n"

l_.str.15:                              ; @.str.15
	.asciz	"  with -m %s is used as a temporary file\n"

l_.str.16:                              ; @.str.16
	.asciz	"Testing %s:"

l_.str.17:                              ; @.str.17
	.asciz	" PASS\n"

l_.str.18:                              ; @.str.18
	.asciz	" FAIL\n"

l_.str.19:                              ; @.str.19
	.asciz	"libpng passes test\n"

l_.str.20:                              ; @.str.20
	.asciz	"libpng FAILS test\n"

	.comm	_CLOCKS_PER_SEC,8,3             ; @CLOCKS_PER_SEC
	.comm	_current_allocation,4,2         ; @current_allocation
	.comm	_filters_used,8,3               ; @filters_used
	.comm	_maximum_allocation,4,2         ; @maximum_allocation
	.comm	_num_allocations,4,2            ; @num_allocations
	.comm	_pinformation,8,3               ; @pinformation
	.comm	_tIME_chunk_present,8,3         ; @tIME_chunk_present
	.comm	_tIME_string,8,3                ; @tIME_string
	.comm	_t_decode,4,2                   ; @t_decode
	.comm	_t_encode,4,2                   ; @t_encode
	.comm	_t_misc,4,2                     ; @t_misc
	.comm	_t_start,4,2                    ; @t_start
	.comm	_t_stop,4,2                     ; @t_stop
	.comm	_total_allocation,4,2           ; @total_allocation
	.comm	_zero_samples,8,3               ; @zero_samples
.subsections_via_symbols
