	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function uda1380_set_dai_fmt_playback
_uda1380_set_dai_fmt_playback:          ## @uda1380_set_dai_fmt_playback
	.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	_UDA1380_IFACE@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%r14, %rdi
	callq	_uda1380_read_reg_cache
	movq	_R01_SFORI_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	notl	%edx
	andl	%eax, %edx
	movq	_SND_SOC_DAIFMT_FORMAT_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%ebx, %eax
	cmpl	$128, %eax
	je	LBB0_5
## %bb.1:
	cmpl	$129, %eax
	je	LBB0_4
## %bb.2:
	cmpl	$130, %eax
	jne	LBB0_7
## %bb.3:
	movq	_R01_SFORI_I2S@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_5:
	movq	_R01_SFORI_MSB@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_4:
	movq	_R01_SFORI_LSB16@GOTPCREL(%rip), %rax
LBB0_6:
	orl	(%rax), %edx
LBB0_7:
	movq	_SND_SOC_DAIFMT_MASTER_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %ebx
	movq	_SND_SOC_DAIFMT_CBS_CFS@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jne	LBB0_8
## %bb.9:
	movl	(%r15), %esi
	movq	%r14, %rdi
	callq	_uda1380_write
	xorl	%eax, %eax
	jmp	LBB0_10
LBB0_8:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_UDA1380_IFACE,4,2              ## @UDA1380_IFACE
	.comm	_R01_SFORI_MASK,4,2             ## @R01_SFORI_MASK
	.comm	_SND_SOC_DAIFMT_FORMAT_MASK,4,2 ## @SND_SOC_DAIFMT_FORMAT_MASK
	.comm	_R01_SFORI_I2S,4,2              ## @R01_SFORI_I2S
	.comm	_R01_SFORI_LSB16,4,2            ## @R01_SFORI_LSB16
	.comm	_R01_SFORI_MSB,4,2              ## @R01_SFORI_MSB
	.comm	_SND_SOC_DAIFMT_MASTER_MASK,4,2 ## @SND_SOC_DAIFMT_MASTER_MASK
	.comm	_SND_SOC_DAIFMT_CBS_CFS,4,2     ## @SND_SOC_DAIFMT_CBS_CFS
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_uda1380_set_dai_fmt_playback
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function uda1380_set_dai_fmt_playback
_uda1380_set_dai_fmt_playback:          ; @uda1380_set_dai_fmt_playback
	.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, _UDA1380_IFACE@GOTPAGE
Lloh1:
	ldr	x21, [x21, _UDA1380_IFACE@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x19
	bl	_uda1380_read_reg_cache
Lloh2:
	adrp	x8, _R01_SFORI_MASK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _R01_SFORI_MASK@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	bic	w2, w0, w8
Lloh5:
	adrp	x8, _SND_SOC_DAIFMT_FORMAT_MASK@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SND_SOC_DAIFMT_FORMAT_MASK@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	and	w8, w8, w20
	cmp	w8, #128
	b.eq	LBB0_4
; %bb.1:
	cmp	w8, #129
	b.eq	LBB0_5
; %bb.2:
	cmp	w8, #130
	b.ne	LBB0_7
; %bb.3:
Lloh8:
	adrp	x8, _R01_SFORI_I2S@GOTPAGE
Lloh9:
	ldr	x8, [x8, _R01_SFORI_I2S@GOTPAGEOFF]
	b	LBB0_6
LBB0_4:
Lloh10:
	adrp	x8, _R01_SFORI_MSB@GOTPAGE
Lloh11:
	ldr	x8, [x8, _R01_SFORI_MSB@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
Lloh12:
	adrp	x8, _R01_SFORI_LSB16@GOTPAGE
Lloh13:
	ldr	x8, [x8, _R01_SFORI_LSB16@GOTPAGEOFF]
LBB0_6:
	ldr	w8, [x8]
	orr	w2, w8, w2
LBB0_7:
Lloh14:
	adrp	x8, _SND_SOC_DAIFMT_MASTER_MASK@GOTPAGE
Lloh15:
	ldr	x8, [x8, _SND_SOC_DAIFMT_MASTER_MASK@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	and	w8, w8, w20
Lloh17:
	adrp	x9, _SND_SOC_DAIFMT_CBS_CFS@GOTPAGE
Lloh18:
	ldr	x9, [x9, _SND_SOC_DAIFMT_CBS_CFS@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_9
; %bb.8:
	ldr	w1, [x21]
	mov	x0, x19
	bl	_uda1380_write
	mov	w0, #0
	b	LBB0_10
LBB0_9:
Lloh20:
	adrp	x8, _EINVAL@GOTPAGE
Lloh21:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_10:
	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	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_UDA1380_IFACE,4,2              ; @UDA1380_IFACE
	.comm	_R01_SFORI_MASK,4,2             ; @R01_SFORI_MASK
	.comm	_SND_SOC_DAIFMT_FORMAT_MASK,4,2 ; @SND_SOC_DAIFMT_FORMAT_MASK
	.comm	_R01_SFORI_I2S,4,2              ; @R01_SFORI_I2S
	.comm	_R01_SFORI_LSB16,4,2            ; @R01_SFORI_LSB16
	.comm	_R01_SFORI_MSB,4,2              ; @R01_SFORI_MSB
	.comm	_SND_SOC_DAIFMT_MASTER_MASK,4,2 ; @SND_SOC_DAIFMT_MASTER_MASK
	.comm	_SND_SOC_DAIFMT_CBS_CFS,4,2     ; @SND_SOC_DAIFMT_CBS_CFS
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_uda1380_set_dai_fmt_playback
.subsections_via_symbols
