	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pyrf_evlist__open
_pyrf_evlist__open:                     ## @pyrf_evlist__open
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movl	$0, -12(%rbp)
	leaq	L_.str.1(%rip), %rax
	leaq	_pyrf_evlist__open.kwlist(%rip), %rcx
	leaq	-12(%rbp), %r8
	movq	%rsi, %rdi
	movq	%rdx, %rsi
	movq	%rax, %rdx
	callq	_PyArg_ParseTupleAndKeywords
	testl	%eax, %eax
	je	LBB0_7
## %bb.1:
	cmpl	$0, -12(%rbp)
	je	LBB0_3
## %bb.2:
	movq	%rbx, %rdi
	callq	_perf_evlist__set_leader
LBB0_3:
	movq	%rbx, %rdi
	callq	_perf_evlist__open
	testq	%rax, %rax
	js	LBB0_6
## %bb.4:
	movq	_Py_None@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	callq	_Py_INCREF
	movq	(%rbx), %rax
	jmp	LBB0_8
LBB0_6:
	movq	_PyExc_OSError@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_PyErr_SetFromErrno
LBB0_7:
	xorl	%eax, %eax
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__DATA,__data
	.p2align	4                               ## @pyrf_evlist__open.kwlist
_pyrf_evlist__open.kwlist:
	.quad	L_.str
	.quad	0

	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"group"

L_.str.1:                               ## @.str.1
	.asciz	"|OOii"

	.comm	_PyExc_OSError,4,2              ## @PyExc_OSError
	.comm	_Py_None,8,3                    ## @Py_None
	.no_dead_strip	_pyrf_evlist__open
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pyrf_evlist__open
_pyrf_evlist__open:                     ; @pyrf_evlist__open
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x8, x2
	mov	x19, x0
	str	wzr, [sp, #12]
Lloh0:
	adrp	x2, l_.str.1@PAGE
Lloh1:
	add	x2, x2, l_.str.1@PAGEOFF
Lloh2:
	adrp	x3, _pyrf_evlist__open.kwlist@PAGE
Lloh3:
	add	x3, x3, _pyrf_evlist__open.kwlist@PAGEOFF
	add	x4, sp, #12
	mov	x0, x1
	mov	x1, x8
	bl	_PyArg_ParseTupleAndKeywords
	cbz	w0, LBB0_6
; %bb.1:
	ldr	w8, [sp, #12]
	cbz	w8, LBB0_3
; %bb.2:
	mov	x0, x19
	bl	_perf_evlist__set_leader
LBB0_3:
	mov	x0, x19
	bl	_perf_evlist__open
	tbnz	x0, #63, LBB0_5
; %bb.4:
Lloh4:
	adrp	x19, _Py_None@GOTPAGE
Lloh5:
	ldr	x19, [x19, _Py_None@GOTPAGEOFF]
	ldr	x0, [x19]
	bl	_Py_INCREF
	ldr	x0, [x19]
	b	LBB0_7
LBB0_5:
Lloh6:
	adrp	x8, _PyExc_OSError@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PyExc_OSError@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_PyErr_SetFromErrno
LBB0_6:
	mov	x0, #0
LBB0_7:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.section	__DATA,__data
	.p2align	3                               ; @pyrf_evlist__open.kwlist
_pyrf_evlist__open.kwlist:
	.quad	l_.str
	.quad	0

	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"group"

l_.str.1:                               ; @.str.1
	.asciz	"|OOii"

	.comm	_PyExc_OSError,4,2              ; @PyExc_OSError
	.comm	_Py_None,8,3                    ; @Py_None
	.no_dead_strip	_pyrf_evlist__open
.subsections_via_symbols
