	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_machine__process_mmap_event    ## -- Begin function machine__process_mmap_event
	.p2align	4, 0x90
_machine__process_mmap_event:           ## @machine__process_mmap_event
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, %r14
	movq	_PERF_RECORD_MISC_CPUMODE_MASK@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	_dump_trace@GOTPCREL(%rip), %rax
	andq	(%rsi), %rbx
	cmpq	$0, (%rax)
	je	LBB0_2
## %bb.1:
	movq	_stdout@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_perf_event__fprintf_mmap
LBB0_2:
	movq	_PERF_RECORD_MISC_GUEST_KERNEL@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	je	LBB0_4
## %bb.3:
	movq	_PERF_RECORD_MISC_KERNEL@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	je	LBB0_4
## %bb.6:
	movl	4(%r12), %esi
	movq	%r14, %rdi
	callq	_machine__findnew_thread
	testq	%rax, %rax
	je	LBB0_5
## %bb.7:
	movq	%rax, %r15
	movl	16(%r12), %esi
	movl	12(%r12), %edx
	movl	8(%r12), %ecx
	movl	(%r12), %r9d
	movl	4(%r12), %r8d
	movq	_MAP__FUNCTION@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rsp)
	movq	%r14, %rdi
	callq	_map__new
	testq	%rax, %rax
	je	LBB0_5
## %bb.8:
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_thread__insert_map
	jmp	LBB0_9
LBB0_4:
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_machine__process_kernel_mmap_event
	testl	%eax, %eax
	jns	LBB0_9
LBB0_5:
	leaq	L_.str(%rip), %rdi
	callq	_dump_printf
LBB0_9:
	xorl	%eax, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PERF_RECORD_MISC_CPUMODE_MASK,8,3 ## @PERF_RECORD_MISC_CPUMODE_MASK
	.comm	_dump_trace,8,3                 ## @dump_trace
	.comm	_stdout,4,2                     ## @stdout
	.comm	_PERF_RECORD_MISC_GUEST_KERNEL,8,3 ## @PERF_RECORD_MISC_GUEST_KERNEL
	.comm	_PERF_RECORD_MISC_KERNEL,8,3    ## @PERF_RECORD_MISC_KERNEL
	.comm	_MAP__FUNCTION,4,2              ## @MAP__FUNCTION
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"problem processing PERF_RECORD_MMAP, skipping event.\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_machine__process_mmap_event    ; -- Begin function machine__process_mmap_event
	.p2align	2
_machine__process_mmap_event:           ; @machine__process_mmap_event
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _PERF_RECORD_MISC_CPUMODE_MASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PERF_RECORD_MISC_CPUMODE_MASK@GOTPAGEOFF]
	ldr	x9, [x1]
Lloh2:
	ldr	x8, [x8]
	and	x21, x8, x9
Lloh3:
	adrp	x8, _dump_trace@GOTPAGE
Lloh4:
	ldr	x8, [x8, _dump_trace@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.1:
Lloh6:
	adrp	x8, _stdout@GOTPAGE
Lloh7:
	ldr	x8, [x8, _stdout@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_perf_event__fprintf_mmap
LBB0_2:
Lloh9:
	adrp	x8, _PERF_RECORD_MISC_GUEST_KERNEL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _PERF_RECORD_MISC_GUEST_KERNEL@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
Lloh12:
	adrp	x9, _PERF_RECORD_MISC_KERNEL@GOTPAGE
Lloh13:
	ldr	x9, [x9, _PERF_RECORD_MISC_KERNEL@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x21, x8
	ccmp	x21, x9, #4, ne
	b.ne	LBB0_4
; %bb.3:
	mov	x0, x19
	mov	x1, x20
	bl	_machine__process_kernel_mmap_event
	tbz	w0, #31, LBB0_8
	b	LBB0_7
LBB0_4:
	ldr	w1, [x20, #4]
	mov	x0, x19
	bl	_machine__findnew_thread
	cbz	x0, LBB0_7
; %bb.5:
	mov	x21, x0
	ldp	w2, w1, [x20, #12]
	ldp	w4, w3, [x20, #4]
	ldr	w5, [x20]
Lloh15:
	adrp	x8, _MAP__FUNCTION@GOTPAGE
Lloh16:
	ldr	x8, [x8, _MAP__FUNCTION@GOTPAGEOFF]
Lloh17:
	ldr	w6, [x8]
	mov	x0, x19
	bl	_map__new
	cbz	x0, LBB0_7
; %bb.6:
	mov	x1, x0
	mov	x0, x21
	bl	_thread__insert_map
	b	LBB0_8
LBB0_7:
Lloh18:
	adrp	x0, l_.str@PAGE
Lloh19:
	add	x0, x0, l_.str@PAGEOFF
	bl	_dump_printf
LBB0_8:
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_PERF_RECORD_MISC_CPUMODE_MASK,8,3 ; @PERF_RECORD_MISC_CPUMODE_MASK
	.comm	_dump_trace,8,3                 ; @dump_trace
	.comm	_stdout,4,2                     ; @stdout
	.comm	_PERF_RECORD_MISC_GUEST_KERNEL,8,3 ; @PERF_RECORD_MISC_GUEST_KERNEL
	.comm	_PERF_RECORD_MISC_KERNEL,8,3    ; @PERF_RECORD_MISC_KERNEL
	.comm	_MAP__FUNCTION,4,2              ; @MAP__FUNCTION
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"problem processing PERF_RECORD_MMAP, skipping event.\n"

.subsections_via_symbols
