	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vfe_bus_disconnect_wm_from_rdi
_vfe_bus_disconnect_wm_from_rdi:        ## @vfe_bus_disconnect_wm_from_rdi
	.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
	movl	%edx, %ebx
	movl	%esi, %r15d
	movq	%rdi, %r14
	movq	_VFE_0_RDI_CFG_x_RDI_EN_BIT@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movl	%edx, %edi
	callq	_VFE_0_RDI_CFG_x
	movq	%r14, %rdi
	movl	%eax, %esi
	movl	%r12d, %edx
	callq	_vfe_reg_clr
	cmpl	$129, %ebx
	jne	LBB0_1
## %bb.2:
	movq	_VFE_0_BUS_XBAR_CFG_x_M_SINGLE_STREAM_SEL_VAL_RDI1@GOTPCREL(%rip), %rax
	cmpl	$128, %ebx
	je	LBB0_4
	jmp	LBB0_5
LBB0_1:
	movq	_VFE_0_BUS_XBAR_CFG_x_M_SINGLE_STREAM_SEL_VAL_RDI0@GOTPCREL(%rip), %rax
	cmpl	$128, %ebx
	jne	LBB0_5
LBB0_4:
	movq	_VFE_0_BUS_XBAR_CFG_x_M_SINGLE_STREAM_SEL_VAL_RDI2@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %eax
	movq	_VFE_0_BUS_XBAR_CFG_x_M_SINGLE_STREAM_SEL_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %eax
	movl	%r15d, %ecx
	andl	$-2147483647, %ecx              ## imm = 0x80000001
	movl	%eax, %ebx
	shll	$16, %ebx
	cmpl	$1, %ecx
	cmovnel	%eax, %ebx
	movl	%r15d, %edi
	callq	_VFE_0_BUS_XBAR_CFG_x
	movq	%r14, %rdi
	movl	%eax, %esi
	movl	%ebx, %edx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_vfe_reg_clr                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_VFE_0_RDI_CFG_x_RDI_EN_BIT,4,2 ## @VFE_0_RDI_CFG_x_RDI_EN_BIT
	.comm	_VFE_0_BUS_XBAR_CFG_x_M_SINGLE_STREAM_SEL_VAL_RDI0,4,2 ## @VFE_0_BUS_XBAR_CFG_x_M_SINGLE_STREAM_SEL_VAL_RDI0
	.comm	_VFE_0_BUS_XBAR_CFG_x_M_SINGLE_STREAM_SEL_SHIFT,4,2 ## @VFE_0_BUS_XBAR_CFG_x_M_SINGLE_STREAM_SEL_SHIFT
	.comm	_VFE_0_BUS_XBAR_CFG_x_M_SINGLE_STREAM_SEL_VAL_RDI1,4,2 ## @VFE_0_BUS_XBAR_CFG_x_M_SINGLE_STREAM_SEL_VAL_RDI1
	.comm	_VFE_0_BUS_XBAR_CFG_x_M_SINGLE_STREAM_SEL_VAL_RDI2,4,2 ## @VFE_0_BUS_XBAR_CFG_x_M_SINGLE_STREAM_SEL_VAL_RDI2
	.no_dead_strip	_vfe_bus_disconnect_wm_from_rdi
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vfe_bus_disconnect_wm_from_rdi
_vfe_bus_disconnect_wm_from_rdi:        ; @vfe_bus_disconnect_wm_from_rdi
	.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, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _VFE_0_RDI_CFG_x_RDI_EN_BIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VFE_0_RDI_CFG_x_RDI_EN_BIT@GOTPAGEOFF]
Lloh2:
	ldr	w22, [x8]
	mov	x0, x2
	bl	_VFE_0_RDI_CFG_x
	mov	x1, x0
	mov	x0, x21
	mov	x2, x22
	bl	_vfe_reg_clr
Lloh3:
	adrp	x8, _VFE_0_BUS_XBAR_CFG_x_M_SINGLE_STREAM_SEL_VAL_RDI2@GOTPAGE
Lloh4:
	ldr	x8, [x8, _VFE_0_BUS_XBAR_CFG_x_M_SINGLE_STREAM_SEL_VAL_RDI2@GOTPAGEOFF]
Lloh5:
	adrp	x9, _VFE_0_BUS_XBAR_CFG_x_M_SINGLE_STREAM_SEL_VAL_RDI1@GOTPAGE
Lloh6:
	ldr	x9, [x9, _VFE_0_BUS_XBAR_CFG_x_M_SINGLE_STREAM_SEL_VAL_RDI1@GOTPAGEOFF]
Lloh7:
	adrp	x10, _VFE_0_BUS_XBAR_CFG_x_M_SINGLE_STREAM_SEL_VAL_RDI0@GOTPAGE
Lloh8:
	ldr	x10, [x10, _VFE_0_BUS_XBAR_CFG_x_M_SINGLE_STREAM_SEL_VAL_RDI0@GOTPAGEOFF]
	cmp	w19, #129
	csel	x9, x9, x10, eq
	cmp	w19, #128
	csel	x8, x8, x9, eq
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _VFE_0_BUS_XBAR_CFG_x_M_SINGLE_STREAM_SEL_SHIFT@GOTPAGE
Lloh10:
	ldr	x9, [x9, _VFE_0_BUS_XBAR_CFG_x_M_SINGLE_STREAM_SEL_SHIFT@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	lsl	w8, w8, w9
	and	w9, w20, #0x80000001
	lsl	w10, w8, #16
	cmp	w9, #1
	csel	w19, w10, w8, eq
	mov	x0, x20
	bl	_VFE_0_BUS_XBAR_CFG_x
	mov	x1, x0
	mov	x0, x21
	mov	x2, 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	_vfe_reg_clr
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_VFE_0_RDI_CFG_x_RDI_EN_BIT,4,2 ; @VFE_0_RDI_CFG_x_RDI_EN_BIT
	.comm	_VFE_0_BUS_XBAR_CFG_x_M_SINGLE_STREAM_SEL_VAL_RDI0,4,2 ; @VFE_0_BUS_XBAR_CFG_x_M_SINGLE_STREAM_SEL_VAL_RDI0
	.comm	_VFE_0_BUS_XBAR_CFG_x_M_SINGLE_STREAM_SEL_SHIFT,4,2 ; @VFE_0_BUS_XBAR_CFG_x_M_SINGLE_STREAM_SEL_SHIFT
	.comm	_VFE_0_BUS_XBAR_CFG_x_M_SINGLE_STREAM_SEL_VAL_RDI1,4,2 ; @VFE_0_BUS_XBAR_CFG_x_M_SINGLE_STREAM_SEL_VAL_RDI1
	.comm	_VFE_0_BUS_XBAR_CFG_x_M_SINGLE_STREAM_SEL_VAL_RDI2,4,2 ; @VFE_0_BUS_XBAR_CFG_x_M_SINGLE_STREAM_SEL_VAL_RDI2
	.no_dead_strip	_vfe_bus_disconnect_wm_from_rdi
.subsections_via_symbols
