	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_thread__find_addr_map          ## -- Begin function thread__find_addr_map
	.p2align	4, 0x90
_thread__find_addr_map:                 ## @thread__find_addr_map
	.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	%r9, %r12
	movq	%rdi, 32(%r9)
	movq	%r8, 8(%r9)
	movq	%rdx, 24(%r9)
	movl	$0, (%r9)
	testq	%rsi, %rsi
	je	LBB0_1
## %bb.2:
	movl	%ecx, %r15d
	movq	%rsi, %r13
	movq	%rdi, %rbx
	movq	_PERF_RECORD_MISC_KERNEL@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	_perf_host@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	cmpq	%rdx, %rcx
	jne	LBB0_10
## %bb.3:
	testq	%rax, %rax
	je	LBB0_10
## %bb.4:
	movq	%rdx, %r14
	movb	$107, 4(%r12)
LBB0_5:
	movq	%r13, %rbx
	jmp	LBB0_6
LBB0_1:
	movq	$0, 16(%r12)
	jmp	LBB0_27
LBB0_10:
	movq	_PERF_RECORD_MISC_USER@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	cmpq	%rdx, %rsi
	jne	LBB0_13
## %bb.11:
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:
	movq	%rdx, %r14
	movb	$46, 4(%r12)
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movq	%r8, %rdx
	callq	_map_groups__find
	movq	%rax, 16(%r12)
	testq	%rax, %rax
	jne	LBB0_26
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	8(%r12), %r8
	testq	%r8, %r8
	jns	LBB0_27
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	_PERF_RECORD_MISC_USER@GOTPCREL(%rip), %rax
	cmpq	%r14, (%rax)
	jne	LBB0_27
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=1
	cmpq	%r13, %rbx
	movq	%r13, %rbx
	jne	LBB0_6
	jmp	LBB0_27
LBB0_26:
	movq	%rax, %rdi
	movq	8(%r12), %rsi
	callq	*(%rdi)
	movq	%rax, 8(%r12)
LBB0_27:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	movq	_PERF_RECORD_MISC_GUEST_KERNEL@GOTPCREL(%rip), %rdi
	movq	(%rdi), %r10
	movq	_perf_guest@GOTPCREL(%rip), %r9
	movq	(%r9), %rdi
	cmpq	%rdx, %r10
	jne	LBB0_16
## %bb.14:
	testq	%rdi, %rdi
	je	LBB0_16
## %bb.15:
	movq	%rdx, %r14
	movb	$103, 4(%r12)
	jmp	LBB0_5
LBB0_16:
	testq	%rdi, %rdi
	movq	_PERF_RECORD_MISC_GUEST_USER@GOTPCREL(%rip), %r8
	movl	$117, %ebx
	movl	$72, %r11d
	cmovel	%r11d, %ebx
	cmpq	%rdx, (%r8)
	cmovnel	%r11d, %ebx
	movb	%bl, 4(%r12)
	movq	$0, 16(%r12)
	jne	LBB0_17
## %bb.19:
	testq	%rdi, %rdi
	jne	LBB0_21
	jmp	LBB0_20
LBB0_17:
	cmpq	%rdx, %r10
	jne	LBB0_21
## %bb.18:
	cmpq	$0, (%r9)
	jne	LBB0_21
LBB0_20:
	movl	$1, (%r12)
LBB0_21:
	cmpq	%rdx, %rsi
	jne	LBB0_22
## %bb.24:
	testq	%rax, %rax
	jne	LBB0_27
	jmp	LBB0_25
LBB0_22:
	cmpq	%rdx, %rcx
	jne	LBB0_27
## %bb.23:
	cmpq	$0, (%r14)
	jne	LBB0_27
LBB0_25:
	movl	$1, (%r12)
	jmp	LBB0_27
	.cfi_endproc
                                        ## -- End function
	.comm	_PERF_RECORD_MISC_KERNEL,8,3    ## @PERF_RECORD_MISC_KERNEL
	.comm	_perf_host,8,3                  ## @perf_host
	.comm	_PERF_RECORD_MISC_USER,8,3      ## @PERF_RECORD_MISC_USER
	.comm	_PERF_RECORD_MISC_GUEST_KERNEL,8,3 ## @PERF_RECORD_MISC_GUEST_KERNEL
	.comm	_perf_guest,8,3                 ## @perf_guest
	.comm	_PERF_RECORD_MISC_GUEST_USER,8,3 ## @PERF_RECORD_MISC_GUEST_USER
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_thread__find_addr_map          ; -- Begin function thread__find_addr_map
	.p2align	2
