	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function check_cpu_flag
_check_cpu_flag:                        ## @check_cpu_flag
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	%rdi, %r14
	movq	_state@GOTPCREL(%rip), %r15
	movl	(%r15), %r12d
	orl	%r12d, %ebx
	movl	$-1, %edi
	callq	_av_force_cpu_flags
	xorl	%eax, %eax
	callq	_av_get_cpu_flags
	andl	%ebx, %eax
	movl	%eax, (%r15)
	movl	%eax, %edi
	callq	_av_force_cpu_flags
	testl	%ebx, %ebx
	je	LBB0_2
## %bb.1:
	cmpl	%r12d, (%r15)
	je	LBB0_9
LBB0_2:
	movq	%r14, 8(%r15)
	movq	_tests@GOTPCREL(%rip), %r14
	movq	(%r14), %rcx
	cmpq	$0, (%rcx)
	je	LBB0_9
## %bb.3:
	xorl	%ebx, %ebx
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	movl	8(%rcx,%rbx), %eax
	movl	%eax, 16(%r15)
	xorl	%eax, %eax
	callq	*(%rcx,%rbx)
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	(%r14), %rcx
	cmpq	$0, 16(%rcx,%rbx)
	leaq	16(%rbx), %rbx
	je	LBB0_9
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	24(%r15), %rsi
	testq	%rsi, %rsi
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	8(%rcx,%rbx), %edi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	(%r14), %rcx
	jmp	LBB0_7
LBB0_9:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_state,32,3                     ## @state
	.comm	_tests,8,3                      ## @tests
	.no_dead_strip	_check_cpu_flag
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function check_cpu_flag
_check_cpu_flag:                        ; @check_cpu_flag
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x20, _state@GOTPAGE
Lloh1:
	ldr	x20, [x20, _state@GOTPAGEOFF]
	ldr	w21, [x20]
	orr	w22, w21, w1
	mov	w0, #-1
	bl	_av_force_cpu_flags
	bl	_av_get_cpu_flags
	and	w0, w0, w22
	str	w0, [x20]
	bl	_av_force_cpu_flags
	ldr	w8, [x20]
	cmp	w22, #0
	ccmp	w8, w21, #0, ne
	b.eq	LBB0_8
; %bb.1:
	str	x19, [x20, #8]
Lloh2:
	adrp	x19, _tests@GOTPAGE
Lloh3:
	ldr	x19, [x19, _tests@GOTPAGEOFF]
	ldr	x8, [x19]
	ldr	x9, [x8]
	cbz	x9, LBB0_8
; %bb.2:
	mov	x21, #0
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x8, x8, x21
	ldr	w9, [x8, #8]
	str	w9, [x20, #16]
	ldr	x8, [x8]
	blr	x8
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x19]
	add	x9, x8, x21
	ldr	x9, [x9, #16]
	add	x21, x21, #16
	cbz	x9, LBB0_8
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x1, [x20, #24]
	cbz	x1, LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x8, x8, x21
	ldr	w0, [x8, #8]
	bl	_strcmp
	cbnz	x0, LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x19]
	b	LBB0_3
LBB0_8:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_state,32,3                     ; @state
	.comm	_tests,8,3                      ; @tests
	.no_dead_strip	_check_cpu_flag
.subsections_via_symbols
