	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vortex_adbdma_pausefifo
_vortex_adbdma_pausefifo:               ## @vortex_adbdma_pausefifo
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %r12
	movq	8(%rdi), %r13
	movslq	%esi, %rax
	leaq	(%rax,%rax,2), %rbx
	leaq	(,%rbx,4), %r15
	addq	%r13, %r15
	movl	(%r13,%rbx,4), %eax
	cmpl	$129, %eax
	je	LBB0_3
## %bb.1:
	cmpl	$128, %eax
	jne	LBB0_4
## %bb.2:
	movl	(%r12), %edi
	movq	_VORTEX_ADBDMA_CTRL@GOTPCREL(%rip), %rax
	leal	(,%r14,4), %esi
	addl	(%rax), %esi
	movl	8(%r13,%rbx,4), %edx
	callq	_hwwrite
LBB0_3:
	movl	4(%r13,%rbx,4), %edx
	movl	$0, (%rsp)
	movq	%r12, %rdi
	movl	%r14d, %esi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_vortex_fifo_setadbctrl
LBB0_4:
	movq	_FIFO_PAUSE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r15)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VORTEX_ADBDMA_CTRL,4,2         ## @VORTEX_ADBDMA_CTRL
	.comm	_FIFO_PAUSE,4,2                 ## @FIFO_PAUSE
	.no_dead_strip	_vortex_adbdma_pausefifo
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vortex_adbdma_pausefifo
_vortex_adbdma_pausefifo:               ; @vortex_adbdma_pausefifo
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x1
	mov	x20, x0
	ldr	x22, [x0, #8]
	sxtw	x23, w19
	mov	w8, #12
	smaddl	x21, w1, w8, x22
	ldr	w8, [x21]
	cmp	w8, #129
	b.eq	LBB0_3
; %bb.1:
	cmp	w8, #128
	b.ne	LBB0_4
; %bb.2:
Lloh0:
	adrp	x8, _VORTEX_ADBDMA_CTRL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VORTEX_ADBDMA_CTRL@GOTPAGEOFF]
	ldr	w0, [x20]
Lloh2:
	ldr	w8, [x8]
	add	w1, w8, w19, lsl #2
	mov	w8, #12
	madd	x8, x23, x8, x22
	ldr	w2, [x8, #8]
	bl	_hwwrite
LBB0_3:
	mov	w8, #12
	madd	x8, x23, x8, x22
	ldr	w2, [x8, #4]
	mov	x0, x20
	mov	x1, x19
	mov	w3, #0
	mov	w4, #0
	mov	w5, #0
	mov	w6, #0
	bl	_vortex_fifo_setadbctrl
LBB0_4:
Lloh3:
	adrp	x8, _FIFO_PAUSE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FIFO_PAUSE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x21]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_VORTEX_ADBDMA_CTRL,4,2         ; @VORTEX_ADBDMA_CTRL
	.comm	_FIFO_PAUSE,4,2                 ; @FIFO_PAUSE
	.no_dead_strip	_vortex_adbdma_pausefifo
.subsections_via_symbols
