	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vortex_fifo_wtinitialize
_vortex_fifo_wtinitialize:              ## @vortex_fifo_wtinitialize
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %ebx
	movl	%esi, %r14d
	movq	%rdi, %r15
	movq	_FIFO_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_vortex_fifo_clearwtdata
	movq	_VORTEX_FIFO_WTCTRL@GOTPCREL(%rip), %rax
	shll	$2, %r14d
	movslq	%r14d, %rsi
	addq	(%rax), %rsi
	movl	(%r15), %edi
	movq	_FIFO_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %ebx
	movq	_FIFO_U1@GOTPCREL(%rip), %rax
	shll	$12, %ebx
	orl	(%rax), %ebx
	movl	%ebx, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_hwwrite                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_FIFO_SIZE,4,2                  ## @FIFO_SIZE
	.comm	_VORTEX_FIFO_WTCTRL,8,3         ## @VORTEX_FIFO_WTCTRL
	.comm	_FIFO_U1,4,2                    ## @FIFO_U1
	.comm	_FIFO_MASK,4,2                  ## @FIFO_MASK
	.no_dead_strip	_vortex_fifo_wtinitialize
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vortex_fifo_wtinitialize
_vortex_fifo_wtinitialize:              ; @vortex_fifo_wtinitialize
	.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
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _FIFO_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FIFO_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	bl	_vortex_fifo_clearwtdata
	ldr	w0, [x21]
Lloh3:
	adrp	x8, _VORTEX_FIFO_WTCTRL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _VORTEX_FIFO_WTCTRL@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	lsl	w9, w20, #2
	add	x1, x8, w9, sxtw
Lloh6:
	adrp	x8, _FIFO_U1@GOTPAGE
Lloh7:
	ldr	x8, [x8, _FIFO_U1@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _FIFO_MASK@GOTPAGE
Lloh10:
	ldr	x9, [x9, _FIFO_MASK@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	and	w9, w9, w19
	orr	w2, w8, w9, lsl #12
	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
	b	_hwwrite
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_FIFO_SIZE,4,2                  ; @FIFO_SIZE
	.comm	_VORTEX_FIFO_WTCTRL,8,3         ; @VORTEX_FIFO_WTCTRL
	.comm	_FIFO_U1,4,2                    ; @FIFO_U1
	.comm	_FIFO_MASK,4,2                  ; @FIFO_MASK
	.no_dead_strip	_vortex_fifo_wtinitialize
.subsections_via_symbols
