	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __event_process_build_id
___event_process_build_id:              ## @__event_process_build_id
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	8(%rdi), %esi
	movq	%rdx, %rdi
	callq	_perf_session__findnew_machine
	movl	$-1, %r15d
	testq	%rax, %rax
	je	LBB0_10
## %bb.1:
	movq	_PERF_RECORD_MISC_CPUMODE_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	4(%r12), %ecx
	addl	$-128, %ecx
	cmpl	$3, %ecx
	ja	LBB0_10
## %bb.2:
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rcx,4), %rcx
	addq	%rdx, %rcx
	jmpq	*%rcx
LBB0_5:
	movq	_DSO_TYPE_USER@GOTPCREL(%rip), %rcx
	jmp	LBB0_6
LBB0_3:
	addq	$4, %rax
	movq	_DSO_TYPE_KERNEL@GOTPCREL(%rip), %rcx
	jmp	LBB0_6
LBB0_4:
	addq	$4, %rax
	movq	_DSO_TYPE_GUEST_KERNEL@GOTPCREL(%rip), %rcx
LBB0_6:
	movl	(%rcx), %r13d
	movq	%rax, %rdi
	movq	%r14, %rsi
	callq	___dsos__findnew
	xorl	%r15d, %r15d
	testq	%rax, %rax
	je	LBB0_10
## %bb.7:
	movq	%rax, %rbx
	movl	%r13d, -52(%rbp)                ## 4-byte Spill
	movq	%rsp, -64(%rbp)                 ## 8-byte Spill
	movq	_BUILD_ID_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%eax, %eax
	incl	%eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r13
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_dso__set_build_id
	cmpb	$91, (%r14)
	jne	LBB0_9
## %bb.8:
	movl	-52(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, (%rbx)
LBB0_9:
	movl	8(%rbx), %edi
	movl	$4, %esi
	movq	%r13, %rdx
	callq	_build_id__sprintf
	movl	4(%rbx), %esi
	leaq	L_.str(%rip), %rdi
	movq	%r13, %rdx
	callq	_pr_debug
	movq	-64(%rbp), %rsp                 ## 8-byte Reload
LBB0_10:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_12
## %bb.11:
	movl	%r15d, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	callq	___stack_chk_fail
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
LJTI0_0:
	.long	L0_0_set_5
	.long	L0_0_set_3
	.long	L0_0_set_5
	.long	L0_0_set_4
	.end_data_region
                                        ## -- End function
	.comm	_PERF_RECORD_MISC_CPUMODE_MASK,4,2 ## @PERF_RECORD_MISC_CPUMODE_MASK
	.comm	_DSO_TYPE_KERNEL,4,2            ## @DSO_TYPE_KERNEL
	.comm	_DSO_TYPE_GUEST_KERNEL,4,2      ## @DSO_TYPE_GUEST_KERNEL
	.comm	_DSO_TYPE_USER,4,2              ## @DSO_TYPE_USER
	.comm	_BUILD_ID_SIZE,4,2              ## @BUILD_ID_SIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"build id event received for %s: %s\n"

	.no_dead_strip	___event_process_build_id
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __event_process_build_id
___event_process_build_id:              ; @__event_process_build_id
	.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
	sub	sp, sp, #16
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
	ldr	w1, [x0, #8]
	mov	x0, x2
	bl	_perf_session__findnew_machine
	cbz	x0, LBB0_4
; %bb.1:
	ldr	w8, [x20, #4]
Lloh3:
	adrp	x9, _PERF_RECORD_MISC_CPUMODE_MASK@GOTPAGE
Lloh4:
	ldr	x9, [x9, _PERF_RECORD_MISC_CPUMODE_MASK@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	and	w8, w9, w8
	sub	w8, w8, #128
	cmp	w8, #3
	b.hi	LBB0_4
; %bb.2:
Lloh6:
	adrp	x9, lJTI0_0@PAGE
Lloh7:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_3
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_3:
Lloh8:
	adrp	x8, _DSO_TYPE_USER@GOTPAGE
Lloh9:
	ldr	x8, [x8, _DSO_TYPE_USER@GOTPAGEOFF]
	b	LBB0_7
LBB0_4:
	mov	w0, #-1
	b	LBB0_11
LBB0_5:
	add	x0, x0, #4
Lloh10:
	adrp	x8, _DSO_TYPE_KERNEL@GOTPAGE
Lloh11:
	ldr	x8, [x8, _DSO_TYPE_KERNEL@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
	add	x0, x0, #4
Lloh12:
	adrp	x8, _DSO_TYPE_GUEST_KERNEL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _DSO_TYPE_GUEST_KERNEL@GOTPAGEOFF]
LBB0_7:
	ldr	w24, [x8]
	mov	x1, x19
	bl	___dsos__findnew
	cbz	x0, LBB0_11
; %bb.8:
	mov	x21, x0
	mov	x23, sp
Lloh14:
	adrp	x8, _BUILD_ID_SIZE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _BUILD_ID_SIZE@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	mov	w9, #1
	bfi	w9, w8, #1, #31
	add	x8, x9, #15
	and	x8, x8, #0x1fffffff0
Lloh17:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh18:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	sub	x22, x9, x8
	mov	sp, x22
	mov	x1, x20
	bl	_dso__set_build_id
	ldrb	w8, [x19]
	cmp	w8, #91
	b.ne	LBB0_10
; %bb.9:
	str	w24, [x21]
LBB0_10:
	ldr	w0, [x21, #8]
	mov	w1, #4
	mov	x2, x22
	bl	_build_id__sprintf
	ldr	w1, [x21, #4]
Lloh19:
	adrp	x0, l_.str@PAGE
Lloh20:
	add	x0, x0, l_.str@PAGEOFF
	mov	x2, x22
	bl	_pr_debug
	mov	sp, x23
	mov	w0, #0
LBB0_11:
	ldur	x8, [x29, #-56]
Lloh21:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh22:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_13
; %bb.12:
	sub	sp, x29, #48
	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
LBB0_13:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_5-LBB0_3)>>2
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_6-LBB0_3)>>2
                                        ; -- End function
	.comm	_PERF_RECORD_MISC_CPUMODE_MASK,4,2 ; @PERF_RECORD_MISC_CPUMODE_MASK
	.comm	_DSO_TYPE_KERNEL,4,2            ; @DSO_TYPE_KERNEL
	.comm	_DSO_TYPE_GUEST_KERNEL,4,2      ; @DSO_TYPE_GUEST_KERNEL
	.comm	_DSO_TYPE_USER,4,2              ; @DSO_TYPE_USER
	.comm	_BUILD_ID_SIZE,4,2              ; @BUILD_ID_SIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"build id event received for %s: %s\n"

	.no_dead_strip	___event_process_build_id
.subsections_via_symbols
