	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function perf_evsel__parse_id_sample
_perf_evsel__parse_id_sample:           ## @perf_evsel__parse_id_sample
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movl	(%rdi), %r15d
	movl	4(%rdi), %r12d
	movq	(%rsi), %rax
	movslq	%eax, %rcx
	addq	$-4, %rcx
	andq	$-4, %rcx
	leaq	(%rcx,%rax), %rbx
	addq	$-4, %rbx
	movq	_PERF_SAMPLE_CPU@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	je	LBB0_1
## %bb.2:
	movl	(%rbx), %r13d
	testl	%r15d, %r15d
	je	LBB0_3
## %bb.4:
	movl	%r13d, %edi
	callq	_bswap_64
	movl	%eax, %r13d
	movq	(%r13), %rdi
	callq	_bswap_32
	movq	%rax, (%r13)
	jmp	LBB0_5
LBB0_1:
                                        ## implicit-def: $r13
	jmp	LBB0_6
LBB0_3:
	movq	(%r13), %rax
LBB0_5:
	movq	%rax, 32(%r14)
	addq	$-4, %rbx
LBB0_6:
	movq	_PERF_SAMPLE_STREAM_ID@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	je	LBB0_8
## %bb.7:
	movl	(%rbx), %eax
	movl	%eax, (%r14)
	addq	$-4, %rbx
LBB0_8:
	movq	_PERF_SAMPLE_ID@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	je	LBB0_10
## %bb.9:
	movl	(%rbx), %eax
	movl	%eax, 4(%r14)
	addq	$-4, %rbx
LBB0_10:
	movq	_PERF_SAMPLE_TIME@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	je	LBB0_12
## %bb.11:
	movl	(%rbx), %eax
	movl	%eax, 8(%r14)
	addq	$-4, %rbx
LBB0_12:
	movq	_PERF_SAMPLE_TID@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	je	LBB0_17
## %bb.13:
	movl	(%rbx), %edi
	movabsq	$-4294967296, %rax              ## imm = 0xFFFFFFFF00000000
	andq	%rax, %r13
	testl	%r15d, %r15d
	je	LBB0_14
## %bb.15:
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_bswap_64
	movl	%eax, %eax
	orq	%rax, %r13
	movq	(%r13), %rdi
	callq	_bswap_32
	movq	%rax, (%r13)
	movq	8(%r13), %rdi
	callq	_bswap_32
	movq	%rax, 8(%r13)
	jmp	LBB0_16
LBB0_14:
	orq	%rdi, %r13
LBB0_16:
	movq	(%r13), %rax
	movq	%rax, 24(%r14)
	movq	8(%r13), %rax
	movq	%rax, 16(%r14)
LBB0_17:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PERF_SAMPLE_CPU,4,2            ## @PERF_SAMPLE_CPU
	.comm	_PERF_SAMPLE_STREAM_ID,4,2      ## @PERF_SAMPLE_STREAM_ID
	.comm	_PERF_SAMPLE_ID,4,2             ## @PERF_SAMPLE_ID
	.comm	_PERF_SAMPLE_TIME,4,2           ## @PERF_SAMPLE_TIME
	.comm	_PERF_SAMPLE_TID,4,2            ## @PERF_SAMPLE_TID
	.no_dead_strip	_perf_evsel__parse_id_sample
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function perf_evsel__parse_id_sample
_perf_evsel__parse_id_sample:           ; @perf_evsel__parse_id_sample
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x2
	ldr	x8, [x1]
	ldp	w21, w22, [x0]
	sxtw	x9, w8
	sub	x9, x9, #4
	and	x9, x9, #0xfffffffffffffffc
	add	x8, x9, x8
	sub	x23, x8, #4
Lloh0:
	adrp	x8, _PERF_SAMPLE_CPU@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PERF_SAMPLE_CPU@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_3
; %bb.1:
	ldr	w20, [x23]
	cbz	w21, LBB0_4
; %bb.2:
	mov	x0, x20
	bl	_bswap_64
	and	x20, x0, #0xffffffff
	ldr	x0, [x20]
	bl	_bswap_32
	str	x0, [x20]
	b	LBB0_5
LBB0_3:
                                        ; implicit-def: $x20
	b	LBB0_6
LBB0_4:
	ldr	x0, [x20]
LBB0_5:
	str	x0, [x19, #32]
	sub	x23, x23, #4
LBB0_6:
Lloh3:
	adrp	x8, _PERF_SAMPLE_STREAM_ID@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PERF_SAMPLE_STREAM_ID@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_8
; %bb.7:
	ldr	w8, [x23], #-4
	str	w8, [x19]
LBB0_8:
Lloh6:
	adrp	x8, _PERF_SAMPLE_ID@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PERF_SAMPLE_ID@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_10
; %bb.9:
	ldr	w8, [x23], #-4
	str	w8, [x19, #4]
LBB0_10:
Lloh9:
	adrp	x8, _PERF_SAMPLE_TIME@GOTPAGE
Lloh10:
	ldr	x8, [x8, _PERF_SAMPLE_TIME@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_12
; %bb.11:
	ldr	w8, [x23], #-4
	str	w8, [x19, #8]
LBB0_12:
Lloh12:
	adrp	x8, _PERF_SAMPLE_TID@GOTPAGE
Lloh13:
	ldr	x8, [x8, _PERF_SAMPLE_TID@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_17
; %bb.13:
	ldr	w0, [x23]
	and	x20, x20, #0xffffffff00000000
	cbz	w21, LBB0_15
; %bb.14:
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_bswap_64
	and	x8, x0, #0xffffffff
	orr	x20, x8, x20
	ldr	x0, [x20]
	bl	_bswap_32
	str	x0, [x20]
	ldr	x0, [x20, #8]
	bl	_bswap_32
	str	x0, [x20, #8]
	b	LBB0_16
LBB0_15:
	orr	x20, x20, x0
LBB0_16:
	ldr	x8, [x20]
	str	x8, [x19, #24]
	ldr	x8, [x20, #8]
	str	x8, [x19, #16]
LBB0_17:
	mov	w0, #0
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_PERF_SAMPLE_CPU,4,2            ; @PERF_SAMPLE_CPU
	.comm	_PERF_SAMPLE_STREAM_ID,4,2      ; @PERF_SAMPLE_STREAM_ID
	.comm	_PERF_SAMPLE_ID,4,2             ; @PERF_SAMPLE_ID
	.comm	_PERF_SAMPLE_TIME,4,2           ; @PERF_SAMPLE_TIME
	.comm	_PERF_SAMPLE_TID,4,2            ; @PERF_SAMPLE_TID
	.no_dead_strip	_perf_evsel__parse_id_sample
.subsections_via_symbols
