	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pxa_ssp_trigger
_pxa_ssp_trigger:                       ## @pxa_ssp_trigger
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $esi killed $esi def $rsi
	movq	8(%rdi), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	movq	(%rax), %r15
	movq	(%r15), %r14
	addl	$-128, %esi
	cmpl	$5, %esi
	ja	LBB0_12
## %bb.1:
	movq	%rdi, %rbx
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rsi,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_3:
	movq	_SSCR1@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%r14, %rdi
	callq	_ssp_read_reg
	movl	(%rbx), %ecx
	movq	_SNDRV_PCM_STREAM_PLAYBACK@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	jne	LBB0_4
## %bb.10:
	movq	_SSCR1_TSRE@GOTPCREL(%rip), %rcx
	jmp	LBB0_11
LBB0_2:
	movq	%r15, %rdi
	callq	_ssp_disable
	jmp	LBB0_19
LBB0_5:
	movq	_SSCR1@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	%r14, %rdi
	callq	_ssp_read_reg
	movl	(%rbx), %ecx
	movq	_SNDRV_PCM_STREAM_PLAYBACK@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	jne	LBB0_13
## %bb.6:
	movq	_SSCR1_TSRE@GOTPCREL(%rip), %rcx
	jmp	LBB0_14
LBB0_7:
	movq	_SSCR1@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%r14, %rdi
	callq	_ssp_read_reg
	movl	(%rbx), %ecx
	movq	_SNDRV_PCM_STREAM_PLAYBACK@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	jne	LBB0_16
## %bb.8:
	movq	_SSCR1_TSRE@GOTPCREL(%rip), %rcx
	jmp	LBB0_17
LBB0_4:
	movq	_SSCR1_RSRE@GOTPCREL(%rip), %rcx
LBB0_11:
	movl	(%rcx), %ecx
	notl	%ecx
	andl	%ecx, %eax
	movl	(%r15), %esi
	jmp	LBB0_18
LBB0_12:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_20
LBB0_13:
	movq	_SSCR1_RSRE@GOTPCREL(%rip), %rcx
LBB0_14:
	orl	(%rcx), %eax
	movl	(%r12), %esi
	movq	%r14, %rdi
	movl	%eax, %edx
	callq	_ssp_write_reg
LBB0_15:
	movq	%r15, %rdi
	callq	_ssp_enable
	jmp	LBB0_19
LBB0_16:
	movq	_SSCR1_RSRE@GOTPCREL(%rip), %rcx
LBB0_17:
	orl	(%rcx), %eax
	movl	(%r15), %esi
	movq	%r14, %rdi
	movl	%eax, %edx
	callq	_ssp_write_reg
	movq	_SSSR@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	%r14, %rdi
	callq	_ssp_read_reg
	movl	(%rbx), %esi
LBB0_18:
	movq	%r14, %rdi
	movl	%eax, %edx
	callq	_ssp_write_reg
LBB0_19:
	xorl	%ebx, %ebx
