	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pmu_config_term
_pmu_config_term:                       ## @pmu_config_term
	.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	%rdx, %rbx
	movq	%rsi, %r14
	movq	%rdi, %r12
	movq	%rdx, %rdi
	callq	_parse_events__is_hardcoded_term
	xorl	%r15d, %r15d
	testq	%rax, %rax
	jne	LBB0_10
## %bb.1:
	movq	(%rbx), %rax
	movq	_PARSE_EVENTS__TERM_TYPE_NUM@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.3:
	movl	12(%rbx), %esi
	movq	%r12, %rdi
	callq	_pmu_find_format
	testq	%rax, %rax
	je	LBB0_2
## %bb.4:
	movl	(%rax), %ecx
	cmpl	$128, %ecx
	je	LBB0_9
## %bb.5:
	cmpl	$129, %ecx
	je	LBB0_8
## %bb.6:
	cmpl	$130, %ecx
	jne	LBB0_2
## %bb.7:
	addq	$8, %r14
	jmp	LBB0_9
LBB0_2:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
	jmp	LBB0_10
LBB0_8:
	addq	$4, %r14
LBB0_9:
	movl	4(%rax), %edi
	movl	8(%rbx), %esi
	callq	_pmu_format_value
	orl	%eax, (%r14)
LBB0_10:
	movl	%r15d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PARSE_EVENTS__TERM_TYPE_NUM,8,3 ## @PARSE_EVENTS__TERM_TYPE_NUM
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_pmu_config_term
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pmu_config_term
_pmu_config_term:                       ; @pmu_config_term
	.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	x20, x2
	mov	x19, x1
	mov	x21, x0
	mov	x0, x2
	bl	_parse_events__is_hardcoded_term
	cbz	x0, LBB0_2
; %bb.1:
	mov	w0, #0
	b	LBB0_11
LBB0_2:
	ldr	x8, [x20]
Lloh0:
	adrp	x9, _PARSE_EVENTS__TERM_TYPE_NUM@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PARSE_EVENTS__TERM_TYPE_NUM@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.3:
	ldr	w1, [x20, #12]
	mov	x0, x21
	bl	_pmu_find_format
	cbz	x0, LBB0_8
; %bb.4:
	ldr	w8, [x0]
	cmp	w8, #128
	b.eq	LBB0_10
; %bb.5:
	cmp	w8, #129
	b.eq	LBB0_9
; %bb.6:
	cmp	w8, #130
	b.ne	LBB0_8
; %bb.7:
	add	x19, x19, #8
	b	LBB0_10
LBB0_8:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_11
LBB0_9:
	add	x19, x19, #4
LBB0_10:
	ldr	w0, [x0, #4]
	ldr	w1, [x20, #8]
	bl	_pmu_format_value
	mov	x8, x0
	mov	w0, #0
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
LBB0_11:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_PARSE_EVENTS__TERM_TYPE_NUM,8,3 ; @PARSE_EVENTS__TERM_TYPE_NUM
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_pmu_config_term
.subsections_via_symbols
