	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SH2DelMemoryBreakpoint         ## -- Begin function SH2DelMemoryBreakpoint
	.p2align	4, 0x90
_SH2DelMemoryBreakpoint:                ## @SH2DelMemoryBreakpoint
	.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
                                        ## kill: def $esi killed $esi def $rsi
	movl	(%rdi), %r8d
	movl	$-1, %eax
	testl	%r8d, %r8d
	jle	LBB0_22
## %bb.1:
	movq	%rdi, %r14
	movq	8(%rdi), %rdi
	xorl	%ebx, %ebx
	movq	%rdi, %rcx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	%esi, (%rcx)
	je	LBB0_3
## %bb.21:                              ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
	addq	$32, %rcx
	cmpq	%rbx, %r8
	jne	LBB0_2
	jmp	LBB0_22
LBB0_3:
	addq	$4, %rdi
	xorl	%eax, %eax
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	incq	%rax
	addq	$32, %rdi
	cmpq	%rax, %r8
	je	LBB0_8
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	-4(%rdi), %edx
	xorl	%esi, %edx
	testl	$268369920, %edx                ## imm = 0xFFF0000
	jne	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpq	%rax, %rbx
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	(%rdi), %edx
	notl	%edx
	andl	%edx, 4(%rcx)
	jmp	LBB0_7
LBB0_8:
	movl	4(%rcx), %eax
	movq	_BREAK_BYTEREAD@GOTPCREL(%rip), %rdx
	testl	%eax, (%rdx)
	je	LBB0_10
## %bb.9:
	movl	28(%rcx), %eax
	movq	_ReadByteList@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	%esi, %edi
	shrl	$16, %edi
	andl	$4095, %edi                     ## imm = 0xFFF
	movl	%eax, (%rdx,%rdi,4)
	movl	4(%rcx), %eax
LBB0_10:
	movq	_BREAK_WORDREAD@GOTPCREL(%rip), %rdx
	testl	%eax, (%rdx)
	je	LBB0_12
## %bb.11:
	movl	24(%rcx), %eax
	movq	_ReadWordList@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	%esi, %edi
	shrl	$16, %edi
	andl	$4095, %edi                     ## imm = 0xFFF
	movl	%eax, (%rdx,%rdi,4)
	movl	4(%rcx), %eax
LBB0_12:
	movq	_BREAK_LONGREAD@GOTPCREL(%rip), %rdx
	testl	%eax, (%rdx)
	je	LBB0_14
## %bb.13:
	movl	20(%rcx), %eax
	movq	_ReadLongList@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	%esi, %edi
	shrl	$16, %edi
	andl	$4095, %edi                     ## imm = 0xFFF
	movl	%eax, (%rdx,%rdi,4)
	movl	4(%rcx), %eax
LBB0_14:
	movq	_BREAK_BYTEWRITE@GOTPCREL(%rip), %rdx
	testl	%eax, (%rdx)
	je	LBB0_16
## %bb.15:
	movl	16(%rcx), %eax
	movq	_WriteByteList@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	%esi, %edi
	shrl	$16, %edi
	andl	$4095, %edi                     ## imm = 0xFFF
	movl	%eax, (%rdx,%rdi,4)
	movl	4(%rcx), %eax
LBB0_16:
	movq	_BREAK_WORDWRITE@GOTPCREL(%rip), %rdx
	testl	%eax, (%rdx)
	je	LBB0_18
## %bb.17:
	movl	12(%rcx), %eax
	movq	_WriteWordList@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	%esi, %edi
	shrl	$16, %edi
	andl	$4095, %edi                     ## imm = 0xFFF
	movl	%eax, (%rdx,%rdi,4)
	movl	4(%rcx), %eax
LBB0_18:
	movq	_BREAK_LONGWRITE@GOTPCREL(%rip), %rdx
	testl	%eax, (%rdx)
	je	LBB0_20
## %bb.19:
	movl	8(%rcx), %eax
	movq	_WriteLongList@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	shrl	$16, %esi
	andl	$4095, %esi                     ## imm = 0xFFF
	movl	%eax, (%rdx,%rsi,4)