LBB0_20:
	movq	%r14, %rdi
	callq	_dump_registers
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_3
	.long	L0_0_set_5
	.long	L0_0_set_15
	.long	L0_0_set_7
	.long	L0_0_set_3
	.end_data_region
                                        ## -- End function
	.comm	_SSCR1,4,2                      ## @SSCR1
	.comm	_SNDRV_PCM_STREAM_PLAYBACK,4,2  ## @SNDRV_PCM_STREAM_PLAYBACK
	.comm	_SSCR1_TSRE,4,2                 ## @SSCR1_TSRE
	.comm	_SSCR1_RSRE,4,2                 ## @SSCR1_RSRE
	.comm	_SSSR,4,2                       ## @SSSR
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_pxa_ssp_trigger
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pxa_ssp_trigger
_pxa_ssp_trigger:                       ; @pxa_ssp_trigger
	.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
	ldr	x8, [x0, #8]
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldr	x21, [x8]
	ldr	x19, [x21]
	sub	w8, w1, #128
	cmp	w8, #5
	b.hi	LBB0_3
; %bb.1:
	mov	x20, x0
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
Lloh2:
	adrp	x21, _SSCR1@GOTPAGE
Lloh3:
	ldr	x21, [x21, _SSCR1@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x19
	bl	_ssp_read_reg
	ldr	w8, [x20]
Lloh4:
	adrp	x9, _SNDRV_PCM_STREAM_PLAYBACK@GOTPAGE
Lloh5:
	ldr	x9, [x9, _SNDRV_PCM_STREAM_PLAYBACK@GOTPAGEOFF]
Lloh6:
	adrp	x10, _SSCR1_TSRE@GOTPAGE
Lloh7:
	ldr	x10, [x10, _SSCR1_TSRE@GOTPAGEOFF]
Lloh8:
	adrp	x11, _SSCR1_RSRE@GOTPAGE
Lloh9:
	ldr	x11, [x11, _SSCR1_RSRE@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	cmp	w8, w9
	csel	x8, x10, x11, eq
	ldr	w8, [x8]
	bic	w2, w0, w8
	ldr	w1, [x21]
	b	LBB0_8
LBB0_3:
Lloh11:
	adrp	x8, _EINVAL@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	neg	w20, w8
	b	LBB0_10
LBB0_4:
	mov	x0, x21
	bl	_ssp_disable
	b	LBB0_9
LBB0_5:
Lloh14:
	adrp	x22, _SSCR1@GOTPAGE
Lloh15:
	ldr	x22, [x22, _SSCR1@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x19
	bl	_ssp_read_reg
	ldr	w8, [x20]
Lloh16:
	adrp	x9, _SNDRV_PCM_STREAM_PLAYBACK@GOTPAGE
Lloh17:
	ldr	x9, [x9, _SNDRV_PCM_STREAM_PLAYBACK@GOTPAGEOFF]
Lloh18:
	adrp	x10, _SSCR1_TSRE@GOTPAGE
Lloh19:
	ldr	x10, [x10, _SSCR1_TSRE@GOTPAGEOFF]
Lloh20:
	adrp	x11, _SSCR1_RSRE@GOTPAGE
Lloh21:
	ldr	x11, [x11, _SSCR1_RSRE@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	cmp	w8, w9
	csel	x8, x10, x11, eq
	ldr	w8, [x8]
	orr	w2, w8, w0
	ldr	w1, [x22]
	mov	x0, x19
	bl	_ssp_write_reg
LBB0_6:
	mov	x0, x21
	bl	_ssp_enable
	b	LBB0_9
LBB0_7:
Lloh23:
	adrp	x21, _SSCR1@GOTPAGE
Lloh24:
	ldr	x21, [x21, _SSCR1@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x19
	bl	_ssp_read_reg
	ldr	w8, [x20]
Lloh25:
	adrp	x9, _SNDRV_PCM_STREAM_PLAYBACK@GOTPAGE
Lloh26:
	ldr	x9, [x9, _SNDRV_PCM_STREAM_PLAYBACK@GOTPAGEOFF]
Lloh27:
	adrp	x10, _SSCR1_TSRE@GOTPAGE
Lloh28:
	ldr	x10, [x10, _SSCR1_TSRE@GOTPAGEOFF]
Lloh29:
	adrp	x11, _SSCR1_RSRE@GOTPAGE
Lloh30:
	ldr	x11, [x11, _SSCR1_RSRE@GOTPAGEOFF]
Lloh31:
	ldr	w9, [x9]
	cmp	w8, w9
	csel	x8, x10, x11, eq
	ldr	w8, [x8]
	orr	w2, w8, w0
	ldr	w1, [x21]
	mov	x0, x19
	bl	_ssp_write_reg
Lloh32:
	adrp	x20, _SSSR@GOTPAGE
Lloh33:
	ldr	x20, [x20, _SSSR@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x0, x19
	bl	_ssp_read_reg
	mov	x2, x0
	ldr	w1, [x20]
LBB0_8:
	mov	x0, x19
	bl	_ssp_write_reg
LBB0_9:
	mov	w20, #0
LBB0_10:
	mov	x0, x19
	bl	_dump_registers
	mov	x0, x20
	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 AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh10
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh22
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh31
	.loh AdrpLdrGot	Lloh23, Lloh24
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
                                        ; -- End function
	.comm	_SSCR1,4,2                      ; @SSCR1
	.comm	_SNDRV_PCM_STREAM_PLAYBACK,4,2  ; @SNDRV_PCM_STREAM_PLAYBACK
	.comm	_SSCR1_TSRE,4,2                 ; @SSCR1_TSRE
	.comm	_SSCR1_RSRE,4,2                 ; @SSCR1_RSRE
	.comm	_SSSR,4,2                       ; @SSSR
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_pxa_ssp_trigger
.subsections_via_symbols
