	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function thread_stat_findnew_first
_thread_stat_findnew_first:             ## @thread_stat_findnew_first
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%edi, %r14d
	movl	$12, %edi
	callq	_zalloc
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movl	%r14d, 8(%rbx)
	movq	%rbx, %rdi
	addq	$4, %rdi
	callq	_INIT_LIST_HEAD
	movq	_thread_stats@GOTPCREL(%rip), %r14
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movq	%r14, %rdx
	callq	_rb_link_node
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_rb_insert_color
	movq	_thread_stat_findnew_after_first@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_thread_stat_findnew@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	jmp	LBB0_3
LBB0_1:
	leaq	L_.str(%rip), %rdi
	callq	_pr_err
LBB0_3:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"memory allocation failed\n"

	.comm	_thread_stats,4,2               ## @thread_stats
	.comm	_thread_stat_findnew_after_first,4,2 ## @thread_stat_findnew_after_first
	.comm	_thread_stat_findnew,4,2        ## @thread_stat_findnew
	.no_dead_strip	_thread_stat_findnew_first
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function thread_stat_findnew_first
_thread_stat_findnew_first:             ; @thread_stat_findnew_first
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x0
	mov	w0, #12
	bl	_zalloc
	mov	x19, x0
	cbz	x0, LBB0_2
; %bb.1:
	str	w20, [x19, #8]
	add	x0, x19, #4
	bl	_INIT_LIST_HEAD
Lloh0:
	adrp	x20, _thread_stats@GOTPAGE
Lloh1:
	ldr	x20, [x20, _thread_stats@GOTPAGEOFF]
	mov	x0, x19
	mov	x1, #0
	mov	x2, x20
	bl	_rb_link_node
	mov	x0, x19
	mov	x1, x20
	bl	_rb_insert_color
Lloh2:
	adrp	x8, _thread_stat_findnew_after_first@GOTPAGE
Lloh3:
	ldr	x8, [x8, _thread_stat_findnew_after_first@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _thread_stat_findnew@GOTPAGE
Lloh6:
	ldr	x9, [x9, _thread_stat_findnew@GOTPAGEOFF]
Lloh7:
	str	w8, [x9]
	b	LBB0_3
LBB0_2:
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_err
LBB0_3:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotStr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"memory allocation failed\n"

	.comm	_thread_stats,4,2               ; @thread_stats
	.comm	_thread_stat_findnew_after_first,4,2 ; @thread_stat_findnew_after_first
	.comm	_thread_stat_findnew,4,2        ; @thread_stat_findnew
	.no_dead_strip	_thread_stat_findnew_first
.subsections_via_symbols
