	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_scd_end_frame                  ## -- Begin function scd_end_frame
	.p2align	4, 0x90
_scd_end_frame:                         ## @scd_end_frame
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_scd@GOTPCREL(%rip), %r8
	movl	(%r8), %esi
	movl	%edi, %eax
	subl	%esi, %eax
	movq	_TIMERS_SCYCLES_RATIO@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r9d
	xorl	%edx, %edx
	divl	%r9d
	movq	8(%r8), %rdx
	movl	24(%rdx), %ecx
	addl	%eax, %ecx
	andl	$4095, %ecx                     ## imm = 0xFFF
	movl	%ecx, 24(%rdx)
	imull	%r9d, %eax
	subl	%edi, %esi
	addl	%eax, %esi
	movq	_s68k@GOTPCREL(%rip), %rax
	subl	%edi, (%rax)
	movq	_gfx@GOTPCREL(%rip), %rcx
	subl	%edi, (%rcx)
	movl	%esi, (%r8)
	movq	_m68k@GOTPCREL(%rip), %rcx
	movq	$0, (%rcx)
	movq	$0, 8(%rax)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_scd,16,3                       ## @scd
	.comm	_TIMERS_SCYCLES_RATIO,4,2       ## @TIMERS_SCYCLES_RATIO
	.comm	_s68k,16,3                      ## @s68k
	.comm	_gfx,4,2                        ## @gfx
	.comm	_m68k,8,3                       ## @m68k
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_scd_end_frame                  ; -- Begin function scd_end_frame
	.p2align	2
_scd_end_frame:                         ; @scd_end_frame
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _scd@GOTPAGE
Lloh1:
	ldr	x8, [x8, _scd@GOTPAGEOFF]
	ldr	w9, [x8]
	sub	w10, w0, w9
Lloh2:
	adrp	x11, _TIMERS_SCYCLES_RATIO@GOTPAGE
Lloh3:
	ldr	x11, [x11, _TIMERS_SCYCLES_RATIO@GOTPAGEOFF]
Lloh4:
	ldr	w11, [x11]
	udiv	w10, w10, w11
	ldr	x12, [x8, #8]
	ldr	w13, [x12, #24]
	add	w13, w13, w10
	and	w13, w13, #0xfff
	str	w13, [x12, #24]
	sub	w9, w9, w0
	madd	w9, w10, w11, w9
	str	w9, [x8]
Lloh5:
	adrp	x8, _s68k@GOTPAGE
Lloh6:
	ldr	x8, [x8, _s68k@GOTPAGEOFF]
	ldr	w9, [x8]
	sub	w9, w9, w0
	str	w9, [x8]
Lloh7:
	adrp	x9, _gfx@GOTPAGE
Lloh8:
	ldr	x9, [x9, _gfx@GOTPAGEOFF]
	ldr	w10, [x9]
	sub	w10, w10, w0
	str	w10, [x9]
Lloh9:
	adrp	x9, _m68k@GOTPAGE
Lloh10:
	ldr	x9, [x9, _m68k@GOTPAGEOFF]
Lloh11:
	str	xzr, [x9]
	str	xzr, [x8, #8]
	ret
	.loh AdrpLdrGotStr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_scd,16,3                       ; @scd
	.comm	_TIMERS_SCYCLES_RATIO,4,2       ; @TIMERS_SCYCLES_RATIO
	.comm	_s68k,16,3                      ; @s68k
	.comm	_gfx,4,2                        ; @gfx
	.comm	_m68k,8,3                       ; @m68k
.subsections_via_symbols
