	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function record_currthread
_record_currthread:                     ## @record_currthread
	.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	%edi, %ebx
	movq	_general_thread@GOTPCREL(%rip), %rax
	movl	%edi, (%rax)
	callq	_pid_to_ptid
	movl	%eax, %edi
	callq	_in_thread_list
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movl	%ebx, %edi
	callq	_pid_to_ptid
	movl	%eax, %edi
	callq	_add_thread
	movq	_uiout@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	leaq	L_.str(%rip), %rsi
	callq	_ui_out_text
	movl	(%r15), %r14d
	movl	%ebx, %edi
	callq	_pid_to_ptid
	movl	%eax, %edi
	callq	_target_pid_to_str
	movl	%r14d, %edi
	movq	%rax, %rsi
	callq	_ui_out_text
	movl	(%r15), %edi
	leaq	L_.str.1(%rip), %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ui_out_text                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_general_thread,4,2             ## @general_thread
	.comm	_uiout,4,2                      ## @uiout
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"[New "

L_.str.1:                               ## @.str.1
	.asciz	"]\n"

	.no_dead_strip	_record_currthread
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function record_currthread
_record_currthread:                     ; @record_currthread
	.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	x19, x0
Lloh0:
	adrp	x8, _general_thread@GOTPAGE
Lloh1:
	ldr	x8, [x8, _general_thread@GOTPAGEOFF]
Lloh2:
	str	w0, [x8]
	bl	_pid_to_ptid
	bl	_in_thread_list
	cbz	w0, LBB0_2
; %bb.1:
	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
LBB0_2:
	mov	x0, x19
	bl	_pid_to_ptid
	bl	_add_thread
Lloh3:
	adrp	x21, _uiout@GOTPAGE
Lloh4:
	ldr	x21, [x21, _uiout@GOTPAGEOFF]
	ldr	w0, [x21]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	bl	_ui_out_text
	ldr	w20, [x21]
	mov	x0, x19
	bl	_pid_to_ptid
	bl	_target_pid_to_str
	mov	x1, x0
	mov	x0, x20
	bl	_ui_out_text
	ldr	w0, [x21]
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	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
	b	_ui_out_text
	.loh AdrpLdrGotStr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_general_thread,4,2             ; @general_thread
	.comm	_uiout,4,2                      ; @uiout
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"[New "

l_.str.1:                               ; @.str.1
	.asciz	"]\n"

	.no_dead_strip	_record_currthread
.subsections_via_symbols
