	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function r_debug_gdb_select
_r_debug_gdb_select:                    ## @r_debug_gdb_select
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_desc@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.1:
	movq	_origriogdb@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpl	$0, (%rcx)
	je	LBB0_3
## %bb.2:
	callq	_gdbr_select
	shrq	$63, %rax
	xorl	$1, %eax
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
LBB0_3:
	movq	$0, (%rax)
	xorl	%eax, %eax
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_desc,8,3                       ## @desc
	.comm	_origriogdb,8,3                 ## @origriogdb
	.no_dead_strip	_r_debug_gdb_select
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function r_debug_gdb_select
_r_debug_gdb_select:                    ; @r_debug_gdb_select
	.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, _desc@GOTPAGE
Lloh1:
	ldr	x8, [x8, _desc@GOTPAGEOFF]
	ldr	x0, [x8]
	cbz	x0, LBB0_3
; %bb.1:
Lloh2:
	adrp	x9, _origriogdb@GOTPAGE
Lloh3:
	ldr	x9, [x9, _origriogdb@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	ldr	w9, [x9]
	cbz	w9, LBB0_3
; %bb.2:
	bl	_gdbr_select
	lsr	x8, x0, #63
	eor	w0, w8, #0x1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_3:
	mov	w0, #0
	str	xzr, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_desc,8,3                       ; @desc
	.comm	_origriogdb,8,3                 ; @origriogdb
	.no_dead_strip	_r_debug_gdb_select
.subsections_via_symbols
