	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vsp1_device_init
_vsp1_device_init:                      ## @vsp1_device_init
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	(%rdi), %rax
	cmpl	$0, (%rax)
	je	LBB0_4
## %bb.1:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_vsp1_reset_wpf
	testl	%eax, %eax
	js	LBB0_16
## %bb.2:                               ##   in Loop: Header=BB0_3 Depth=1
	incl	%ebx
	movq	(%r14), %rax
	cmpl	(%rax), %ebx
	jb	LBB0_3
LBB0_4:
	movq	_VI6_CLK_DCSWT@GOTPCREL(%rip), %rax
	movq	_VI6_CLK_DCSWT_CSTPW_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	$8, %edi
	shll	%cl, %edi
	movl	(%rax), %esi
	movl	$8, %edx
	movq	_VI6_CLK_DCSWT_CSTRW_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %edx
	orl	%edi, %edx
	movq	%r14, %rdi
	callq	_vsp1_write
	movq	(%r14), %rax
	cmpl	$0, 4(%rax)
	je	LBB0_7
## %bb.5:
	xorl	%ebx, %ebx
	movq	_VI6_DPR_NODE_UNUSED@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	_VI6_DPR_RPF_ROUTE
	movl	(%r15), %edx
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_vsp1_write
	incl	%ebx
	movq	(%r14), %rax
	cmpl	4(%rax), %ebx
	jb	LBB0_6
LBB0_7:
	cmpl	$0, 8(%rax)
	je	LBB0_10
## %bb.8:
	xorl	%ebx, %ebx
	movq	_VI6_DPR_NODE_UNUSED@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	_VI6_DPR_UDS_ROUTE
	movl	(%r15), %edx
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_vsp1_write
	incl	%ebx
	movq	(%r14), %rax
	cmpl	8(%rax), %ebx
	jb	LBB0_9
LBB0_10:
	cmpl	$0, 12(%rax)
	je	LBB0_13
## %bb.11:
	xorl	%ebx, %ebx
	movq	_VI6_DPR_NODE_UNUSED@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	_VI6_DPR_UIF_ROUTE
	movl	(%r15), %edx
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_vsp1_write
	incl	%ebx
	movq	(%r14), %rax
	cmpl	12(%rax), %ebx
	jb	LBB0_12
LBB0_13:
	movq	_VI6_DPR_SRU_ROUTE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_VI6_DPR_NODE_UNUSED@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	movq	%r14, %rdi
	callq	_vsp1_write
	movq	_VI6_DPR_LUT_ROUTE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r12), %edx
	movq	%r14, %rdi
	callq	_vsp1_write
	movq	_VI6_DPR_CLU_ROUTE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r12), %edx
	movq	%r14, %rdi
	callq	_vsp1_write
	movq	_VI6_DPR_HST_ROUTE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r12), %edx
	movq	%r14, %rdi
	callq	_vsp1_write
	movq	_VI6_DPR_HSI_ROUTE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r12), %edx
	movq	%r14, %rdi
	callq	_vsp1_write
	movq	_VI6_DPR_BRU_ROUTE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r12), %edx
	movq	%r14, %rdi
	callq	_vsp1_write
	movq	_VSP1_HAS_BRS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_vsp1_feature
	testq	%rax, %rax
	je	LBB0_15
## %bb.14:
	movq	_VI6_DPR_ILV_BRS_ROUTE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r12), %edx
	movq	%r14, %rdi
	callq	_vsp1_write
LBB0_15:
	movq	_VI6_DPR_HGO_SMPPT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_VI6_DPR_SMPPT_TGW_SHIFT@GOTPCREL(%rip), %r15
	movb	(%r15), %cl
	movl	$7, %eax
	shll	%cl, %eax
	movl	$7, %ebx
	movl	(%r12), %edx
	movq	_VI6_DPR_SMPPT_PT_SHIFT@GOTPCREL(%rip), %r13
	movb	(%r13), %cl
	shll	%cl, %edx
	orl	%eax, %edx
	movq	%r14, %rdi
	callq	_vsp1_write
	movb	(%r15), %cl
	shll	%cl, %ebx
	movq	_VI6_DPR_HGT_SMPPT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r12), %edx
	movb	(%r13), %cl
	shll	%cl, %edx
	orl	%ebx, %edx
	movq	%r14, %rdi
	callq	_vsp1_write
	movq	%r14, %rdi
	callq	_vsp1_dlm_setup
	xorl	%eax, %eax
