	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function omap_mcbsp_dai_set_dai_fmt
_omap_mcbsp_dai_set_dai_fmt:            ## @omap_mcbsp_dai_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %r14d
	movl	(%rdi), %edi
	callq	_to_mcbsp
	movq	%rax, %rbx
	xorl	%eax, %eax
	cmpq	$0, 8(%rbx)
	jne	LBB0_24
## %bb.1:
	movq	%rbx, %rdi
	addq	$16, %rdi
	movl	%r14d, (%rbx)
	xorl	%esi, %esi
	movl	$32, %edx
	callq	_memset
	movl	$3, %edi
	callq	_XINTM
	movq	_FREE@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	orl	%eax, 16(%rbx)
	movl	$3, %edi
	callq	_RINTM
	orl	%eax, 44(%rbx)
	xorl	%eax, %eax
	callq	_cpu_is_omap34xx
	testq	%rax, %rax
	jne	LBB0_3
## %bb.2:
	movq	_RFIG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 40(%rbx)
	movq	_XFIG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 36(%rbx)
LBB0_3:
	xorl	%eax, %eax
	callq	_cpu_is_omap2430
	testq	%rax, %rax
	jne	LBB0_5
## %bb.4:
	xorl	%eax, %eax
	callq	_cpu_is_omap34xx
	testq	%rax, %rax
	je	LBB0_6
LBB0_5:
	movl	$1, %edi
	callq	_DXENDLY
	movq	_XDMAEN@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_XDISABLE@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, 20(%rbx)
	movq	_RFULL_CYCLE@GOTPCREL(%rip), %rax
	movq	_RDMAEN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_RDISABLE@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	%ecx, 24(%rbx)
LBB0_6:
	movq	_SND_SOC_DAIFMT_FORMAT_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%r14d, %eax
	cmpl	$134, %eax
	je	LBB0_15
## %bb.7:
	cmpl	$133, %eax
	je	LBB0_17
## %bb.8:
	cmpl	$132, %eax
	jne	LBB0_23
## %bb.9:
	movl	$1, %edi
	callq	_RDATDLY
	orl	%eax, 40(%rbx)
	movl	$1, %edi
	callq	_XDATDLY
	orl	%eax, 36(%rbx)
	movl	%r14d, %ecx
	jmp	LBB0_10
LBB0_15:
	movl	$1, %edi
	callq	_RDATDLY
	orl	%eax, 40(%rbx)
	movl	$1, %edi
	jmp	LBB0_16
LBB0_17:
	xorl	%edi, %edi
	callq	_RDATDLY
	orl	%eax, 40(%rbx)
	xorl	%edi, %edi
LBB0_16:
	callq	_XDATDLY
	orl	%eax, 36(%rbx)
	movl	%r14d, %ecx
	xorl	$129, %ecx
LBB0_10:
	movq	_SND_SOC_DAIFMT_MASTER_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %r14d
	cmpl	$136, %r14d
	je	LBB0_13
## %bb.11:
	cmpl	$135, %r14d
	jne	LBB0_23
## %bb.12:
	movq	_FSXM@GOTPCREL(%rip), %rax
	movq	_FSRM@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rax), %edx
	movq	_CLKXM@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	_CLKRM@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	orl	%edx, 28(%rbx)
	movq	_FSGM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 32(%rbx)
LBB0_13:
	movq	_SND_SOC_DAIFMT_INV_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %ecx
	addl	$-128, %ecx
	cmpl	$3, %ecx
	ja	LBB0_23
## %bb.14:
	xorl	%eax, %eax
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rcx,4), %rcx
	addq	%rdx, %rcx
	jmpq	*%rcx
LBB0_18:
	movq	_FSXP@GOTPCREL(%rip), %rcx
	movq	_FSRP@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	movq	_CLKXP@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	movq	_CLKRP@GOTPCREL(%rip), %rcx
	jmp	LBB0_21
LBB0_23:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_24
LBB0_19:
	movq	_CLKXP@GOTPCREL(%rip), %rcx
	movq	_CLKRP@GOTPCREL(%rip), %rdx
	jmp	LBB0_20
LBB0_22:
	movq	_FSXP@GOTPCREL(%rip), %rcx
	movq	_FSRP@GOTPCREL(%rip), %rdx
LBB0_20:
	movl	(%rdx), %edx
LBB0_21:
	orl	(%rcx), %edx
	orl	%edx, 28(%rbx)
