	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function create_thread_info
_create_thread_info:                    ## @create_thread_info
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movl	%edi, %r15d
	movl	$96, %edi
	callq	_xmalloc
	movq	%rax, %rbx
	movl	%r15d, (%rax)
	movl	%r14d, 4(%rax)
	leaq	64(%rax), %rdi
	xorps	%xmm0, %xmm0
	movups	%xmm0, 72(%rax)
	movq	$0, 88(%rax)
	callq	_clear_ttstate_t
	movl	$0, 8(%rbx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rbx)
	movups	%xmm0, 40(%rbx)
	movq	$0, 56(%rbx)
	movq	_DO_DEFAULT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%rbx)
	movq	_thread_head@GOTPCREL(%rip), %r8
	movq	(%r8), %rcx
	testq	%rcx, %rcx
	jne	LBB0_2
## %bb.1:
	movq	_inferior_ptid@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movq	_saved_real_ptid@GOTPCREL(%rip), %rsi
	movl	%edx, (%rsi)
LBB0_2:
	incq	%rcx
	movq	%rcx, (%r8)
	movq	16(%r8), %rsi
	movq	%rsi, 24(%rbx)
	movq	%rbx, 16(%r8)
	testq	%rsi, %rsi
	je	LBB0_6
## %bb.3:
	movl	(%rbx), %edx
	movl	$1, %ecx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%edi, %edi
	cmpl	%edx, (%rsi)
	movq	24(%rsi), %rax
	sete	%dil
	addl	%edi, %ecx
	movq	%rax, %rsi
	testq	%rax, %rax
	jne	LBB0_4
## %bb.5:
	cmpl	$1, %ecx
	jne	LBB0_7
LBB0_6:
	movl	$1, 8(%rbx)
	movq	8(%r8), %rax
	movq	%rax, 16(%rbx)
	movq	%rbx, 8(%r8)
LBB0_7:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DO_DEFAULT,4,2                 ## @DO_DEFAULT
	.comm	_thread_head,24,3               ## @thread_head
	.comm	_inferior_ptid,4,2              ## @inferior_ptid
	.comm	_saved_real_ptid,4,2            ## @saved_real_ptid
	.comm	_debug_on,8,3                   ## @debug_on
	.no_dead_strip	_create_thread_info
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function create_thread_info
_create_thread_info:                    ; @create_thread_info
	.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	x21, x0
	mov	w0, #96
	bl	_xmalloc
	mov	x19, x0
	stp	w21, w20, [x0], #64
	stp	xzr, xzr, [x19, #80]
	str	xzr, [x19, #72]
	bl	_clear_ttstate_t
	str	wzr, [x19, #8]
	stp	xzr, xzr, [x19, #16]
	str	xzr, [x19, #56]
Lloh0:
	adrp	x8, _DO_DEFAULT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DO_DEFAULT@GOTPAGEOFF]
	stp	xzr, xzr, [x19, #40]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x19, #32]
Lloh3:
	adrp	x8, _thread_head@GOTPAGE
Lloh4:
	ldr	x8, [x8, _thread_head@GOTPAGEOFF]
	ldr	x9, [x8]
	cbnz	x9, LBB0_2
; %bb.1:
Lloh5:
	adrp	x10, _inferior_ptid@GOTPAGE
Lloh6:
	ldr	x10, [x10, _inferior_ptid@GOTPAGEOFF]
Lloh7:
	ldr	w10, [x10]
Lloh8:
	adrp	x11, _saved_real_ptid@GOTPAGE
Lloh9:
	ldr	x11, [x11, _saved_real_ptid@GOTPAGEOFF]
Lloh10:
	str	w10, [x11]
LBB0_2:
	add	x9, x9, #1
	str	x9, [x8]
	ldr	x9, [x8, #16]
	str	x9, [x19, #24]
	str	x19, [x8, #16]
	cbz	x9, LBB0_6
; %bb.3:
	ldr	w11, [x19]
	mov	w10, #1
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w12, [x9]
	ldr	x9, [x9, #24]
	cmp	w12, w11
	cinc	w10, w10, eq
	cbnz	x9, LBB0_4
; %bb.5:
	cmp	w10, #1
	b.ne	LBB0_7
LBB0_6:
	mov	w9, #1
	str	w9, [x19, #8]
	ldr	x9, [x8, #8]
	str	x9, [x19, #16]
	str	x19, [x8, #8]
LBB0_7:
	mov	x0, x19
	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 AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotStr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_DO_DEFAULT,4,2                 ; @DO_DEFAULT
	.comm	_thread_head,24,3               ; @thread_head
	.comm	_inferior_ptid,4,2              ; @inferior_ptid
	.comm	_saved_real_ptid,4,2            ; @saved_real_ptid
	.comm	_debug_on,8,3                   ; @debug_on
	.no_dead_strip	_create_thread_info
.subsections_via_symbols
