	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function go7007_s_input
_go7007_s_input:                        ## @go7007_s_input
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movl	(%rdi), %r14d
	movl	20(%rdi), %edi
	movq	_video@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_s_routing@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	movq	8(%rbx), %rax
	movq	8(%rax), %rcx
	movl	4(%rcx,%r14,8), %ecx
	movl	24(%rax), %r9d
	xorl	%r8d, %r8d
	callq	_v4l2_subdev_call
	movq	8(%rbx), %rax
	cmpq	$0, 16(%rax)
	je	LBB0_2
## %bb.1:
	movq	(%rax), %rcx
	movq	8(%rax), %rax
	movslq	(%rax,%r14,8), %r14
	movl	16(%rbx), %edi
	movq	_audio@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r15), %edx
	movl	(%rcx,%r14,4), %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_v4l2_subdev_call
	movl	%r14d, 4(%rbx)
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_video,4,2                      ## @video
	.comm	_s_routing,4,2                  ## @s_routing
	.comm	_audio,4,2                      ## @audio
	.no_dead_strip	_go7007_s_input
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function go7007_s_input
_go7007_s_input:                        ; @go7007_s_input
	.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, x0
	ldr	w21, [x0]
	ldr	w0, [x0, #20]
Lloh0:
	adrp	x8, _video@GOTPAGE
Lloh1:
	ldr	x8, [x8, _video@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x20, _s_routing@GOTPAGE
Lloh4:
	ldr	x20, [x20, _s_routing@GOTPAGEOFF]
	ldr	w2, [x20]
	ldr	x8, [x19, #8]
	ldr	x9, [x8, #8]
	add	x9, x9, x21, lsl #3
	ldr	w3, [x9, #4]
	ldr	w5, [x8, #24]
	mov	w4, #0
	bl	_v4l2_subdev_call
	ldr	x8, [x19, #8]
	ldr	x9, [x8, #16]
	cbz	x9, LBB0_2
; %bb.1:
	lsl	x9, x21, #3
	ldp	x8, x10, [x8]
	ldrsw	x21, [x10, x9]
	ldr	w0, [x19, #16]
Lloh5:
	adrp	x9, _audio@GOTPAGE
Lloh6:
	ldr	x9, [x9, _audio@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x9]
	ldr	w2, [x20]
	ldr	w3, [x8, x21, lsl #2]
	mov	w4, #0
	mov	w5, #0
	bl	_v4l2_subdev_call
	str	w21, [x19, #4]
LBB0_2:
	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
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_video,4,2                      ; @video
	.comm	_s_routing,4,2                  ; @s_routing
	.comm	_audio,4,2                      ; @audio
	.no_dead_strip	_go7007_s_input
.subsections_via_symbols
