	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function run_tests
_run_tests:                             ## @run_tests
	.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	_valid_pmc_cnt@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	leaq	L_str(%rip), %rdi
	callq	_puts
	cmpl	$0, (%r14)
	jle	LBB0_3
## %bb.1:
	movq	_valid_pmcs@GOTPCREL(%rip), %r12
	movq	_stdout@GOTPCREL(%rip), %r13
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rax
	movq	(%rax,%r15,8), %rsi
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movl	%eax, %ebx
	movl	(%r13), %edi
	callq	_fflush
	movq	(%r12), %rax
	movq	(%rax,%r15,8), %rdi
	movl	%ebx, %esi
	callq	_test_for_a_pmc
	incq	%r15
	movslq	(%r14), %rax
	cmpq	%rax, %r15
	jl	LBB0_2
LBB0_3:
	addq	$8, %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	"Running tests on %d PMC's this may take some time\n"

	.comm	_valid_pmc_cnt,4,2              ## @valid_pmc_cnt
L_.str.2:                               ## @.str.2
	.asciz	"%s"

	.comm	_valid_pmcs,8,3                 ## @valid_pmcs
	.comm	_stdout,4,2                     ## @stdout
L_str:                                  ## @str
	.asciz	"------------------------------------------------------------------------"

	.no_dead_strip	_run_tests
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function run_tests
_run_tests:                             ; @run_tests
	.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
Lloh0:
	adrp	x21, _valid_pmc_cnt@GOTPAGE
Lloh1:
	ldr	x21, [x21, _valid_pmc_cnt@GOTPAGEOFF]
	ldr	w8, [x21]
	str	x8, [sp]
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printf
Lloh4:
	adrp	x0, l_str@PAGE
Lloh5:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x22, #0
Lloh6:
	adrp	x23, _valid_pmcs@GOTPAGE
Lloh7:
	ldr	x23, [x23, _valid_pmcs@GOTPAGEOFF]
Lloh8:
	adrp	x24, _stdout@GOTPAGE
Lloh9:
	ldr	x24, [x24, _stdout@GOTPAGEOFF]
Lloh10:
	adrp	x19, l_.str.2@PAGE
Lloh11:
	add	x19, x19, l_.str.2@PAGEOFF
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x23]
	lsl	x25, x22, #3
	ldr	x8, [x8, x25]
	str	x8, [sp]
	mov	x0, x19
	bl	_printf
	mov	x20, x0
	ldr	w0, [x24]
	bl	_fflush
	ldr	x8, [x23]
	ldr	x0, [x8, x25]
	mov	x1, x20
	bl	_test_for_a_pmc
	add	x22, x22, #1
	ldrsw	x8, [x21]
	cmp	x22, x8
	b.lt	LBB0_2
LBB0_3:
	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
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Running tests on %d PMC's this may take some time\n"

	.comm	_valid_pmc_cnt,4,2              ; @valid_pmc_cnt
l_.str.2:                               ; @.str.2
	.asciz	"%s"

	.comm	_valid_pmcs,8,3                 ; @valid_pmcs
	.comm	_stdout,4,2                     ; @stdout
l_str:                                  ; @str
	.asciz	"------------------------------------------------------------------------"

	.no_dead_strip	_run_tests
.subsections_via_symbols
