	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mthca_tavor_interrupt
_mthca_tavor_interrupt:                 ## @mthca_tavor_interrupt
	.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	%rsi, %r13
	movl	(%rsi), %edi
	testl	%edi, %edi
	je	LBB0_2
## %bb.1:
	movq	16(%r13), %rsi
	callq	_writel
LBB0_2:
	movq	24(%r13), %rdi
	addq	$4, %rdi
	callq	_readl
	testl	%eax, %eax
	je	LBB0_3
## %bb.4:
	movl	%eax, %r14d
	movq	24(%r13), %rsi
	movq	_MTHCA_ECR_CLR_BASE@GOTPCREL(%rip), %rax
	addq	(%rax), %rsi
	movq	_MTHCA_ECR_BASE@GOTPCREL(%rip), %rax
	subq	(%rax), %rsi
	addq	$4, %rsi
	movl	%r14d, %edi
	callq	_writel
	movq	_MTHCA_NUM_EQ@GOTPCREL(%rip), %r12
	movl	(%r12), %eax
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rcx
	testl	%eax, %eax
	jle	LBB0_12
## %bb.5:
	xorl	%ebx, %ebx
	xorl	%r15d, %r15d
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_6 Depth=1
	movq	8(%r13), %rax
	movl	4(%rax,%rbx), %esi
	movq	%r13, %rdi
	callq	_tavor_eq_req_not
	movl	(%r12), %eax
LBB0_10:                                ##   in Loop: Header=BB0_6 Depth=1
	incq	%r15
	movslq	%eax, %rcx
	addq	$12, %rbx
	cmpq	%rcx, %r15
	jge	LBB0_11
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r13), %rsi
	testl	%r14d, (%rsi,%rbx)
	je	LBB0_10
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	addq	%rbx, %rsi
	movq	%r13, %rdi
	callq	_mthca_eq_int
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	8(%r13), %rsi
	movl	8(%rsi,%rbx), %edx
	addq	%rbx, %rsi
	movq	%r13, %rdi
	callq	_tavor_set_eq_ci
	jmp	LBB0_9
LBB0_3:
	movq	_IRQ_NONE@GOTPCREL(%rip), %rcx
	jmp	LBB0_12
LBB0_11:
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rcx
LBB0_12:
	movl	(%rcx), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IRQ_NONE,4,2                   ## @IRQ_NONE
	.comm	_MTHCA_ECR_CLR_BASE,8,3         ## @MTHCA_ECR_CLR_BASE
	.comm	_MTHCA_ECR_BASE,8,3             ## @MTHCA_ECR_BASE
	.comm	_MTHCA_NUM_EQ,4,2               ## @MTHCA_NUM_EQ
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_mthca_tavor_interrupt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mthca_tavor_interrupt
_mthca_tavor_interrupt:                 ; @mthca_tavor_interrupt
	.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, x1
	ldr	w0, [x1]
	cbz	w0, LBB0_2
; %bb.1:
	ldr	x1, [x19, #16]
	bl	_writel
LBB0_2:
	ldr	x8, [x19, #24]
	add	x0, x8, #4
	bl	_readl
	cbz	w0, LBB0_10
; %bb.3:
	mov	x20, x0
	ldr	x8, [x19, #24]
Lloh0:
	adrp	x9, _MTHCA_ECR_CLR_BASE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MTHCA_ECR_CLR_BASE@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x10, _MTHCA_ECR_BASE@GOTPAGE
Lloh4:
	ldr	x10, [x10, _MTHCA_ECR_BASE@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	add	x8, x8, x9
	sub	x8, x8, x10
	add	x1, x8, #4
	bl	_writel
Lloh6:
	adrp	x22, _MTHCA_NUM_EQ@GOTPAGE
Lloh7:
	ldr	x22, [x22, _MTHCA_NUM_EQ@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w8, #1
	b.lt	LBB0_11
; %bb.4:
	mov	x23, #0
	mov	x24, #0
Lloh8:
	adrp	x21, _IRQ_HANDLED@GOTPAGE
Lloh9:
	ldr	x21, [x21, _IRQ_HANDLED@GOTPAGEOFF]
	b	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldr	x8, [x19, #8]
	add	x8, x8, x23
	ldr	w1, [x8, #4]
	mov	x0, x19
	bl	_tavor_eq_req_not
	ldr	w8, [x22]
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	x24, x24, #1
	add	x23, x23, #12
	cmp	x24, w8, sxtw
	b.ge	LBB0_12
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x19, #8]
	add	x1, x9, x23
	ldr	w9, [x1]
	tst	w9, w20
	b.eq	LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x19
	bl	_mthca_eq_int
	cbz	x0, LBB0_5
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x8, [x19, #8]
	add	x1, x8, x23
	ldr	w2, [x1, #8]
	mov	x0, x19
	bl	_tavor_set_eq_ci
	b	LBB0_5
LBB0_10:
Lloh10:
	adrp	x21, _IRQ_NONE@GOTPAGE
Lloh11:
	ldr	x21, [x21, _IRQ_NONE@GOTPAGEOFF]
	b	LBB0_12
LBB0_11:
Lloh12:
	adrp	x21, _IRQ_HANDLED@GOTPAGE
Lloh13:
	ldr	x21, [x21, _IRQ_HANDLED@GOTPAGEOFF]
LBB0_12:
	ldr	w0, [x21]
	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
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_IRQ_NONE,4,2                   ; @IRQ_NONE
	.comm	_MTHCA_ECR_CLR_BASE,8,3         ; @MTHCA_ECR_CLR_BASE
	.comm	_MTHCA_ECR_BASE,8,3             ; @MTHCA_ECR_BASE
	.comm	_MTHCA_NUM_EQ,4,2               ; @MTHCA_NUM_EQ
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_mthca_tavor_interrupt
.subsections_via_symbols
