	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vxge_hw_device_intr_enable     ## -- Begin function vxge_hw_device_intr_enable
	.p2align	4, 0x90
_vxge_hw_device_intr_enable:            ## @vxge_hw_device_intr_enable
	.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
	movq	%rdi, %r14
	callq	_vxge_hw_device_mask_all
	movq	_VXGE_HW_MAX_VIRTUAL_PATHS@GOTPCREL(%rip), %r15
	cmpq	$0, (%r15)
	je	LBB0_5
## %bb.1:
	xorl	%r12d, %r12d
	xorl	%ebx, %ebx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
	addq	$4, %r12
	cmpq	(%r15), %rbx
	jae	LBB0_5
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r14), %r13d
	movq	%rbx, %rdi
	callq	_vxge_mBIT
	testl	%r13d, %eax
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	40(%r14), %rdi
	addq	%r12, %rdi
	callq	_VXGE_HW_VIRTUAL_PATH_HANDLE
	movl	%eax, %edi
	callq	_vxge_hw_vpath_intr_enable
	jmp	LBB0_4
LBB0_5:
	movq	32(%r14), %rax
	movq	_VXGE_HW_INTR_MODE_IRQLINE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_10
## %bb.6:
	movq	8(%r14), %rdx
	movq	_VXGE_HW_VPATH_INTR_TX@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	movq	_VXGE_HW_VPATH_INTR_RX@GOTPCREL(%rip), %r12
	movq	(%r12), %rcx
	movl	(%rdx,%rcx,4), %ebx
	orl	(%rdx,%rax,4), %ebx
	je	LBB0_8
## %bb.7:
	movq	24(%r14), %rsi
	addq	$16, %rsi
	movl	%ebx, %edi
	callq	_writeq
	notl	%ebx
	movq	24(%r14), %rsi
	addq	$12, %rsi
	movl	%ebx, %edi
	callq	_writeq
	movq	(%r15), %rax
	movq	(%r12), %rcx
LBB0_8:
	movq	16(%r14), %rdx
	movq	(%rdx,%rcx,8), %rbx
	orq	(%rdx,%rax,8), %rbx
	je	LBB0_10
## %bb.9:
	movq	24(%r14), %rsi
	addq	$8, %rsi
	movq	%rbx, %rdi
	callq	___vxge_hw_pio_mem_write32_upper
	notq	%rbx
	movq	24(%r14), %rsi
	addq	$4, %rsi
	movq	%rbx, %rdi
	callq	___vxge_hw_pio_mem_write32_upper
LBB0_10:
	movq	24(%r14), %rdi
	callq	_readq
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_vxge_hw_device_unmask_all      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_VXGE_HW_MAX_VIRTUAL_PATHS,8,3  ## @VXGE_HW_MAX_VIRTUAL_PATHS
	.comm	_VXGE_HW_INTR_MODE_IRQLINE,8,3  ## @VXGE_HW_INTR_MODE_IRQLINE
	.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_intr_enable     ; -- Begin function vxge_hw_device_intr_enable
	.p2align	2
_vxge_hw_device_intr_enable:            ; @vxge_hw_device_intr_enable
	.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, x0
	bl	_vxge_hw_device_mask_all
Lloh0:
	adrp	x21, _VXGE_HW_MAX_VIRTUAL_PATHS@GOTPAGE
Lloh1:
	ldr	x21, [x21, _VXGE_HW_MAX_VIRTUAL_PATHS@GOTPAGEOFF]
	ldr	x8, [x21]
	cbz	x8, LBB0_5
; %bb.1:
	mov	x22, #0
	mov	x20, #0
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x20, x20, #1
	ldr	x8, [x21]
	add	x22, x22, #4
	cmp	x20, x8
	b.hs	LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w23, [x19]
	mov	x0, x20
	bl	_vxge_mBIT
	tst	w0, w23
	b.eq	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x19, #40]
	add	x0, x8, x22
	bl	_VXGE_HW_VIRTUAL_PATH_HANDLE
	bl	_vxge_hw_vpath_intr_enable
	b	LBB0_2
LBB0_5:
	ldr	x8, [x19, #32]
Lloh2:
	adrp	x9, _VXGE_HW_INTR_MODE_IRQLINE@GOTPAGE
Lloh3:
	ldr	x9, [x9, _VXGE_HW_INTR_MODE_IRQLINE@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_10
; %bb.6:
	ldr	x10, [x19, #8]
Lloh5:
	adrp	x21, _VXGE_HW_VPATH_INTR_TX@GOTPAGE
Lloh6:
	ldr	x21, [x21, _VXGE_HW_VPATH_INTR_TX@GOTPAGEOFF]
	ldr	x8, [x21]
	ldr	w11, [x10, x8, lsl #2]
Lloh7:
	adrp	x22, _VXGE_HW_VPATH_INTR_RX@GOTPAGE
Lloh8:
	ldr	x22, [x22, _VXGE_HW_VPATH_INTR_RX@GOTPAGEOFF]
	ldr	x9, [x22]
	ldr	w10, [x10, x9, lsl #2]
	orr	w20, w10, w11
	cbz	w20, LBB0_8
; %bb.7:
	ldr	x8, [x19, #24]
	add	x1, x8, #16
	mov	x0, x20
	bl	_writeq
	mvn	w0, w20
	ldr	x8, [x19, #24]
	add	x1, x8, #12
	bl	_writeq
	ldr	x8, [x21]
	ldr	x9, [x22]
LBB0_8:
	ldr	x10, [x19, #16]
	ldr	x8, [x10, x8, lsl #3]
	ldr	x9, [x10, x9, lsl #3]
	orr	x20, x9, x8
	cbz	x20, LBB0_10
; %bb.9:
	ldr	x8, [x19, #24]
	add	x1, x8, #8
	mov	x0, x20
	bl	___vxge_hw_pio_mem_write32_upper
	mvn	x0, x20
	ldr	x8, [x19, #24]
	add	x1, x8, #4
	bl	___vxge_hw_pio_mem_write32_upper
LBB0_10:
	ldr	x0, [x19, #24]
	bl	_readq
	mov	x0, x19
	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
	b	_vxge_hw_device_unmask_all
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_VXGE_HW_MAX_VIRTUAL_PATHS,8,3  ; @VXGE_HW_MAX_VIRTUAL_PATHS
	.comm	_VXGE_HW_INTR_MODE_IRQLINE,8,3  ; @VXGE_HW_INTR_MODE_IRQLINE
	.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
