	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function st2000_remove_breakpoint
_st2000_remove_breakpoint:              ## @st2000_remove_breakpoint
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%rdi, %rdx
	movq	_MAX_STDEBUG_BREAKPOINTS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	jle	LBB0_5
## %bb.1:
	movq	_breakaddr@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rdx, (%rcx,%rsi,8)
	je	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	incq	%rsi
	cmpq	%rsi, %rax
	jne	LBB0_2
LBB0_5:
	movq	_gdb_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_fprintf_unfiltered
	movl	$1, %eax
	popq	%rbp
	retq
LBB0_3:
	movq	$0, (%rcx,%rsi,8)
	leaq	L_.str(%rip), %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_printf_stdebug
	movl	$1, %edi
	callq	_expect_prompt
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_STDEBUG_BREAKPOINTS,4,2    ## @MAX_STDEBUG_BREAKPOINTS
	.comm	_breakaddr,8,3                  ## @breakaddr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"CB %d\r"

	.comm	_gdb_stderr,4,2                 ## @gdb_stderr
L_.str.1:                               ## @.str.1
	.asciz	"Can't find breakpoint associated with 0x%x\n"

	.no_dead_strip	_st2000_remove_breakpoint
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function st2000_remove_breakpoint
_st2000_remove_breakpoint:              ; @st2000_remove_breakpoint
	.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
	mov	x2, x0
Lloh0:
	adrp	x8, _MAX_STDEBUG_BREAKPOINTS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MAX_STDEBUG_BREAKPOINTS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_4
; %bb.1:
	mov	x1, #0
Lloh3:
	adrp	x9, _breakaddr@GOTPAGE
Lloh4:
	ldr	x9, [x9, _breakaddr@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x9, x1, lsl #3]
	cmp	x10, x2
	b.eq	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x1, x1, #1
	cmp	x8, x1
	b.ne	LBB0_2
LBB0_4:
Lloh6:
	adrp	x8, _gdb_stderr@GOTPAGE
Lloh7:
	ldr	x8, [x8, _gdb_stderr@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x1, l_.str.1@PAGE
Lloh10:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_fprintf_unfiltered
	mov	w0, #1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_5:
	str	xzr, [x9, x1, lsl #3]
Lloh11:
	adrp	x0, l_.str@PAGE
Lloh12:
	add	x0, x0, l_.str@PAGEOFF
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_printf_stdebug
	mov	w0, #1
	bl	_expect_prompt
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_STDEBUG_BREAKPOINTS,4,2    ; @MAX_STDEBUG_BREAKPOINTS
	.comm	_breakaddr,8,3                  ; @breakaddr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"CB %d\r"

	.comm	_gdb_stderr,4,2                 ; @gdb_stderr
l_.str.1:                               ; @.str.1
	.asciz	"Can't find breakpoint associated with 0x%x\n"

	.no_dead_strip	_st2000_remove_breakpoint
.subsections_via_symbols
