	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_thread_db_init                 ## -- Begin function thread_db_init
	.p2align	4, 0x90
_thread_db_init:                        ## @thread_db_init
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_current_inferior@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %eax
	movq	_proc_handle@GOTPCREL(%rip), %rdi
	movl	%eax, (%rdi)
	movq	_thread_agent@GOTPCREL(%rip), %rsi
	callq	_td_ta_new
	xorl	%ebx, %ebx
	cmpl	$129, %eax
	je	LBB0_5
## %bb.1:
	cmpl	$128, %eax
	jne	LBB0_4
## %bb.2:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_thread_db_enable_reporting
	testl	%eax, %eax
	je	LBB0_5
## %bb.3:
	xorl	%eax, %eax
	callq	_thread_db_find_new_threads
	movl	$1, %ebx
	jmp	LBB0_5
LBB0_4:
	leaq	L_.str(%rip), %rdi
	callq	_warning
LBB0_5:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_current_inferior,8,3           ## @current_inferior
	.comm	_proc_handle,4,2                ## @proc_handle
	.comm	_thread_agent,4,2               ## @thread_agent
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"error initializing thread_db library."

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_thread_db_init                 ; -- Begin function thread_db_init
	.p2align	2
_thread_db_init:                        ; @thread_db_init
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _current_inferior@GOTPAGE
Lloh1:
	ldr	x8, [x8, _current_inferior@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	w8, [x8]
Lloh3:
	adrp	x0, _proc_handle@GOTPAGE
Lloh4:
	ldr	x0, [x0, _proc_handle@GOTPAGEOFF]
	str	w8, [x0]
Lloh5:
	adrp	x1, _thread_agent@GOTPAGE
Lloh6:
	ldr	x1, [x1, _thread_agent@GOTPAGEOFF]
	bl	_td_ta_new
	cmp	w0, #129
	b.eq	LBB0_5
; %bb.1:
	cmp	w0, #128
	b.ne	LBB0_4
; %bb.2:
	bl	_thread_db_enable_reporting
	cbz	w0, LBB0_6
; %bb.3:
	bl	_thread_db_find_new_threads
	mov	w0, #1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_4:
Lloh7:
	adrp	x0, l_.str@PAGE
Lloh8:
	add	x0, x0, l_.str@PAGEOFF
	bl	_warning
LBB0_5:
	mov	w0, #0
LBB0_6:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_current_inferior,8,3           ; @current_inferior
	.comm	_proc_handle,4,2                ; @proc_handle
	.comm	_thread_agent,4,2               ; @thread_agent
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"error initializing thread_db library."

.subsections_via_symbols
