	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function png_have_neon
_png_have_neon:                         ## @png_have_neon
	.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
	movl	%edi, %r14d
	movq	_O_RDONLY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdi
	callq	_open
	cmpl	$-1, %eax
	je	LBB0_10
## %bb.1:
	movl	%eax, %ebx
	leaq	-56(%rbp), %rdx
	movl	%r14d, %edi
	movl	%eax, %esi
	movl	$16, %ecx
	callq	_safe_read
	cmpl	$16, %eax
	jne	LBB0_7
## %bb.2:
	movq	_AT_HWCAP@GOTPCREL(%rip), %r12
	movq	_HWCAP_NEON@GOTPCREL(%rip), %r13
	leaq	-56(%rbp), %r15
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	%r14d, %edi
	movl	%ebx, %esi
	movq	%r15, %rdx
	movl	$16, %ecx
	callq	_safe_read
	cmpl	$16, %eax
	jne	LBB0_7
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	-56(%rbp), %rax
	cmpq	(%r12), %rax
	jne	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	(%r13), %eax
	testl	%eax, -48(%rbp)
	je	LBB0_6
## %bb.5:
	movl	%ebx, %edi
	callq	_close
	movl	$1, %eax
	jmp	LBB0_9
LBB0_7:
	movl	%ebx, %edi
	callq	_close
	jmp	LBB0_8
LBB0_10:
	leaq	L_.str.1(%rip), %rsi
	movl	%r14d, %edi
	callq	_png_warning
LBB0_8:
	xorl	%eax, %eax
LBB0_9:
	addq	$24, %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	"/proc/self/auxv"

	.comm	_O_RDONLY,4,2                   ## @O_RDONLY
L_.str.1:                               ## @.str.1
	.asciz	"/proc/self/auxv open failed"

	.comm	_AT_HWCAP,8,3                   ## @AT_HWCAP
	.comm	_HWCAP_NEON,4,2                 ## @HWCAP_NEON
	.no_dead_strip	_png_have_neon
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function png_have_neon
_png_have_neon:                         ; @png_have_neon
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _O_RDONLY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _O_RDONLY@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_open
	cmn	w0, #1
	b.eq	LBB0_8
; %bb.1:
	mov	x20, x0
	mov	x2, sp
	mov	x0, x19
	mov	x1, x20
	mov	w3, #16
	bl	_safe_read
	cmp	w0, #16
	b.ne	LBB0_7
; %bb.2:
Lloh5:
	adrp	x21, _AT_HWCAP@GOTPAGE
Lloh6:
	ldr	x21, [x21, _AT_HWCAP@GOTPAGEOFF]
Lloh7:
	adrp	x22, _HWCAP_NEON@GOTPAGE
Lloh8:
	ldr	x22, [x22, _HWCAP_NEON@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x2, sp
	mov	x0, x19
	mov	x1, x20
	mov	w3, #16
	bl	_safe_read
	cmp	w0, #16
	b.ne	LBB0_7
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [sp]
	ldr	x9, [x21]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [sp, #8]
	ldr	w9, [x22]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.6:
	mov	x0, x20
	bl	_close
	mov	w0, #1
	b	LBB0_10
LBB0_7:
	mov	x0, x20
	bl	_close
	b	LBB0_9
LBB0_8:
Lloh9:
	adrp	x1, l_.str.1@PAGE
Lloh10:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_png_warning
LBB0_9:
	mov	w0, #0
LBB0_10:
	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
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"/proc/self/auxv"

	.comm	_O_RDONLY,4,2                   ; @O_RDONLY
l_.str.1:                               ; @.str.1
	.asciz	"/proc/self/auxv open failed"

	.comm	_AT_HWCAP,8,3                   ; @AT_HWCAP
	.comm	_HWCAP_NEON,4,2                 ; @HWCAP_NEON
	.no_dead_strip	_png_have_neon
.subsections_via_symbols
