	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vpif_config_addr
_vpif_config_addr:                      ## @vpif_config_addr
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_VPIF_VIDEO_INDEX@GOTPCREL(%rip), %rcx
	movq	_VPIF_CHANNEL3_VIDEO@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	cmpl	$2, %esi
	jne	LBB0_1
## %bb.2:
	movq	_ch2_set_videobuf_addr_yc_nmux@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_ch2_set_videobuf_addr@GOTPCREL(%rip), %rax
LBB0_3:
	movq	8(%rdi), %rsi
	movq	(%rcx), %rcx
	cmpq	(%rdi), %rdx
	jne	LBB0_5
## %bb.4:
	movq	_ch3_set_videobuf_addr@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %eax
	movl	%eax, (%rsi,%rcx,4)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VPIF_VIDEO_INDEX,8,3           ## @VPIF_VIDEO_INDEX
	.comm	_VPIF_CHANNEL3_VIDEO,8,3        ## @VPIF_CHANNEL3_VIDEO
	.comm	_ch3_set_videobuf_addr,4,2      ## @ch3_set_videobuf_addr
	.comm	_ch2_set_videobuf_addr_yc_nmux,4,2 ## @ch2_set_videobuf_addr_yc_nmux
	.comm	_ch2_set_videobuf_addr,4,2      ## @ch2_set_videobuf_addr
	.no_dead_strip	_vpif_config_addr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vpif_config_addr
_vpif_config_addr:                      ; @vpif_config_addr
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _VPIF_VIDEO_INDEX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VPIF_VIDEO_INDEX@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _VPIF_CHANNEL3_VIDEO@GOTPAGE
Lloh4:
	ldr	x9, [x9, _VPIF_CHANNEL3_VIDEO@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
Lloh6:
	adrp	x10, _ch3_set_videobuf_addr@GOTPAGE
Lloh7:
	ldr	x10, [x10, _ch3_set_videobuf_addr@GOTPAGEOFF]
	ldp	x12, x11, [x0]
Lloh8:
	adrp	x13, _ch2_set_videobuf_addr_yc_nmux@GOTPAGE
Lloh9:
	ldr	x13, [x13, _ch2_set_videobuf_addr_yc_nmux@GOTPAGEOFF]
Lloh10:
	adrp	x14, _ch2_set_videobuf_addr@GOTPAGE
Lloh11:
	ldr	x14, [x14, _ch2_set_videobuf_addr@GOTPAGEOFF]
	cmp	w1, #2
	csel	x13, x13, x14, eq
	cmp	x9, x12
	csel	x9, x10, x13, eq
	ldr	w9, [x9]
	str	w9, [x11, x8, lsl #2]
	ret
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_VPIF_VIDEO_INDEX,8,3           ; @VPIF_VIDEO_INDEX
	.comm	_VPIF_CHANNEL3_VIDEO,8,3        ; @VPIF_CHANNEL3_VIDEO
	.comm	_ch3_set_videobuf_addr,4,2      ; @ch3_set_videobuf_addr
	.comm	_ch2_set_videobuf_addr_yc_nmux,4,2 ; @ch2_set_videobuf_addr_yc_nmux
	.comm	_ch2_set_videobuf_addr,4,2      ; @ch2_set_videobuf_addr
	.no_dead_strip	_vpif_config_addr
.subsections_via_symbols
