	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function arm_rdi_remove_breakpoint
_arm_rdi_remove_breakpoint:             ## @arm_rdi_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	_local_bp_list@GOTPCREL(%rip), %r14
	movq	(%r14), %rbx
	testq	%rbx, %rbx
	je	LBB0_8
## %bb.1:
	cmpq	%rdi, (%rbx)
	je	LBB0_5
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %r14
	movq	8(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_8
## %bb.2:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpq	%rdi, (%rbx)
	jne	LBB0_3
## %bb.4:
	addq	$8, %r14
LBB0_5:
	movl	16(%rbx), %edi
	callq	_angel_RDI_clearbreak
	movq	_RDIError_NoError@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_7
## %bb.6:
	movl	%eax, %edi
	callq	_rdi_error_message
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	callq	_printf_filtered
LBB0_7:
	movq	8(%rbx), %rax
	movq	%rax, (%r14)
	movq	%rbx, %rdi
	callq	_xfree
LBB0_8:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_local_bp_list,8,3              ## @local_bp_list
	.comm	_RDIError_NoError,4,2           ## @RDIError_NoError
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"RDI_clearbreak: %s\n"

	.no_dead_strip	_arm_rdi_remove_breakpoint
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function arm_rdi_remove_breakpoint
_arm_rdi_remove_breakpoint:             ; @arm_rdi_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
Lloh0:
	adrp	x8, _local_bp_list@GOTPAGE
Lloh1:
	ldr	x8, [x8, _local_bp_list@GOTPAGEOFF]
Lloh2:
	ldr	x19, [x8]
	cbz	x19, LBB0_9
; %bb.1:
	ldr	x8, [x19]
	cmp	x8, x0
	b.ne	LBB0_3
; %bb.2:
Lloh3:
	adrp	x20, _local_bp_list@GOTPAGE
Lloh4:
	ldr	x20, [x20, _local_bp_list@GOTPAGEOFF]
	b	LBB0_6
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x8, x19
	ldr	x19, [x19, #8]
	cbz	x19, LBB0_9
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x9, [x19]
	cmp	x9, x0
	b.ne	LBB0_3
; %bb.5:
	add	x20, x8, #8
LBB0_6:
	ldr	w0, [x19, #16]
	bl	_angel_RDI_clearbreak
Lloh5:
	adrp	x8, _RDIError_NoError@GOTPAGE
Lloh6:
	ldr	x8, [x8, _RDIError_NoError@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	cmp	w0, w8
	b.eq	LBB0_8
; %bb.7:
	bl	_rdi_error_message
	mov	x1, x0
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printf_filtered
LBB0_8:
	ldr	x8, [x19, #8]
	str	x8, [x20]
	mov	x0, x19
	bl	_xfree
LBB0_9:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_local_bp_list,8,3              ; @local_bp_list
	.comm	_RDIError_NoError,4,2           ; @RDIError_NoError
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"RDI_clearbreak: %s\n"

	.no_dead_strip	_arm_rdi_remove_breakpoint
.subsections_via_symbols
