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

	.comm	_log_thr_first,8,3              ## @log_thr_first
L_.str.1:                               ## @.str.1
	.asciz	"thr_uid"

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

	.comm	_emitter_type_string,4,2        ## @emitter_type_string
	.no_dead_strip	_prof_log_emit_threads
.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_threads
_prof_log_emit_threads:                 ; @prof_log_emit_threads
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.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
	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_thr_first@GOTPAGE
Lloh3:
	ldr	x8, [x8, _log_thr_first@GOTPAGEOFF]
Lloh4:
	ldr	x22, [x8]
	cbz	x22, LBB0_3
; %bb.1:
Lloh5:
	adrp	x24, _emitter_type_uint64@GOTPAGE
Lloh6:
	ldr	x24, [x24, _emitter_type_uint64@GOTPAGEOFF]
Lloh7:
	adrp	x21, l_.str.1@PAGE
Lloh8:
	add	x21, x21, l_.str.1@PAGEOFF
Lloh9:
	adrp	x25, _emitter_type_string@GOTPAGE
Lloh10:
	ldr	x25, [x25, _emitter_type_string@GOTPAGEOFF]
Lloh11:
	adrp	x23, l_.str.2@PAGE
Lloh12:
	add	x23, x23, l_.str.2@PAGEOFF
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_emitter_json_object_begin
	ldr	w2, [x24]
	mov	x0, x19
	mov	x1, x21
	mov	x3, x22
	bl	_emitter_json_kv
	ldr	x8, [x22, #8]
	str	x8, [sp, #8]
	ldr	w2, [x25]
	add	x3, sp, #8
	mov	x0, x19
	mov	x1, x23
	bl	_emitter_json_kv
	mov	x0, x19
	bl	_emitter_json_object_end
	ldr	x26, [x22, #16]
	mov	x0, x20
	bl	_tsd_tsdn
	mov	x1, x22
	mov	x2, #0
	mov	x3, #0
	mov	w4, #1
	mov	w5, #1
	bl	_idalloctm
	mov	x22, x26
	cbnz	x26, LBB0_2
LBB0_3:
	mov	x0, x19
	bl	_emitter_json_array_end
	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
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"threads"

	.comm	_log_thr_first,8,3              ; @log_thr_first
l_.str.1:                               ; @.str.1
	.asciz	"thr_uid"

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

	.comm	_emitter_type_string,4,2        ; @emitter_type_string
	.no_dead_strip	_prof_log_emit_threads
.subsections_via_symbols
