	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pyrf_evlist__read_on_cpu
_pyrf_evlist__read_on_cpu:              ## @pyrf_evlist__read_on_cpu
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movl	$1, -32(%rbp)
	leaq	L_.str.2(%rip), %rax
	leaq	_pyrf_evlist__read_on_cpu.kwlist(%rip), %rcx
	leaq	-28(%rbp), %r8
	leaq	-32(%rbp), %r9
	movq	%rsi, %rdi
	movq	%rdx, %rsi
	movq	%rax, %rdx
	callq	_PyArg_ParseTupleAndKeywords
	testl	%eax, %eax
	je	LBB0_5
## %bb.1:
	movl	-28(%rbp), %esi
	movq	%r14, %rdi
	callq	_perf_evlist__mmap_read
	testq	%rax, %rax
	je	LBB0_6
## %bb.2:
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_pyrf_event__new
	testq	%rax, %rax
	je	LBB0_7
## %bb.3:
	movq	%rax, %rbx
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%rax, %rdx
	callq	_perf_evlist__parse_sample
	testl	%eax, %eax
	je	LBB0_9
## %bb.4:
	movq	_PyExc_OSError@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	leaq	L_.str.3(%rip), %rsi
	movl	%eax, %edx
	callq	_PyErr_Format
	jmp	LBB0_8
LBB0_5:
	xorl	%ebx, %ebx
	jmp	LBB0_9
LBB0_6:
	movq	_Py_None@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	callq	_Py_INCREF
	movq	(%rbx), %rbx
	jmp	LBB0_9
LBB0_7:
	xorl	%eax, %eax
	callq	_PyErr_NoMemory
LBB0_8:
	movq	%rax, %rbx
LBB0_9:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__DATA,__data
	.p2align	4                               ## @pyrf_evlist__read_on_cpu.kwlist
_pyrf_evlist__read_on_cpu.kwlist:
	.quad	L_.str
	.quad	L_.str.1
	.quad	0

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

L_.str.1:                               ## @.str.1
	.asciz	"sample_id_all"

L_.str.2:                               ## @.str.2
	.asciz	"i|i"

	.comm	_PyExc_OSError,4,2              ## @PyExc_OSError
L_.str.3:                               ## @.str.3
	.asciz	"perf: can't parse sample, err=%d"

	.comm	_Py_None,8,3                    ## @Py_None
	.no_dead_strip	_pyrf_evlist__read_on_cpu
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pyrf_evlist__read_on_cpu
_pyrf_evlist__read_on_cpu:              ; @pyrf_evlist__read_on_cpu
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x8, x2
	mov	x19, x0
	mov	w9, #1
	str	w9, [sp, #12]
Lloh0:
	adrp	x2, l_.str.2@PAGE
Lloh1:
	add	x2, x2, l_.str.2@PAGEOFF
Lloh2:
	adrp	x3, _pyrf_evlist__read_on_cpu.kwlist@PAGE
Lloh3:
	add	x3, x3, _pyrf_evlist__read_on_cpu.kwlist@PAGEOFF
	add	x4, sp, #8
	add	x5, sp, #12
	mov	x0, x1
	mov	x1, x8
	bl	_PyArg_ParseTupleAndKeywords
	cbz	w0, LBB0_5
; %bb.1:
	ldr	w1, [sp, #8]
	mov	x0, x19
	bl	_perf_evlist__mmap_read
	cbz	x0, LBB0_6
; %bb.2:
	mov	x21, x0
	bl	_pyrf_event__new
	cbz	x0, LBB0_7
; %bb.3:
	mov	x20, x0
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	bl	_perf_evlist__parse_sample
	cbz	w0, LBB0_9
; %bb.4:
	mov	x2, x0
Lloh4:
	adrp	x8, _PyExc_OSError@GOTPAGE
Lloh5:
	ldr	x8, [x8, _PyExc_OSError@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
Lloh7:
	adrp	x1, l_.str.3@PAGE
Lloh8:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_PyErr_Format
	b	LBB0_8
LBB0_5:
	mov	x20, #0
	b	LBB0_9
LBB0_6:
Lloh9:
	adrp	x19, _Py_None@GOTPAGE
Lloh10:
	ldr	x19, [x19, _Py_None@GOTPAGEOFF]
	ldr	x0, [x19]
	bl	_Py_INCREF
	ldr	x20, [x19]
	b	LBB0_9
LBB0_7:
	bl	_PyErr_NoMemory
LBB0_8:
	mov	x20, x0
LBB0_9:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.section	__DATA,__data
	.p2align	3                               ; @pyrf_evlist__read_on_cpu.kwlist
_pyrf_evlist__read_on_cpu.kwlist:
	.quad	l_.str
	.quad	l_.str.1
	.quad	0

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

l_.str.1:                               ; @.str.1
	.asciz	"sample_id_all"

l_.str.2:                               ; @.str.2
	.asciz	"i|i"

	.comm	_PyExc_OSError,4,2              ; @PyExc_OSError
l_.str.3:                               ; @.str.3
	.asciz	"perf: can't parse sample, err=%d"

	.comm	_Py_None,8,3                    ; @Py_None
	.no_dead_strip	_pyrf_evlist__read_on_cpu
.subsections_via_symbols
