	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vsp1_entity_route_setup        ## -- Begin function vsp1_entity_route_setup
	.p2align	4, 0x90
_vsp1_entity_route_setup:               ## @vsp1_entity_route_setup
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rcx
	movq	_VSP1_ENTITY_HGO@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rcx
	jne	LBB0_4
## %bb.1:
	movq	32(%rdi), %rax
	movq	(%rsi), %rcx
	movl	(%rcx), %esi
	movq	_VI6_DPR_SMPPT_TGW_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %esi
	movq	(%rax), %rax
	movq	16(%rax), %rax
	movl	(%rax), %eax
	movq	_VI6_DPR_SMPPT_PT_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %eax
	orl	%esi, %eax
	movq	_VI6_DPR_HGO_SMPPT@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
LBB0_4:
	movq	_VSP1_ENTITY_HGT@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rcx
	jne	LBB0_6
## %bb.5:
	movq	32(%rdi), %rax
	movq	(%rsi), %rcx
	movl	(%rcx), %esi
	movq	_VI6_DPR_SMPPT_TGW_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %esi
	movq	(%rax), %rax
	movq	16(%rax), %rax
	movl	(%rax), %eax
	movq	_VI6_DPR_SMPPT_PT_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %eax
	orl	%esi, %eax
	movq	_VI6_DPR_HGT_SMPPT@GOTPCREL(%rip), %rcx
LBB0_2:
	movq	(%rcx), %rsi
LBB0_3:
	movq	%rdx, %rdi
	movl	%eax, %edx
	popq	%rbp
	jmp	_vsp1_dl_body_write             ## TAILCALL
LBB0_6:
	movq	16(%rdi), %rax
	movq	8(%rax), %rsi
	testq	%rsi, %rsi
	je	LBB0_10
## %bb.7:
	movq	8(%rdi), %r8
	movq	24(%rdi), %rax
	movq	(%rax), %rax
	movq	(%rax), %rdi
	movq	_VSP1_ENTITY_BRS@GOTPCREL(%rip), %r9
	xorl	%eax, %eax
	cmpq	(%r9), %rcx
	jne	LBB0_9
## %bb.8:
	movq	_VI6_DPR_ROUTE_BRSSEL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_9:
	orl	(%rdi,%r8,4), %eax
	jmp	LBB0_3
LBB0_10:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VSP1_ENTITY_HGO,8,3            ## @VSP1_ENTITY_HGO
	.comm	_VI6_DPR_SMPPT_TGW_SHIFT,4,2    ## @VI6_DPR_SMPPT_TGW_SHIFT
	.comm	_VI6_DPR_SMPPT_PT_SHIFT,4,2     ## @VI6_DPR_SMPPT_PT_SHIFT
	.comm	_VI6_DPR_HGO_SMPPT,8,3          ## @VI6_DPR_HGO_SMPPT
	.comm	_VSP1_ENTITY_HGT,8,3            ## @VSP1_ENTITY_HGT
	.comm	_VI6_DPR_HGT_SMPPT,8,3          ## @VI6_DPR_HGT_SMPPT
	.comm	_VSP1_ENTITY_BRS,8,3            ## @VSP1_ENTITY_BRS
	.comm	_VI6_DPR_ROUTE_BRSSEL,4,2       ## @VI6_DPR_ROUTE_BRSSEL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vsp1_entity_route_setup        ; -- Begin function vsp1_entity_route_setup
	.p2align	2
_vsp1_entity_route_setup:               ; @vsp1_entity_route_setup
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _VSP1_ENTITY_HGO@GOTPAGE
Lloh1:
	ldr	x9, [x9, _VSP1_ENTITY_HGO@GOT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	lsl	w8, w8, w10
	orr	w8, w8, w9
Lloh20:
	adrp	x9, _VI6_DPR_HGT_SMPPT@GOTPAGE
Lloh21:
	ldr	x9, [x9, _VI6_DPR_HGT_SMPPT@GOTPAGEOFF]
LBB0_4:
	ldr	x1, [x9]
LBB0_5:
	mov	x0, x2
	mov	x2, x8
	b	_vsp1_dl_body_write
LBB0_6:
	ldr	x9, [x0, #16]
	ldr	x1, [x9, #8]
	cbz	x1, LBB0_8
; %bb.7:
	ldr	x9, [x0, #24]
	ldr	x9, [x9]
	ldr	x9, [x9]
	ldr	x10, [x0, #8]
	ldr	w9, [x9, x10, lsl #2]
Lloh22:
	adrp	x10, _VSP1_ENTITY_BRS@GOTPAGE
Lloh23:
	ldr	x10, [x10, _VSP1_ENTITY_BRS@GOTPAGEOFF]
Lloh24:
	ldr	x10, [x10]
Lloh25:
	adrp	x11, _VI6_DPR_ROUTE_BRSSEL@GOTPAGE
Lloh26:
	ldr	x11, [x11, _VI6_DPR_ROUTE_BRSSEL@GOTPAGEOFF]
Lloh27:
	ldr	w11, [x11]
	cmp	x8, x10
	csel	w8, w11, wzr, eq
	orr	w8, w8, w9
	b	LBB0_5
LBB0_8:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_VSP1_ENTITY_HGO,8,3            ; @VSP1_ENTITY_HGO
	.comm	_VI6_DPR_SMPPT_TGW_SHIFT,4,2    ; @VI6_DPR_SMPPT_TGW_SHIFT
	.comm	_VI6_DPR_SMPPT_PT_SHIFT,4,2     ; @VI6_DPR_SMPPT_PT_SHIFT
	.comm	_VI6_DPR_HGO_SMPPT,8,3          ; @VI6_DPR_HGO_SMPPT
	.comm	_VSP1_ENTITY_HGT,8,3            ; @VSP1_ENTITY_HGT
	.comm	_VI6_DPR_HGT_SMPPT,8,3          ; @VI6_DPR_HGT_SMPPT
	.comm	_VSP1_ENTITY_BRS,8,3            ; @VSP1_ENTITY_BRS
	.comm	_VI6_DPR_ROUTE_BRSSEL,4,2       ; @VI6_DPR_ROUTE_BRSSEL
.subsections_via_symbols
