	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ta8874z_setaudmode
_ta8874z_setaudmode:                    ## @ta8874z_setaudmode
	.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
	movl	%esi, %ebx
	movq	%rdi, %r14
	movq	_debug@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rcx
	movl	$1, %edi
	movq	%r14, %rdx
	movl	%ebx, %r8d
	callq	_v4l2_dbg
	addl	$-128, %ebx
	cmpl	$4, %ebx
	ja	LBB0_1
## %bb.2:
	movslq	%ebx, %rax
	leaq	l_switch.table.ta8874z_setaudmode(%rip), %rcx
	movq	(%rcx,%rax,8), %rdx
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_chip_cmd                       ## TAILCALL
LBB0_1:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_debug,4,2                      ## @debug
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ta8874z_setaudmode(): mode: 0x%02x\n"

	.comm	_ta8874z_mono,4,2               ## @ta8874z_mono
	.comm	_ta8874z_stereo,4,2             ## @ta8874z_stereo
	.comm	_ta8874z_main,4,2               ## @ta8874z_main
	.comm	_ta8874z_sub,4,2                ## @ta8874z_sub
	.comm	_ta8874z_both,4,2               ## @ta8874z_both
L_.str.1:                               ## @.str.1
	.asciz	"TA8874Z"

	.no_dead_strip	_ta8874z_setaudmode
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.ta8874z_setaudmode
l_switch.table.ta8874z_setaudmode:
	.quad	_ta8874z_stereo
	.quad	_ta8874z_mono
	.quad	_ta8874z_sub
	.quad	_ta8874z_both
	.quad	_ta8874z_main

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ta8874z_setaudmode
_ta8874z_setaudmode:                    ; @ta8874z_setaudmode
	.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, _debug@GOTPAGE
Lloh1:
	ldr	x8, [x8, _debug@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x3, l_.str@PAGE
Lloh4:
	add	x3, x3, l_.str@PAGEOFF
	mov	w0, #1
	mov	x2, x19
	mov	x4, x20
	bl	_v4l2_dbg
	sub	w8, w20, #128
	cmp	w8, #4
	b.hi	LBB0_2
; %bb.1:
Lloh5:
	adrp	x9, l_switch.table.ta8874z_setaudmode@PAGE
Lloh6:
	add	x9, x9, l_switch.table.ta8874z_setaudmode@PAGEOFF
	ldr	x2, [x9, w8, sxtw #3]
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_chip_cmd
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_debug,4,2                      ; @debug
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ta8874z_setaudmode(): mode: 0x%02x\n"

	.comm	_ta8874z_mono,4,2               ; @ta8874z_mono
	.comm	_ta8874z_stereo,4,2             ; @ta8874z_stereo
	.comm	_ta8874z_main,4,2               ; @ta8874z_main
	.comm	_ta8874z_sub,4,2                ; @ta8874z_sub
	.comm	_ta8874z_both,4,2               ; @ta8874z_both
l_.str.1:                               ; @.str.1
	.asciz	"TA8874Z"

	.no_dead_strip	_ta8874z_setaudmode
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.ta8874z_setaudmode
l_switch.table.ta8874z_setaudmode:
	.quad	_ta8874z_stereo
	.quad	_ta8874z_mono
	.quad	_ta8874z_sub
	.quad	_ta8874z_both
	.quad	_ta8874z_main

.subsections_via_symbols
