	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vfe_set_demux_cfg
_vfe_set_demux_cfg:                     ## @vfe_set_demux_cfg
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	_VFE_0_DEMUX_CFG_PERIOD@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_VFE_0_DEMUX_CFG@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%rbx), %rsi
	callq	_writel_relaxed
	movq	_VFE_0_DEMUX_GAIN_0_CH0_EVEN@GOTPCREL(%rip), %rax
	movq	_VFE_0_DEMUX_GAIN_0_CH0_ODD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	orl	(%rax), %edi
	movq	_VFE_0_DEMUX_GAIN_0@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%rbx), %rsi
	callq	_writel_relaxed
	movq	_VFE_0_DEMUX_GAIN_1_CH1@GOTPCREL(%rip), %rax
	movq	_VFE_0_DEMUX_GAIN_1_CH2@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	orl	(%rax), %edi
	movq	_VFE_0_DEMUX_GAIN_1@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%rbx), %rsi
	callq	_writel_relaxed
	movq	(%r14), %rax
	movq	_MSM_VFE_PAD_SINK@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %eax
	addl	$-128, %eax
	cmpl	$2, %eax
	ja	LBB0_1
## %bb.2:
	movslq	%eax, %rcx
	leaq	l_switch.table.vfe_set_demux_cfg(%rip), %rax
	movq	(%rax,%rcx,8), %rax
	leaq	l_switch.table.vfe_set_demux_cfg.1(%rip), %rdx
	movq	(%rdx,%rcx,8), %rcx
	jmp	LBB0_3
LBB0_1:
	movq	_VFE_0_DEMUX_ODD_CFG_PATTERN_UYVY@GOTPCREL(%rip), %rcx
	movq	_VFE_0_DEMUX_EVEN_CFG_PATTERN_UYVY@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rcx), %r14d
	movl	(%rax), %edi
	movq	_VFE_0_DEMUX_EVEN_CFG@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%rbx), %rsi
	callq	_writel_relaxed
	movq	_VFE_0_DEMUX_ODD_CFG@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%rbx), %rsi
	movl	%r14d, %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_writel_relaxed                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_VFE_0_DEMUX_CFG_PERIOD,4,2     ## @VFE_0_DEMUX_CFG_PERIOD
	.comm	_VFE_0_DEMUX_CFG,8,3            ## @VFE_0_DEMUX_CFG
	.comm	_VFE_0_DEMUX_GAIN_0_CH0_EVEN,4,2 ## @VFE_0_DEMUX_GAIN_0_CH0_EVEN
	.comm	_VFE_0_DEMUX_GAIN_0_CH0_ODD,4,2 ## @VFE_0_DEMUX_GAIN_0_CH0_ODD
	.comm	_VFE_0_DEMUX_GAIN_0,8,3         ## @VFE_0_DEMUX_GAIN_0
	.comm	_VFE_0_DEMUX_GAIN_1_CH1,4,2     ## @VFE_0_DEMUX_GAIN_1_CH1
	.comm	_VFE_0_DEMUX_GAIN_1_CH2,4,2     ## @VFE_0_DEMUX_GAIN_1_CH2
	.comm	_VFE_0_DEMUX_GAIN_1,8,3         ## @VFE_0_DEMUX_GAIN_1
	.comm	_MSM_VFE_PAD_SINK,8,3           ## @MSM_VFE_PAD_SINK
	.comm	_VFE_0_DEMUX_EVEN_CFG_PATTERN_YUYV,4,2 ## @VFE_0_DEMUX_EVEN_CFG_PATTERN_YUYV
	.comm	_VFE_0_DEMUX_ODD_CFG_PATTERN_YUYV,4,2 ## @VFE_0_DEMUX_ODD_CFG_PATTERN_YUYV
	.comm	_VFE_0_DEMUX_EVEN_CFG_PATTERN_YVYU,4,2 ## @VFE_0_DEMUX_EVEN_CFG_PATTERN_YVYU
	.comm	_VFE_0_DEMUX_ODD_CFG_PATTERN_YVYU,4,2 ## @VFE_0_DEMUX_ODD_CFG_PATTERN_YVYU
	.comm	_VFE_0_DEMUX_EVEN_CFG_PATTERN_UYVY,4,2 ## @VFE_0_DEMUX_EVEN_CFG_PATTERN_UYVY
	.comm	_VFE_0_DEMUX_ODD_CFG_PATTERN_UYVY,4,2 ## @VFE_0_DEMUX_ODD_CFG_PATTERN_UYVY
	.comm	_VFE_0_DEMUX_EVEN_CFG_PATTERN_VYUY,4,2 ## @VFE_0_DEMUX_EVEN_CFG_PATTERN_VYUY
	.comm	_VFE_0_DEMUX_ODD_CFG_PATTERN_VYUY,4,2 ## @VFE_0_DEMUX_ODD_CFG_PATTERN_VYUY
	.comm	_VFE_0_DEMUX_EVEN_CFG,8,3       ## @VFE_0_DEMUX_EVEN_CFG
	.comm	_VFE_0_DEMUX_ODD_CFG,8,3        ## @VFE_0_DEMUX_ODD_CFG
	.no_dead_strip	_vfe_set_demux_cfg
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.vfe_set_demux_cfg
l_switch.table.vfe_set_demux_cfg:
	.quad	_VFE_0_DEMUX_EVEN_CFG_PATTERN_YVYU
	.quad	_VFE_0_DEMUX_EVEN_CFG_PATTERN_YUYV
	.quad	_VFE_0_DEMUX_EVEN_CFG_PATTERN_VYUY

	.p2align	3                               ## @switch.table.vfe_set_demux_cfg.1
