	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pxa2xx_i2s_trigger
_pxa2xx_i2s_trigger:                    ## @pxa2xx_i2s_trigger
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	addl	$-128, %esi
	cmpl	$5, %esi
	ja	LBB0_6
## %bb.1:
	xorl	%eax, %eax
	cmpl	$2, %esi
	je	LBB0_2
## %bb.7:
	popq	%rbp
	retq
LBB0_2:
	movl	(%rdi), %ecx
	movq	_SNDRV_PCM_STREAM_PLAYBACK@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	jne	LBB0_3
## %bb.4:
	movq	_SACR1_DRPL@GOTPCREL(%rip), %rcx
	jmp	LBB0_5
LBB0_6:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
LBB0_3:
	movq	_SACR1_DREC@GOTPCREL(%rip), %rcx
LBB0_5:
	movl	(%rcx), %ecx
	notl	%ecx
	movq	_SACR1@GOTPCREL(%rip), %rdx
	andl	%ecx, (%rdx)
	movq	_SACR0_ENB@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_SACR0@GOTPCREL(%rip), %rdx
	orl	%ecx, (%rdx)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SNDRV_PCM_STREAM_PLAYBACK,4,2  ## @SNDRV_PCM_STREAM_PLAYBACK
	.comm	_SACR1_DRPL,4,2                 ## @SACR1_DRPL
	.comm	_SACR1,4,2                      ## @SACR1
	.comm	_SACR1_DREC,4,2                 ## @SACR1_DREC
	.comm	_SACR0_ENB,4,2                  ## @SACR0_ENB
	.comm	_SACR0,4,2                      ## @SACR0
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_pxa2xx_i2s_trigger
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pxa2xx_i2s_trigger
_pxa2xx_i2s_trigger:                    ; @pxa2xx_i2s_trigger
	.cfi_startproc
; %bb.0:
	sub	w9, w1, #128
	cmp	w9, #5
	b.hi	LBB0_3
; %bb.1:
	cmp	w9, #2
	b.eq	LBB0_4
; %bb.2:
	mov	w0, #0
	ret
LBB0_3:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	ret
LBB0_4:
	mov	x8, x0
	mov	w0, #0
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _SNDRV_PCM_STREAM_PLAYBACK@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SNDRV_PCM_STREAM_PLAYBACK@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
Lloh6:
	adrp	x10, _SACR1_DRPL@GOTPAGE
Lloh7:
	ldr	x10, [x10, _SACR1_DRPL@GOTPAGEOFF]
	cmp	w8, w9
Lloh8:
	adrp	x8, _SACR1_DREC@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SACR1_DREC@GOTPAGEOFF]
	csel	x8, x10, x8, eq
Lloh10:
	adrp	x9, _SACR1@GOTPAGE
Lloh11:
	ldr	x9, [x9, _SACR1@GOTPAGEOFF]
	ldr	w8, [x8]
	ldr	w10, [x9]
	bic	w8, w10, w8
	str	w8, [x9]
Lloh12:
	adrp	x8, _SACR0_ENB@GOTPAGE
Lloh13:
	ldr	x8, [x8, _SACR0_ENB@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
Lloh15:
	adrp	x9, _SACR0@GOTPAGE
Lloh16:
	ldr	x9, [x9, _SACR0@GOTPAGEOFF]
	ldr	w10, [x9]
	orr	w8, w10, w8
	str	w8, [x9]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_SNDRV_PCM_STREAM_PLAYBACK,4,2  ; @SNDRV_PCM_STREAM_PLAYBACK
	.comm	_SACR1_DRPL,4,2                 ; @SACR1_DRPL
	.comm	_SACR1,4,2                      ; @SACR1
	.comm	_SACR1_DREC,4,2                 ; @SACR1_DREC
	.comm	_SACR0_ENB,4,2                  ; @SACR0_ENB
	.comm	_SACR0,4,2                      ; @SACR0
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_pxa2xx_i2s_trigger
.subsections_via_symbols