LBB0_20:
	movl	$-1, (%rcx)
	movq	%r14, %rdi
	callq	_SH2SortMemoryBreakpoints
	decl	(%r14)
	xorl	%eax, %eax
LBB0_22:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BREAK_BYTEREAD,4,2             ## @BREAK_BYTEREAD
	.comm	_ReadByteList,8,3               ## @ReadByteList
	.comm	_BREAK_WORDREAD,4,2             ## @BREAK_WORDREAD
	.comm	_ReadWordList,8,3               ## @ReadWordList
	.comm	_BREAK_LONGREAD,4,2             ## @BREAK_LONGREAD
	.comm	_ReadLongList,8,3               ## @ReadLongList
	.comm	_BREAK_BYTEWRITE,4,2            ## @BREAK_BYTEWRITE
	.comm	_WriteByteList,8,3              ## @WriteByteList
	.comm	_BREAK_WORDWRITE,4,2            ## @BREAK_WORDWRITE
	.comm	_WriteWordList,8,3              ## @WriteWordList
	.comm	_BREAK_LONGWRITE,4,2            ## @BREAK_LONGWRITE
	.comm	_WriteLongList,8,3              ## @WriteLongList
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SH2DelMemoryBreakpoint         ; -- Begin function SH2DelMemoryBreakpoint
	.p2align	2
_SH2DelMemoryBreakpoint:                ; @SH2DelMemoryBreakpoint
	.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
	ldr	w9, [x0]
	cmp	w9, #1
	b.lt	LBB0_4
; %bb.1:
	mov	x19, x0
	mov	x10, #0
	ldr	x12, [x0, #8]
	mov	x8, x12
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x8]
	cmp	w11, w1
	b.eq	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x10, x10, #1
	add	x8, x8, #32
	cmp	x9, x10
	b.ne	LBB0_2
LBB0_4:
	mov	w0, #-1
	b	LBB0_22
