	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vxge_hw_device_clear_tx_rx     ## -- Begin function vxge_hw_device_clear_tx_rx
	.p2align	4, 0x90
_vxge_hw_device_clear_tx_rx:            ## @vxge_hw_device_clear_tx_rx
	.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
	movq	%rdi, %rbx
	movq	(%rdi), %rcx
	movq	_VXGE_HW_VPATH_INTR_TX@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	movq	_VXGE_HW_VPATH_INTR_RX@GOTPCREL(%rip), %r14
	movq	(%r14), %rdx
	movl	(%rcx,%rdx,4), %edi
	orl	(%rcx,%rax,4), %edi
	je	LBB0_2
## %bb.1:
	movq	16(%rbx), %rsi
	addq	$4, %rsi
	callq	_writeq
	movq	(%r15), %rax
LBB0_2:
	movq	8(%rbx), %rcx
	movq	(%r14), %rdx
	movl	(%rcx,%rdx,4), %edi
	orl	(%rcx,%rax,4), %edi
	jne	LBB0_4
## %bb.3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	16(%rbx), %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	___vxge_hw_pio_mem_write32_upper ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_VXGE_HW_VPATH_INTR_TX,8,3      ## @VXGE_HW_VPATH_INTR_TX
	.comm	_VXGE_HW_VPATH_INTR_RX,8,3      ## @VXGE_HW_VPATH_INTR_RX
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vxge_hw_device_clear_tx_rx     ; -- Begin function vxge_hw_device_clear_tx_rx
	.p2align	2
_vxge_hw_device_clear_tx_rx:            ; @vxge_hw_device_clear_tx_rx
	.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, x0
	ldr	x10, [x0]
Lloh0:
	adrp	x21, _VXGE_HW_VPATH_INTR_TX@GOTPAGE
Lloh1:
	ldr	x21, [x21, _VXGE_HW_VPATH_INTR_TX@GOTPAGEOFF]
	ldr	x8, [x21]
	ldr	w9, [x10, x8, lsl #2]
Lloh2:
	adrp	x20, _VXGE_HW_VPATH_INTR_RX@GOTPAGE
Lloh3:
	ldr	x20, [x20, _VXGE_HW_VPATH_INTR_RX@GOTPAGEOFF]
	ldr	x11, [x20]
	ldr	w10, [x10, x11, lsl #2]
	orr	w11, w9, w10
	cbz	w11, LBB0_2
; %bb.1:
	orr	w0, w10, w9
	ldr	x8, [x19, #16]
	add	x1, x8, #4
	bl	_writeq
	ldr	x8, [x21]
LBB0_2:
	ldr	x9, [x19, #8]
	ldr	w8, [x9, x8, lsl #2]
	ldr	x10, [x20]
	ldr	w9, [x9, x10, lsl #2]
	orr	w10, w8, w9
	cbnz	w10, LBB0_4
; %bb.3:
	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
LBB0_4:
	orr	w0, w9, w8
	ldr	x1, [x19, #16]
	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	___vxge_hw_pio_mem_write32_upper
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_VXGE_HW_VPATH_INTR_TX,8,3      ; @VXGE_HW_VPATH_INTR_TX
	.comm	_VXGE_HW_VPATH_INTR_RX,8,3      ; @VXGE_HW_VPATH_INTR_RX
.subsections_via_symbols
