	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function prof_log_emit_allocs
_prof_log_emit_allocs:                  ## @prof_log_emit_allocs
	.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	%rsi, %rbx
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_emitter_json_array_kv_begin
	movq	_log_alloc_first@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	testq	%r15, %r15
	je	LBB0_3
## %bb.1:
	movq	_emitter_type_size@GOTPCREL(%rip), %r12
	movq	_emitter_type_uint64@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_emitter_json_object_begin
	movl	(%r12), %edx
	leaq	32(%r15), %rcx
	movq	%rbx, %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_emitter_json_kv
	movl	(%r12), %edx
	leaq	28(%r15), %rcx
	movq	%rbx, %rdi
	leaq	L_.str.2(%rip), %rsi
	callq	_emitter_json_kv
	movl	(%r12), %edx
	leaq	24(%r15), %rcx
	movq	%rbx, %rdi
	leaq	L_.str.3(%rip), %rsi
	callq	_emitter_json_kv
	movl	(%r12), %edx
	leaq	20(%r15), %rcx
	movq	%rbx, %rdi
	leaq	L_.str.4(%rip), %rsi
	callq	_emitter_json_kv
	movl	(%r13), %edx
	leaq	16(%r15), %rcx
	movq	%rbx, %rdi
	leaq	L_.str.5(%rip), %rsi
	callq	_emitter_json_kv
	movl	(%r13), %edx
	leaq	12(%r15), %rcx
	movq	%rbx, %rdi
	leaq	L_.str.6(%rip), %rsi
	callq	_emitter_json_kv
	movl	(%r13), %edx
	leaq	8(%r15), %rcx
	movq	%rbx, %rdi
	leaq	L_.str.7(%rip), %rsi
	callq	_emitter_json_kv
	movq	%rbx, %rdi
	callq	_emitter_json_object_end
	movq	(%r15), %r14
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_tsd_tsdn
	movl	%eax, %edi
	movq	%r15, %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movl	$1, %r8d
	movl	$1, %r9d
	callq	_idalloctm
	movq	%r14, %r15
	testq	%r14, %r14
	jne	LBB0_2
LBB0_3:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_emitter_json_array_end         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"allocations"

	.comm	_log_alloc_first,8,3            ## @log_alloc_first
L_.str.1:                               ## @.str.1
	.asciz	"alloc_thread"

	.comm	_emitter_type_size,4,2          ## @emitter_type_size
L_.str.2:                               ## @.str.2
	.asciz	"free_thread"

L_.str.3:                               ## @.str.3
	.asciz	"alloc_trace"

L_.str.4:                               ## @.str.4
	.asciz	"free_trace"

L_.str.5:                               ## @.str.5
	.asciz	"alloc_timestamp"

	.comm	_emitter_type_uint64,4,2        ## @emitter_type_uint64
L_.str.6:                               ## @.str.6
	.asciz	"free_timestamp"

L_.str.7:                               ## @.str.7
	.asciz	"usize"

	.no_dead_strip	_prof_log_emit_allocs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function prof_log_emit_allocs
_prof_log_emit_allocs:                  ; @prof_log_emit_allocs
	.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
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_emitter_json_array_kv_begin
Lloh2:
	adrp	x8, _log_alloc_first@GOTPAGE
Lloh3:
	ldr	x8, [x8, _log_alloc_first@GOTPAGEOFF]
Lloh4:
	ldr	x23, [x8]
	cbz	x23, LBB0_3
; %bb.1:
Lloh5:
	adrp	x21, _emitter_type_size@GOTPAGE
Lloh6:
	ldr	x21, [x21, _emitter_type_size@GOTPAGEOFF]
Lloh7:
	adrp	x25, l_.str.4@PAGE
Lloh8:
	add	x25, x25, l_.str.4@PAGEOFF
Lloh9:
	adrp	x22, _emitter_type_uint64@GOTPAGE
Lloh10:
	ldr	x22, [x22, _emitter_type_uint64@GOTPAGEOFF]
Lloh11:
	adrp	x26, l_.str.5@PAGE
Lloh12:
	add	x26, x26, l_.str.5@PAGEOFF
Lloh13:
	adrp	x27, l_.str.6@PAGE
Lloh14:
	add	x27, x27, l_.str.6@PAGEOFF
Lloh15:
	adrp	x28, l_.str.7@PAGE
Lloh16:
	add	x28, x28, l_.str.7@PAGEOFF
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_emitter_json_object_begin
	ldr	w2, [x21]
	add	x3, x23, #32
	mov	x0, x19
Lloh17:
	adrp	x1, l_.str.1@PAGE
Lloh18:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_emitter_json_kv
	ldr	w2, [x21]
	add	x3, x23, #28
	mov	x0, x19
Lloh19:
	adrp	x1, l_.str.2@PAGE
Lloh20:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_emitter_json_kv
	ldr	w2, [x21]
	add	x3, x23, #24
	mov	x0, x19
Lloh21:
	adrp	x1, l_.str.3@PAGE
Lloh22:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_emitter_json_kv
	ldr	w2, [x21]
	add	x3, x23, #20
	mov	x0, x19
	mov	x1, x25
	bl	_emitter_json_kv
	ldr	w2, [x22]
	add	x3, x23, #16
	mov	x0, x19
	mov	x1, x26
	bl	_emitter_json_kv
	ldr	w2, [x22]
	add	x3, x23, #12
	mov	x0, x19
	mov	x1, x27
	bl	_emitter_json_kv
	ldr	w2, [x22]
	add	x3, x23, #8
	mov	x0, x19
	mov	x1, x28
	bl	_emitter_json_kv
	mov	x0, x19
	bl	_emitter_json_object_end
	ldr	x24, [x23]
	mov	x0, x20
	bl	_tsd_tsdn
	mov	x1, x23
	mov	x2, #0
	mov	x3, #0
	mov	w4, #1
	mov	w5, #1
	bl	_idalloctm
	mov	x23, x24
	cbnz	x24, LBB0_2
LBB0_3:
	mov	x0, x19
	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
	b	_emitter_json_array_end
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"allocations"

	.comm	_log_alloc_first,8,3            ; @log_alloc_first
l_.str.1:                               ; @.str.1
	.asciz	"alloc_thread"

	.comm	_emitter_type_size,4,2          ; @emitter_type_size
l_.str.2:                               ; @.str.2
	.asciz	"free_thread"

l_.str.3:                               ; @.str.3
	.asciz	"alloc_trace"

l_.str.4:                               ; @.str.4
	.asciz	"free_trace"

l_.str.5:                               ; @.str.5
	.asciz	"alloc_timestamp"

	.comm	_emitter_type_uint64,4,2        ; @emitter_type_uint64
l_.str.6:                               ; @.str.6
	.asciz	"free_timestamp"

l_.str.7:                               ; @.str.7
	.asciz	"usize"

	.no_dead_strip	_prof_log_emit_allocs
.subsections_via_symbols