LBB0_16:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VI6_CLK_DCSWT,4,2              ## @VI6_CLK_DCSWT
	.comm	_VI6_CLK_DCSWT_CSTPW_SHIFT,4,2  ## @VI6_CLK_DCSWT_CSTPW_SHIFT
	.comm	_VI6_CLK_DCSWT_CSTRW_SHIFT,4,2  ## @VI6_CLK_DCSWT_CSTRW_SHIFT
	.comm	_VI6_DPR_NODE_UNUSED,4,2        ## @VI6_DPR_NODE_UNUSED
	.comm	_VI6_DPR_SRU_ROUTE,4,2          ## @VI6_DPR_SRU_ROUTE
	.comm	_VI6_DPR_LUT_ROUTE,4,2          ## @VI6_DPR_LUT_ROUTE
	.comm	_VI6_DPR_CLU_ROUTE,4,2          ## @VI6_DPR_CLU_ROUTE
	.comm	_VI6_DPR_HST_ROUTE,4,2          ## @VI6_DPR_HST_ROUTE
	.comm	_VI6_DPR_HSI_ROUTE,4,2          ## @VI6_DPR_HSI_ROUTE
	.comm	_VI6_DPR_BRU_ROUTE,4,2          ## @VI6_DPR_BRU_ROUTE
	.comm	_VSP1_HAS_BRS,4,2               ## @VSP1_HAS_BRS
	.comm	_VI6_DPR_ILV_BRS_ROUTE,4,2      ## @VI6_DPR_ILV_BRS_ROUTE
	.comm	_VI6_DPR_HGO_SMPPT,4,2          ## @VI6_DPR_HGO_SMPPT
	.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_HGT_SMPPT,4,2          ## @VI6_DPR_HGT_SMPPT
	.no_dead_strip	_vsp1_device_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vsp1_device_init
_vsp1_device_init:                      ; @vsp1_device_init
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
	ldr	x8, [x0]
	ldr	w8, [x8]
	cbz	w8, LBB0_4
; %bb.1:
	mov	w20, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x20
	bl	_vsp1_reset_wpf
	tbnz	w0, #31, LBB0_16
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	w20, w20, #1
	ldr	x8, [x19]
	ldr	w8, [x8]
	cmp	w20, w8
	b.lo	LBB0_2
LBB0_4:
Lloh0:
	adrp	x8, _VI6_CLK_DCSWT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VI6_CLK_DCSWT@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _VI6_CLK_DCSWT_CSTPW_SHIFT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _VI6_CLK_DCSWT_CSTPW_SHIFT@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	mov	w9, #8
	lsl	w8, w9, w8
Lloh6:
	adrp	x10, _VI6_CLK_DCSWT_CSTRW_SHIFT@GOTPAGE
