	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_expression
_set_expression:                        ## @set_expression
	.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
	movq	%rdi, %r14
	movq	_the_cpu@GOTPCREL(%rip), %r15
	cmpl	$0, (%r15)
	jle	LBB0_7
## %bb.1:
	xorl	%r12d, %r12d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%r15), %rax
	movq	(%rax,%r12), %rsi
	movq	%r14, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_3
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
	movslq	(%r15), %rax
	addq	$32, %r12
	cmpq	%rax, %rbx
	jl	LBB0_2
LBB0_7:
	movq	8(%r15), %rsi
	leaq	L_.str.2(%rip), %rdi
	movq	%r14, %rdx
	xorl	%eax, %eax
	callq	_printf
	movl	$-1, %edi
	callq	_exit
LBB0_3:
	movq	16(%r15), %rsi
	movl	24(%rsi,%r12), %eax
	movq	_expression@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movl	20(%rsi,%r12), %eax
	movq	_command@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movl	16(%rsi,%r12), %eax
	movq	_threshold@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	8(%rsi,%r12), %rdx
	movq	_max_pmc_counters@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	xorl	%eax, %eax
	cmpq	%rcx, %rdx
	jle	LBB0_8
## %bb.4:
	movq	(%rsi,%r12), %rsi
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	leaq	L_str(%rip), %rdi
	callq	_puts
	movq	_run_all@GOTPCREL(%rip), %rcx
	movl	$-1, %eax
	cmpq	$0, (%rcx)
	je	LBB0_5
LBB0_8:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movl	$-1, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_the_cpu,24,3                   ## @the_cpu
	.comm	_expression,4,2                 ## @expression
	.comm	_command,4,2                    ## @command
	.comm	_threshold,4,2                  ## @threshold
	.comm	_max_pmc_counters,8,3           ## @max_pmc_counters
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Test %s requires that the CPU have %d counters and this CPU has only %d\n"

	.comm	_run_all,8,3                    ## @run_all
L_.str.2:                               ## @.str.2
	.asciz	"For CPU type %s we have no expression:%s\n"

L_str:                                  ## @str
	.asciz	"Sorry this test can not be run"

	.no_dead_strip	_set_expression
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_expression
_set_expression:                        ; @set_expression
	.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
	mov	x19, x0
Lloh0:
	adrp	x21, _the_cpu@GOTPAGE
Lloh1:
	ldr	x21, [x21, _the_cpu@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_4
; %bb.1:
	mov	x20, #0
	mov	x22, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21, #16]
	ldr	x1, [x8, x20]
	mov	x0, x19
	bl	_strcmp
	cbz	x0, LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x22, x22, #1
	ldrsw	x8, [x21]
	add	x20, x20, #32
	cmp	x22, x8
	b.lt	LBB0_2
LBB0_4:
	ldr	x8, [x21, #8]
	stp	x8, x19, [sp]
Lloh2:
	adrp	x0, l_.str.2@PAGE
Lloh3:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_printf
	mov	w0, #-1
	bl	_exit
LBB0_5:
	ldr	x8, [x21, #16]
	add	x9, x8, x20
	ldr	w10, [x9, #24]
Lloh4:
	adrp	x11, _expression@GOTPAGE
Lloh5:
	ldr	x11, [x11, _expression@GOTPAGEOFF]
Lloh6:
	str	w10, [x11]
	ldr	w10, [x9, #20]
Lloh7:
	adrp	x11, _command@GOTPAGE
Lloh8:
	ldr	x11, [x11, _command@GOTPAGEOFF]
Lloh9:
	str	w10, [x11]
	ldr	w10, [x9, #16]
Lloh10:
	adrp	x11, _threshold@GOTPAGE
Lloh11:
	ldr	x11, [x11, _threshold@GOTPAGEOFF]
Lloh12:
	str	w10, [x11]
	ldr	x9, [x9, #8]
Lloh13:
	adrp	x10, _max_pmc_counters@GOTPAGE
Lloh14:
	ldr	x10, [x10, _max_pmc_counters@GOTPAGEOFF]
Lloh15:
	ldr	x10, [x10]
	cmp	x9, x10
	b.le	LBB0_8
; %bb.6:
	ldr	x8, [x8, x20]
	stp	x9, x10, [sp, #8]
	str	x8, [sp]
Lloh16:
	adrp	x0, l_.str@PAGE
Lloh17:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printf
Lloh18:
	adrp	x0, l_str@PAGE
Lloh19:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
Lloh20:
	adrp	x8, _run_all@GOTPAGE
Lloh21:
	ldr	x8, [x8, _run_all@GOTPAGEOFF]
Lloh22:
	ldr	x8, [x8]
	cbz	x8, LBB0_10
; %bb.7:
	mov	w0, #-1
	b	LBB0_9
LBB0_8:
	mov	w0, #0
LBB0_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
	bl	_exit
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotStr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotStr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotStr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_the_cpu,24,3                   ; @the_cpu
	.comm	_expression,4,2                 ; @expression
	.comm	_command,4,2                    ; @command
	.comm	_threshold,4,2                  ; @threshold
	.comm	_max_pmc_counters,8,3           ; @max_pmc_counters
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Test %s requires that the CPU have %d counters and this CPU has only %d\n"

	.comm	_run_all,8,3                    ; @run_all
l_.str.2:                               ; @.str.2
	.asciz	"For CPU type %s we have no expression:%s\n"

l_str:                                  ; @str
	.asciz	"Sorry this test can not be run"

	.no_dead_strip	_set_expression
.subsections_via_symbols
