	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tlv320aic23_set_dai_fmt
_tlv320aic23_set_dai_fmt:               ## @tlv320aic23_set_dai_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	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	(%rdi), %r14
	movq	_TLV320AIC23_DIGT_FMT@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%r14, %rdi
	callq	_tlv320aic23_read_reg_cache
	andl	$-4, %eax
	movq	_SND_SOC_DAIFMT_MASTER_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%ebx, %ecx
	cmpl	$133, %ecx
	je	LBB0_3
## %bb.1:
	cmpl	$134, %ecx
	jne	LBB0_8
## %bb.2:
	movq	_TLV320AIC23_MS_MASTER@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
LBB0_3:
	movq	_SND_SOC_DAIFMT_FORMAT_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %ebx
	addl	$-128, %ebx
	cmpl	$4, %ebx
	ja	LBB0_8
## %bb.4:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rbx,4), %rdx
	addq	%rcx, %rdx
	jmpq	*%rdx
LBB0_7:
	movq	_TLV320AIC23_FOR_LJUST@GOTPCREL(%rip), %rcx
	jmp	LBB0_10
LBB0_8:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_12
LBB0_9:
	movq	_TLV320AIC23_FOR_I2S@GOTPCREL(%rip), %rcx
	jmp	LBB0_10
LBB0_5:
	movq	_TLV320AIC23_LRP_ON@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
LBB0_6:
	movq	_TLV320AIC23_FOR_DSP@GOTPCREL(%rip), %rcx
LBB0_10:
	orl	(%rcx), %eax
LBB0_11:
	movl	(%r15), %esi
	movq	%r14, %rdi
	movl	%eax, %edx
	callq	_tlv320aic23_write
	xorl	%eax, %eax
LBB0_12:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
LJTI0_0:
	.long	L0_0_set_11
	.long	L0_0_set_7
	.long	L0_0_set_9
	.long	L0_0_set_6
	.long	L0_0_set_5
	.end_data_region
                                        ## -- End function
	.comm	_TLV320AIC23_DIGT_FMT,4,2       ## @TLV320AIC23_DIGT_FMT
	.comm	_SND_SOC_DAIFMT_MASTER_MASK,4,2 ## @SND_SOC_DAIFMT_MASTER_MASK
	.comm	_TLV320AIC23_MS_MASTER,4,2      ## @TLV320AIC23_MS_MASTER
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_SND_SOC_DAIFMT_FORMAT_MASK,4,2 ## @SND_SOC_DAIFMT_FORMAT_MASK
	.comm	_TLV320AIC23_FOR_I2S,4,2        ## @TLV320AIC23_FOR_I2S
	.comm	_TLV320AIC23_LRP_ON,4,2         ## @TLV320AIC23_LRP_ON
	.comm	_TLV320AIC23_FOR_DSP,4,2        ## @TLV320AIC23_FOR_DSP
	.comm	_TLV320AIC23_FOR_LJUST,4,2      ## @TLV320AIC23_FOR_LJUST
	.no_dead_strip	_tlv320aic23_set_dai_fmt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tlv320aic23_set_dai_fmt
_tlv320aic23_set_dai_fmt:               ; @tlv320aic23_set_dai_fmt
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x1
	ldr	x19, [x0]
Lloh0:
	adrp	x21, _TLV320AIC23_DIGT_FMT@GOTPAGE
Lloh1:
	ldr	x21, [x21, _TLV320AIC23_DIGT_FMT@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x19
	bl	_tlv320aic23_read_reg_cache
	and	w2, w0, #0xfffffffc
Lloh2:
	adrp	x8, _SND_SOC_DAIFMT_MASTER_MASK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SND_SOC_DAIFMT_MASTER_MASK@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	and	w8, w8, w20
	cmp	w8, #133
	b.eq	LBB0_3
; %bb.1:
	cmp	w8, #134
	b.ne	LBB0_6
; %bb.2:
Lloh5:
	adrp	x8, _TLV320AIC23_MS_MASTER@GOTPAGE
Lloh6:
	ldr	x8, [x8, _TLV320AIC23_MS_MASTER@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	orr	w2, w8, w2
LBB0_3:
Lloh8:
	adrp	x8, _SND_SOC_DAIFMT_FORMAT_MASK@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SND_SOC_DAIFMT_FORMAT_MASK@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	and	w8, w8, w20
	sub	w8, w8, #128
	cmp	w8, #4
	b.hi	LBB0_6
; %bb.4:
Lloh11:
	adrp	x9, lJTI0_0@PAGE
Lloh12:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_5
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_5:
Lloh13:
	adrp	x8, _TLV320AIC23_FOR_LJUST@GOTPAGE
Lloh14:
	ldr	x8, [x8, _TLV320AIC23_FOR_LJUST@GOTPAGEOFF]
	b	LBB0_10
LBB0_6:
Lloh15:
	adrp	x8, _EINVAL@GOTPAGE
Lloh16:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_12
LBB0_7:
Lloh18:
	adrp	x8, _TLV320AIC23_FOR_I2S@GOTPAGE
Lloh19:
	ldr	x8, [x8, _TLV320AIC23_FOR_I2S@GOTPAGEOFF]
	b	LBB0_10
LBB0_8:
Lloh20:
	adrp	x8, _TLV320AIC23_LRP_ON@GOTPAGE
Lloh21:
	ldr	x8, [x8, _TLV320AIC23_LRP_ON@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	orr	w2, w8, w2
LBB0_9:
Lloh23:
	adrp	x8, _TLV320AIC23_FOR_DSP@GOTPAGE
Lloh24:
	ldr	x8, [x8, _TLV320AIC23_FOR_DSP@GOTPAGEOFF]
LBB0_10:
	ldr	w8, [x8]
	orr	w2, w8, w2
LBB0_11:
	ldr	w1, [x21]
	mov	x0, x19
	bl	_tlv320aic23_write
	mov	w0, #0
LBB0_12:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh23, Lloh24
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_11-LBB0_5)>>2
	.byte	(LBB0_5-LBB0_5)>>2
	.byte	(LBB0_7-LBB0_5)>>2
	.byte	(LBB0_9-LBB0_5)>>2
	.byte	(LBB0_8-LBB0_5)>>2
                                        ; -- End function
	.comm	_TLV320AIC23_DIGT_FMT,4,2       ; @TLV320AIC23_DIGT_FMT
	.comm	_SND_SOC_DAIFMT_MASTER_MASK,4,2 ; @SND_SOC_DAIFMT_MASTER_MASK
	.comm	_TLV320AIC23_MS_MASTER,4,2      ; @TLV320AIC23_MS_MASTER
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_SND_SOC_DAIFMT_FORMAT_MASK,4,2 ; @SND_SOC_DAIFMT_FORMAT_MASK
	.comm	_TLV320AIC23_FOR_I2S,4,2        ; @TLV320AIC23_FOR_I2S
	.comm	_TLV320AIC23_LRP_ON,4,2         ; @TLV320AIC23_LRP_ON
	.comm	_TLV320AIC23_FOR_DSP,4,2        ; @TLV320AIC23_FOR_DSP
	.comm	_TLV320AIC23_FOR_LJUST,4,2      ; @TLV320AIC23_FOR_LJUST
	.no_dead_strip	_tlv320aic23_set_dai_fmt
.subsections_via_symbols
