	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sh2s_sync_on_read
_sh2s_sync_on_read:                     ## @sh2s_sync_on_read
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	cmpq	$0, (%rdi)
	jne	LBB0_2
## %bb.1:
	movq	%rdi, %rbx
	callq	_sh2_cycles_done
	cmpl	$601, %eax                      ## imm = 0x259
	jl	LBB0_2
## %bb.3:
	movl	%eax, %eax
	movl	$2863311531, %esi               ## imm = 0xAAAAAAAB
	imulq	%rax, %rsi
	shrq	$33, %rsi
	addq	8(%rbx), %rsi
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_p32x_sync_other_sh2            ## TAILCALL
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_sh2s_sync_on_read
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sh2s_sync_on_read
_sh2s_sync_on_read:                     ; @sh2s_sync_on_read
	.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	x8, [x0]
	cbnz	x8, LBB0_3
; %bb.1:
	mov	x19, x0
	bl	_sh2_cycles_done
	cmp	w0, #601
	b.lt	LBB0_3
; %bb.2:
	ldr	x8, [x19, #8]
	mov	w9, #43691
	movk	w9, #43690, lsl #16
	umull	x9, w0, w9
	add	x1, x8, x9, lsr #33
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_p32x_sync_other_sh2
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_sh2s_sync_on_read
.subsections_via_symbols
