	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sol_thread_new_objfile         ## -- Begin function sol_thread_new_objfile
	.p2align	4, 0x90
_sol_thread_new_objfile:                ## @sol_thread_new_objfile
	.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	%rdi, %rbx
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	movq	_procfs_suppress_run@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_10
## %bb.3:
	xorl	%eax, %eax
	callq	_p_td_init
	movq	_TD_OK@GOTPCREL(%rip), %r14
	cmpq	(%r14), %rax
	jne	LBB0_4
## %bb.6:
	movq	_main_ph@GOTPCREL(%rip), %rdi
	movq	_main_ta@GOTPCREL(%rip), %rsi
	callq	_p_td_ta_new
	movq	_TD_NOLIBTHREAD@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_10
## %bb.7:
	cmpq	(%r14), %rax
	jne	LBB0_8
## %bb.9:
	movq	_sol_thread_active@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	jmp	LBB0_10
LBB0_1:
	movq	_sol_thread_active@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
	jmp	LBB0_10
LBB0_4:
	movq	%rax, %rdi
	callq	_td_err_string
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_5
LBB0_8:
	movq	%rax, %rdi
	callq	_td_err_string
	leaq	L_.str.1(%rip), %rdi
LBB0_5:
	movl	%eax, %esi
	callq	_warning
LBB0_10:
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_target_new_objfile_chain       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_sol_thread_active,4,2          ## @sol_thread_active
	.comm	_procfs_suppress_run,4,2        ## @procfs_suppress_run
	.comm	_TD_OK,8,3                      ## @TD_OK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"sol_thread_new_objfile: td_init: %s"

	.comm	_main_ph,4,2                    ## @main_ph
	.comm	_main_ta,4,2                    ## @main_ta
	.comm	_TD_NOLIBTHREAD,8,3             ## @TD_NOLIBTHREAD
L_.str.1:                               ## @.str.1
	.asciz	"sol_thread_new_objfile: td_ta_new: %s"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sol_thread_new_objfile         ; -- Begin function sol_thread_new_objfile
	.p2align	2
_sol_thread_new_objfile:                ; @sol_thread_new_objfile
	.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	x19, x0
	cbz	x0, LBB0_6
; %bb.1:
Lloh0:
	adrp	x8, _procfs_suppress_run@GOTPAGE
Lloh1:
	ldr	x8, [x8, _procfs_suppress_run@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cbz	w8, LBB0_10
; %bb.2:
	bl	_p_td_init
Lloh3:
	adrp	x20, _TD_OK@GOTPAGE
Lloh4:
	ldr	x20, [x20, _TD_OK@GOTPAGEOFF]
	ldr	x8, [x20]
	cmp	x0, x8
	b.ne	LBB0_7
; %bb.3:
Lloh5:
	adrp	x0, _main_ph@GOTPAGE
Lloh6:
	ldr	x0, [x0, _main_ph@GOTPAGEOFF]
Lloh7:
	adrp	x1, _main_ta@GOTPAGE
Lloh8:
	ldr	x1, [x1, _main_ta@GOTPAGEOFF]
	bl	_p_td_ta_new
Lloh9:
	adrp	x8, _TD_NOLIBTHREAD@GOTPAGE
Lloh10:
	ldr	x8, [x8, _TD_NOLIBTHREAD@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_10
; %bb.4:
	ldr	x8, [x20]
	cmp	x0, x8
	b.ne	LBB0_8
; %bb.5:
Lloh12:
	adrp	x8, _sol_thread_active@GOTPAGE
Lloh13:
	ldr	x8, [x8, _sol_thread_active@GOTPAGEOFF]
	mov	w9, #1
Lloh14:
	str	w9, [x8]
	b	LBB0_10
LBB0_6:
Lloh15:
	adrp	x8, _sol_thread_active@GOTPAGE
Lloh16:
	ldr	x8, [x8, _sol_thread_active@GOTPAGEOFF]
Lloh17:
	str	wzr, [x8]
	b	LBB0_10
LBB0_7:
	bl	_td_err_string
	mov	x1, x0
Lloh18:
	adrp	x0, l_.str@PAGE
Lloh19:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_9
LBB0_8:
	bl	_td_err_string
	mov	x1, x0
Lloh20:
	adrp	x0, l_.str.1@PAGE
Lloh21:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_9:
	bl	_warning
LBB0_10:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_target_new_objfile_chain
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotStr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotStr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_sol_thread_active,4,2          ; @sol_thread_active
	.comm	_procfs_suppress_run,4,2        ; @procfs_suppress_run
	.comm	_TD_OK,8,3                      ; @TD_OK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"sol_thread_new_objfile: td_init: %s"

	.comm	_main_ph,4,2                    ; @main_ph
	.comm	_main_ta,4,2                    ; @main_ta
	.comm	_TD_NOLIBTHREAD,8,3             ; @TD_NOLIBTHREAD
l_.str.1:                               ; @.str.1
	.asciz	"sol_thread_new_objfile: td_ta_new: %s"

.subsections_via_symbols
