	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function uif_configure_stream
_uif_configure_stream:                  ## @uif_configure_stream
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdi, %rbx
	addq	$4, %rdi
	callq	_to_uif
	movq	%rax, %r15
	movq	_VI6_UIF_DISCOM_DOCMPMR@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movl	$9, %edi
	callq	_VI6_UIF_DISCOM_DOCMPMR_SEL
	movq	%r15, %rdi
	movq	%r14, %rsi
	movl	%r12d, %edx
	movl	%eax, %ecx
	callq	_vsp1_uif_write
	movl	(%rbx), %esi
	movq	_UIF_PAD_SINK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_V4L2_SEL_TGT_CROP@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	callq	_vsp1_entity_get_pad_selection
	movq	%rax, %rbx
	movl	(%rax), %eax
	cmpq	$0, (%r15)
	setne	%cl
	shrl	%cl, %eax
	movl	4(%rbx), %r12d
	shrl	%cl, %r12d
	movq	_VI6_UIF_DISCOM_DOCMSPXR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%r15, %rdi
	movq	%r14, %rsi
	movl	%eax, %ecx
	callq	_vsp1_uif_write
	movq	_VI6_UIF_DISCOM_DOCMSPYR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	8(%rbx), %ecx
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_vsp1_uif_write
	movq	_VI6_UIF_DISCOM_DOCMSZXR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movq	%r14, %rsi
	movl	%r12d, %ecx
	callq	_vsp1_uif_write
	movq	_VI6_UIF_DISCOM_DOCMSZYR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	12(%rbx), %ecx
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_vsp1_uif_write
	movq	_VI6_UIF_DISCOM_DOCMCR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_VI6_UIF_DISCOM_DOCMCR_CMPR@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rdi
	movq	%r14, %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_vsp1_uif_write                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_VI6_UIF_DISCOM_DOCMPMR,4,2     ## @VI6_UIF_DISCOM_DOCMPMR
	.comm	_UIF_PAD_SINK,4,2               ## @UIF_PAD_SINK
	.comm	_V4L2_SEL_TGT_CROP,4,2          ## @V4L2_SEL_TGT_CROP
	.comm	_VI6_UIF_DISCOM_DOCMSPXR,4,2    ## @VI6_UIF_DISCOM_DOCMSPXR
	.comm	_VI6_UIF_DISCOM_DOCMSPYR,4,2    ## @VI6_UIF_DISCOM_DOCMSPYR
	.comm	_VI6_UIF_DISCOM_DOCMSZXR,4,2    ## @VI6_UIF_DISCOM_DOCMSZXR
	.comm	_VI6_UIF_DISCOM_DOCMSZYR,4,2    ## @VI6_UIF_DISCOM_DOCMSZYR
	.comm	_VI6_UIF_DISCOM_DOCMCR,4,2      ## @VI6_UIF_DISCOM_DOCMCR
	.comm	_VI6_UIF_DISCOM_DOCMCR_CMPR,4,2 ## @VI6_UIF_DISCOM_DOCMCR_CMPR
	.no_dead_strip	_uif_configure_stream
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function uif_configure_stream
_uif_configure_stream:                  ; @uif_configure_stream
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x3
	mov	x21, x0
	add	x0, x0, #4
	bl	_to_uif
	mov	x20, x0
Lloh0:
	adrp	x8, _VI6_UIF_DISCOM_DOCMPMR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VI6_UIF_DISCOM_DOCMPMR@GOTPAGEOFF]
Lloh2:
	ldr	w22, [x8]
	mov	w0, #9
	bl	_VI6_UIF_DISCOM_DOCMPMR_SEL
	mov	x3, x0
	mov	x0, x20
	mov	x1, x19
	mov	x2, x22
	bl	_vsp1_uif_write
	ldr	w1, [x21]
Lloh3:
	adrp	x8, _UIF_PAD_SINK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _UIF_PAD_SINK@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
