	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SH2DynarecSetPC                ## -- Begin function SH2DynarecSetPC
	.p2align	4, 0x90
_SH2DynarecSetPC:                       ## @SH2DynarecSetPC
	.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
	movq	_MSH2@GOTPCREL(%rip), %rax
	cmpq	%rdi, (%rax)
	je	LBB0_1
## %bb.2:
	movq	_slave_pc@GOTPCREL(%rip), %rax
	movq	%rsi, (%rax)
	incq	%rsi
	movq	_slave_ip@GOTPCREL(%rip), %rbx
	jmp	LBB0_3
LBB0_1:
	movq	_master_pc@GOTPCREL(%rip), %rax
	movq	%rsi, (%rax)
	movq	_master_ip@GOTPCREL(%rip), %rbx
LBB0_3:
	movq	%rsi, %rdi
	callq	_get_addr_ht
	movq	%rax, (%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MSH2,8,3                       ## @MSH2
	.comm	_master_pc,8,3                  ## @master_pc
	.comm	_master_ip,8,3                  ## @master_ip
	.comm	_slave_pc,8,3                   ## @slave_pc
	.comm	_slave_ip,8,3                   ## @slave_ip
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SH2DynarecSetPC                ; -- Begin function SH2DynarecSetPC
	.p2align	2
_SH2DynarecSetPC:                       ; @SH2DynarecSetPC
	.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
Lloh0:
	adrp	x8, _MSH2@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MSH2@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x0
	b.eq	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _slave_pc@GOTPAGE
Lloh4:
	ldr	x8, [x8, _slave_pc@GOTPAGEOFF]
Lloh5:
	str	x1, [x8]
	add	x1, x1, #1
Lloh6:
	adrp	x19, _slave_ip@GOTPAGE
Lloh7:
	ldr	x19, [x19, _slave_ip@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:
Lloh8:
	adrp	x8, _master_pc@GOTPAGE
Lloh9:
	ldr	x8, [x8, _master_pc@GOTPAGEOFF]
Lloh10:
	str	x1, [x8]
Lloh11:
	adrp	x19, _master_ip@GOTPAGE
Lloh12:
	ldr	x19, [x19, _master_ip@GOTPAGEOFF]
LBB0_3:
	mov	x0, x1
	bl	_get_addr_ht
	str	x0, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotStr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotStr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_MSH2,8,3                       ; @MSH2
	.comm	_master_pc,8,3                  ; @master_pc
	.comm	_master_ip,8,3                  ; @master_ip
	.comm	_slave_pc,8,3                   ; @slave_pc
	.comm	_slave_ip,8,3                   ; @slave_ip
.subsections_via_symbols
