	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wm8776_set_fmt
_wm8776_set_fmt:                        ## @wm8776_set_fmt
	.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, %eax
	movq	8(%rdi), %r14
	movl	(%rdi), %ebx
	cmpl	$128, %ebx
	je	LBB0_1
## %bb.2:
	cmpl	$129, %ebx
	jne	LBB0_13
## %bb.3:
	movl	$256, %ebx                      ## imm = 0x100
	movq	_WM8776_ADCIFCTRL@GOTPCREL(%rip), %rcx
	jmp	LBB0_4
LBB0_1:
	movq	_WM8776_DACIFCTRL@GOTPCREL(%rip), %rcx
LBB0_4:
	movl	(%rcx), %esi
	movq	_SND_SOC_DAIFMT_MASTER_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%eax, %ecx
	cmpl	$140, %ecx
	je	LBB0_7
## %bb.5:
	cmpl	$139, %ecx
	jne	LBB0_13
## %bb.6:
	xorl	%ebx, %ebx
LBB0_7:
	movq	_SND_SOC_DAIFMT_FORMAT_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%eax, %ecx
	addl	$-130, %ecx
	cmpl	$9, %ecx
	jae	LBB0_13
## %bb.8:
	movl	$457, %edx                      ## imm = 0x1C9
	btl	%ecx, %edx
	jb	LBB0_9
LBB0_13:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_16:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_9:
	movq	_SND_SOC_DAIFMT_INV_MASK@GOTPCREL(%rip), %rdx
	andl	(%rdx), %eax
	addl	$-131, %eax
	cmpl	$4, %eax
	ja	LBB0_13
## %bb.10:
	movslq	%ecx, %rcx
	leaq	l_switch.table.wm8776_set_fmt(%rip), %rdx
	movl	(%rdx,%rcx,4), %ecx
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rax,4), %rax
	addq	%rdx, %rax
	jmpq	*%rax
LBB0_12:
	orl	$4, %ecx
	jmp	LBB0_15
LBB0_11:
	orl	$8, %ecx
	jmp	LBB0_15
LBB0_14:
	orl	$12, %ecx
LBB0_15:
	movq	%r14, %rdi
	movl	$15, %edx
	callq	_snd_soc_update_bits
	movq	_WM8776_MSTRCTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$384, %edx                      ## imm = 0x180
	movl	%ebx, %ecx
	callq	_snd_soc_update_bits
	xorl	%eax, %eax
	jmp	LBB0_16
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
LJTI0_0:
	.long	L0_0_set_15
	.long	L0_0_set_12
	.long	L0_0_set_13
	.long	L0_0_set_11
	.long	L0_0_set_14
	.end_data_region
                                        ## -- End function
	.comm	_WM8776_DACIFCTRL,4,2           ## @WM8776_DACIFCTRL
	.comm	_WM8776_ADCIFCTRL,4,2           ## @WM8776_ADCIFCTRL
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_SND_SOC_DAIFMT_MASTER_MASK,4,2 ## @SND_SOC_DAIFMT_MASTER_MASK
	.comm	_SND_SOC_DAIFMT_FORMAT_MASK,4,2 ## @SND_SOC_DAIFMT_FORMAT_MASK
	.comm	_SND_SOC_DAIFMT_INV_MASK,4,2    ## @SND_SOC_DAIFMT_INV_MASK
	.comm	_WM8776_MSTRCTRL,4,2            ## @WM8776_MSTRCTRL
	.no_dead_strip	_wm8776_set_fmt
	.section	__TEXT,__const
	.p2align	2                               ## @switch.table.wm8776_set_fmt
