	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vsp1_dlm_setup                 ## -- Begin function vsp1_dlm_setup
	.p2align	4, 0x90
_vsp1_dlm_setup:                        ## @vsp1_dlm_setup
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	_VI6_DL_CTRL_AR_WAIT_SHIFT@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_VI6_DL_CTRL_DC2@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	_VI6_DL_CTRL_DC1@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	_VI6_DL_CTRL_DC0@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	_VI6_DL_CTRL_DLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_VI6_DL_EXT_CTRL_POLINT_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	$2, %r12d
	shll	%cl, %r12d
	movq	_VI6_DL_EXT_CTRL_DLPRI@GOTPCREL(%rip), %rax
	orl	(%rax), %r12d
	movq	_VI6_DL_EXT_CTRL_EXT@GOTPCREL(%rip), %rax
	orl	(%rax), %r12d
	movq	_VSP1_HAS_EXT_DL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_vsp1_feature
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	(%r15), %rax
	cmpl	$0, (%rax)
	je	LBB0_4
## %bb.2:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	_VI6_DL_EXT_CTRL
	movq	%r15, %rdi
	movl	%eax, %esi
	movl	%r12d, %edx
	callq	_vsp1_write
	incl	%ebx
	movq	(%r15), %rax
	cmpl	(%rax), %ebx
	jb	LBB0_3
LBB0_4:
	movl	$256, %edx                      ## imm = 0x100
	movl	%r14d, %ecx
	shll	%cl, %edx
	orl	%r13d, %edx
	orl	-52(%rbp), %edx                 ## 4-byte Folded Reload
	orl	-48(%rbp), %edx                 ## 4-byte Folded Reload
	orl	-44(%rbp), %edx                 ## 4-byte Folded Reload
	movq	_VI6_DL_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_vsp1_write
	movq	_VI6_DL_SWAP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_VI6_DL_SWAP_LWS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_vsp1_write                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_VI6_DL_CTRL_AR_WAIT_SHIFT,4,2  ## @VI6_DL_CTRL_AR_WAIT_SHIFT
	.comm	_VI6_DL_CTRL_DC2,4,2            ## @VI6_DL_CTRL_DC2
	.comm	_VI6_DL_CTRL_DC1,4,2            ## @VI6_DL_CTRL_DC1
	.comm	_VI6_DL_CTRL_DC0,4,2            ## @VI6_DL_CTRL_DC0
	.comm	_VI6_DL_CTRL_DLE,4,2            ## @VI6_DL_CTRL_DLE
	.comm	_VI6_DL_EXT_CTRL_POLINT_SHIFT,4,2 ## @VI6_DL_EXT_CTRL_POLINT_SHIFT
	.comm	_VI6_DL_EXT_CTRL_DLPRI,4,2      ## @VI6_DL_EXT_CTRL_DLPRI
	.comm	_VI6_DL_EXT_CTRL_EXT,4,2        ## @VI6_DL_EXT_CTRL_EXT
	.comm	_VSP1_HAS_EXT_DL,4,2            ## @VSP1_HAS_EXT_DL
	.comm	_VI6_DL_CTRL,4,2                ## @VI6_DL_CTRL
	.comm	_VI6_DL_SWAP,4,2                ## @VI6_DL_SWAP
	.comm	_VI6_DL_SWAP_LWS,4,2            ## @VI6_DL_SWAP_LWS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vsp1_dlm_setup                 ; -- Begin function vsp1_dlm_setup
	.p2align	2
_vsp1_dlm_setup:                        ; @vsp1_dlm_setup
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
Lloh0:
	adrp	x8, _VI6_DL_CTRL_AR_WAIT_SHIFT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VI6_DL_CTRL_AR_WAIT_SHIFT@GOTPAGEOFF]
Lloh2:
	ldr	w22, [x8]
Lloh3:
	adrp	x8, _VI6_DL_CTRL_DC2@GOTPAGE
Lloh4:
	ldr	x8, [x8, _VI6_DL_CTRL_DC2@GOTPAGEOFF]
Lloh5:
	ldr	w23, [x8]
Lloh6:
	adrp	x8, _VI6_DL_CTRL_DC1@GOTPAGE
Lloh7:
	ldr	x8, [x8, _VI6_DL_CTRL_DC1@GOTPAGEOFF]
Lloh8:
	ldr	w24, [x8]
Lloh9:
	adrp	x8, _VI6_DL_CTRL_DC0@GOTPAGE
Lloh10:
	ldr	x8, [x8, _VI6_DL_CTRL_DC0@GOTPAGEOFF]
