	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function thread_db_get_info
_thread_db_get_info:                    ## @thread_db_get_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	(%rdi), %rax
	cmpl	$0, (%rax)
	jne	LBB0_6
## %bb.1:
	movq	%rdi, %rbx
	cmpl	$0, 12(%rax)
	jne	LBB0_3
## %bb.2:
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_thread_db_map_id2thr
	movq	(%rbx), %rax
LBB0_3:
	leaq	8(%rax), %rdi
	addq	$4, %rax
	movq	%rax, %rsi
	callq	_td_thr_get_info_p
	movq	_TD_OK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_5
## %bb.4:
	movq	%rax, %rdi
	callq	_thread_db_err_str
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	callq	_error
LBB0_5:
	movq	(%rbx), %rax
	movl	$1, (%rax)
LBB0_6:
	addq	$4, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TD_OK,8,3                      ## @TD_OK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"thread_db_get_info: cannot get thread info: %s"

	.no_dead_strip	_thread_db_get_info
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function thread_db_get_info
_thread_db_get_info:                    ; @thread_db_get_info
	.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
	ldr	x8, [x0]
	ldr	w9, [x8]
	cbnz	w9, LBB0_6
; %bb.1:
	mov	x19, x0
	ldr	w9, [x8, #12]
	cbnz	w9, LBB0_3
; %bb.2:
	mov	x0, x19
	mov	w1, #1
	bl	_thread_db_map_id2thr
	ldr	x8, [x19]
LBB0_3:
	add	x0, x8, #8
	add	x1, x8, #4
	bl	_td_thr_get_info_p
Lloh0:
	adrp	x8, _TD_OK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TD_OK@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_5
; %bb.4:
	bl	_thread_db_err_str
	mov	x1, x0
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_error
LBB0_5:
	ldr	x8, [x19]
	mov	w9, #1
	str	w9, [x8]
LBB0_6:
	add	x0, x8, #4
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_TD_OK,8,3                      ; @TD_OK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"thread_db_get_info: cannot get thread info: %s"

	.no_dead_strip	_thread_db_get_info
.subsections_via_symbols
