	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vx2_setup_pseudo_dma
_vx2_setup_pseudo_dma:                  ## @vx2_setup_pseudo_dma
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	%esi, %eax
	movq	%rdi, %rbx
	movq	_ICR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	testl	%eax, %eax
	jne	LBB0_1
## %bb.2:
	movq	_ICR_RREQ@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_ICR_TREQ@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_vx_outl
	movq	_RESET_DMA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_vx_outl                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ICR,4,2                        ## @ICR
	.comm	_ICR_TREQ,4,2                   ## @ICR_TREQ
	.comm	_ICR_RREQ,4,2                   ## @ICR_RREQ
	.comm	_RESET_DMA,4,2                  ## @RESET_DMA
	.no_dead_strip	_vx2_setup_pseudo_dma
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vx2_setup_pseudo_dma
_vx2_setup_pseudo_dma:                  ; @vx2_setup_pseudo_dma
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, _ICR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ICR@GOTPAGEOFF]
Lloh2:
	adrp	x9, _ICR_TREQ@GOTPAGE
Lloh3:
	ldr	x9, [x9, _ICR_TREQ@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x10, _ICR_RREQ@GOTPAGE
Lloh6:
	ldr	x10, [x10, _ICR_RREQ@GOTPAGEOFF]
	cmp	w1, #0
	csel	x9, x10, x9, eq
	ldr	w2, [x9]
	mov	x1, x8
	bl	_vx_outl
Lloh7:
	adrp	x8, _RESET_DMA@GOTPAGE
Lloh8:
	ldr	x8, [x8, _RESET_DMA@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_vx_outl
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_ICR,4,2                        ; @ICR
	.comm	_ICR_TREQ,4,2                   ; @ICR_TREQ
	.comm	_ICR_RREQ,4,2                   ; @ICR_RREQ
	.comm	_RESET_DMA,4,2                  ; @RESET_DMA
	.no_dead_strip	_vx2_setup_pseudo_dma
.subsections_via_symbols