Lloh7:
	ldr	x10, [x10, _VI6_CLK_DCSWT_CSTRW_SHIFT@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	lsl	w9, w9, w10
	orr	w2, w9, w8
	mov	x0, x19
	bl	_vsp1_write
	ldr	x8, [x19]
	ldr	w9, [x8, #4]
Lloh9:
	adrp	x21, _VI6_DPR_NODE_UNUSED@GOTPAGE
Lloh10:
	ldr	x21, [x21, _VI6_DPR_NODE_UNUSED@GOTPAGEOFF]
	cbz	w9, LBB0_7
; %bb.5:
	mov	w20, #0
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_VI6_DPR_RPF_ROUTE
	mov	x1, x0
	ldr	w2, [x21]
	mov	x0, x19
	bl	_vsp1_write
	add	w20, w20, #1
	ldr	x8, [x19]
	ldr	w9, [x8, #4]
	cmp	w20, w9
	b.lo	LBB0_6
LBB0_7:
	ldr	w9, [x8, #8]
	cbz	w9, LBB0_10
; %bb.8:
	mov	w20, #0
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_VI6_DPR_UDS_ROUTE
	mov	x1, x0
	ldr	w2, [x21]
	mov	x0, x19
	bl	_vsp1_write
	add	w20, w20, #1
	ldr	x8, [x19]
	ldr	w9, [x8, #8]
	cmp	w20, w9
	b.lo	LBB0_9
LBB0_10:
	ldr	w8, [x8, #12]
	cbz	w8, LBB0_13
; %bb.11:
	mov	w20, #0
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_VI6_DPR_UIF_ROUTE
	mov	x1, x0
	ldr	w2, [x21]
	mov	x0, x19
	bl	_vsp1_write
	add	w20, w20, #1
	ldr	x8, [x19]
	ldr	w8, [x8, #12]
	cmp	w20, w8
	b.lo	LBB0_12
LBB0_13:
Lloh11:
	adrp	x8, _VI6_DPR_SRU_ROUTE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _VI6_DPR_SRU_ROUTE@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	ldr	w2, [x21]
	mov	x0, x19
	bl	_vsp1_write
Lloh14:
	adrp	x8, _VI6_DPR_LUT_ROUTE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _VI6_DPR_LUT_ROUTE@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	ldr	w2, [x21]
	mov	x0, x19
	bl	_vsp1_write
Lloh17:
	adrp	x8, _VI6_DPR_CLU_ROUTE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _VI6_DPR_CLU_ROUTE@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	ldr	w2, [x21]
	mov	x0, x19
	bl	_vsp1_write
Lloh20:
	adrp	x8, _VI6_DPR_HST_ROUTE@GOTPAGE
Lloh21:
	ldr	x8, [x8, _VI6_DPR_HST_ROUTE@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	ldr	w2, [x21]
	mov	x0, x19
	bl	_vsp1_write
Lloh23:
	adrp	x8, _VI6_DPR_HSI_ROUTE@GOTPAGE
Lloh24:
	ldr	x8, [x8, _VI6_DPR_HSI_ROUTE@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
	ldr	w2, [x21]
	mov	x0, x19
	bl	_vsp1_write
Lloh26:
	adrp	x8, _VI6_DPR_BRU_ROUTE@GOTPAGE
Lloh27:
	ldr	x8, [x8, _VI6_DPR_BRU_ROUTE@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x8]
	ldr	w2, [x21]
	mov	x0, x19
	bl	_vsp1_write
Lloh29:
	adrp	x8, _VSP1_HAS_BRS@GOTPAGE
Lloh30:
	ldr	x8, [x8, _VSP1_HAS_BRS@GOTPAGEOFF]
Lloh31:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_vsp1_feature
	cbz	x0, LBB0_15
; %bb.14:
Lloh32:
	adrp	x8, _VI6_DPR_ILV_BRS_ROUTE@GOTPAGE
Lloh33:
	ldr	x8, [x8, _VI6_DPR_ILV_BRS_ROUTE@GOTPAGEOFF]
Lloh34:
	ldr	w1, [x8]
	ldr	w2, [x21]
	mov	x0, x19
	bl	_vsp1_write
LBB0_15:
Lloh35:
	adrp	x8, _VI6_DPR_HGO_SMPPT@GOTPAGE
Lloh36:
	ldr	x8, [x8, _VI6_DPR_HGO_SMPPT@GOTPAGEOFF]
Lloh37:
	ldr	w1, [x8]
Lloh38:
	adrp	x20, _VI6_DPR_SMPPT_TGW_SHIFT@GOTPAGE
Lloh39:
	ldr	x20, [x20, _VI6_DPR_SMPPT_TGW_SHIFT@GOTPAGEOFF]
	ldr	w8, [x20]
	mov	w22, #7
	lsl	w8, w22, w8
	ldr	w9, [x21]
Lloh40:
	adrp	x23, _VI6_DPR_SMPPT_PT_SHIFT@GOTPAGE
Lloh41:
	ldr	x23, [x23, _VI6_DPR_SMPPT_PT_SHIFT@GOTPAGEOFF]
	ldr	w10, [x23]
	lsl	w9, w9, w10
	orr	w2, w9, w8
	mov	x0, x19
	bl	_vsp1_write
Lloh42:
	adrp	x8, _VI6_DPR_HGT_SMPPT@GOTPAGE
Lloh43:
	ldr	x8, [x8, _VI6_DPR_HGT_SMPPT@GOTPAGEOFF]
Lloh44:
	ldr	w1, [x8]
	ldr	w8, [x20]
	lsl	w8, w22, w8
	ldr	w9, [x21]
	ldr	w10, [x23]
	lsl	w9, w9, w10
	orr	w2, w9, w8
	mov	x0, x19
	bl	_vsp1_write
	mov	x0, x19
	bl	_vsp1_dlm_setup
	mov	w0, #0
LBB0_16:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGot	Lloh40, Lloh41
	.loh AdrpLdrGot	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.cfi_endproc
                                        ; -- End function
	.comm	_VI6_CLK_DCSWT,4,2              ; @VI6_CLK_DCSWT
	.comm	_VI6_CLK_DCSWT_CSTPW_SHIFT,4,2  ; @VI6_CLK_DCSWT_CSTPW_SHIFT
	.comm	_VI6_CLK_DCSWT_CSTRW_SHIFT,4,2  ; @VI6_CLK_DCSWT_CSTRW_SHIFT
	.comm	_VI6_DPR_NODE_UNUSED,4,2        ; @VI6_DPR_NODE_UNUSED
	.comm	_VI6_DPR_SRU_ROUTE,4,2          ; @VI6_DPR_SRU_ROUTE
	.comm	_VI6_DPR_LUT_ROUTE,4,2          ; @VI6_DPR_LUT_ROUTE
	.comm	_VI6_DPR_CLU_ROUTE,4,2          ; @VI6_DPR_CLU_ROUTE
	.comm	_VI6_DPR_HST_ROUTE,4,2          ; @VI6_DPR_HST_ROUTE
	.comm	_VI6_DPR_HSI_ROUTE,4,2          ; @VI6_DPR_HSI_ROUTE
	.comm	_VI6_DPR_BRU_ROUTE,4,2          ; @VI6_DPR_BRU_ROUTE
	.comm	_VSP1_HAS_BRS,4,2               ; @VSP1_HAS_BRS
	.comm	_VI6_DPR_ILV_BRS_ROUTE,4,2      ; @VI6_DPR_ILV_BRS_ROUTE
	.comm	_VI6_DPR_HGO_SMPPT,4,2          ; @VI6_DPR_HGO_SMPPT
	.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_HGT_SMPPT,4,2          ; @VI6_DPR_HGT_SMPPT
	.no_dead_strip	_vsp1_device_init
.subsections_via_symbols
