	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function png_have_msa
_png_have_msa:                          ## @png_have_msa
	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	leaq	L_.str(%rip), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_fopen
	xorl	%r14d, %r14d
	testq	%rax, %rax
	je	LBB0_9
## %bb.1:
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_feof
	testl	%eax, %eax
	jne	LBB0_8
## %bb.2:
	leaq	-42(%rbp), %r15
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
	movq	%rbx, %rdi
	callq	_fgetc
	cmpl	$33, %eax
	jl	LBB0_5
	.p2align	4, 0x90
LBB0_4:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movslq	_png_have_msa.i(%rip), %rcx
	leal	1(%rcx), %edx
	movl	%edx, _png_have_msa.i(%rip)
	movb	%al, -42(%rbp,%rcx)
	movq	%rbx, %rdi
	callq	_fgetc
	cmpl	$32, %eax
	jg	LBB0_4
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$6386541, -42(%rbp)             ## imm = 0x61736D
	je	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	$0, _png_have_msa.i(%rip)
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$10, %edx
	callq	_memset
	movq	%rbx, %rdi
	callq	_feof
	testl	%eax, %eax
	je	LBB0_3
LBB0_8:
	movq	%rbx, %rdi
	callq	_fclose
LBB0_9:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_11
## %bb.10:
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movl	$1, %r14d
	jmp	LBB0_9
LBB0_11:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"/proc/cpuinfo"

L_.str.1:                               ## @.str.1
	.asciz	"rb"

L_.str.2:                               ## @.str.2
	.asciz	"msa"

.zerofill __DATA,__bss,_png_have_msa.i,4,2 ## @png_have_msa.i
	.no_dead_strip	_png_have_msa
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function png_have_msa
_png_have_msa:                          ; @png_have_msa
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_fopen
	cbz	x0, LBB0_8
; %bb.1:
	mov	x19, x0
	bl	_feof
	cbnz	w0, LBB0_7
; %bb.2:
	adrp	x20, _png_have_msa.i@PAGE
	add	x21, sp, #14
	mov	w22, #29549
	movk	w22, #97, lsl #16
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_4 Depth 2
	mov	x0, x19
	bl	_fgetc
	cmp	w0, #33
	b.lt	LBB0_5
LBB0_4:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrsw	x8, [x20, _png_have_msa.i@PAGEOFF]
	add	w9, w8, #1
	str	w9, [x20, _png_have_msa.i@PAGEOFF]
	strb	w0, [x21, x8]
	mov	x0, x19
	bl	_fgetc
	cmp	w0, #32
	b.gt	LBB0_4
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldur	w8, [sp, #14]
	cmp	w8, w22
	b.eq	LBB0_10
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	str	wzr, [x20, _png_have_msa.i@PAGEOFF]
	add	x0, sp, #14
	mov	w1, #0
	mov	w2, #10
	bl	_memset
	mov	x0, x19
	bl	_feof
	cbz	w0, LBB0_3
LBB0_7:
	mov	x0, x19
	bl	_fclose
	mov	w0, #0
LBB0_8:
	ldr	x8, [sp, #24]
Lloh7:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh8:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_11
; %bb.9:
	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
	add	sp, sp, #80
	ret
LBB0_10:
	mov	w0, #1
	b	LBB0_8
LBB0_11:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"/proc/cpuinfo"

l_.str.1:                               ; @.str.1
	.asciz	"rb"

l_.str.2:                               ; @.str.2
	.asciz	"msa"

.zerofill __DATA,__bss,_png_have_msa.i,4,2 ; @png_have_msa.i
	.no_dead_strip	_png_have_msa
.subsections_via_symbols
