	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function validate_group
_validate_group:                        ## @validate_group
	.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, %r15
	movq	(%rdi), %r12
	movq	_ENOSPC@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
	xorl	%eax, %eax
	callq	_allocate_fake_cpuc
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_1
## %bb.5:
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_1:
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movl	$1, %edx
	callq	_collect_events
	testl	%eax, %eax
	js	LBB0_4
## %bb.2:
	movl	%eax, (%rbx)
	movq	%rbx, %rdi
	movq	%r15, %rsi
	xorl	%edx, %edx
	callq	_collect_events
	testl	%eax, %eax
	js	LBB0_4
## %bb.3:
	movl	%eax, (%rbx)
	movq	_x86_pmu@GOTPCREL(%rip), %rcx
	movq	%rbx, %rdi
	movl	%eax, %esi
	xorl	%edx, %edx
	callq	*(%rcx)
	movl	%eax, %r14d
LBB0_4:
	movq	%rbx, %rdi
	callq	_free_fake_cpuc
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOSPC,4,2                     ## @ENOSPC
	.comm	_x86_pmu,8,3                    ## @x86_pmu
	.no_dead_strip	_validate_group
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function validate_group
_validate_group:                        ; @validate_group
	.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	x21, x0
	ldr	x22, [x0]
Lloh0:
	adrp	x8, _ENOSPC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENOSPC@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
	bl	_allocate_fake_cpuc
	mov	x19, x0
	bl	_IS_ERR
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x19
	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
	b	_PTR_ERR
LBB0_2:
	neg	w20, w20
	mov	x0, x19
	mov	x1, x22
	mov	w2, #1
	bl	_collect_events
	tbnz	w0, #31, LBB0_5
; %bb.3:
	str	w0, [x19]
	mov	x0, x19
	mov	x1, x21
	mov	w2, #0
	bl	_collect_events
	tbnz	w0, #31, LBB0_5
; %bb.4:
	mov	x1, x0
	str	w0, [x19]
Lloh3:
	adrp	x8, _x86_pmu@GOTPAGE
Lloh4:
	ldr	x8, [x8, _x86_pmu@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	mov	x0, x19
	mov	x2, #0
	blr	x8
	mov	x20, x0
LBB0_5:
	mov	x0, x19
	bl	_free_fake_cpuc
	mov	x0, x20
	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	_ENOSPC,4,2                     ; @ENOSPC
	.comm	_x86_pmu,8,3                    ; @x86_pmu
	.no_dead_strip	_validate_group
.subsections_via_symbols
