	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tda985x_setaudmode
_tda985x_setaudmode:                    ## @tda985x_setaudmode
	.cfi_startproc
## %bb.0:
	addl	$-128, %esi
	cmpl	$4, %esi
	ja	LBB0_1
## %bb.2:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rcx
	movq	_TDA985x_C6@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	movl	4(%rcx,%rax,4), %edx
	andl	$63, %edx
	movslq	%esi, %rcx
	leaq	l_switch.table.tda985x_setaudmode(%rip), %rsi
	movq	(%rsi,%rcx,8), %rcx
	orl	(%rcx), %edx
	movl	%eax, %esi
	popq	%rbp
	jmp	_chip_write                     ## TAILCALL
LBB0_1:
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TDA985x_C6,4,2                 ## @TDA985x_C6
	.comm	_TDA985x_MONO,4,2               ## @TDA985x_MONO
	.comm	_TDA985x_STEREO,4,2             ## @TDA985x_STEREO
	.comm	_TDA985x_SAP,4,2                ## @TDA985x_SAP
	.comm	_TDA985x_MONOSAP,4,2            ## @TDA985x_MONOSAP
	.no_dead_strip	_tda985x_setaudmode
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.tda985x_setaudmode
l_switch.table.tda985x_setaudmode:
	.quad	_TDA985x_STEREO
	.quad	_TDA985x_SAP
	.quad	_TDA985x_MONO
	.quad	_TDA985x_MONOSAP
	.quad	_TDA985x_STEREO

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tda985x_setaudmode
_tda985x_setaudmode:                    ; @tda985x_setaudmode
	.cfi_startproc
; %bb.0:
	sub	w8, w1, #128
	cmp	w8, #4
	b.hi	LBB0_2
; %bb.1:
	ldr	x9, [x0]
Lloh0:
	adrp	x10, _TDA985x_C6@GOTPAGE
Lloh1:
	ldr	x10, [x10, _TDA985x_C6@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x10]
	add	w10, w1, #1
	ldr	w9, [x9, w10, sxtw #2]
Lloh3:
	adrp	x10, l_switch.table.tda985x_setaudmode@PAGE
Lloh4:
	add	x10, x10, l_switch.table.tda985x_setaudmode@PAGEOFF
	ldr	x8, [x10, w8, sxtw #3]
	and	w9, w9, #0x3f
	ldr	w8, [x8]
	orr	w2, w8, w9
	b	_chip_write
LBB0_2:
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_TDA985x_C6,4,2                 ; @TDA985x_C6
	.comm	_TDA985x_MONO,4,2               ; @TDA985x_MONO
	.comm	_TDA985x_STEREO,4,2             ; @TDA985x_STEREO
	.comm	_TDA985x_SAP,4,2                ; @TDA985x_SAP
	.comm	_TDA985x_MONOSAP,4,2            ; @TDA985x_MONOSAP
	.no_dead_strip	_tda985x_setaudmode
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.tda985x_setaudmode
l_switch.table.tda985x_setaudmode:
	.quad	_TDA985x_STEREO
	.quad	_TDA985x_SAP
	.quad	_TDA985x_MONO
	.quad	_TDA985x_MONOSAP
	.quad	_TDA985x_STEREO

.subsections_via_symbols
