	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_map__new                       ## -- Begin function map__new
	.p2align	4, 0x90
_map__new:                              ## @map__new
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r12
	movl	%r8d, -60(%rbp)                 ## 4-byte Spill
	movq	%rcx, %r13
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	$12, %edi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_12
## %bb.1:
	movq	%rax, %r15
	movq	%r13, -88(%rbp)                 ## 8-byte Spill
	movq	%rbx, -104(%rbp)                ## 8-byte Spill
	movq	%r14, -112(%rbp)                ## 8-byte Spill
	movq	%rsp, -72(%rbp)                 ## 8-byte Spill
	movq	_PATH_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	%r14, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -96(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	callq	_is_anon_memory
	movl	%eax, %ebx
	movq	%r12, %rdi
	callq	_is_vdso_map
	movl	%eax, %r13d
	movq	%r12, %rdi
	callq	_is_no_dso_memory
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movl	%ebx, -56(%rbp)                 ## 4-byte Spill
	testl	%ebx, %ebx
	je	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rdx
	movq	-96(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdi
	movl	%r14d, %esi
	movl	-60(%rbp), %ecx                 ## 4-byte Reload
	callq	_snprintf
LBB0_3:
	testl	%r13d, %r13d
	je	LBB0_5
## %bb.4:
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	callq	_vdso__dso_findnew
	movq	%rax, %r14
	xorl	%r8d, %r8d
	testq	%r14, %r14
	je	LBB0_11
LBB0_7:
	movl	16(%rbp), %esi
	movq	-112(%rbp), %rcx                ## 8-byte Reload
	movq	-104(%rbp), %rdx                ## 8-byte Reload
	addq	%rdx, %rcx
	movq	%r15, %rdi
	movq	%r14, %r9
	callq	_map__init
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	orl	%ecx, -56(%rbp)                 ## 4-byte Folded Spill
	je	LBB0_10
## %bb.8:
	movq	_identity__map_ip@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%r15)
	movl	%eax, 8(%r15)
	testl	%ecx, %ecx
	je	LBB0_10
## %bb.9:
	movl	(%r15), %esi
	movq	%r14, %rdi
	callq	_dso__set_loaded
LBB0_10:
	movq	-72(%rbp), %rsp                 ## 8-byte Reload
	jmp	LBB0_13
LBB0_5:
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	callq	___dsos__findnew
	movq	%rax, %r14
	movq	-88(%rbp), %r8                  ## 8-byte Reload
	testq	%r14, %r14
	jne	LBB0_7
LBB0_11:
	movq	-72(%rbp), %rsp                 ## 8-byte Reload
	movq	%r15, %rdi
	callq	_free
LBB0_12:
	xorl	%r15d, %r15d
LBB0_13:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_15
## %bb.14:
	movq	%r15, %rax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_PATH_MAX,4,2                   ## @PATH_MAX
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"/tmp/perf-%d.map"

	.comm	_identity__map_ip,4,2           ## @identity__map_ip
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_map__new                       ; -- Begin function map__new
	.p2align	2
_map__new:                              ; @map__new
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #48
	mov	x20, x6
	mov	x27, x5
	mov	x28, x4
	mov	x23, x3
	mov	x22, x2
	mov	x21, x1
	mov	x25, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	mov	w0, #12
	bl	_malloc
	mov	x19, x0
	cbz	x0, LBB0_11
; %bb.1:
	stur	x22, [x29, #-112]               ; 8-byte Folded Spill
	stur	w20, [x29, #-100]               ; 4-byte Folded Spill
	mov	x8, sp
	stur	x8, [x29, #-96]                 ; 8-byte Folded Spill
Lloh3:
	adrp	x8, _PATH_MAX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PATH_MAX@GOTPAGEOFF]
Lloh5:
	ldr	w20, [x8]
	mov	x9, x20
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x20, #15
	and	x9, x9, #0x1fffffff0
	sub	x22, x8, x9
	mov	sp, x22
	mov	x0, x27
	bl	_is_anon_memory
	mov	x26, x0
	mov	x0, x27
	bl	_is_vdso_map
	mov	x24, x0
	mov	x0, x27
	bl	_is_no_dso_memory
	stur	w0, [x29, #-116]                ; 4-byte Folded Spill
	cbz	w26, LBB0_3
; %bb.2:
Lloh8:
	adrp	x2, l_.str@PAGE
Lloh9:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x22
	mov	x1, x20
	mov	x3, x28
	bl	_snprintf
	mov	x27, x22
LBB0_3:
	mov	x0, x25
	cbz	w24, LBB0_9
; %bb.4:
	bl	_vdso__dso_findnew
	mov	x25, x0
	mov	x23, #0
	cbz	x25, LBB0_10
LBB0_5:
	ldur	w22, [x29, #-116]               ; 4-byte Folded Reload
	orr	w20, w26, w22
	ldur	x8, [x29, #-112]                ; 8-byte Folded Reload
	add	x3, x8, x21
	mov	x0, x19
	ldur	w1, [x29, #-100]                ; 4-byte Folded Reload
	mov	x2, x21
	mov	x4, x23
	mov	x5, x25
	bl	_map__init
	cbz	w20, LBB0_8
; %bb.6:
Lloh10:
	adrp	x8, _identity__map_ip@GOTPAGE
Lloh11:
	ldr	x8, [x8, _identity__map_ip@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	stp	w8, w8, [x19, #4]
	cbz	w22, LBB0_8
; %bb.7:
	ldr	w1, [x19]
	mov	x0, x25
	bl	_dso__set_loaded
LBB0_8:
	ldur	x8, [x29, #-96]                 ; 8-byte Folded Reload
	mov	sp, x8
	b	LBB0_11
LBB0_9:
	mov	x1, x27
	bl	___dsos__findnew
	mov	x25, x0
	cbnz	x25, LBB0_5
LBB0_10:
	ldur	x8, [x29, #-96]                 ; 8-byte Folded Reload
	mov	sp, x8
	mov	x0, x19
	bl	_free
	mov	x19, #0
LBB0_11:
	ldur	x8, [x29, #-88]
Lloh13:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh14:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_13
; %bb.12:
	mov	x0, x19
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_13:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_PATH_MAX,4,2                   ; @PATH_MAX
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"/tmp/perf-%d.map"

	.comm	_identity__map_ip,4,2           ; @identity__map_ip
.subsections_via_symbols
