	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function monitor_remove_breakpoint
_monitor_remove_breakpoint:             ## @monitor_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
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	callq	_paddr
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	callq	_monitor_debug
	movq	_current_monitor@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	cmpq	$0, 8(%rax)
	jne	LBB0_2
## %bb.1:
	leaq	L_.str.1(%rip), %rdi
	callq	_error
	movq	(%r14), %rax
LBB0_2:
	movq	_MO_ADDR_BITS_REMOVE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	callq	_ADDR_BITS_REMOVE
	movq	%rax, %rbx
	movq	(%r14), %rax
LBB0_4:
	movl	4(%rax), %ecx
	testl	%ecx, %ecx
	jle	LBB0_14
## %bb.5:
	movq	_breakaddr@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rbx, (%rdx,%rsi,8)
	je	LBB0_7
## %bb.13:                              ##   in Loop: Header=BB0_6 Depth=1
	incq	%rsi
	cmpq	%rsi, %rcx
	jne	LBB0_6
LBB0_14:
	movq	_gdb_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	%rbx, %rdi
	callq	_paddr_nz
	leaq	L_.str.2(%rip), %rsi
	movl	%r14d, %edi
	movl	%eax, %edx
	callq	_fprintf_unfiltered
	movl	$1, %ebx
	jmp	LBB0_15
LBB0_7:
	movq	$0, (%rdx,%rsi,8)
	movl	(%rax), %ecx
	movq	_MO_CLR_BREAK_USES_ADDR@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	je	LBB0_9
## %bb.8:
	movq	8(%rax), %rdi
	movl	%ebx, %esi
	jmp	LBB0_12
LBB0_9:
	movq	_MO_CLR_BREAK_1_BASED@GOTPCREL(%rip), %rdx
	movq	8(%rax), %rdi
	testl	%ecx, (%rdx)
	je	LBB0_11
## %bb.10:
	incl	%esi
LBB0_11:
                                        ## kill: def $esi killed $esi killed $rsi
LBB0_12:
	callq	_monitor_printf
	xorl	%ebx, %ebx
	xorl	%edi, %edi
	xorl	%esi, %esi
	callq	_monitor_expect_prompt
LBB0_15:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"MON rmbkpt %s\n"

	.comm	_current_monitor,8,3            ## @current_monitor
L_.str.1:                               ## @.str.1
	.asciz	"No clr_break defined for this monitor"

	.comm	_MO_ADDR_BITS_REMOVE,4,2        ## @MO_ADDR_BITS_REMOVE
	.comm	_breakaddr,8,3                  ## @breakaddr
	.comm	_MO_CLR_BREAK_USES_ADDR,4,2     ## @MO_CLR_BREAK_USES_ADDR
	.comm	_MO_CLR_BREAK_1_BASED,4,2       ## @MO_CLR_BREAK_1_BASED
	.comm	_gdb_stderr,4,2                 ## @gdb_stderr
L_.str.2:                               ## @.str.2
	.asciz	"Can't find breakpoint associated with 0x%s\n"

	.no_dead_strip	_monitor_remove_breakpoint
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function monitor_remove_breakpoint
_monitor_remove_breakpoint:             ; @monitor_remove_breakpoint
	.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
	mov	x19, x0
	bl	_paddr
	mov	x1, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_monitor_debug
Lloh2:
	adrp	x20, _current_monitor@GOTPAGE
Lloh3:
	ldr	x20, [x20, _current_monitor@GOTPAGEOFF]
	ldr	x8, [x20]
	ldr	x9, [x8, #8]
	cbnz	x9, LBB0_2
; %bb.1:
Lloh4:
	adrp	x0, l_.str.1@PAGE
Lloh5:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_error
	ldr	x8, [x20]
LBB0_2:
	ldr	w9, [x8]
Lloh6:
	adrp	x10, _MO_ADDR_BITS_REMOVE@GOTPAGE
Lloh7:
	ldr	x10, [x10, _MO_ADDR_BITS_REMOVE@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_4
; %bb.3:
	mov	x0, x19
	bl	_ADDR_BITS_REMOVE
	mov	x19, x0
	ldr	x8, [x20]
LBB0_4:
	ldr	w9, [x8, #4]
	cmp	w9, #1
	b.lt	LBB0_8
; %bb.5:
	mov	x1, #0
Lloh9:
	adrp	x10, _breakaddr@GOTPAGE
Lloh10:
	ldr	x10, [x10, _breakaddr@GOTPAGEOFF]
Lloh11:
	ldr	x10, [x10]
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x10, x1, lsl #3]
	cmp	x11, x19
	b.eq	LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x1, x1, #1
	cmp	x9, x1
	b.ne	LBB0_6
LBB0_8:
Lloh12:
	adrp	x8, _gdb_stderr@GOTPAGE
Lloh13:
	ldr	x8, [x8, _gdb_stderr@GOTPAGEOFF]
Lloh14:
	ldr	w20, [x8]
	mov	x0, x19
	bl	_paddr_nz
	mov	x2, x0
Lloh15:
	adrp	x1, l_.str.2@PAGE
Lloh16:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_fprintf_unfiltered
	mov	w0, #1
	b	LBB0_15
LBB0_9:
	str	xzr, [x10, x1, lsl #3]
	ldr	w9, [x8]
Lloh17:
	adrp	x10, _MO_CLR_BREAK_USES_ADDR@GOTPAGE
Lloh18:
	ldr	x10, [x10, _MO_CLR_BREAK_USES_ADDR@GOTPAGEOFF]
Lloh19:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_11
; %bb.10:
	ldr	x0, [x8, #8]
	mov	x1, x19
	b	LBB0_14
LBB0_11:
Lloh20:
	adrp	x10, _MO_CLR_BREAK_1_BASED@GOTPAGE
Lloh21:
	ldr	x10, [x10, _MO_CLR_BREAK_1_BASED@GOTPAGEOFF]
Lloh22:
	ldr	w10, [x10]
	ldr	x0, [x8, #8]
	tst	w10, w9
	b.eq	LBB0_13
; %bb.12:
	add	w1, w1, #1
	b	LBB0_14
LBB0_13:
                                        ; kill: def $w1 killed $w1 killed $x1
LBB0_14:
	bl	_monitor_printf
	mov	x0, #0
	mov	w1, #0
	bl	_monitor_expect_prompt
	mov	w0, #0
LBB0_15:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"MON rmbkpt %s\n"

	.comm	_current_monitor,8,3            ; @current_monitor
l_.str.1:                               ; @.str.1
	.asciz	"No clr_break defined for this monitor"

	.comm	_MO_ADDR_BITS_REMOVE,4,2        ; @MO_ADDR_BITS_REMOVE
	.comm	_breakaddr,8,3                  ; @breakaddr
	.comm	_MO_CLR_BREAK_USES_ADDR,4,2     ; @MO_CLR_BREAK_USES_ADDR
	.comm	_MO_CLR_BREAK_1_BASED,4,2       ; @MO_CLR_BREAK_1_BASED
	.comm	_gdb_stderr,4,2                 ; @gdb_stderr
l_.str.2:                               ; @.str.2
	.asciz	"Can't find breakpoint associated with 0x%s\n"

	.no_dead_strip	_monitor_remove_breakpoint
.subsections_via_symbols
