	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movl	%edi, %r15d
	xorl	%r12d, %r12d
	xorl	%eax, %eax
	callq	_av_get_random_seed
	movl	%eax, %r14d
	movq	_tests@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpl	$0, (%rax)
	je	LBB0_23
## %bb.1:
	movq	_cpus@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	$0, (%rax)
	je	LBB0_23
## %bb.2:
	cmpl	$2, %r15d
	jl	LBB0_14
## %bb.3:
	addq	$8, %rbx
	incl	%r15d
	leaq	L_.str.1(%rip), %r12
	leaq	L_.str.3(%rip), %r13
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_4 Depth=1
	addq	$7, %rdi
	movq	_state@GOTPCREL(%rip), %rax
	movq	%rdi, 8(%rax)
LBB0_13:                                ##   in Loop: Header=BB0_4 Depth=1
	addq	$8, %rbx
	decl	%r15d
	cmpl	$2, %r15d
	jle	LBB0_14
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rdi
	movq	%r12, %rsi
	movl	$7, %edx
	callq	_strncmp
	testl	%eax, %eax
	je	LBB0_5
## %bb.10:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	(%rbx), %rdi
	movq	%r13, %rsi
	movl	$7, %edx
	callq	_strncmp
	movq	(%rbx), %rdi
	testl	%eax, %eax
	je	LBB0_11
## %bb.12:                              ##   in Loop: Header=BB0_4 Depth=1
	xorl	%esi, %esi
	movl	$10, %edx
	callq	_strtoul
	movl	%eax, %r14d
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_4 Depth=1
	xorl	%eax, %eax
	callq	_bench_init
	testq	%rax, %rax
	js	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	(%rbx), %rdi
	cmpb	$61, 7(%rdi)
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	addq	$8, %rdi
	movq	_state@GOTPCREL(%rip), %rax
	movq	%rdi, (%rax)
	callq	_strlen
	movq	_state@GOTPCREL(%rip), %rcx
	movl	%eax, 28(%rcx)
	jmp	LBB0_13
LBB0_9:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	_state@GOTPCREL(%rip), %rax
	leaq	L_.str.2(%rip), %rcx
	movq	%rcx, (%rax)
	jmp	LBB0_13
LBB0_23:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	jmp	LBB0_22
LBB0_14:
	movq	_stderr@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	leaq	L_.str.4(%rip), %rsi
	movl	%r14d, %edx
	xorl	%eax, %eax
	callq	_fprintf
	movq	_checkasm_lfg@GOTPCREL(%rip), %rdi
	movl	%r14d, %esi
	callq	_av_lfg_init
	xorl	%edi, %edi
	xorl	%esi, %esi
	callq	_check_cpu_flag
	movq	_cpus@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movq	(%rax), %rsi
	testq	%rsi, %rsi
	je	LBB0_17
## %bb.15:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%rax,%rbx), %rdi
	callq	_check_cpu_flag
	movq	(%r14), %rax
	movq	16(%rax,%rbx), %rsi
	addq	$16, %rbx
	testq	%rsi, %rsi
	jne	LBB0_16
LBB0_17:
	movq	_state@GOTPCREL(%rip), %rbx
	movl	16(%rbx), %edx
	movl	20(%rbx), %ecx
	movl	(%r15), %edi
	testl	%edx, %edx
	je	LBB0_19
