	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vxge_hw_device_begin_irq       ## -- Begin function vxge_hw_device_begin_irq
	.p2align	4, 0x90
_vxge_hw_device_begin_irq:              ## @vxge_hw_device_begin_irq
	.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	%rdx, %rbx
	movl	%esi, %r15d
	movq	%rdi, %r14
	movq	_VXGE_HW_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	32(%rdi), %rdi
	addq	$4, %rdi
	callq	_readq
	movq	%rax, %r13
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	$0, (%rbx)
	movq	_VXGE_HW_ERR_WRONG_IRQ@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_2:
	movl	%r15d, -44(%rbp)                ## 4-byte Spill
	movq	_VXGE_HW_ALL_FOXES@GOTPCREL(%rip), %r15
	xorl	%edi, %edi
	cmpq	(%r15), %r13
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movq	32(%r14), %rdi
	callq	_readq
	cmpq	(%r15), %rax
	jne	LBB0_5
## %bb.4:
	movq	_NULL_VPID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_VXGE_HW_EVENT_SLOT_FREEZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	___vxge_hw_device_handle_error
	movq	$0, (%rbx)
	movq	_VXGE_HW_ERR_SLOT_FREEZE@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_5:
	incl	28(%r14)
	movq	%r13, (%rbx)
	movl	(%r14), %eax
	movq	_VXGE_HW_MAX_VIRTUAL_PATHS@GOTPCREL(%rip), %rbx
	xorl	%ecx, %ecx
	subb	(%rbx), %cl
                                        ## kill: def $cl killed $cl killed $ecx
	sarl	%cl, %eax
	movslq	%eax, %rdi
	callq	_VXGE_HW_TITAN_GENERAL_INT_STATUS_VPATH_TRAFFIC_INT
	testq	%r13, %rax
	je	LBB0_9
## %bb.6:
	incl	24(%r14)
	movq	_VXGE_HW_OK@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %r12d
LBB0_8:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	incl	20(%r14)
	movq	_VXGE_HW_TITAN_GENERAL_INT_STATUS_VPATH_ALARM_INT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	andl	%r13d, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_8
## %bb.10:
	movq	_VXGE_HW_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	incl	16(%r14)
	cmpl	$0, (%rbx)
	jle	LBB0_8
## %bb.11:
	xorl	%r15d, %r15d
	xorl	%ebx, %ebx
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_14 Depth=1
	movq	_VXGE_HW_MAX_VIRTUAL_PATHS@GOTPCREL(%rip), %rax
LBB0_13:                                ##   in Loop: Header=BB0_14 Depth=1
	incq	%rbx
	movslq	(%rax), %rax
	addq	$4, %r15
	cmpq	%rax, %rbx
	jge	LBB0_8
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r14), %r13d
	movl	%ebx, %edi
	callq	_vxge_mBIT
	testl	%r13d, %eax
	je	LBB0_12
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	8(%r14), %rdi
	addq	%r15, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	___vxge_hw_vpath_alarm_process
	movl	%eax, %r13d
	movl	%eax, %edi
	movl	%r12d, %esi
	callq	_VXGE_HW_SET_LEVEL
	movq	_VXGE_HW_ERR_CRITICAL@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %r13d
	sete	%cl
	movq	_VXGE_HW_ERR_SLOT_FREEZE@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %r13d
	movl	%eax, %r12d
	sete	%al
	orb	%cl, %al
	movzbl	%al, %edi
	callq	_unlikely
	testq	%rax, %rax
	movq	_VXGE_HW_MAX_VIRTUAL_PATHS@GOTPCREL(%rip), %rax
	je	LBB0_13
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_VXGE_HW_OK,4,2                 ## @VXGE_HW_OK
	.comm	_VXGE_HW_ERR_WRONG_IRQ,4,2      ## @VXGE_HW_ERR_WRONG_IRQ
	.comm	_VXGE_HW_ALL_FOXES,8,3          ## @VXGE_HW_ALL_FOXES
	.comm	_NULL_VPID,4,2                  ## @NULL_VPID
	.comm	_VXGE_HW_EVENT_SLOT_FREEZE,4,2  ## @VXGE_HW_EVENT_SLOT_FREEZE
	.comm	_VXGE_HW_ERR_SLOT_FREEZE,4,2    ## @VXGE_HW_ERR_SLOT_FREEZE
	.comm	_VXGE_HW_MAX_VIRTUAL_PATHS,4,2  ## @VXGE_HW_MAX_VIRTUAL_PATHS
	.comm	_VXGE_HW_TITAN_GENERAL_INT_STATUS_VPATH_ALARM_INT,8,3 ## @VXGE_HW_TITAN_GENERAL_INT_STATUS_VPATH_ALARM_INT
	.comm	_VXGE_HW_ERR_CRITICAL,4,2       ## @VXGE_HW_ERR_CRITICAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vxge_hw_device_begin_irq       ; -- Begin function vxge_hw_device_begin_irq
	.p2align	2
_vxge_hw_device_begin_irq:              ; @vxge_hw_device_begin_irq
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x22, x2
	mov	x21, x1
	mov	x20, x0
Lloh0:
	adrp	x25, _VXGE_HW_OK@GOTPAGE
