	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wm8940_set_dai_clkdiv
_wm8940_set_dai_clkdiv:                 ## @wm8940_set_dai_clkdiv
	.cfi_startproc
## %bb.0:
	addl	$-128, %esi
	cmpl	$2, %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
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %ebx
	movq	(%rdi), %r14
	movslq	%esi, %r12
	leaq	l_switch.table.wm8940_set_dai_clkdiv(%rip), %rax
	movq	(%rax,%r12,8), %r13
	leaq	l_switch.table.wm8940_set_dai_clkdiv.2(%rip), %rax
	movb	(%rax,%r12,4), %r15b
	movl	(%r13), %esi
	movq	%r14, %rdi
	callq	_snd_soc_read
	leaq	l_switch.table.wm8940_set_dai_clkdiv.1(%rip), %rcx
	andl	(%rcx,%r12,4), %eax
	movl	(%r13), %esi
	movl	%r15d, %ecx
	shll	%cl, %ebx
	orl	%eax, %ebx
	movq	%r14, %rdi
	movl	%ebx, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_snd_soc_write                  ## TAILCALL
LBB0_1:
	xorl	%eax, %eax
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WM8940_CLOCK,4,2               ## @WM8940_CLOCK
	.comm	_WM8940_ADDCNTRL,4,2            ## @WM8940_ADDCNTRL
	.no_dead_strip	_wm8940_set_dai_clkdiv
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.wm8940_set_dai_clkdiv
l_switch.table.wm8940_set_dai_clkdiv:
	.quad	_WM8940_ADDCNTRL
	.quad	_WM8940_CLOCK
	.quad	_WM8940_CLOCK

	.section	__TEXT,__const
	.p2align	2                               ## @switch.table.wm8940_set_dai_clkdiv.1
l_switch.table.wm8940_set_dai_clkdiv.1:
	.long	65487                           ## 0xffcf
	.long	65311                           ## 0xff1f
	.long	1048307                         ## 0xffef3

	.p2align	2                               ## @switch.table.wm8940_set_dai_clkdiv.2
l_switch.table.wm8940_set_dai_clkdiv.2:
	.long	4                               ## 0x4
	.long	5                               ## 0x5
	.long	2                               ## 0x2

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wm8940_set_dai_clkdiv
_wm8940_set_dai_clkdiv:                 ; @wm8940_set_dai_clkdiv
	.cfi_startproc
; %bb.0:
	sub	w8, w1, #128
	cmp	w8, #2
	b.hi	LBB0_2
; %bb.1:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x2
Lloh0:
	adrp	x9, l_switch.table.wm8940_set_dai_clkdiv@PAGE
Lloh1:
	add	x9, x9, l_switch.table.wm8940_set_dai_clkdiv@PAGEOFF
	ldr	x21, [x9, w8, sxtw #3]
	sbfiz	x8, x8, #2, #32
Lloh2:
	adrp	x9, l_switch.table.wm8940_set_dai_clkdiv.1@PAGE
Lloh3:
	add	x9, x9, l_switch.table.wm8940_set_dai_clkdiv.1@PAGEOFF
	ldr	w22, [x9, x8]
	ldr	x20, [x0]
Lloh4:
	adrp	x9, l_switch.table.wm8940_set_dai_clkdiv.2@PAGE
Lloh5:
	add	x9, x9, l_switch.table.wm8940_set_dai_clkdiv.2@PAGEOFF
	ldr	w23, [x9, x8]
	ldr	w1, [x21]
	mov	x0, x20
	bl	_snd_soc_read
	and	w8, w0, w22
	ldr	w1, [x21]
	lsl	w9, w19, w23
	orr	w2, w8, w9
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_snd_soc_write
LBB0_2:
	.cfi_def_cfa wsp, 0
	.cfi_same_value w30
	.cfi_same_value w29
	.cfi_same_value w19
	.cfi_same_value w20
	.cfi_same_value w21
	.cfi_same_value w22
	.cfi_same_value w23
	.cfi_same_value w24
	mov	w0, #0
	ret
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_WM8940_CLOCK,4,2               ; @WM8940_CLOCK
	.comm	_WM8940_ADDCNTRL,4,2            ; @WM8940_ADDCNTRL
	.no_dead_strip	_wm8940_set_dai_clkdiv
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.wm8940_set_dai_clkdiv
l_switch.table.wm8940_set_dai_clkdiv:
	.quad	_WM8940_ADDCNTRL
	.quad	_WM8940_CLOCK
	.quad	_WM8940_CLOCK

	.section	__TEXT,__const
	.p2align	2                               ; @switch.table.wm8940_set_dai_clkdiv.1
l_switch.table.wm8940_set_dai_clkdiv.1:
	.long	65487                           ; 0xffcf
	.long	65311                           ; 0xff1f
	.long	1048307                         ; 0xffef3

	.p2align	2                               ; @switch.table.wm8940_set_dai_clkdiv.2
l_switch.table.wm8940_set_dai_clkdiv.2:
	.long	4                               ; 0x4
	.long	5                               ; 0x5
	.long	2                               ; 0x2

.subsections_via_symbols
