	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SH2UpdateMemoryBreakpointList  ## -- Begin function SH2UpdateMemoryBreakpointList
	.p2align	4, 0x90
_SH2UpdateMemoryBreakpointList:         ## @SH2UpdateMemoryBreakpointList
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$504, %rsp                      ## imm = 0x1F8
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	(%rdi), %edi
	callq	_gtk_list_store_clear
	movl	4(%r14), %edi
	callq	_SH2GetMemoryBreakpointList
	movq	%rax, %rbx
	movq	_MAX_BREAKPOINTS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	jle	LBB0_17
## %bb.1:
	xorl	%r15d, %r15d
	leaq	-532(%rbp), %r12
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	$0, (%rax)
	movl	(%r14), %edi
	callq	_GTK_LIST_STORE
	movl	%eax, %edi
	movq	%r12, %rsi
	xorl	%edx, %edx
	leaq	-288(%rbp), %rcx
	movl	$-1, %r8d
	callq	_gtk_list_store_set
	movl	(%r14), %edi
	callq	_GTK_LIST_STORE
	movl	%eax, %edi
	movq	%r12, %rsi
	movl	$1, %edx
	leaq	-528(%rbp), %rcx
	movl	$-1, %r8d
	callq	_gtk_list_store_set
	movq	_MAX_BREAKPOINTS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_16:                                ##   in Loop: Header=BB0_2 Depth=1
	incq	%r15
	movslq	%eax, %rcx
	cmpq	%rcx, %r15
	jge	LBB0_17
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$-1, (%rbx,%r15,8)
	je	LBB0_16
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	4(%rbx,%r15,8), %r13d
	movl	(%r14), %edi
	callq	_GTK_LIST_STORE
	movl	%eax, %edi
	movq	%r12, %rsi
	callq	_gtk_list_store_append
	movl	(%rbx,%r15,8), %edx
	leaq	-288(%rbp), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_sprintf
	leaq	-528(%rbp), %rax
	movq	_BREAK_BYTEREAD@GOTPCREL(%rip), %rcx
	testl	%r13d, (%rcx)
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	$98, -528(%rbp)
	leaq	-520(%rbp), %rax
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_BREAK_WORDREAD@GOTPCREL(%rip), %rcx
	testl	%r13d, (%rcx)
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	$119, (%rax)
	addq	$8, %rax
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_BREAK_LONGREAD@GOTPCREL(%rip), %rcx
	testl	%r13d, (%rcx)
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	$108, (%rax)
	addq	$8, %rax
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_BREAK_BYTEWRITE@GOTPCREL(%rip), %rcx
	testl	%r13d, (%rcx)
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	$66, (%rax)
	addq	$8, %rax
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_BREAK_WORDWRITE@GOTPCREL(%rip), %rcx
	testl	%r13d, (%rcx)
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	$87, (%rax)
	addq	$8, %rax
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_BREAK_LONGWRITE@GOTPCREL(%rip), %rcx
	testl	%r13d, (%rcx)
	je	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	$76, (%rax)
	addq	$8, %rax
	jmp	LBB0_15
LBB0_17:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_19
## %bb.18:
	addq	$504, %rsp                      ## imm = 0x1F8
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_19:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_BREAKPOINTS,4,2            ## @MAX_BREAKPOINTS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%08X"

	.comm	_BREAK_BYTEREAD,4,2             ## @BREAK_BYTEREAD
	.comm	_BREAK_WORDREAD,4,2             ## @BREAK_WORDREAD
	.comm	_BREAK_LONGREAD,4,2             ## @BREAK_LONGREAD
	.comm	_BREAK_BYTEWRITE,4,2            ## @BREAK_BYTEWRITE
	.comm	_BREAK_WORDWRITE,4,2            ## @BREAK_WORDWRITE
	.comm	_BREAK_LONGWRITE,4,2            ## @BREAK_LONGWRITE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SH2UpdateMemoryBreakpointList  ; -- Begin function SH2UpdateMemoryBreakpointList
	.p2align	2