Lloh1:
	ldr	x25, [x25, _VXGE_HW_OK@GOTPAGEOFF]
	ldr	w19, [x25]
	ldr	x8, [x0, #32]
	add	x0, x8, #4
	bl	_readq
	mov	x23, x0
	cmp	x0, #0
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_2
; %bb.1:
	str	xzr, [x22]
Lloh2:
	adrp	x8, _VXGE_HW_ERR_WRONG_IRQ@GOTPAGE
Lloh3:
	ldr	x8, [x8, _VXGE_HW_ERR_WRONG_IRQ@GOTPAGEOFF]
Lloh4:
	ldr	w19, [x8]
	b	LBB0_7
LBB0_2:
Lloh5:
	adrp	x24, _VXGE_HW_ALL_FOXES@GOTPAGE
Lloh6:
	ldr	x24, [x24, _VXGE_HW_ALL_FOXES@GOTPAGEOFF]
	ldr	x8, [x24]
	cmp	x23, x8
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_5
; %bb.3:
	ldr	x0, [x20, #32]
	bl	_readq
	ldr	x8, [x24]
	cmp	x0, x8
	b.ne	LBB0_5
; %bb.4:
Lloh7:
	adrp	x8, _NULL_VPID@GOTPAGE
Lloh8:
	ldr	x8, [x8, _NULL_VPID@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
Lloh10:
	adrp	x8, _VXGE_HW_EVENT_SLOT_FREEZE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _VXGE_HW_EVENT_SLOT_FREEZE@GOTPAGEOFF]
Lloh12:
	ldr	w2, [x8]
	mov	x0, x20
	bl	___vxge_hw_device_handle_error
	str	xzr, [x22]
Lloh13:
	adrp	x8, _VXGE_HW_ERR_SLOT_FREEZE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _VXGE_HW_ERR_SLOT_FREEZE@GOTPAGEOFF]
Lloh15:
	ldr	w19, [x8]
	b	LBB0_7
LBB0_5:
	ldr	w8, [x20, #28]
	add	w8, w8, #1
	str	w8, [x20, #28]
	str	x23, [x22]
	ldr	w8, [x20]
Lloh16:
	adrp	x24, _VXGE_HW_MAX_VIRTUAL_PATHS@GOTPAGE
Lloh17:
	ldr	x24, [x24, _VXGE_HW_MAX_VIRTUAL_PATHS@GOTPAGEOFF]
	ldr	w9, [x24]
	neg	w9, w9
	asr	w8, w8, w9
	sxtw	x0, w8
	bl	_VXGE_HW_TITAN_GENERAL_INT_STATUS_VPATH_TRAFFIC_INT
	tst	x0, x23
	b.eq	LBB0_8
; %bb.6:
	ldr	w8, [x20, #24]
	add	w8, w8, #1
	str	w8, [x20, #24]
	ldr	w19, [x25]
LBB0_7:
	mov	x0, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_8:
	ldr	w8, [x20, #20]
	add	w8, w8, #1
	str	w8, [x20, #20]
Lloh18:
	adrp	x8, _VXGE_HW_TITAN_GENERAL_INT_STATUS_VPATH_ALARM_INT@GOTPAGE
Lloh19:
	ldr	x8, [x8, _VXGE_HW_TITAN_GENERAL_INT_STATUS_VPATH_ALARM_INT@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	and	w0, w8, w23
	bl	_unlikely
	cbz	x0, LBB0_7
; %bb.9:
	ldr	w19, [x25]
	ldr	w8, [x20, #16]
	add	w8, w8, #1
	str	w8, [x20, #16]
	ldr	w8, [x24]
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.10:
	mov	x25, #0
	mov	x22, #0
Lloh21:
	adrp	x26, _VXGE_HW_ERR_CRITICAL@GOTPAGE
Lloh22:
	ldr	x26, [x26, _VXGE_HW_ERR_CRITICAL@GOTPAGEOFF]
Lloh23:
	adrp	x27, _VXGE_HW_ERR_SLOT_FREEZE@GOTPAGE
Lloh24:
	ldr	x27, [x27, _VXGE_HW_ERR_SLOT_FREEZE@GOTPAGEOFF]
	b	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=1
	add	x22, x22, #1
	ldrsw	x8, [x24]
	add	x25, x25, #4
	cmp	x22, x8
	b.ge	LBB0_7
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldr	w23, [x20]
	mov	x0, x22
	bl	_vxge_mBIT
	tst	w0, w23
	b.eq	LBB0_11
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	x8, [x20, #8]
	add	x0, x8, x25
	mov	x1, x21
	bl	___vxge_hw_vpath_alarm_process
	mov	x23, x0
	mov	x1, x19
	bl	_VXGE_HW_SET_LEVEL
	mov	x19, x0
	ldr	w8, [x26]
	cmp	w23, w8
	ldr	w8, [x27]
	ccmp	w23, w8, #4, ne
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_11
	b	LBB0_7
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_VXGE_HW_OK,4,2                 ; @VXGE_HW_OK
	.comm	_VXGE_HW_ERR_WRONG_IRQ,4,2      ; @VXGE_HW_ERR_WRONG_IRQ
	.comm	_VXGE_HW_ALL_FOXES,8,3          ; @VXGE_HW_ALL_FOXES
	.comm	_NULL_VPID,4,2                  ; @NULL_VPID
	.comm	_VXGE_HW_EVENT_SLOT_FREEZE,4,2  ; @VXGE_HW_EVENT_SLOT_FREEZE
	.comm	_VXGE_HW_ERR_SLOT_FREEZE,4,2    ; @VXGE_HW_ERR_SLOT_FREEZE
	.comm	_VXGE_HW_MAX_VIRTUAL_PATHS,4,2  ; @VXGE_HW_MAX_VIRTUAL_PATHS
	.comm	_VXGE_HW_TITAN_GENERAL_INT_STATUS_VPATH_ALARM_INT,8,3 ; @VXGE_HW_TITAN_GENERAL_INT_STATUS_VPATH_ALARM_INT
	.comm	_VXGE_HW_ERR_CRITICAL,4,2       ; @VXGE_HW_ERR_CRITICAL
.subsections_via_symbols