Lloh11:
	ldr	w25, [x8]
Lloh12:
	adrp	x8, _VI6_DL_CTRL_DLE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _VI6_DL_CTRL_DLE@GOTPAGEOFF]
Lloh14:
	ldr	w26, [x8]
Lloh15:
	adrp	x8, _VI6_DL_EXT_CTRL_POLINT_SHIFT@GOTPAGE
Lloh16:
	ldr	x8, [x8, _VI6_DL_EXT_CTRL_POLINT_SHIFT@GOTPAGEOFF]
Lloh17:
	ldr	w21, [x8]
Lloh18:
	adrp	x8, _VI6_DL_EXT_CTRL_DLPRI@GOTPAGE
Lloh19:
	ldr	x8, [x8, _VI6_DL_EXT_CTRL_DLPRI@GOTPAGEOFF]
Lloh20:
	ldr	w27, [x8]
Lloh21:
	adrp	x8, _VI6_DL_EXT_CTRL_EXT@GOTPAGE
Lloh22:
	ldr	x8, [x8, _VI6_DL_EXT_CTRL_EXT@GOTPAGEOFF]
Lloh23:
	ldr	w28, [x8]
Lloh24:
	adrp	x8, _VSP1_HAS_EXT_DL@GOTPAGE
Lloh25:
	ldr	x8, [x8, _VSP1_HAS_EXT_DL@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
	bl	_vsp1_feature
	cbz	x0, LBB0_4
; %bb.1:
	ldr	x8, [x19]
	ldr	w8, [x8]
	cbz	w8, LBB0_4
; %bb.2:
	mov	w20, #0
	mov	w8, #2
	lsl	w8, w8, w21
	orr	w8, w8, w27
	orr	w21, w8, w28
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_VI6_DL_EXT_CTRL
	mov	x1, x0
	mov	x0, x19
	mov	x2, x21
	bl	_vsp1_write
	add	w20, w20, #1
	ldr	x8, [x19]
	ldr	w8, [x8]
	cmp	w20, w8
	b.lo	LBB0_3
LBB0_4:
	mov	w8, #256
	lsl	w8, w8, w22
	orr	w8, w8, w23
	orr	w8, w8, w24
	orr	w8, w8, w25
	orr	w2, w8, w26
Lloh27:
	adrp	x8, _VI6_DL_CTRL@GOTPAGE
Lloh28:
	ldr	x8, [x8, _VI6_DL_CTRL@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_vsp1_write
Lloh30:
	adrp	x8, _VI6_DL_SWAP@GOTPAGE
Lloh31:
	ldr	x8, [x8, _VI6_DL_SWAP@GOTPAGEOFF]
Lloh32:
	ldr	w1, [x8]
Lloh33:
	adrp	x8, _VI6_DL_SWAP_LWS@GOTPAGE
Lloh34:
	ldr	x8, [x8, _VI6_DL_SWAP_LWS@GOTPAGEOFF]
Lloh35:
	ldr	w2, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_vsp1_write
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_VI6_DL_CTRL_AR_WAIT_SHIFT,4,2  ; @VI6_DL_CTRL_AR_WAIT_SHIFT
	.comm	_VI6_DL_CTRL_DC2,4,2            ; @VI6_DL_CTRL_DC2
	.comm	_VI6_DL_CTRL_DC1,4,2            ; @VI6_DL_CTRL_DC1
	.comm	_VI6_DL_CTRL_DC0,4,2            ; @VI6_DL_CTRL_DC0
	.comm	_VI6_DL_CTRL_DLE,4,2            ; @VI6_DL_CTRL_DLE
	.comm	_VI6_DL_EXT_CTRL_POLINT_SHIFT,4,2 ; @VI6_DL_EXT_CTRL_POLINT_SHIFT
	.comm	_VI6_DL_EXT_CTRL_DLPRI,4,2      ; @VI6_DL_EXT_CTRL_DLPRI
	.comm	_VI6_DL_EXT_CTRL_EXT,4,2        ; @VI6_DL_EXT_CTRL_EXT
	.comm	_VSP1_HAS_EXT_DL,4,2            ; @VSP1_HAS_EXT_DL
	.comm	_VI6_DL_CTRL,4,2                ; @VI6_DL_CTRL
	.comm	_VI6_DL_SWAP,4,2                ; @VI6_DL_SWAP
	.comm	_VI6_DL_SWAP_LWS,4,2            ; @VI6_DL_SWAP_LWS
.subsections_via_symbols
