	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_video_mux                      ## -- Begin function video_mux
	.p2align	4, 0x90
_video_mux:                             ## @video_mux
	.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	%esi, %r14d
	movq	%rdi, %rbx
	movl	%esi, (%rdi)
	movl	%esi, %edi
	callq	_INPUT
	movl	4(%rax), %eax
	movl	%eax, 8(%rbx)
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_cx231xx_set_video_input_mux
	movq	_video@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_s_routing@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movl	%r14d, %edi
	callq	_INPUT
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movl	%r12d, %edx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_cx25840_call
	movl	8(%rbx), %esi
	movq	%rbx, %rdi
	callq	_cx231xx_set_audio_input
	movl	4(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	movl	%r14d, %edx
	callq	_dev_dbg
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_cx231xx_do_mode_ctrl_overrides ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_video,4,2                      ## @video
	.comm	_s_routing,4,2                  ## @s_routing
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"video_mux : %d\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_video_mux                      ; -- Begin function video_mux
	.p2align	2
_video_mux:                             ; @video_mux
	.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, x1
	mov	x20, x0
	str	w1, [x0]
	mov	x0, x1
	bl	_INPUT
	ldr	w8, [x0, #4]
	str	w8, [x20, #8]
	mov	x0, x20
	mov	x1, x19
	bl	_cx231xx_set_video_input_mux
Lloh0:
	adrp	x8, _video@GOTPAGE
Lloh1:
	ldr	x8, [x8, _video@GOTPAGEOFF]
Lloh2:
	ldr	w21, [x8]
Lloh3:
	adrp	x8, _s_routing@GOTPAGE
Lloh4:
	ldr	x8, [x8, _s_routing@GOTPAGEOFF]
Lloh5:
	ldr	w22, [x8]
	mov	x0, x19
	bl	_INPUT
	ldr	w3, [x0]
	mov	x0, x20
	mov	x1, x21
	mov	x2, x22
	mov	w4, #0
	mov	w5, #0
	bl	_cx25840_call
	ldr	w1, [x20, #8]
	mov	x0, x20
	bl	_cx231xx_set_audio_input
	ldr	w0, [x20, #4]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x19
	bl	_dev_dbg
	mov	x0, x20
	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	_cx231xx_do_mode_ctrl_overrides
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_video,4,2                      ; @video
	.comm	_s_routing,4,2                  ; @s_routing
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"video_mux : %d\n"

.subsections_via_symbols