_thread__find_addr_map:                 ; @thread__find_addr_map
	.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, x5
	str	x4, [x5, #8]
	stp	x2, x0, [x5, #24]
	str	wzr, [x5]
	cbz	x1, LBB0_6
; %bb.1:
	mov	x21, x3
	mov	x20, x2
	mov	x22, x1
Lloh0:
	adrp	x9, _PERF_RECORD_MISC_KERNEL@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PERF_RECORD_MISC_KERNEL@GOTPAGEOFF]
Lloh2:
	adrp	x8, _perf_host@GOTPAGE
Lloh3:
	ldr	x8, [x8, _perf_host@GOTPAGEOFF]
Lloh4:
	ldr	x10, [x9]
	ldr	x9, [x8]
	cmp	x10, x2
	ccmp	x9, #0, #4, eq
Lloh5:
	adrp	x24, _PERF_RECORD_MISC_USER@GOTPAGE
Lloh6:
	ldr	x24, [x24, _PERF_RECORD_MISC_USER@GOTPAGEOFF]
	b.ne	LBB0_7
; %bb.2:
	ldr	x11, [x24]
	cmp	x11, x20
	ccmp	x9, #0, #4, eq
	b.ne	LBB0_9
; %bb.3:
Lloh7:
	adrp	x12, _PERF_RECORD_MISC_GUEST_KERNEL@GOTPAGE
Lloh8:
	ldr	x12, [x12, _PERF_RECORD_MISC_GUEST_KERNEL@GOTPAGEOFF]
Lloh9:
	ldr	x12, [x12]
Lloh10:
	adrp	x13, _perf_guest@GOTPAGE
Lloh11:
	ldr	x13, [x13, _perf_guest@GOTPAGEOFF]
	ldr	x14, [x13]
	cmp	x12, x20
	ccmp	x14, #0, #4, eq
	b.ne	LBB0_15
; %bb.4:
	cmp	x14, #0
Lloh12:
	adrp	x15, _PERF_RECORD_MISC_GUEST_USER@GOTPAGE
Lloh13:
	ldr	x15, [x15, _PERF_RECORD_MISC_GUEST_USER@GOTPAGEOFF]
Lloh14:
	ldr	x15, [x15]
	ccmp	x15, x20, #0, ne
	mov	w16, #72
	mov	w17, #117
	csel	w16, w17, w16, eq
	strb	w16, [x19, #4]
	str	xzr, [x19, #16]
	cmp	x15, x20
	b.ne	LBB0_16
; %bb.5:
	cbnz	x14, LBB0_18
	b	LBB0_17
LBB0_6:
	str	xzr, [x19, #16]
	b	LBB0_14
LBB0_7:
	mov	w8, #107
LBB0_8:
	strb	w8, [x19, #4]
	mov	x23, x22
	b	LBB0_10
LBB0_9:
	mov	x23, x0
	mov	w8, #46
	strb	w8, [x19, #4]
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x23
	mov	x1, x21
	mov	x2, x4
	bl	_map_groups__find
	str	x0, [x19, #16]
	cbnz	x0, LBB0_13
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	x4, [x19, #8]
	tbz	x4, #63, LBB0_14
; %bb.12:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	x8, [x24]
	cmp	x8, x20
	ccmp	x23, x22, #4, eq
	mov	x23, x22
	b.ne	LBB0_10
	b	LBB0_14
LBB0_13:
	ldr	x8, [x0]
	ldr	x1, [x19, #8]
	blr	x8
	str	x0, [x19, #8]
LBB0_14:
	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_15:
	mov	w8, #103
	b	LBB0_8
LBB0_16:
	ldr	x13, [x13]
	cmp	x12, x20
	ccmp	x13, #0, #0, eq
	b.ne	LBB0_18
LBB0_17:
	mov	w12, #1
	str	w12, [x19]
LBB0_18:
	cmp	x11, x20
	b.ne	LBB0_20
; %bb.19:
	cbnz	x9, LBB0_14
	b	LBB0_22
LBB0_20:
	cmp	x10, x20
	b.ne	LBB0_14
; %bb.21:
	ldr	x8, [x8]
	cbnz	x8, LBB0_14
LBB0_22:
	mov	w8, #1
	str	w8, [x19]
	b	LBB0_14
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_PERF_RECORD_MISC_KERNEL,8,3    ; @PERF_RECORD_MISC_KERNEL
	.comm	_perf_host,8,3                  ; @perf_host
	.comm	_PERF_RECORD_MISC_USER,8,3      ; @PERF_RECORD_MISC_USER
	.comm	_PERF_RECORD_MISC_GUEST_KERNEL,8,3 ; @PERF_RECORD_MISC_GUEST_KERNEL
	.comm	_perf_guest,8,3                 ; @perf_guest
	.comm	_PERF_RECORD_MISC_GUEST_USER,8,3 ; @PERF_RECORD_MISC_GUEST_USER
.subsections_via_symbols
