	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vidioc_default
_vidioc_default:                        ## @vidioc_default
	.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), %rax
	movq	(%rax), %r14
	cmpl	$128, %edx
	je	LBB0_6
## %bb.1:
	cmpl	$129, %edx
	jne	LBB0_9
## %bb.2:
	movslq	(%rcx), %rbx
	testq	%rbx, %rbx
	js	LBB0_4
## %bb.3:
	movq	_MXB_AUDIOS@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jge	LBB0_4
## %bb.5:
	movl	%ebx, %edi
	callq	_DEB_EE
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_tea6420_route_cd
	xorl	%eax, %eax
	jmp	LBB0_11
LBB0_6:
	movslq	(%rcx), %rbx
	testq	%rbx, %rbx
	js	LBB0_4
## %bb.7:
	movq	_MXB_AUDIOS@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jge	LBB0_4
## %bb.8:
	movl	%ebx, %edi
	callq	_DEB_EE
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_tea6420_route_line
	xorl	%eax, %eax
	jmp	LBB0_11
LBB0_4:
	movq	%rbx, %rdi
	callq	_DEB_D
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	jmp	LBB0_10
LBB0_9:
	movq	_ENOIOCTLCMD@GOTPCREL(%rip), %rcx
LBB0_10:
	xorl	%eax, %eax
	subq	(%rcx), %rax
LBB0_11:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MXB_AUDIOS,4,2                 ## @MXB_AUDIOS
	.comm	_EINVAL,8,3                     ## @EINVAL
	.comm	_ENOIOCTLCMD,8,3                ## @ENOIOCTLCMD
	.no_dead_strip	_vidioc_default
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vidioc_default
_vidioc_default:                        ; @vidioc_default
	.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
	ldr	x8, [x1]
	ldr	x19, [x8]
	cmp	w2, #128
	b.eq	LBB0_5
; %bb.1:
	cmp	w2, #129
	b.ne	LBB0_9
; %bb.2:
	ldr	w8, [x3]
	sxtw	x20, w8
	tbnz	w8, #31, LBB0_8
; %bb.3:
Lloh0:
	adrp	x9, _MXB_AUDIOS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MXB_AUDIOS@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ge	LBB0_8
; %bb.4:
	and	x0, x20, #0xffffffff
	bl	_DEB_EE
	mov	x0, x19
	mov	x1, x20
	bl	_tea6420_route_cd
	mov	x0, #0
	b	LBB0_11
LBB0_5:
	ldr	w8, [x3]
	sxtw	x20, w8
	tbnz	w8, #31, LBB0_8
; %bb.6:
Lloh3:
	adrp	x9, _MXB_AUDIOS@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MXB_AUDIOS@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ge	LBB0_8
; %bb.7:
	and	x0, x20, #0xffffffff
	bl	_DEB_EE
	mov	x0, x19
	mov	x1, x20
	bl	_tea6420_route_line
	mov	x0, #0
	b	LBB0_11
LBB0_8:
	mov	x0, x20
	bl	_DEB_D
Lloh6:
	adrp	x8, _EINVAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_10
LBB0_9:
Lloh8:
	adrp	x8, _ENOIOCTLCMD@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ENOIOCTLCMD@GOTPAGEOFF]
LBB0_10:
	ldr	x8, [x8]
	neg	x0, x8
LBB0_11:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_MXB_AUDIOS,4,2                 ; @MXB_AUDIOS
	.comm	_EINVAL,8,3                     ; @EINVAL
	.comm	_ENOIOCTLCMD,8,3                ; @ENOIOCTLCMD
	.no_dead_strip	_vidioc_default
.subsections_via_symbols
