	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function myri10ge_intr
_myri10ge_intr:                         ## @myri10ge_intr
	.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
	movq	24(%rsi), %rbx
	movq	32(%rsi), %r14
	movq	16(%r14), %rax
	cmpl	$1, (%rax)
	jne	LBB0_3
## %bb.1:
	cmpq	%r13, (%r14)
	je	LBB0_3
## %bb.2:
	addq	$8, %r13
	movq	%r13, %rdi
	callq	_napi_schedule
	jmp	LBB0_23
LBB0_3:
	xorl	%edi, %edi
	cmpl	$0, (%rbx)
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	_IRQ_NONE@GOTPCREL(%rip), %rax
	jmp	LBB0_24
LBB0_5:
	testb	$1, (%rbx)
	je	LBB0_7
## %bb.6:
	leaq	8(%r13), %rdi
	callq	_napi_schedule
LBB0_7:
	cmpl	$0, 36(%r14)
	jne	LBB0_12
## %bb.8:
	cmpl	$0, 32(%r14)
	je	LBB0_9
LBB0_12:
	movl	$0, (%rbx)
LBB0_13:
	leaq	8(%r14), %r15
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movl	4(%rbx), %edi
	callq	_ntohl
	cmpq	16(%r13), %rax
	je	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	%r13, %rdi
	movl	%eax, %esi
	callq	_myri10ge_tx_done
LBB0_16:                                ##   in Loop: Header=BB0_14 Depth=1
	xorl	%edi, %edi
	movq	_myri10ge_max_irq_loops@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r12d
	setge	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	16(%r14), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_netdev_warn
	movl	$0, (%rbx)
	movq	%r15, %rdi
	callq	_schedule_work
LBB0_18:                                ##   in Loop: Header=BB0_14 Depth=1
	xorl	%edi, %edi
	cmpl	$0, (%rbx)
	sete	%dil
	callq	_likely
	testq	%rax, %rax
	jne	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_14 Depth=1
	xorl	%eax, %eax
	callq	_cpu_relax
	xorl	%eax, %eax
	callq	_barrier
	incl	%r12d
	jmp	LBB0_14
LBB0_20:
	cmpq	%r13, (%r14)
	jne	LBB0_22
## %bb.21:
	movq	%r14, %rdi
	callq	_myri10ge_check_statblock
LBB0_22:
	movl	$3, %edi
	callq	_htonl
	movq	(%r13), %rsi
	incq	%rsi
	movl	%eax, %edi
	callq	_put_be32
LBB0_23:
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
LBB0_24:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movq	24(%r14), %rsi
	xorl	%edi, %edi
	callq	_put_be32
	movq	_myri10ge_deassert_wait@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_11
## %bb.10:
	movl	$0, (%rbx)
LBB0_11:
	xorl	%eax, %eax
	callq	_mb
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.comm	_IRQ_NONE,4,2                   ## @IRQ_NONE
	.comm	_myri10ge_deassert_wait,4,2     ## @myri10ge_deassert_wait
	.comm	_myri10ge_max_irq_loops,4,2     ## @myri10ge_max_irq_loops
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"irq stuck?\n"

	.no_dead_strip	_myri10ge_intr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function myri10ge_intr
_myri10ge_intr:                         ; @myri10ge_intr
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x1
	ldp	x23, x20, [x1, #24]
	ldr	x8, [x20, #16]
	ldr	w8, [x8]
	cmp	w8, #1
	b.ne	LBB0_3
; %bb.1:
	ldr	x8, [x20]
	cmp	x8, x19
	b.eq	LBB0_3
; %bb.2:
	add	x0, x19, #8
	bl	_napi_schedule
	b	LBB0_20
LBB0_3:
	ldr	w8, [x23]
	cmp	w8, #0
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_5
; %bb.4:
Lloh0:
	adrp	x8, _IRQ_NONE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IRQ_NONE@GOTPAGEOFF]
	b	LBB0_21
LBB0_5:
	ldrb	w8, [x23]
	tbz	w8, #0, LBB0_7
; %bb.6:
	add	x0, x19, #8
	bl	_napi_schedule
LBB0_7:
	ldr	w8, [x20, #36]
	cbnz	w8, LBB0_9
; %bb.8:
	ldr	w8, [x20, #32]
	cbz	w8, LBB0_22
LBB0_9:
	str	wzr, [x23]
LBB0_10:
	mov	w24, #0
	add	x21, x20, #8
Lloh2:
	adrp	x25, _myri10ge_max_irq_loops@GOTPAGE
Lloh3:
	ldr	x25, [x25, _myri10ge_max_irq_loops@GOTPAGEOFF]
Lloh4:
	adrp	x22, l_.str@PAGE
Lloh5:
	add	x22, x22, l_.str@PAGEOFF
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x23, #4]
	bl	_ntohl
	ldr	x8, [x19, #16]
	cmp	x0, x8
	b.eq	LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	mov	x1, x0
	mov	x0, x19
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_myri10ge_tx_done
LBB0_13:                                ;   in Loop: Header=BB0_11 Depth=1
	ldr	w8, [x25]
	cmp	w24, w8
	cset	w0, ge
	bl	_unlikely
	cbz	x0, LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_11 Depth=1
	ldr	x0, [x20, #16]
	mov	x1, x22
	bl	_netdev_warn
	str	wzr, [x23]
	mov	x0, x21
	bl	_schedule_work
LBB0_15:                                ;   in Loop: Header=BB0_11 Depth=1
	ldr	w8, [x23]
	cmp	w8, #0
	cset	w0, eq
	bl	_likely
	cbnz	x0, LBB0_17
; %bb.16:                               ;   in Loop: Header=BB0_11 Depth=1
	bl	_cpu_relax
	bl	_barrier
	add	w24, w24, #1
	b	LBB0_11
LBB0_17:
	ldr	x8, [x20]
	cmp	x8, x19
	b.ne	LBB0_19
; %bb.18:
	mov	x0, x20
	bl	_myri10ge_check_statblock
LBB0_19:
	mov	w0, #3
	bl	_htonl
	ldr	x8, [x19]
	add	x1, x8, #1
	bl	_put_be32
LBB0_20:
Lloh6:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
LBB0_21:
	ldr	w0, [x8]
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_22:
	ldr	x1, [x20, #24]
	mov	w0, #0
	bl	_put_be32
Lloh8:
	adrp	x8, _myri10ge_deassert_wait@GOTPAGE
Lloh9:
	ldr	x8, [x8, _myri10ge_deassert_wait@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	cbnz	w8, LBB0_24
; %bb.23:
	str	wzr, [x23]
LBB0_24:
	bl	_mb
	b	LBB0_10
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.comm	_IRQ_NONE,4,2                   ; @IRQ_NONE
	.comm	_myri10ge_deassert_wait,4,2     ; @myri10ge_deassert_wait
	.comm	_myri10ge_max_irq_loops,4,2     ; @myri10ge_max_irq_loops
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"irq stuck?\n"

	.no_dead_strip	_myri10ge_intr
.subsections_via_symbols
