	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function remote_remove_breakpoint
_remote_remove_breakpoint:              ## @remote_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	%r15
	pushq	%r14
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	%rdi, -32(%rbp)
	xorl	%eax, %eax
	callq	_get_remote_state
	movq	%rax, %r14
	movq	_remote_protocol_Z@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_Z_PACKET_SOFTWARE_BP@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rax
	movq	_PACKET_DISABLE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.2:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_memory_remove_breakpoint       ## TAILCALL
LBB0_1:
	movl	(%r14), %edi
	callq	_alloca
	movq	%rax, %rbx
	movw	$12410, (%rax)                  ## imm = 0x307A
	leaq	3(%rax), %r15
	movb	$44, 2(%rax)
	movq	-32(%rbp), %rdi
	callq	_remote_address_masked
	movq	%rax, -32(%rbp)
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_hexnumstr
	cltq
	leaq	(%rbx,%rax), %r15
	addq	$3, %r15
	leaq	-32(%rbp), %rdi
	leaq	-36(%rbp), %rsi
	callq	_BREAKPOINT_FROM_PC
	movl	-36(%rbp), %edx
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_sprintf
	movq	%rbx, %rdi
	callq	_putpkt
	movl	(%r14), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_getpkt
	xorl	%eax, %eax
	cmpb	$69, (%rbx)
	sete	%al
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_remote_protocol_Z,8,3          ## @remote_protocol_Z
	.comm	_Z_PACKET_SOFTWARE_BP,8,3       ## @Z_PACKET_SOFTWARE_BP
	.comm	_PACKET_DISABLE,8,3             ## @PACKET_DISABLE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	",%d"

	.no_dead_strip	_remote_remove_breakpoint
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function remote_remove_breakpoint
_remote_remove_breakpoint:              ; @remote_remove_breakpoint
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x1
	mov	x21, x0
	str	x0, [sp, #8]
	bl	_get_remote_state
Lloh0:
	adrp	x8, _remote_protocol_Z@GOTPAGE
Lloh1:
	ldr	x8, [x8, _remote_protocol_Z@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _Z_PACKET_SOFTWARE_BP@GOTPAGE
Lloh4:
	ldr	x9, [x9, _Z_PACKET_SOFTWARE_BP@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	ldr	x8, [x8, x9, lsl #3]
Lloh6:
	adrp	x9, _PACKET_DISABLE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _PACKET_DISABLE@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x21
	mov	x1, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	b	_memory_remove_breakpoint
LBB0_2:
	mov	x19, x0
	ldr	w0, [x0]
	bl	_alloca
	mov	x20, x0
	mov	w8, #12410
	strh	w8, [x0]
	add	x21, x0, #3
	mov	w8, #44
	strb	w8, [x0, #2]
	ldr	x0, [sp, #8]
	bl	_remote_address_masked
	mov	x1, x0
	str	x0, [sp, #8]
	mov	x0, x21
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_hexnumstr
	add	x21, x21, w0, sxtw
	add	x0, sp, #8
	add	x1, sp, #4
	bl	_BREAKPOINT_FROM_PC
	ldr	w2, [sp, #4]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_sprintf
	mov	x0, x20
	bl	_putpkt
	ldr	w1, [x19]
	mov	x0, x20
	mov	w2, #0
	bl	_getpkt
	ldrb	w8, [x20]
	cmp	w8, #69
	cset	w0, eq
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_remote_protocol_Z,8,3          ; @remote_protocol_Z
	.comm	_Z_PACKET_SOFTWARE_BP,8,3       ; @Z_PACKET_SOFTWARE_BP
	.comm	_PACKET_DISABLE,8,3             ; @PACKET_DISABLE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	",%d"

	.no_dead_strip	_remote_remove_breakpoint
.subsections_via_symbols