LBB0_24:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_19, LBB0_19-LJTI0_0
.set L0_0_set_22, LBB0_22-LJTI0_0
.set L0_0_set_24, LBB0_24-LJTI0_0
LJTI0_0:
	.long	L0_0_set_18
	.long	L0_0_set_19
	.long	L0_0_set_22
	.long	L0_0_set_24
	.end_data_region
                                        ## -- End function
	.comm	_FREE,4,2                       ## @FREE
	.comm	_RFIG,4,2                       ## @RFIG
	.comm	_XFIG,4,2                       ## @XFIG
	.comm	_XDMAEN,4,2                     ## @XDMAEN
	.comm	_XDISABLE,4,2                   ## @XDISABLE
	.comm	_RFULL_CYCLE,4,2                ## @RFULL_CYCLE
	.comm	_RDMAEN,4,2                     ## @RDMAEN
	.comm	_RDISABLE,4,2                   ## @RDISABLE
	.comm	_SND_SOC_DAIFMT_FORMAT_MASK,4,2 ## @SND_SOC_DAIFMT_FORMAT_MASK
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_SND_SOC_DAIFMT_MASTER_MASK,4,2 ## @SND_SOC_DAIFMT_MASTER_MASK
	.comm	_FSXM,4,2                       ## @FSXM
	.comm	_FSRM,4,2                       ## @FSRM
	.comm	_CLKXM,4,2                      ## @CLKXM
	.comm	_CLKRM,4,2                      ## @CLKRM
	.comm	_FSGM,4,2                       ## @FSGM
	.comm	_SND_SOC_DAIFMT_INV_MASK,4,2    ## @SND_SOC_DAIFMT_INV_MASK
	.comm	_FSXP,4,2                       ## @FSXP
	.comm	_FSRP,4,2                       ## @FSRP
	.comm	_CLKXP,4,2                      ## @CLKXP
	.comm	_CLKRP,4,2                      ## @CLKRP
	.no_dead_strip	_omap_mcbsp_dai_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 omap_mcbsp_dai_set_dai_fmt
_omap_mcbsp_dai_set_dai_fmt:            ; @omap_mcbsp_dai_set_dai_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	x20, x1
	ldr	w0, [x0]
	bl	_to_mcbsp
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_2
; %bb.1:
	mov	w0, #0
	b	LBB0_25
LBB0_2:
	mov	x19, x0
	add	x0, x0, #16
	str	w20, [x19]
	mov	w1, #0
	mov	w2, #32
	bl	_memset
	mov	w0, #3
	bl	_XINTM
