	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sol_thread_create_inferior
_sol_thread_create_inferior:            ## @sol_thread_create_inferior
	.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
	movq	_procfs_ops@GOTPCREL(%rip), %rax
	callq	*(%rax)
	movq	_sol_thread_active@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_6
## %bb.1:
	movq	_inferior_ptid@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movq	_null_ptid@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_ptid_equal
	testl	%eax, %eax
	jne	LBB0_6
## %bb.2:
	movl	(%rbx), %eax
	movq	_main_ph@GOTPCREL(%rip), %r14
	movl	%eax, (%r14)
	movq	_sol_thread_ops@GOTPCREL(%rip), %rdi
	callq	_push_target
	movl	(%rbx), %edi
	callq	_lwp_to_thread
	movl	%eax, (%rbx)
	movl	%eax, %edi
	callq	_PIDGET
	cmpl	$-1, %eax
	je	LBB0_4
## %bb.3:
	movl	(%rbx), %edi
	jmp	LBB0_5
LBB0_4:
	movl	(%r14), %edi
	movl	%edi, (%rbx)
LBB0_5:
	callq	_in_thread_list
	testl	%eax, %eax
	je	LBB0_7
LBB0_6:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_7:
	movl	(%rbx), %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_add_thread                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_procfs_ops,8,3                 ## @procfs_ops
	.comm	_sol_thread_active,8,3          ## @sol_thread_active
	.comm	_inferior_ptid,4,2              ## @inferior_ptid
	.comm	_null_ptid,4,2                  ## @null_ptid
	.comm	_main_ph,4,2                    ## @main_ph
	.comm	_sol_thread_ops,4,2             ## @sol_thread_ops
	.no_dead_strip	_sol_thread_create_inferior
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sol_thread_create_inferior
_sol_thread_create_inferior:            ; @sol_thread_create_inferior
	.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
Lloh0:
	adrp	x8, _procfs_ops@GOTPAGE
Lloh1:
	ldr	x8, [x8, _procfs_ops@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	blr	x8
Lloh3:
	adrp	x8, _sol_thread_active@GOTPAGE
Lloh4:
	ldr	x8, [x8, _sol_thread_active@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cbz	x8, LBB0_4
; %bb.1:
Lloh6:
	adrp	x19, _inferior_ptid@GOTPAGE
Lloh7:
	ldr	x19, [x19, _inferior_ptid@GOTPAGEOFF]
	ldr	w0, [x19]
Lloh8:
	adrp	x8, _null_ptid@GOTPAGE
Lloh9:
	ldr	x8, [x8, _null_ptid@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	bl	_ptid_equal
	cbnz	w0, LBB0_4
; %bb.2:
	ldr	w8, [x19]
Lloh11:
	adrp	x20, _main_ph@GOTPAGE
Lloh12:
	ldr	x20, [x20, _main_ph@GOTPAGEOFF]
	str	w8, [x20]
Lloh13:
	adrp	x0, _sol_thread_ops@GOTPAGE
Lloh14:
	ldr	x0, [x0, _sol_thread_ops@GOTPAGEOFF]
	bl	_push_target
	ldr	w0, [x19]
	bl	_lwp_to_thread
	str	w0, [x19]
	bl	_PIDGET
	cmn	w0, #1
	b.eq	LBB0_5
; %bb.3:
	ldr	w0, [x19]
	bl	_in_thread_list
	cbz	w0, LBB0_6
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_5:
	ldr	w0, [x20]
	str	w0, [x19]
	bl	_in_thread_list
	cbnz	w0, LBB0_4
LBB0_6:
	ldr	w0, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_add_thread
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_procfs_ops,8,3                 ; @procfs_ops
	.comm	_sol_thread_active,8,3          ; @sol_thread_active
	.comm	_inferior_ptid,4,2              ; @inferior_ptid
	.comm	_null_ptid,4,2                  ; @null_ptid
	.comm	_main_ph,4,2                    ; @main_ph
	.comm	_sol_thread_ops,4,2             ; @sol_thread_ops
	.no_dead_strip	_sol_thread_create_inferior
.subsections_via_symbols