## %bb.18:
	leaq	L_.str.5(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movl	$1, %r12d
	jmp	LBB0_21
LBB0_19:
	leaq	L_.str.6(%rip), %rsi
	xorl	%r12d, %r12d
	movl	%ecx, %edx
	xorl	%eax, %eax
	callq	_fprintf
	cmpq	$0, (%rbx)
	je	LBB0_21
## %bb.20:
	movl	24(%rbx), %edi
	callq	_print_benchs
LBB0_21:
	movl	24(%rbx), %edi
	callq	_destroy_func_tree
	xorl	%eax, %eax
	callq	_bench_uninit
LBB0_22:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movl	$1, %r12d
	jmp	LBB0_22
	.cfi_endproc
                                        ## -- End function
	.comm	_tests,8,3                      ## @tests
	.comm	_cpus,8,3                       ## @cpus
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"checkasm: no tests to perform\n"

L_.str.1:                               ## @.str.1
	.asciz	"--bench"

	.comm	_state,32,3                     ## @state
L_.str.2:                               ## @.str.2
	.space	1

L_.str.3:                               ## @.str.3
	.asciz	"--test="

L_.str.4:                               ## @.str.4
	.asciz	"checkasm: using random seed %u\n"

	.comm	_checkasm_lfg,4,2               ## @checkasm_lfg
L_.str.5:                               ## @.str.5
	.asciz	"checkasm: %d of %d tests have failed\n"

L_.str.6:                               ## @.str.6
	.asciz	"checkasm: all %d tests passed\n"

	.comm	_checkasm_checked_call,4,2      ## @checkasm_checked_call
	.comm	_checkasm_checked_call_vfp,4,2  ## @checkasm_checked_call_vfp
.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, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x21, x1
	mov	x20, x0
	bl	_av_get_random_seed
Lloh0:
	adrp	x8, _tests@GOTPAGE
Lloh1:
	ldr	x8, [x8, _tests@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	w8, [x8]
	cbz	w8, LBB0_13
; %bb.1:
Lloh3:
	adrp	x23, _cpus@GOTPAGE
Lloh4:
	ldr	x23, [x23, _cpus@GOTPAGEOFF]
	ldr	x8, [x23]
	ldr	x8, [x8]
	cbz	x8, LBB0_13
; %bb.2:
	mov	x19, x0
Lloh5:
	adrp	x22, _state@GOTPAGE
Lloh6:
	ldr	x22, [x22, _state@GOTPAGEOFF]
	cmp	w20, #2
	b.lt	LBB0_14
; %bb.3:
	add	x24, x21, #8
	add	w25, w20, #1
Lloh7:
	adrp	x20, l_.str.1@PAGE
Lloh8:
	add	x20, x20, l_.str.1@PAGEOFF
Lloh9:
	adrp	x26, l_.str.2@PAGE
Lloh10:
	add	x26, x26, l_.str.2@PAGEOFF
Lloh11:
	adrp	x21, l_.str.3@PAGE
Lloh12:
	add	x21, x21, l_.str.3@PAGEOFF
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x8, x0, #7
	str	x8, [x22, #8]
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x24, x24, #8
	sub	w25, w25, #1
	cmp	w25, #2
	b.le	LBB0_14
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x24]
	mov	x1, x20
	mov	w2, #7
	bl	_strncmp
	cbz	w0, LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x0, [x24]
	mov	x1, x21
	mov	w2, #7
	bl	_strncmp
	mov	x8, x0
	ldr	x0, [x24]
	cbz	w8, LBB0_4
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x1, #0
	mov	w2, #10
	bl	_strtoul
	mov	x19, x0
	b	LBB0_5
LBB0_9:                                 ;   in Loop: Header=BB0_6 Depth=1
	bl	_bench_init
	tbnz	x0, #63, LBB0_24
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x24]
	ldrb	w9, [x8, #7]
	cmp	w9, #61
	b.ne	LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_6 Depth=1
	add	x0, x8, #8
	str	x0, [x22]
	bl	_strlen
	str	w0, [x22, #28]
	b	LBB0_5
LBB0_12:                                ;   in Loop: Header=BB0_6 Depth=1
	str	x26, [x22]
	b	LBB0_5
LBB0_13:
Lloh13:
	adrp	x8, _stderr@GOTPAGE
Lloh14:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
Lloh16:
	adrp	x1, l_.str@PAGE
Lloh17:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf
	mov	w19, #0
	b	LBB0_23
LBB0_14:
Lloh18:
	adrp	x20, _stderr@GOTPAGE
Lloh19:
	ldr	x20, [x20, _stderr@GOTPAGEOFF]
	ldr	w0, [x20]
	str	x19, [sp]
Lloh20:
	adrp	x1, l_.str.4@PAGE
Lloh21:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_fprintf
Lloh22:
	adrp	x0, _checkasm_lfg@GOTPAGE
Lloh23:
	ldr	x0, [x0, _checkasm_lfg@GOTPAGEOFF]
	mov	x1, x19
	bl	_av_lfg_init
	mov	x0, #0
	mov	x1, #0
	bl	_check_cpu_flag
	ldr	x8, [x23]
	ldr	x1, [x8]
	cbz	x1, LBB0_17
; %bb.15:
	mov	x19, #0
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	add	x8, x8, x19
	ldr	x0, [x8, #8]
	bl	_check_cpu_flag
	ldr	x8, [x23]
	add	x9, x8, x19
	ldr	x1, [x9, #16]
	add	x19, x19, #16
	cbnz	x1, LBB0_16
LBB0_17:
	ldr	w0, [x20]
	ldp	w8, w9, [x22, #16]
	cbz	w8, LBB0_19
; %bb.18:
                                        ; kill: def $w9 killed $w9 killed $x9 def $x9
	stp	x8, x9, [sp]
Lloh24:
	adrp	x1, l_.str.5@PAGE
Lloh25:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_fprintf
	mov	w19, #1
	b	LBB0_22
LBB0_19:
	str	x9, [sp]
Lloh26:
	adrp	x1, l_.str.6@PAGE
Lloh27:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_fprintf
	ldr	x8, [x22]
	cbz	x8, LBB0_21
; %bb.20:
	ldr	w0, [x22, #24]
	bl	_print_benchs
LBB0_21:
	mov	w19, #0
LBB0_22:
	ldr	w0, [x22, #24]
	bl	_destroy_func_tree
	bl	_bench_uninit
LBB0_23:
	mov	x0, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_24:
	mov	w19, #1
	b	LBB0_23
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_tests,8,3                      ; @tests
	.comm	_cpus,8,3                       ; @cpus
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"checkasm: no tests to perform\n"

l_.str.1:                               ; @.str.1
	.asciz	"--bench"

	.comm	_state,32,3                     ; @state
l_.str.2:                               ; @.str.2
	.space	1

l_.str.3:                               ; @.str.3
	.asciz	"--test="

l_.str.4:                               ; @.str.4
	.asciz	"checkasm: using random seed %u\n"

	.comm	_checkasm_lfg,4,2               ; @checkasm_lfg
l_.str.5:                               ; @.str.5
	.asciz	"checkasm: %d of %d tests have failed\n"

l_.str.6:                               ; @.str.6
	.asciz	"checkasm: all %d tests passed\n"

	.comm	_checkasm_checked_call,4,2      ; @checkasm_checked_call
	.comm	_checkasm_checked_call_vfp,4,2  ; @checkasm_checked_call_vfp
.subsections_via_symbols
