	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sge_intr_handler
_sge_intr_handler:                      ## @sge_intr_handler
	.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, %rbx
	movq	_SGE_INT_CAUSE1_A@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_t4_read_reg
	movq	_SGE_INT_CAUSE2_A@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_t4_read_reg
	movq	_SGE_INT_CAUSE3_A@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	leaq	_sge_intr_handler.sge_intr_info(%rip), %rdx
	movq	%rbx, %rdi
	callq	_t4_handle_intr_status
	movl	4(%rbx), %edi
	callq	_CHELSIO_CHIP_VERSION
	movq	_CHELSIO_T5@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jg	LBB0_2
## %bb.1:
	movl	(%r14), %esi
	leaq	_sge_intr_handler.t4t5_sge_intr_info(%rip), %rdx
	movq	%rbx, %rdi
	callq	_t4_handle_intr_status
LBB0_2:
	movq	_SGE_ERROR_STATS_A@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	%rbx, %rdi
	callq	_t4_read_reg
	movq	_ERROR_QID_VALID_F@GOTPCREL(%rip), %r13
	testl	%eax, (%r13)
	je	LBB0_6
## %bb.3:
	movl	%eax, %r14d
	movl	(%rbx), %r15d
	movl	%eax, %edi
	callq	_ERROR_QID_G
	leaq	L_.str.13(%rip), %rsi
	movl	%r15d, %edi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_dev_err
	movq	_UNCAPTURED_ERROR_F@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	testl	%r14d, %edx
	je	LBB0_5