l_switch.table.wm8776_set_fmt:
	.long	0                               ## 0x0
	.long	2                               ## 0x2
	.long	2                               ## 0x2
	.long	1                               ## 0x1
	.long	2                               ## 0x2
	.long	2                               ## 0x2
	.long	2                               ## 0x2
	.long	7                               ## 0x7
	.long	3                               ## 0x3

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wm8776_set_fmt
_wm8776_set_fmt:                        ; @wm8776_set_fmt
	.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	x8, x1
	ldr	x19, [x0, #8]
	ldr	w20, [x0]
	cmp	w20, #128
	b.eq	LBB0_3
; %bb.1:
	cmp	w20, #129
	b.ne	LBB0_9
; %bb.2:
	mov	w20, #256
Lloh0:
	adrp	x9, _WM8776_ADCIFCTRL@GOTPAGE
Lloh1:
	ldr	x9, [x9, _WM8776_ADCIFCTRL@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:
Lloh2:
	adrp	x9, _WM8776_DACIFCTRL@GOTPAGE
Lloh3:
	ldr	x9, [x9, _WM8776_DACIFCTRL@GOTPAGEOFF]
LBB0_4:
	ldr	w1, [x9]
Lloh4:
	adrp	x9, _SND_SOC_DAIFMT_MASTER_MASK@GOTPAGE
Lloh5:
	ldr	x9, [x9, _SND_SOC_DAIFMT_MASTER_MASK@GOTPAGEOFF]
Lloh6:
	ldr	w9, [x9]
	and	w9, w9, w8
	cmp	w9, #140
	b.eq	LBB0_7
; %bb.5:
	cmp	w9, #139
	b.ne	LBB0_9
; %bb.6:
	mov	w20, #0
LBB0_7:
Lloh7:
	adrp	x9, _SND_SOC_DAIFMT_FORMAT_MASK@GOTPAGE
Lloh8:
	ldr	x9, [x9, _SND_SOC_DAIFMT_FORMAT_MASK@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	and	w9, w9, w8
	sub	w9, w9, #130
	cmp	w9, #9
	b.hs	LBB0_9
; %bb.8:
	mov	w10, #457
	lsr	w10, w10, w9
	tbnz	w10, #0, LBB0_11
LBB0_9:
Lloh10:
	adrp	x8, _EINVAL@GOTPAGE
Lloh11:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_10:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_11:
Lloh13:
	adrp	x10, _SND_SOC_DAIFMT_INV_MASK@GOTPAGE
Lloh14:
	ldr	x10, [x10, _SND_SOC_DAIFMT_INV_MASK@GOTPAGEOFF]
Lloh15:
	ldr	w10, [x10]
	and	w8, w10, w8
	sub	w8, w8, #131
	cmp	w8, #4
	b.hi	LBB0_9
; %bb.12:
Lloh16:
	adrp	x10, l_switch.table.wm8776_set_fmt@PAGE
Lloh17:
	add	x10, x10, l_switch.table.wm8776_set_fmt@PAGEOFF
	ldr	w3, [x10, w9, sxtw #2]
Lloh18:
	adrp	x9, lJTI0_0@PAGE
Lloh19:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_9
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_13:
	orr	w3, w3, #0x4
	b	LBB0_16
LBB0_14:
	orr	w3, w3, #0x8
	b	LBB0_16
LBB0_15:
	orr	w3, w3, #0xc
LBB0_16:
	mov	x0, x19
	mov	w2, #15
	bl	_snd_soc_update_bits
Lloh20:
	adrp	x8, _WM8776_MSTRCTRL@GOTPAGE
Lloh21:
	ldr	x8, [x8, _WM8776_MSTRCTRL@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #384
	mov	x3, x20
	bl	_snd_soc_update_bits
	mov	w0, #0
	b	LBB0_10
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_16-LBB0_9)>>2
	.byte	(LBB0_13-LBB0_9)>>2
	.byte	(LBB0_9-LBB0_9)>>2
	.byte	(LBB0_14-LBB0_9)>>2
	.byte	(LBB0_15-LBB0_9)>>2
                                        ; -- End function
	.comm	_WM8776_DACIFCTRL,4,2           ; @WM8776_DACIFCTRL
	.comm	_WM8776_ADCIFCTRL,4,2           ; @WM8776_ADCIFCTRL
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_SND_SOC_DAIFMT_MASTER_MASK,4,2 ; @SND_SOC_DAIFMT_MASTER_MASK
	.comm	_SND_SOC_DAIFMT_FORMAT_MASK,4,2 ; @SND_SOC_DAIFMT_FORMAT_MASK
	.comm	_SND_SOC_DAIFMT_INV_MASK,4,2    ; @SND_SOC_DAIFMT_INV_MASK
	.comm	_WM8776_MSTRCTRL,4,2            ; @WM8776_MSTRCTRL
	.no_dead_strip	_wm8776_set_fmt
	.p2align	2                               ; @switch.table.wm8776_set_fmt
l_switch.table.wm8776_set_fmt:
	.long	0                               ; 0x0
	.long	2                               ; 0x2
	.long	2                               ; 0x2
	.long	1                               ; 0x1
	.long	2                               ; 0x2
	.long	2                               ; 0x2
	.long	2                               ; 0x2
	.long	7                               ; 0x7
	.long	3                               ; 0x3

.subsections_via_symbols
