	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SH2UpdateBreakpointList        ## -- Begin function SH2UpdateBreakpointList
	.p2align	4, 0x90
_SH2UpdateBreakpointList:               ## @SH2UpdateBreakpointList
	.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	$104, %rsp
	.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
	movl	%eax, %edi
	callq	_gtk_list_store_clear
	movl	4(%r14), %edi
	callq	_SH2GetBreakpointList
	movq	%rax, %rbx
	movq	_MAX_BREAKPOINTS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	$2, %eax
	jl	LBB0_5
## %bb.1:
	xorl	%r12d, %r12d
	leaq	-132(%rbp), %r15
	leaq	-128(%rbp), %r13
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%r12
	leal	-1(%rax), %ecx
	movslq	%ecx, %rcx
	cmpq	%rcx, %r12
	jge	LBB0_5
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$-1, (%rbx,%r12,4)
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r14), %edi
	callq	_GTK_LIST_STORE
	movl	%eax, %edi
	movq	%r15, %rsi
	callq	_gtk_list_store_append
	movl	(%rbx,%r12,4), %edx
	movq	%r13, %rdi
	leaq	L_.str(%rip), %rsi
	callq	_sprintf
	movl	(%r14), %edi
	callq	_GTK_LIST_STORE
	movl	%eax, %edi
	movq	%r15, %rsi
	xorl	%edx, %edx
	movq	%r13, %rcx
	movl	$-1, %r8d
	callq	_gtk_list_store_set
	movq	_MAX_BREAKPOINTS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_4
LBB0_5:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_7
## %bb.6:
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	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"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SH2UpdateBreakpointList        ; -- Begin function SH2UpdateBreakpointList
	.p2align	2
_SH2UpdateBreakpointList:               ; @SH2UpdateBreakpointList
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	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, #-56]
	ldr	w0, [x0]
	bl	_GTK_LIST_STORE
	bl	_gtk_list_store_clear
	ldr	w0, [x19, #4]
	bl	_SH2GetBreakpointList
Lloh3:
	adrp	x22, _MAX_BREAKPOINTS@GOTPAGE
Lloh4:
	ldr	x22, [x22, _MAX_BREAKPOINTS@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w8, #2
	b.lt	LBB0_5
; %bb.1:
	mov	x20, x0
	mov	x23, #0
Lloh5:
	adrp	x21, l_.str@PAGE
Lloh6:
	add	x21, x21, l_.str@PAGEOFF
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x23, x23, #1
	sub	w9, w8, #1
	cmp	x23, w9, sxtw
	b.ge	LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x20, x23, lsl #2]
	cmn	w9, #1
	b.eq	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x19]
	bl	_GTK_LIST_STORE
	add	x1, sp, #4
	bl	_gtk_list_store_append
	ldr	w2, [x20, x23, lsl #2]
	add	x0, sp, #8
	mov	x1, x21
	bl	_sprintf
	ldr	w0, [x19]
	bl	_GTK_LIST_STORE
	add	x1, sp, #4
	add	x3, sp, #8
	mov	w2, #0
	mov	w4, #-1
	bl	_gtk_list_store_set
	ldr	w8, [x22]
	b	LBB0_2
LBB0_5:
	ldur	x8, [x29, #-56]
Lloh7:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh8:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_7
; %bb.6:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_7:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_BREAKPOINTS,4,2            ; @MAX_BREAKPOINTS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%08X"

.subsections_via_symbols
