	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_M68KAddCodeBreakpoint          ## -- Begin function M68KAddCodeBreakpoint
	.p2align	4, 0x90
_M68KAddCodeBreakpoint:                 ## @M68KAddCodeBreakpoint
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_m68k_num_breakpoints@GOTPCREL(%rip), %r8
	movslq	(%r8), %r9
	movq	_MAX_BREAKPOINTS@GOTPCREL(%rip), %rcx
	movl	$-1, %eax
	cmpl	(%rcx), %r9d
	jge	LBB0_6
## %bb.1:
	movl	%r9d, %esi
	movq	_m68k_breakpoint@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	testl	%esi, %esi
	jle	LBB0_5
## %bb.2:
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rdi, (%rcx,%rdx,8)
	je	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_4 Depth=1
	incq	%rdx
	cmpq	%rdx, %rsi
	jne	LBB0_4
LBB0_5:
	movq	%rdi, (%rcx,%r9,8)
	leal	1(%r9), %eax
	movl	%eax, (%r8)
	movq	_M68KExecBP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_m68k_execf@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	xorl	%eax, %eax
LBB0_6:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_m68k_num_breakpoints,4,2       ## @m68k_num_breakpoints
	.comm	_MAX_BREAKPOINTS,4,2            ## @MAX_BREAKPOINTS
	.comm	_m68k_breakpoint,8,3            ## @m68k_breakpoint
	.comm	_M68KExecBP,4,2                 ## @M68KExecBP
	.comm	_m68k_execf,4,2                 ## @m68k_execf
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_M68KAddCodeBreakpoint          ; -- Begin function M68KAddCodeBreakpoint
	.p2align	2
_M68KAddCodeBreakpoint:                 ; @M68KAddCodeBreakpoint
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x9, _m68k_num_breakpoints@GOTPAGE
Lloh1:
	ldr	x9, [x9, _m68k_num_breakpoints@GOTPAGEOFF]
	ldr	w10, [x9]
Lloh2:
	adrp	x8, _MAX_BREAKPOINTS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MAX_BREAKPOINTS@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cmp	w10, w8
	b.ge	LBB0_6
; %bb.1:
Lloh5:
	adrp	x8, _m68k_breakpoint@GOTPAGE
Lloh6:
	ldr	x8, [x8, _m68k_breakpoint@GOTPAGEOFF]
Lloh7:
	ldr	x11, [x8]
	cmp	w10, #1
	b.lt	LBB0_5
; %bb.2:
	mov	x8, x10
	mov	x12, x11
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x13, [x12]
	cmp	x13, x0
	b.eq	LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x12, x12, #8
	subs	x8, x8, #1
	b.ne	LBB0_3
LBB0_5:
	sxtw	x10, w10
	str	x0, [x11, x10, lsl #3]
	add	w10, w10, #1
	str	w10, [x9]
Lloh8:
	adrp	x9, _M68KExecBP@GOTPAGE
Lloh9:
	ldr	x9, [x9, _M68KExecBP@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
Lloh11:
	adrp	x10, _m68k_execf@GOTPAGE
Lloh12:
	ldr	x10, [x10, _m68k_execf@GOTPAGEOFF]
Lloh13:
	str	w9, [x10]
	mov	w0, #0
	ret
LBB0_6:
	mov	w0, #-1
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotStr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_m68k_num_breakpoints,4,2       ; @m68k_num_breakpoints
	.comm	_MAX_BREAKPOINTS,4,2            ; @MAX_BREAKPOINTS
	.comm	_m68k_breakpoint,8,3            ; @m68k_breakpoint
	.comm	_M68KExecBP,4,2                 ; @M68KExecBP
	.comm	_m68k_execf,4,2                 ; @m68k_execf
.subsections_via_symbols
