	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gdbstub_indextoid              ## -- Begin function gdbstub_indextoid
	.p2align	4, 0x90
_gdbstub_indextoid:                     ## @gdbstub_indextoid
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testq	%rdi, %rdi
	jle	LBB0_3
## %bb.1:
	cmpq	$1, %rdi
	jne	LBB0_4
## %bb.2:
	movq	__thr_idle@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	popq	%rbp
	retq
LBB0_4:
	movq	__lwp_thr_objects@GOTPCREL(%rip), %rax
	movq	8(%rax), %rcx
	subq	(%rax), %rcx
	cmpq	%rdi, %rcx
	jge	LBB0_6
LBB0_3:
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_6:
	movq	16(%rax), %rax
	movq	-8(%rax,%rdi,8), %rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	__thr_idle,8,3                  ## @_thr_idle
	.comm	__lwp_thr_objects,24,3          ## @_lwp_thr_objects
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gdbstub_indextoid              ; -- Begin function gdbstub_indextoid
	.p2align	2
_gdbstub_indextoid:                     ; @gdbstub_indextoid
	.cfi_startproc
; %bb.0:
	cmp	x0, #1
	b.lt	LBB0_4
; %bb.1:
	b.ne	LBB0_3
; %bb.2:
Lloh0:
	adrp	x8, __thr_idle@GOTPAGE
Lloh1:
	ldr	x8, [x8, __thr_idle@GOTPAGEOFF]
Lloh2:
	ldr	x0, [x8]
	ret
LBB0_3:
Lloh3:
	adrp	x8, __lwp_thr_objects@GOTPAGE
Lloh4:
	ldr	x8, [x8, __lwp_thr_objects@GOTPAGEOFF]
	ldp	x9, x10, [x8]
	sub	x9, x10, x9
	cmp	x9, x0
	b.ge	LBB0_5
LBB0_4:
	mov	x0, #0
	ret
LBB0_5:
	ldr	x8, [x8, #16]
	add	x8, x8, x0, lsl #3
	ldur	x0, [x8, #-8]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	__thr_idle,8,3                  ; @_thr_idle
	.comm	__lwp_thr_objects,24,3          ; @_lwp_thr_objects
.subsections_via_symbols