l_switch.table.vfe_set_demux_cfg.1:
	.quad	_VFE_0_DEMUX_ODD_CFG_PATTERN_YVYU
	.quad	_VFE_0_DEMUX_ODD_CFG_PATTERN_YUYV
	.quad	_VFE_0_DEMUX_ODD_CFG_PATTERN_VYUY

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vfe_set_demux_cfg
_vfe_set_demux_cfg:                     ; @vfe_set_demux_cfg
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _VFE_0_DEMUX_CFG_PERIOD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VFE_0_DEMUX_CFG_PERIOD@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldr	x8, [x19]
Lloh3:
	adrp	x9, _VFE_0_DEMUX_CFG@GOTPAGE
Lloh4:
	ldr	x9, [x9, _VFE_0_DEMUX_CFG@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel_relaxed
Lloh6:
	adrp	x8, _VFE_0_DEMUX_GAIN_0_CH0_EVEN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _VFE_0_DEMUX_GAIN_0_CH0_EVEN@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _VFE_0_DEMUX_GAIN_0_CH0_ODD@GOTPAGE
Lloh10:
	ldr	x9, [x9, _VFE_0_DEMUX_GAIN_0_CH0_ODD@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w0, w9, w8
	ldr	x8, [x19]
Lloh12:
	adrp	x9, _VFE_0_DEMUX_GAIN_0@GOTPAGE
Lloh13:
	ldr	x9, [x9, _VFE_0_DEMUX_GAIN_0@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel_relaxed
Lloh15:
	adrp	x8, _VFE_0_DEMUX_GAIN_1_CH1@GOTPAGE
Lloh16:
	ldr	x8, [x8, _VFE_0_DEMUX_GAIN_1_CH1@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
Lloh18:
	adrp	x9, _VFE_0_DEMUX_GAIN_1_CH2@GOTPAGE
Lloh19:
	ldr	x9, [x9, _VFE_0_DEMUX_GAIN_1_CH2@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	orr	w0, w9, w8
	ldr	x8, [x19]
Lloh21:
	adrp	x9, _VFE_0_DEMUX_GAIN_1@GOTPAGE
Lloh22:
	ldr	x9, [x9, _VFE_0_DEMUX_GAIN_1@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel_relaxed
Lloh24:
	adrp	x8, _MSM_VFE_PAD_SINK@GOTPAGE
Lloh25:
	ldr	x8, [x8, _MSM_VFE_PAD_SINK@GOTPAGEOFF]
	ldr	x9, [x20]
Lloh26:
	ldr	x8, [x8]
	ldr	w8, [x9, x8, lsl #2]
	sub	w8, w8, #128
	cmp	w8, #2
	b.hi	LBB0_2
; %bb.1:
	sbfiz	x9, x8, #3, #32
Lloh27:
	adrp	x8, l_switch.table.vfe_set_demux_cfg@PAGE
Lloh28:
	add	x8, x8, l_switch.table.vfe_set_demux_cfg@PAGEOFF
	ldr	x8, [x8, x9]
Lloh29:
	adrp	x10, l_switch.table.vfe_set_demux_cfg.1@PAGE
Lloh30:
	add	x10, x10, l_switch.table.vfe_set_demux_cfg.1@PAGEOFF
	ldr	x9, [x10, x9]
	b	LBB0_3
LBB0_2:
Lloh31:
	adrp	x9, _VFE_0_DEMUX_ODD_CFG_PATTERN_UYVY@GOTPAGE
Lloh32:
	ldr	x9, [x9, _VFE_0_DEMUX_ODD_CFG_PATTERN_UYVY@GOTPAGEOFF]
Lloh33:
	adrp	x8, _VFE_0_DEMUX_EVEN_CFG_PATTERN_UYVY@GOTPAGE
Lloh34:
	ldr	x8, [x8, _VFE_0_DEMUX_EVEN_CFG_PATTERN_UYVY@GOTPAGEOFF]
LBB0_3:
	ldr	w20, [x9]
	ldr	w0, [x8]
	ldr	x8, [x19]
Lloh35:
	adrp	x9, _VFE_0_DEMUX_EVEN_CFG@GOTPAGE
Lloh36:
	ldr	x9, [x9, _VFE_0_DEMUX_EVEN_CFG@GOTPAGEOFF]
Lloh37:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel_relaxed
	ldr	x8, [x19]
Lloh38:
	adrp	x9, _VFE_0_DEMUX_ODD_CFG@GOTPAGE
Lloh39:
	ldr	x9, [x9, _VFE_0_DEMUX_ODD_CFG@GOTPAGEOFF]
Lloh40:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_writel_relaxed
	.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 AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.cfi_endproc
                                        ; -- End function
	.comm	_VFE_0_DEMUX_CFG_PERIOD,4,2     ; @VFE_0_DEMUX_CFG_PERIOD
	.comm	_VFE_0_DEMUX_CFG,8,3            ; @VFE_0_DEMUX_CFG
	.comm	_VFE_0_DEMUX_GAIN_0_CH0_EVEN,4,2 ; @VFE_0_DEMUX_GAIN_0_CH0_EVEN
	.comm	_VFE_0_DEMUX_GAIN_0_CH0_ODD,4,2 ; @VFE_0_DEMUX_GAIN_0_CH0_ODD
	.comm	_VFE_0_DEMUX_GAIN_0,8,3         ; @VFE_0_DEMUX_GAIN_0
	.comm	_VFE_0_DEMUX_GAIN_1_CH1,4,2     ; @VFE_0_DEMUX_GAIN_1_CH1
	.comm	_VFE_0_DEMUX_GAIN_1_CH2,4,2     ; @VFE_0_DEMUX_GAIN_1_CH2
	.comm	_VFE_0_DEMUX_GAIN_1,8,3         ; @VFE_0_DEMUX_GAIN_1
	.comm	_MSM_VFE_PAD_SINK,8,3           ; @MSM_VFE_PAD_SINK
	.comm	_VFE_0_DEMUX_EVEN_CFG_PATTERN_YUYV,4,2 ; @VFE_0_DEMUX_EVEN_CFG_PATTERN_YUYV
	.comm	_VFE_0_DEMUX_ODD_CFG_PATTERN_YUYV,4,2 ; @VFE_0_DEMUX_ODD_CFG_PATTERN_YUYV
	.comm	_VFE_0_DEMUX_EVEN_CFG_PATTERN_YVYU,4,2 ; @VFE_0_DEMUX_EVEN_CFG_PATTERN_YVYU
	.comm	_VFE_0_DEMUX_ODD_CFG_PATTERN_YVYU,4,2 ; @VFE_0_DEMUX_ODD_CFG_PATTERN_YVYU
	.comm	_VFE_0_DEMUX_EVEN_CFG_PATTERN_UYVY,4,2 ; @VFE_0_DEMUX_EVEN_CFG_PATTERN_UYVY
	.comm	_VFE_0_DEMUX_ODD_CFG_PATTERN_UYVY,4,2 ; @VFE_0_DEMUX_ODD_CFG_PATTERN_UYVY
	.comm	_VFE_0_DEMUX_EVEN_CFG_PATTERN_VYUY,4,2 ; @VFE_0_DEMUX_EVEN_CFG_PATTERN_VYUY
	.comm	_VFE_0_DEMUX_ODD_CFG_PATTERN_VYUY,4,2 ; @VFE_0_DEMUX_ODD_CFG_PATTERN_VYUY
	.comm	_VFE_0_DEMUX_EVEN_CFG,8,3       ; @VFE_0_DEMUX_EVEN_CFG
	.comm	_VFE_0_DEMUX_ODD_CFG,8,3        ; @VFE_0_DEMUX_ODD_CFG
	.no_dead_strip	_vfe_set_demux_cfg
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.vfe_set_demux_cfg
l_switch.table.vfe_set_demux_cfg:
	.quad	_VFE_0_DEMUX_EVEN_CFG_PATTERN_YVYU
	.quad	_VFE_0_DEMUX_EVEN_CFG_PATTERN_YUYV
	.quad	_VFE_0_DEMUX_EVEN_CFG_PATTERN_VYUY

	.p2align	3                               ; @switch.table.vfe_set_demux_cfg.1
l_switch.table.vfe_set_demux_cfg.1:
	.quad	_VFE_0_DEMUX_ODD_CFG_PATTERN_YVYU
	.quad	_VFE_0_DEMUX_ODD_CFG_PATTERN_YUYV
	.quad	_VFE_0_DEMUX_ODD_CFG_PATTERN_VYUY

.subsections_via_symbols