Lloh6:
	adrp	x8, _V4L2_SEL_TGT_CROP@GOTPAGE
Lloh7:
	ldr	x8, [x8, _V4L2_SEL_TGT_CROP@GOTPAGEOFF]
Lloh8:
	ldr	w3, [x8]
	mov	x0, x21
	bl	_vsp1_entity_get_pad_selection
	mov	x21, x0
	ldp	w8, w9, [x0]
	ldr	x10, [x20]
	cmp	x10, #0
	cset	w10, ne
	lsr	w3, w8, w10
	lsr	w22, w9, w10
Lloh9:
	adrp	x8, _VI6_UIF_DISCOM_DOCMSPXR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _VI6_UIF_DISCOM_DOCMSPXR@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x19
	bl	_vsp1_uif_write
Lloh12:
	adrp	x8, _VI6_UIF_DISCOM_DOCMSPYR@GOTPAGE
Lloh13:
	ldr	x8, [x8, _VI6_UIF_DISCOM_DOCMSPYR@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
	ldr	w3, [x21, #8]
	mov	x0, x20
	mov	x1, x19
	bl	_vsp1_uif_write
Lloh15:
	adrp	x8, _VI6_UIF_DISCOM_DOCMSZXR@GOTPAGE
Lloh16:
	ldr	x8, [x8, _VI6_UIF_DISCOM_DOCMSZXR@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x19
	mov	x3, x22
	bl	_vsp1_uif_write
Lloh18:
	adrp	x8, _VI6_UIF_DISCOM_DOCMSZYR@GOTPAGE
Lloh19:
	ldr	x8, [x8, _VI6_UIF_DISCOM_DOCMSZYR@GOTPAGEOFF]
Lloh20:
	ldr	w2, [x8]
	ldr	w3, [x21, #12]
	mov	x0, x20
	mov	x1, x19
	bl	_vsp1_uif_write
Lloh21:
	adrp	x8, _VI6_UIF_DISCOM_DOCMCR@GOTPAGE
Lloh22:
	ldr	x8, [x8, _VI6_UIF_DISCOM_DOCMCR@GOTPAGEOFF]
Lloh23:
	adrp	x9, _VI6_UIF_DISCOM_DOCMCR_CMPR@GOTPAGE
Lloh24:
	ldr	x9, [x9, _VI6_UIF_DISCOM_DOCMCR_CMPR@GOTPAGEOFF]
Lloh25:
	ldr	w2, [x8]
Lloh26:
	ldr	w3, [x9]
	mov	x0, x20
	mov	x1, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_vsp1_uif_write
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh25
	.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
	.cfi_endproc
                                        ; -- End function
	.comm	_VI6_UIF_DISCOM_DOCMPMR,4,2     ; @VI6_UIF_DISCOM_DOCMPMR
	.comm	_UIF_PAD_SINK,4,2               ; @UIF_PAD_SINK
	.comm	_V4L2_SEL_TGT_CROP,4,2          ; @V4L2_SEL_TGT_CROP
	.comm	_VI6_UIF_DISCOM_DOCMSPXR,4,2    ; @VI6_UIF_DISCOM_DOCMSPXR
	.comm	_VI6_UIF_DISCOM_DOCMSPYR,4,2    ; @VI6_UIF_DISCOM_DOCMSPYR
	.comm	_VI6_UIF_DISCOM_DOCMSZXR,4,2    ; @VI6_UIF_DISCOM_DOCMSZXR
	.comm	_VI6_UIF_DISCOM_DOCMSZYR,4,2    ; @VI6_UIF_DISCOM_DOCMSZYR
	.comm	_VI6_UIF_DISCOM_DOCMCR,4,2      ; @VI6_UIF_DISCOM_DOCMCR
	.comm	_VI6_UIF_DISCOM_DOCMCR_CMPR,4,2 ; @VI6_UIF_DISCOM_DOCMCR_CMPR
	.no_dead_strip	_uif_configure_stream
.subsections_via_symbols