_SH2UpdateMemoryBreakpointList:         ; @SH2UpdateMemoryBreakpointList
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #512
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-96]
	ldr	w0, [x0]
	bl	_gtk_list_store_clear
	ldr	w0, [x19, #4]
	bl	_SH2GetMemoryBreakpointList
Lloh3:
	adrp	x22, _MAX_BREAKPOINTS@GOTPAGE
Lloh4:
	ldr	x22, [x22, _MAX_BREAKPOINTS@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w8, #1
	b.lt	LBB0_18
; %bb.1:
	mov	x20, x0
	mov	x23, #0
	add	x9, sp, #16
	add	x24, x9, #8
Lloh5:
	adrp	x28, _BREAK_BYTEWRITE@GOTPAGE
Lloh6:
	ldr	x28, [x28, _BREAK_BYTEWRITE@GOTPAGEOFF]
Lloh7:
	adrp	x25, _BREAK_WORDWRITE@GOTPAGE
Lloh8:
	ldr	x25, [x25, _BREAK_WORDWRITE@GOTPAGEOFF]
Lloh9:
	adrp	x26, _BREAK_LONGWRITE@GOTPAGE
Lloh10:
	ldr	x26, [x26, _BREAK_LONGWRITE@GOTPAGEOFF]
Lloh11:
	adrp	x21, l_.str@PAGE
Lloh12:
	add	x21, x21, l_.str@PAGEOFF
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	str	xzr, [x8]
	ldr	w0, [x19]
	bl	_GTK_LIST_STORE
	add	x1, sp, #12
	add	x3, sp, #256
	mov	w2, #0
	mov	w4, #-1
	bl	_gtk_list_store_set
	ldr	w0, [x19]
	bl	_GTK_LIST_STORE
	add	x1, sp, #12
	add	x3, sp, #16
	mov	w2, #1
	mov	w4, #-1
	bl	_gtk_list_store_set
	ldr	w8, [x22]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x23, x23, #1
	add	x20, x20, #8
	cmp	x23, w8, sxtw
	b.ge	LBB0_18
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x20]
	cmn	w9, #1
	b.eq	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w27, [x20, #4]
	ldr	w0, [x19]
	bl	_GTK_LIST_STORE
	add	x1, sp, #12
	bl	_gtk_list_store_append
	ldr	w2, [x20]
	add	x0, sp, #256
	mov	x1, x21
	bl	_sprintf
Lloh13:
	adrp	x8, _BREAK_BYTEREAD@GOTPAGE
Lloh14:
	ldr	x8, [x8, _BREAK_BYTEREAD@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	tst	w8, w27
	b.eq	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w8, #98
	str	x8, [sp, #16]
	mov	x8, x24
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x8, sp, #16
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
Lloh16:
	adrp	x9, _BREAK_WORDREAD@GOTPAGE
Lloh17:
	ldr	x9, [x9, _BREAK_WORDREAD@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
	tst	w9, w27
	b.eq	LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w9, #119
	str	x9, [x8], #8
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh19:
	adrp	x9, _BREAK_LONGREAD@GOTPAGE
Lloh20:
	ldr	x9, [x9, _BREAK_LONGREAD@GOTPAGEOFF]
Lloh21:
	ldr	w9, [x9]
	tst	w9, w27
	b.eq	LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	w9, #108
	str	x9, [x8], #8
LBB0_12:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w9, [x28]
	tst	w9, w27
	b.eq	LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	w9, #66
	str	x9, [x8], #8
LBB0_14:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w9, [x25]
	tst	w9, w27
	b.eq	LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	w9, #87
	str	x9, [x8], #8
LBB0_16:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w9, [x26]
	tst	w9, w27
	b.eq	LBB0_2
; %bb.17:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	w9, #76
	str	x9, [x8], #8
	b	LBB0_2
LBB0_18:
	ldur	x8, [x29, #-96]
Lloh22:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh23:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh24:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_20
; %bb.19:
	add	sp, sp, #512
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_20:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_BREAKPOINTS,4,2            ; @MAX_BREAKPOINTS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%08X"

	.comm	_BREAK_BYTEREAD,4,2             ; @BREAK_BYTEREAD
	.comm	_BREAK_WORDREAD,4,2             ; @BREAK_WORDREAD
	.comm	_BREAK_LONGREAD,4,2             ; @BREAK_LONGREAD
	.comm	_BREAK_BYTEWRITE,4,2            ; @BREAK_BYTEWRITE
	.comm	_BREAK_WORDWRITE,4,2            ; @BREAK_WORDWRITE
	.comm	_BREAK_LONGWRITE,4,2            ; @BREAK_LONGWRITE
.subsections_via_symbols
