	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function x86_pmu_extra_regs
_x86_pmu_extra_regs:                    ## @x86_pmu_extra_regs
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_x86_pmu@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	xorl	%eax, %eax
	testq	%rdx, %rdx
	je	LBB0_8
## %bb.1:
	movq	16(%rdx), %r8
	testq	%r8, %r8
	je	LBB0_8
## %bb.2:
	movl	4(%rdx), %ecx
	andl	%edi, %ecx
	cmpl	%ecx, (%rdx)
	jne	LBB0_4
## %bb.3:
	movq	%rdx, %r9
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	48(%rdx), %r8
	testq	%r8, %r8
	je	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	leaq	32(%rdx), %r9
	movl	36(%rdx), %ecx
	andl	%edi, %ecx
	cmpl	%ecx, 32(%rdx)
	movq	%r9, %rdx
	jne	LBB0_4
LBB0_6:
	movl	(%rsi), %edx
	movl	8(%r9), %ecx
	notl	%ecx
	testl	%ecx, %edx
	je	LBB0_9
## %bb.7:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_8:
	popq	%rbp
	retq
LBB0_9:
	movl	24(%r9), %ecx
	movl	%ecx, 24(%rsi)
	movl	%edx, 8(%rsi)
	movq	%r8, 16(%rsi)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_x86_pmu,8,3                    ## @x86_pmu
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_x86_pmu_extra_regs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function x86_pmu_extra_regs
_x86_pmu_extra_regs:                    ; @x86_pmu_extra_regs
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _x86_pmu@GOTPAGE
Lloh1:
	ldr	x8, [x8, _x86_pmu@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_6
; %bb.1:
	ldr	x9, [x8, #16]
	cbz	x9, LBB0_6
; %bb.2:
	ldr	w10, [x8]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x8, #4]
	and	w11, w11, w0
	cmp	w10, w11
	b.eq	LBB0_7
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x9, [x8, #48]
	cbz	x9, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w10, [x8, #32]!
	b	LBB0_3
LBB0_6:
	mov	w0, #0
	ret
LBB0_7:
	ldr	w10, [x1]
	ldr	w11, [x8, #8]
	bics	wzr, w10, w11
	b.eq	LBB0_9
; %bb.8:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
	ret
LBB0_9:
	mov	w0, #0
	ldr	w8, [x8, #24]
	str	w8, [x1, #24]
	str	w10, [x1, #8]
	str	x9, [x1, #16]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_x86_pmu,8,3                    ; @x86_pmu
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_x86_pmu_extra_regs
.subsections_via_symbols
