	.file	"extr_wm8960.c_wm8960_set_dai_fmt.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	wm8960_set_dai_fmt, @function
wm8960_set_dai_fmt:
.LFB0:
	.cfi_startproc
	endbr64
	mov	eax, DWORD PTR SND_SOC_DAIFMT_MASTER_MASK[rip]
	and	eax, esi
	cmp	eax, 137
	je	.L15
	cmp	eax, 138
	je	.L16
.L3:
	mov	eax, DWORD PTR EINVAL[rip]
	neg	eax
	ret
	.p2align 4,,10
	.p2align 3
.L16:
	mov	edx, 64
.L2:
	mov	eax, DWORD PTR SND_SOC_DAIFMT_FORMAT_MASK[rip]
	and	eax, esi
	add	eax, -128
	cmp	eax, 8
	ja	.L3
	lea	rcx, .L6[rip]
	movsx	rax, DWORD PTR [rcx+rax*4]
	add	rax, rcx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L6:
	.long	.L10-.L6
	.long	.L3-.L6
	.long	.L3-.L6
	.long	.L9-.L6
	.long	.L3-.L6
	.long	.L3-.L6
	.long	.L8-.L6
	.long	.L7-.L6
	.long	.L5-.L6
	.text
	.p2align 4,,10
	.p2align 3
.L7:
	or	edx, 19
.L10:
	and	esi, DWORD PTR SND_SOC_DAIFMT_INV_MASK[rip]
	cmp	esi, 132
	je	.L11
.L24:
	ja	.L12
	cmp	esi, 129
	je	.L13
	cmp	esi, 130
	jne	.L3
	or	edx, 16
.L13:
	sub	rsp, 8
	.cfi_def_cfa_offset 16
	mov	esi, DWORD PTR WM8960_IFACE1[rip]
	mov	rdi, QWORD PTR [rdi]
	call	snd_soc_component_write@PLT
	xor	eax, eax
	add	rsp, 8
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L12:
	or	dl, -112
	cmp	esi, 133
	je	.L13
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L15:
	xor	edx, edx
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L11:
	or	dl, -128
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L9:
	and	esi, DWORD PTR SND_SOC_DAIFMT_INV_MASK[rip]
	or	edx, 1
	cmp	esi, 132
	jne	.L24
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L8:
	and	esi, DWORD PTR SND_SOC_DAIFMT_INV_MASK[rip]
	or	edx, 2
	cmp	esi, 132
	jne	.L24
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L5:
	and	esi, DWORD PTR SND_SOC_DAIFMT_INV_MASK[rip]
	or	edx, 3
	cmp	esi, 132
	jne	.L24
	jmp	.L11
	.cfi_endproc
.LFE0:
	.size	wm8960_set_dai_fmt, .-wm8960_set_dai_fmt
	.comm	WM8960_IFACE1,4,4
	.comm	SND_SOC_DAIFMT_MASTER_MASK,4,4
	.comm	SND_SOC_DAIFMT_INV_MASK,4,4
	.comm	SND_SOC_DAIFMT_FORMAT_MASK,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_wm8960.c_wm8960_set_dai_fmt.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	wm8960_set_dai_fmt, %function
wm8960_set_dai_fmt:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L22
	ldr	r3, [r3]
	and	r3, r3, r1
	cmp	r3, #137
	beq	.L16
	cmp	r3, #138
	beq	.L17
.L3:
	ldr	r3, .L22+4
	ldr	r0, [r3]
	rsb	r0, r0, #0
	bx	lr
.L17:
	mov	r2, #64
.L2:
	ldr	r3, .L22+8
	ldr	r3, [r3]
	and	r3, r3, r1
	sub	r3, r3, #128
	cmp	r3, #8
	ldrls	pc, [pc, r3, asl #2]
	b	.L3
.L6:
	.word	.L10
	.word	.L3
	.word	.L3
	.word	.L9
	.word	.L3
	.word	.L3
	.word	.L8
	.word	.L7
	.word	.L5
.L7:
	orr	r2, r2, #19
.L10:
	ldr	r3, .L22+12
	ldr	r3, [r3]
	and	r1, r1, r3
	sub	r1, r1, #129
	cmp	r1, #4
	ldrls	pc, [pc, r1, asl #2]
	b	.L3
.L12:
	.word	.L15
	.word	.L14
	.word	.L3
	.word	.L13
	.word	.L11
.L14:
	orr	r2, r2, #16
.L15:
	ldr	r3, .L22+16
	push	{r4, lr}
	ldr	r1, [r3]
	ldr	r0, [r0]
	bl	snd_soc_component_write
	mov	r0, #0
	pop	{r4, pc}
.L16:
	mov	r2, #0
	b	.L2
.L11:
	orr	r2, r2, #144
	b	.L15
.L13:
	orr	r2, r2, #128
	b	.L15
.L9:
	orr	r2, r2, #1
	b	.L10
.L8:
	orr	r2, r2, #2
	b	.L10
.L5:
	orr	r2, r2, #3
	b	.L10
.L23:
	.align	2
.L22:
	.word	SND_SOC_DAIFMT_MASTER_MASK
	.word	EINVAL
	.word	SND_SOC_DAIFMT_FORMAT_MASK
	.word	SND_SOC_DAIFMT_INV_MASK
	.word	WM8960_IFACE1
	.size	wm8960_set_dai_fmt, .-wm8960_set_dai_fmt
	.comm	WM8960_IFACE1,4,4
	.comm	SND_SOC_DAIFMT_MASTER_MASK,4,4
	.comm	SND_SOC_DAIFMT_INV_MASK,4,4
	.comm	SND_SOC_DAIFMT_FORMAT_MASK,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