LBB0_5:
	mov	x11, #0
	add	x12, x12, #4
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	x11, x11, #1
	add	x12, x12, #32
	cmp	x9, x11
	b.eq	LBB0_9
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldur	w13, [x12, #-4]
	eor	w13, w13, w1
	and	w13, w13, #0xfff0000
	cmp	w13, #0
	ccmp	x10, x11, #4, eq
	b.eq	LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w13, [x12]
	ldr	w14, [x8, #4]
	bic	w13, w14, w13
	str	w13, [x8, #4]
	b	LBB0_6
LBB0_9:
	ldr	w10, [x8, #4]
Lloh0:
	adrp	x9, _BREAK_BYTEREAD@GOTPAGE
Lloh1:
	ldr	x9, [x9, _BREAK_BYTEREAD@GOTPAGEOFF]
Lloh2:
	ldr	w11, [x9]
	ubfx	w9, w1, #16, #12
	tst	w11, w10
	b.eq	LBB0_11
; %bb.10:
	ldr	w10, [x8, #28]
Lloh3:
	adrp	x11, _ReadByteList@GOTPAGE
Lloh4:
	ldr	x11, [x11, _ReadByteList@GOTPAGEOFF]
Lloh5:
	ldr	x11, [x11]
	str	w10, [x11, w9, uxtw #2]
	ldr	w10, [x8, #4]
LBB0_11:
Lloh6:
	adrp	x11, _BREAK_WORDREAD@GOTPAGE
Lloh7:
	ldr	x11, [x11, _BREAK_WORDREAD@GOTPAGEOFF]
Lloh8:
	ldr	w11, [x11]
	tst	w11, w10
	b.eq	LBB0_13
; %bb.12:
	ldr	w10, [x8, #24]
Lloh9:
	adrp	x11, _ReadWordList@GOTPAGE
Lloh10:
	ldr	x11, [x11, _ReadWordList@GOTPAGEOFF]
Lloh11:
	ldr	x11, [x11]
	str	w10, [x11, w9, uxtw #2]
	ldr	w10, [x8, #4]
LBB0_13:
Lloh12:
	adrp	x11, _BREAK_LONGREAD@GOTPAGE
Lloh13:
	ldr	x11, [x11, _BREAK_LONGREAD@GOTPAGEOFF]
Lloh14:
	ldr	w11, [x11]
	tst	w11, w10
	b.eq	LBB0_15
; %bb.14:
	ldr	w10, [x8, #20]
Lloh15:
	adrp	x11, _ReadLongList@GOTPAGE
Lloh16:
	ldr	x11, [x11, _ReadLongList@GOTPAGEOFF]
Lloh17:
	ldr	x11, [x11]
	str	w10, [x11, w9, uxtw #2]
	ldr	w10, [x8, #4]
LBB0_15:
Lloh18:
	adrp	x11, _BREAK_BYTEWRITE@GOTPAGE
Lloh19:
	ldr	x11, [x11, _BREAK_BYTEWRITE@GOTPAGEOFF]
Lloh20:
	ldr	w11, [x11]
	tst	w11, w10
	b.eq	LBB0_17
; %bb.16:
	ldr	w10, [x8, #16]
Lloh21:
	adrp	x11, _WriteByteList@GOTPAGE
Lloh22:
	ldr	x11, [x11, _WriteByteList@GOTPAGEOFF]
Lloh23:
	ldr	x11, [x11]
	str	w10, [x11, w9, uxtw #2]
	ldr	w10, [x8, #4]
LBB0_17:
Lloh24:
	adrp	x11, _BREAK_WORDWRITE@GOTPAGE
Lloh25:
	ldr	x11, [x11, _BREAK_WORDWRITE@GOTPAGEOFF]
Lloh26:
	ldr	w11, [x11]
	tst	w11, w10
	b.eq	LBB0_19
; %bb.18:
	ldr	w10, [x8, #12]
Lloh27:
	adrp	x11, _WriteWordList@GOTPAGE
Lloh28:
	ldr	x11, [x11, _WriteWordList@GOTPAGEOFF]
Lloh29:
	ldr	x11, [x11]
	str	w10, [x11, w9, uxtw #2]
	ldr	w10, [x8, #4]
LBB0_19:
Lloh30:
	adrp	x11, _BREAK_LONGWRITE@GOTPAGE
Lloh31:
	ldr	x11, [x11, _BREAK_LONGWRITE@GOTPAGEOFF]
Lloh32:
	ldr	w11, [x11]
	tst	w11, w10
	b.eq	LBB0_21
; %bb.20:
	ldr	w10, [x8, #8]
Lloh33:
	adrp	x11, _WriteLongList@GOTPAGE
Lloh34:
	ldr	x11, [x11, _WriteLongList@GOTPAGEOFF]
Lloh35:
	ldr	x11, [x11]
	str	w10, [x11, w9, uxtw #2]
LBB0_21:
	mov	w9, #-1
	str	w9, [x8]
	mov	x0, x19
	bl	_SH2SortMemoryBreakpoints
	mov	w0, #0
	ldr	w8, [x19]
	sub	w8, w8, #1
	str	w8, [x19]
LBB0_22:
	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 AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.cfi_endproc
                                        ; -- End function
	.comm	_BREAK_BYTEREAD,4,2             ; @BREAK_BYTEREAD
	.comm	_ReadByteList,8,3               ; @ReadByteList
	.comm	_BREAK_WORDREAD,4,2             ; @BREAK_WORDREAD
	.comm	_ReadWordList,8,3               ; @ReadWordList
	.comm	_BREAK_LONGREAD,4,2             ; @BREAK_LONGREAD
	.comm	_ReadLongList,8,3               ; @ReadLongList
	.comm	_BREAK_BYTEWRITE,4,2            ; @BREAK_BYTEWRITE
	.comm	_WriteByteList,8,3              ; @WriteByteList
	.comm	_BREAK_WORDWRITE,4,2            ; @BREAK_WORDWRITE
	.comm	_WriteWordList,8,3              ; @WriteWordList
	.comm	_BREAK_LONGWRITE,4,2            ; @BREAK_LONGWRITE
	.comm	_WriteLongList,8,3              ; @WriteLongList
.subsections_via_symbols