## %bb.4:
	movl	(%rbx), %edi
	leaq	L_.str.14(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_err
	movl	(%r15), %edx
LBB0_5:
	movl	(%r12), %esi
	orl	(%r13), %edx
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_t4_write_reg                   ## TAILCALL
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__DATA,__const
	.p2align	4                               ## @sge_intr_handler.sge_intr_info
_sge_intr_handler.sge_intr_info:
	.long	138                             ## 0x8a
	.space	4
	.quad	L_.str
	.long	4294967295                      ## 0xffffffff
	.long	1                               ## 0x1
	.long	0                               ## 0x0
	.space	4
	.long	131                             ## 0x83
	.space	4
	.quad	L_.str.1
	.long	4294967295                      ## 0xffffffff
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.space	4
	.long	137                             ## 0x89
	.space	4
	.quad	L_.str.2
	.long	4294967295                      ## 0xffffffff
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.space	4
	.long	144                             ## 0x90
	.space	4
	.quad	0
	.long	4294967295                      ## 0xffffffff
	.long	0                               ## 0x0
	.long	128                             ## 0x80
	.space	4
	.long	143                             ## 0x8f
	.space	4
	.quad	L_.str.3
	.long	4294967295                      ## 0xffffffff
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.space	4
	.long	139                             ## 0x8b
	.space	4
	.quad	L_.str.4
	.long	4294967295                      ## 0xffffffff
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.space	4
	.long	140                             ## 0x8c
	.space	4
	.quad	L_.str.5
	.long	4294967295                      ## 0xffffffff
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.space	4
	.long	141                             ## 0x8d
	.space	4
	.quad	L_.str.6
	.long	4294967295                      ## 0xffffffff
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.space	4
	.long	142                             ## 0x8e
	.space	4
	.quad	L_.str.7
	.long	4294967295                      ## 0xffffffff
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.space	4
	.long	132                             ## 0x84
	.space	4
	.quad	L_.str.8
	.long	4294967295                      ## 0xffffffff
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.space	4
	.long	130                             ## 0x82
	.space	4
	.quad	L_.str.9
	.long	4294967295                      ## 0xffffffff
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.space	4
	.long	143                             ## 0x8f
	.space	4
	.quad	L_.str.10
	.long	4294967295                      ## 0xffffffff
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.space	4
	.space	32

	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"SGE received CPL exceeding IQE size"

L_.str.1:                               ## @.str.1
	.asciz	"SGE GTS CIDX increment too large"

L_.str.2:                               ## @.str.2
	.asciz	"SGE received 0-length CPL"

L_.str.3:                               ## @.str.3
	.asciz	"SGE IQID > 1023 received CPL for FL"

L_.str.4:                               ## @.str.4
	.asciz	"SGE DBP 3 pidx increment too large"

L_.str.5:                               ## @.str.5
	.asciz	"SGE DBP 2 pidx increment too large"

L_.str.6:                               ## @.str.6
	.asciz	"SGE DBP 1 pidx increment too large"

L_.str.7:                               ## @.str.7
	.asciz	"SGE DBP 0 pidx increment too large"

L_.str.8:                               ## @.str.8
	.asciz	"SGE too many priority ingress contexts"

L_.str.9:                               ## @.str.9
	.asciz	"SGE illegal ingress QID"

L_.str.10:                              ## @.str.10
	.asciz	"SGE illegal egress QID"

	.section	__DATA,__data
	.p2align	4                               ## @sge_intr_handler.t4t5_sge_intr_info
_sge_intr_handler.t4t5_sge_intr_info:
	.long	134                             ## 0x86
	.space	4
	.quad	0
	.long	4294967295                      ## 0xffffffff
	.long	0                               ## 0x0
	.long	129                             ## 0x81
	.space	4
	.long	145                             ## 0x91
	.space	4
	.quad	0
	.long	4294967295                      ## 0xffffffff
	.long	0                               ## 0x0
	.long	128                             ## 0x80
	.space	4
	.long	133                             ## 0x85
	.space	4
	.quad	L_.str.11
	.long	4294967295                      ## 0xffffffff
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.space	4
	.space	32

	.section	__TEXT,__cstring,cstring_literals
L_.str.11:                              ## @.str.11
	.asciz	"SGE too many priority egress contexts"

	.comm	_SGE_INT_CAUSE1_A,4,2           ## @SGE_INT_CAUSE1_A
	.comm	_SGE_INT_CAUSE2_A,4,2           ## @SGE_INT_CAUSE2_A
	.comm	_SGE_INT_CAUSE3_A,4,2           ## @SGE_INT_CAUSE3_A
	.comm	_CHELSIO_T5,8,3                 ## @CHELSIO_T5
	.comm	_SGE_ERROR_STATS_A,4,2          ## @SGE_ERROR_STATS_A
	.comm	_ERROR_QID_VALID_F,4,2          ## @ERROR_QID_VALID_F
L_.str.13:                              ## @.str.13
	.asciz	"SGE error for queue %u\n"

	.comm	_UNCAPTURED_ERROR_F,4,2         ## @UNCAPTURED_ERROR_F
L_.str.14:                              ## @.str.14
	.asciz	"SGE UNCAPTURED_ERROR set (clearing)\n"

	.no_dead_strip	_sge_intr_handler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sge_intr_handler
_sge_intr_handler:                      ; @sge_intr_handler
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
Lloh0:
	adrp	x8, _SGE_INT_CAUSE1_A@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SGE_INT_CAUSE1_A@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_t4_read_reg
Lloh3:
	adrp	x8, _SGE_INT_CAUSE2_A@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SGE_INT_CAUSE2_A@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_t4_read_reg
Lloh6:
	adrp	x20, _SGE_INT_CAUSE3_A@GOTPAGE
Lloh7:
	ldr	x20, [x20, _SGE_INT_CAUSE3_A@GOTPAGEOFF]
	ldr	w1, [x20]
Lloh8:
	adrp	x2, _sge_intr_handler.sge_intr_info@PAGE
Lloh9:
	add	x2, x2, _sge_intr_handler.sge_intr_info@PAGEOFF
	mov	x0, x19
	bl	_t4_handle_intr_status
	ldr	w0, [x19, #4]
	bl	_CHELSIO_CHIP_VERSION
Lloh10:
	adrp	x8, _CHELSIO_T5@GOTPAGE
Lloh11:
	ldr	x8, [x8, _CHELSIO_T5@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	cmp	x0, x8
	b.gt	LBB0_2
; %bb.1:
	ldr	w1, [x20]
Lloh13:
	adrp	x2, _sge_intr_handler.t4t5_sge_intr_info@PAGE
Lloh14:
	add	x2, x2, _sge_intr_handler.t4t5_sge_intr_info@PAGEOFF
	mov	x0, x19
	bl	_t4_handle_intr_status
LBB0_2:
Lloh15:
	adrp	x22, _SGE_ERROR_STATS_A@GOTPAGE
Lloh16:
	ldr	x22, [x22, _SGE_ERROR_STATS_A@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x19
	bl	_t4_read_reg
Lloh17:
	adrp	x23, _ERROR_QID_VALID_F@GOTPAGE
Lloh18:
	ldr	x23, [x23, _ERROR_QID_VALID_F@GOTPAGEOFF]
	ldr	w8, [x23]
	tst	w8, w0
	b.eq	LBB0_6
; %bb.3:
	mov	x20, x0
	ldr	w21, [x19]
	bl	_ERROR_QID_G
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh19:
	adrp	x1, l_.str.13@PAGE
Lloh20:
	add	x1, x1, l_.str.13@PAGEOFF
	mov	x0, x21
	bl	_dev_err
Lloh21:
	adrp	x21, _UNCAPTURED_ERROR_F@GOTPAGE
Lloh22:
	ldr	x21, [x21, _UNCAPTURED_ERROR_F@GOTPAGEOFF]
	ldr	w8, [x21]
	tst	w8, w20
	b.eq	LBB0_5
; %bb.4:
	ldr	w0, [x19]
Lloh23:
	adrp	x1, l_.str.14@PAGE
Lloh24:
	add	x1, x1, l_.str.14@PAGEOFF
	bl	_dev_err
	ldr	w8, [x21]
LBB0_5:
	ldr	w1, [x22]
	ldr	w9, [x23]
	orr	w2, w8, w9
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_t4_write_reg
LBB0_6:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.section	__DATA,__const
	.p2align	3                               ; @sge_intr_handler.sge_intr_info
_sge_intr_handler.sge_intr_info:
	.long	138                             ; 0x8a
	.space	4
	.quad	l_.str
	.long	4294967295                      ; 0xffffffff
	.long	1                               ; 0x1
	.long	0                               ; 0x0
	.space	4
	.long	131                             ; 0x83
	.space	4
	.quad	l_.str.1
	.long	4294967295                      ; 0xffffffff
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.space	4
	.long	137                             ; 0x89
	.space	4
	.quad	l_.str.2
	.long	4294967295                      ; 0xffffffff
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.space	4
	.long	144                             ; 0x90
	.space	4
	.quad	0
	.long	4294967295                      ; 0xffffffff
	.long	0                               ; 0x0
	.long	128                             ; 0x80
	.space	4
	.long	143                             ; 0x8f
	.space	4
	.quad	l_.str.3
	.long	4294967295                      ; 0xffffffff
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.space	4
	.long	139                             ; 0x8b
	.space	4
	.quad	l_.str.4
	.long	4294967295                      ; 0xffffffff
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.space	4
	.long	140                             ; 0x8c
	.space	4
	.quad	l_.str.5
	.long	4294967295                      ; 0xffffffff
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.space	4
	.long	141                             ; 0x8d
	.space	4
	.quad	l_.str.6
	.long	4294967295                      ; 0xffffffff
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.space	4
	.long	142                             ; 0x8e
	.space	4
	.quad	l_.str.7
	.long	4294967295                      ; 0xffffffff
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.space	4
	.long	132                             ; 0x84
	.space	4
	.quad	l_.str.8
	.long	4294967295                      ; 0xffffffff
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.space	4
	.long	130                             ; 0x82
	.space	4
	.quad	l_.str.9
	.long	4294967295                      ; 0xffffffff
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.space	4
	.long	143                             ; 0x8f
	.space	4
	.quad	l_.str.10
	.long	4294967295                      ; 0xffffffff
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.space	4
	.space	32

	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"SGE received CPL exceeding IQE size"

l_.str.1:                               ; @.str.1
	.asciz	"SGE GTS CIDX increment too large"

l_.str.2:                               ; @.str.2
	.asciz	"SGE received 0-length CPL"

l_.str.3:                               ; @.str.3
	.asciz	"SGE IQID > 1023 received CPL for FL"

l_.str.4:                               ; @.str.4
	.asciz	"SGE DBP 3 pidx increment too large"

l_.str.5:                               ; @.str.5
	.asciz	"SGE DBP 2 pidx increment too large"

l_.str.6:                               ; @.str.6
	.asciz	"SGE DBP 1 pidx increment too large"

l_.str.7:                               ; @.str.7
	.asciz	"SGE DBP 0 pidx increment too large"

l_.str.8:                               ; @.str.8
	.asciz	"SGE too many priority ingress contexts"

l_.str.9:                               ; @.str.9
	.asciz	"SGE illegal ingress QID"

l_.str.10:                              ; @.str.10
	.asciz	"SGE illegal egress QID"

	.section	__DATA,__data
	.p2align	3                               ; @sge_intr_handler.t4t5_sge_intr_info
_sge_intr_handler.t4t5_sge_intr_info:
	.long	134                             ; 0x86
	.space	4
	.quad	0
	.long	4294967295                      ; 0xffffffff
	.long	0                               ; 0x0
	.long	129                             ; 0x81
	.space	4
	.long	145                             ; 0x91
	.space	4
	.quad	0
	.long	4294967295                      ; 0xffffffff
	.long	0                               ; 0x0
	.long	128                             ; 0x80
	.space	4
	.long	133                             ; 0x85
	.space	4
	.quad	l_.str.11
	.long	4294967295                      ; 0xffffffff
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.space	4
	.space	32

	.section	__TEXT,__cstring,cstring_literals
l_.str.11:                              ; @.str.11
	.asciz	"SGE too many priority egress contexts"

	.comm	_SGE_INT_CAUSE1_A,4,2           ; @SGE_INT_CAUSE1_A
	.comm	_SGE_INT_CAUSE2_A,4,2           ; @SGE_INT_CAUSE2_A
	.comm	_SGE_INT_CAUSE3_A,4,2           ; @SGE_INT_CAUSE3_A
	.comm	_CHELSIO_T5,8,3                 ; @CHELSIO_T5
	.comm	_SGE_ERROR_STATS_A,4,2          ; @SGE_ERROR_STATS_A
	.comm	_ERROR_QID_VALID_F,4,2          ; @ERROR_QID_VALID_F
l_.str.13:                              ; @.str.13
	.asciz	"SGE error for queue %u\n"

	.comm	_UNCAPTURED_ERROR_F,4,2         ; @UNCAPTURED_ERROR_F
l_.str.14:                              ; @.str.14
	.asciz	"SGE UNCAPTURED_ERROR set (clearing)\n"

	.no_dead_strip	_sge_intr_handler
.subsections_via_symbols