Lloh0:
	adrp	x8, _FREE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FREE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	orr	w8, w8, w0
	ldr	w9, [x19, #16]
	orr	w8, w8, w9
	str	w8, [x19, #16]
	mov	w0, #3
	bl	_RINTM
	ldr	w8, [x19, #44]
	orr	w8, w8, w0
	str	w8, [x19, #44]
	bl	_cpu_is_omap34xx
	cbz	x0, LBB0_4
; %bb.3:
	bl	_cpu_is_omap2430
	cbnz	x0, LBB0_6
	b	LBB0_5
LBB0_4:
Lloh3:
	adrp	x8, _RFIG@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RFIG@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	ldp	w10, w9, [x19, #36]
	orr	w8, w9, w8
Lloh6:
	adrp	x9, _XFIG@GOTPAGE
Lloh7:
	ldr	x9, [x9, _XFIG@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w9, w10, w9
	stp	w9, w8, [x19, #36]
	bl	_cpu_is_omap2430
	cbnz	x0, LBB0_6
LBB0_5:
	bl	_cpu_is_omap34xx
	cbz	x0, LBB0_7
LBB0_6:
	mov	w0, #1
	bl	_DXENDLY
Lloh9:
	adrp	x8, _XDMAEN@GOTPAGE
Lloh10:
	ldr	x8, [x8, _XDMAEN@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	orr	w8, w8, w0
Lloh12:
	adrp	x9, _XDISABLE@GOTPAGE
Lloh13:
	ldr	x9, [x9, _XDISABLE@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
Lloh15:
	adrp	x10, _RFULL_CYCLE@GOTPAGE
Lloh16:
	ldr	x10, [x10, _RFULL_CYCLE@GOTPAGEOFF]
	orr	w8, w8, w9
Lloh17:
	ldr	w9, [x10]
Lloh18:
	adrp	x10, _RDMAEN@GOTPAGE
Lloh19:
	ldr	x10, [x10, _RDMAEN@GOTPAGEOFF]
Lloh20:
	ldr	w10, [x10]
	orr	w9, w10, w9
Lloh21:
	adrp	x10, _RDISABLE@GOTPAGE
Lloh22:
	ldr	x10, [x10, _RDISABLE@GOTPAGEOFF]
Lloh23:
	ldr	w10, [x10]
	orr	w9, w9, w10
	stp	w8, w9, [x19, #20]
LBB0_7:
Lloh24:
	adrp	x8, _SND_SOC_DAIFMT_FORMAT_MASK@GOTPAGE
Lloh25:
	ldr	x8, [x8, _SND_SOC_DAIFMT_FORMAT_MASK@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	and	w8, w8, w20
	cmp	w8, #134
	b.eq	LBB0_11
; %bb.8:
	cmp	w8, #133
	b.eq	LBB0_12
; %bb.9:
	cmp	w8, #132
	b.ne	LBB0_20
; %bb.10:
	mov	w0, #1
	bl	_RDATDLY
	ldr	w8, [x19, #40]
	orr	w8, w8, w0
	str	w8, [x19, #40]
	mov	w0, #1
	bl	_XDATDLY
	ldr	w8, [x19, #36]
	orr	w8, w8, w0
	str	w8, [x19, #36]
	mov	x8, x20
	b	LBB0_14
LBB0_11:
	mov	w0, #1
	bl	_RDATDLY
	ldr	w8, [x19, #40]
	orr	w8, w8, w0
	str	w8, [x19, #40]
	mov	w0, #1
	b	LBB0_13
LBB0_12:
	mov	w0, #0
	bl	_RDATDLY
	ldr	w8, [x19, #40]
	orr	w8, w8, w0
	str	w8, [x19, #40]
	mov	w0, #0
LBB0_13:
	bl	_XDATDLY
	ldr	w8, [x19, #36]
	orr	w8, w8, w0
	str	w8, [x19, #36]
	mov	w8, #129
	eor	w8, w20, w8
LBB0_14:
Lloh27:
	adrp	x9, _SND_SOC_DAIFMT_MASTER_MASK@GOTPAGE
Lloh28:
	ldr	x9, [x9, _SND_SOC_DAIFMT_MASTER_MASK@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
	and	w9, w9, w20
	cmp	w9, #136
	b.eq	LBB0_17
; %bb.15:
	cmp	w9, #135
	b.ne	LBB0_20
; %bb.16:
Lloh30:
	adrp	x9, _FSXM@GOTPAGE
Lloh31:
	ldr	x9, [x9, _FSXM@GOTPAGEOFF]
Lloh32:
	ldr	w9, [x9]
Lloh33:
	adrp	x10, _FSRM@GOTPAGE
Lloh34:
	ldr	x10, [x10, _FSRM@GOTPAGEOFF]
Lloh35:
	ldr	w10, [x10]
	orr	w9, w10, w9
Lloh36:
	adrp	x10, _CLKXM@GOTPAGE
Lloh37:
	ldr	x10, [x10, _CLKXM@GOTPAGEOFF]
Lloh38:
	ldr	w10, [x10]
Lloh39:
	adrp	x11, _CLKRM@GOTPAGE
Lloh40:
	ldr	x11, [x11, _CLKRM@GOTPAGEOFF]
	orr	w9, w9, w10
Lloh41:
	ldr	w10, [x11]
	orr	w9, w9, w10
	ldp	w10, w11, [x19, #28]
	orr	w9, w9, w10
Lloh42:
	adrp	x10, _FSGM@GOTPAGE
Lloh43:
	ldr	x10, [x10, _FSGM@GOTPAGEOFF]
Lloh44:
	ldr	w10, [x10]
	orr	w10, w11, w10
	stp	w9, w10, [x19, #28]
LBB0_17:
Lloh45:
	adrp	x9, _SND_SOC_DAIFMT_INV_MASK@GOTPAGE
Lloh46:
	ldr	x9, [x9, _SND_SOC_DAIFMT_INV_MASK@GOTPAGEOFF]
Lloh47:
	ldr	w9, [x9]
	and	w8, w9, w8
	sub	w8, w8, #128
	cmp	w8, #3
	b.hi	LBB0_20
; %bb.18:
	mov	w0, #0
Lloh48:
	adrp	x9, lJTI0_0@PAGE
Lloh49:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_19
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_19:
	mov	w0, #0
Lloh50:
	adrp	x8, _FSXP@GOTPAGE
Lloh51:
	ldr	x8, [x8, _FSXP@GOTPAGEOFF]
Lloh52:
	ldr	w8, [x8]
Lloh53:
	adrp	x9, _FSRP@GOTPAGE
Lloh54:
	ldr	x9, [x9, _FSRP@GOTPAGEOFF]
Lloh55:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh56:
	adrp	x9, _CLKXP@GOTPAGE
Lloh57:
	ldr	x9, [x9, _CLKXP@GOTPAGEOFF]
Lloh58:
	ldr	w9, [x9]
Lloh59:
	adrp	x10, _CLKRP@GOTPAGE
Lloh60:
	ldr	x10, [x10, _CLKRP@GOTPAGEOFF]
	orr	w8, w8, w9
Lloh61:
	ldr	w9, [x10]
	orr	w8, w8, w9
	b	LBB0_24
LBB0_20:
Lloh62:
	adrp	x8, _EINVAL@GOTPAGE
Lloh63:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh64:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_25
LBB0_21:
	mov	w0, #0
Lloh65:
	adrp	x8, _CLKXP@GOTPAGE
Lloh66:
	ldr	x8, [x8, _CLKXP@GOTPAGEOFF]
Lloh67:
	adrp	x9, _CLKRP@GOTPAGE
Lloh68:
	ldr	x9, [x9, _CLKRP@GOTPAGEOFF]
	b	LBB0_23
LBB0_22:
	mov	w0, #0
Lloh69:
	adrp	x8, _FSXP@GOTPAGE
Lloh70:
	ldr	x8, [x8, _FSXP@GOTPAGEOFF]
Lloh71:
	adrp	x9, _FSRP@GOTPAGE
Lloh72:
	ldr	x9, [x9, _FSRP@GOTPAGEOFF]
LBB0_23:
	ldr	w8, [x8]
	ldr	w9, [x9]
	orr	w8, w9, w8
LBB0_24:
	ldr	w9, [x19, #28]
	orr	w8, w8, w9
	str	w8, [x19, #28]
LBB0_25:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpLdrGot	Lloh67, Lloh68
	.loh AdrpLdrGot	Lloh65, Lloh66
	.loh AdrpLdrGot	Lloh71, Lloh72
	.loh AdrpLdrGot	Lloh69, Lloh70
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_19-LBB0_19)>>2
	.byte	(LBB0_21-LBB0_19)>>2
	.byte	(LBB0_22-LBB0_19)>>2
	.byte	(LBB0_25-LBB0_19)>>2
                                        ; -- End function
	.comm	_FREE,4,2                       ; @FREE
	.comm	_RFIG,4,2                       ; @RFIG
	.comm	_XFIG,4,2                       ; @XFIG
	.comm	_XDMAEN,4,2                     ; @XDMAEN
	.comm	_XDISABLE,4,2                   ; @XDISABLE
	.comm	_RFULL_CYCLE,4,2                ; @RFULL_CYCLE
	.comm	_RDMAEN,4,2                     ; @RDMAEN
	.comm	_RDISABLE,4,2                   ; @RDISABLE
	.comm	_SND_SOC_DAIFMT_FORMAT_MASK,4,2 ; @SND_SOC_DAIFMT_FORMAT_MASK
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_SND_SOC_DAIFMT_MASTER_MASK,4,2 ; @SND_SOC_DAIFMT_MASTER_MASK
	.comm	_FSXM,4,2                       ; @FSXM
	.comm	_FSRM,4,2                       ; @FSRM
	.comm	_CLKXM,4,2                      ; @CLKXM
	.comm	_CLKRM,4,2                      ; @CLKRM
	.comm	_FSGM,4,2                       ; @FSGM
	.comm	_SND_SOC_DAIFMT_INV_MASK,4,2    ; @SND_SOC_DAIFMT_INV_MASK
	.comm	_FSXP,4,2                       ; @FSXP
	.comm	_FSRP,4,2                       ; @FSRP
	.comm	_CLKXP,4,2                      ; @CLKXP
	.comm	_CLKRP,4,2                      ; @CLKRP
	.no_dead_strip	_omap_mcbsp_dai_set_dai_fmt
.subsections_via_symbols
