	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pxa_ssp_set_dai_tdm_slot
_pxa_ssp_set_dai_tdm_slot:              ## @pxa_ssp_set_dai_tdm_slot
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %r13d
	movl	%ecx, -52(%rbp)                 ## 4-byte Spill
	movl	%edx, -48(%rbp)                 ## 4-byte Spill
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	movq	(%rdi), %rax
	movq	(%rax), %rdi
	movq	_SSCR0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	callq	_ssp_read_reg
	movl	%eax, %r15d
	movq	_SSCR0_MOD@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	$8, %edi
	callq	_SSCR0_SlotsPerFrm
	movl	%eax, %r14d
	orl	%ebx, %r14d
	movq	_SSCR0_EDSS@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	orl	%r12d, %r14d
	movq	_SSCR0_DSS@GOTPCREL(%rip), %rax
	orl	(%rax), %r14d
	notl	%r14d
	andl	%r15d, %r14d
	cmpl	$17, %r13d
	jl	LBB0_2
## %bb.1:
	addl	$-16, %r13d
	movl	%r13d, %edi
	callq	_SSCR0_DataSize
	movl	%eax, %ebx
	orl	%r12d, %ebx
	jmp	LBB0_3
LBB0_2:
	movl	%r13d, %edi
	callq	_SSCR0_DataSize
	movl	%eax, %ebx
LBB0_3:
	orl	%r14d, %ebx
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	cmpl	$2, %edi
	jl	LBB0_4
## %bb.5:
	movq	_SSCR0_MOD@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	callq	_SSCR0_SlotsPerFrm
	orl	%eax, %ebx
	movq	_SSTSA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	_ssp_write_reg
	movq	_SSRSA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	callq	_ssp_write_reg
	jmp	LBB0_6
LBB0_4:
	movq	-64(%rbp), %r14                 ## 8-byte Reload
LBB0_6:
	movq	_SSCR0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_ssp_write_reg
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SSCR0,4,2                      ## @SSCR0
	.comm	_SSCR0_MOD,4,2                  ## @SSCR0_MOD
	.comm	_SSCR0_EDSS,4,2                 ## @SSCR0_EDSS
	.comm	_SSCR0_DSS,4,2                  ## @SSCR0_DSS
	.comm	_SSTSA,4,2                      ## @SSTSA
	.comm	_SSRSA,4,2                      ## @SSRSA
	.no_dead_strip	_pxa_ssp_set_dai_tdm_slot
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pxa_ssp_set_dai_tdm_slot
_pxa_ssp_set_dai_tdm_slot:              ; @pxa_ssp_set_dai_tdm_slot
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x23, x4
	mov	x22, x3
	mov	x20, x2
	mov	x21, x1
	ldr	x8, [x0]
	ldr	x19, [x8]
Lloh0:
	adrp	x25, _SSCR0@GOTPAGE
Lloh1:
	ldr	x25, [x25, _SSCR0@GOTPAGEOFF]
	ldr	w1, [x25]
	mov	x0, x19
	bl	_ssp_read_reg
	mov	x24, x0
Lloh2:
	adrp	x26, _SSCR0_MOD@GOTPAGE
Lloh3:
	ldr	x26, [x26, _SSCR0_MOD@GOTPAGEOFF]
	ldr	w27, [x26]
	mov	w0, #8
	bl	_SSCR0_SlotsPerFrm
	orr	w8, w0, w27
Lloh4:
	adrp	x9, _SSCR0_EDSS@GOTPAGE
Lloh5:
	ldr	x9, [x9, _SSCR0_EDSS@GOTPAGEOFF]
Lloh6:
	ldr	w27, [x9]
	orr	w8, w8, w27
Lloh7:
	adrp	x9, _SSCR0_DSS@GOTPAGE
Lloh8:
	ldr	x9, [x9, _SSCR0_DSS@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	orr	w8, w8, w9
	bic	w24, w24, w8
	cmp	w23, #17
	b.lt	LBB0_2
; %bb.1:
	sub	w0, w23, #16
	bl	_SSCR0_DataSize
	orr	w0, w0, w27
	b	LBB0_3
LBB0_2:
	mov	x0, x23
	bl	_SSCR0_DataSize
LBB0_3:
	orr	w23, w0, w24
	cmp	w22, #2
	b.lt	LBB0_5
; %bb.4:
	ldr	w8, [x26]
	orr	w23, w8, w23
	mov	x0, x22
	bl	_SSCR0_SlotsPerFrm
	orr	w23, w23, w0
Lloh10:
	adrp	x8, _SSTSA@GOTPAGE
Lloh11:
	ldr	x8, [x8, _SSTSA@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x21
	bl	_ssp_write_reg
Lloh13:
	adrp	x8, _SSRSA@GOTPAGE
Lloh14:
	ldr	x8, [x8, _SSRSA@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x20
	bl	_ssp_write_reg
LBB0_5:
	ldr	w1, [x25]
	mov	x0, x19
	mov	x2, x23
	bl	_ssp_write_reg
	mov	w0, #0
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_SSCR0,4,2                      ; @SSCR0
	.comm	_SSCR0_MOD,4,2                  ; @SSCR0_MOD
	.comm	_SSCR0_EDSS,4,2                 ; @SSCR0_EDSS
	.comm	_SSCR0_DSS,4,2                  ; @SSCR0_DSS
	.comm	_SSTSA,4,2                      ; @SSTSA
	.comm	_SSRSA,4,2                      ; @SSRSA
	.no_dead_strip	_pxa_ssp_set_dai_tdm_slot
.subsections_via_symbols
