	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function myri10ge_watchdog_timer
_myri10ge_watchdog_timer:               ## @myri10ge_watchdog_timer
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_watchdog_timer@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rdi, %rsi
	callq	_from_timer
	movq	%rax, %r13
	movq	40(%rax), %r14
	movq	48(%r14), %rax
	movl	(%rax), %edi
	callq	_ntohl
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	$0, -52(%rbp)
	movl	$0, -44(%rbp)
	cmpl	$0, (%r13)
	jle	LBB0_12
## %bb.1:
	movl	$24, %r15d
	movl	$1, %r12d
	cmpq	$0, 16(%r14,%r15)
	je	LBB0_5
	.p2align	4, 0x90
LBB0_3:
	leaq	(%r14,%r15), %rsi
	movq	_MXGEFW_PAD@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	addq	32(%r13), %rdx
	movq	%r13, %rdi
	movl	$1, %ecx
	callq	_myri10ge_alloc_rx_pages
	movq	(%r14,%r15), %rax
	subq	8(%r14,%r15), %rax
	movq	_myri10ge_fill_thresh@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jl	LBB0_5
## %bb.4:
	movq	$0, 16(%r14,%r15)
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	leaq	(%r14,%r15), %rbx
	addq	$-24, %rbx
	cmpq	$0, -8(%r14,%r15)
	je	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	24(%r13), %rdx
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movl	$1, %ecx
	callq	_myri10ge_alloc_rx_pages
	movq	-24(%r14,%r15), %rax
	subq	-16(%r14,%r15), %rax
	movq	_myri10ge_fill_thresh@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jl	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	$0, -8(%r14,%r15)
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	%rbx, %rdi
	leaq	-44(%rbp), %rsi
	leaq	-52(%rbp), %rdx
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	callq	_myri10ge_check_slice
	movslq	(%r13), %rcx
	movl	-44(%rbp), %eax
	cmpq	%rcx, %r12
	jge	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_5 Depth=1
	testl	%eax, %eax
	jne	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	40(%r13), %r14
	addq	$56, %r15
	incq	%r12
	cmpq	$0, 16(%r14,%r15)
	jne	LBB0_3
	jmp	LBB0_5
LBB0_11:
	cmpl	$0, -52(%rbp)
	jne	LBB0_14
LBB0_12:
	movl	16(%r13), %edi
	movq	_PCI_COMMAND@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-56(%rbp), %rdx
	callq	_pci_read_config_word
	movq	_PCI_COMMAND_MASTER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, -56(%rbp)
	je	LBB0_18
## %bb.13:
	movl	-44(%rbp), %eax
LBB0_14:
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, 12(%r13)
	testl	%eax, %eax
	jne	LBB0_15
## %bb.16:
	addq	$4, %r13
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	_myri10ge_watchdog_timeout@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	movq	_HZ@GOTPCREL(%rip), %rdx
	movslq	(%rdx), %rsi
	imulq	%rcx, %rsi
	addq	(%rax), %rsi
	movq	%r13, %rdi
	callq	_mod_timer
	jmp	LBB0_17
LBB0_18:
	movl	$1, -44(%rbp)
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 12(%r13)
LBB0_15:
	addq	$8, %r13
	movq	%r13, %rdi
	callq	_schedule_work
LBB0_17:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_watchdog_timer,4,2             ## @watchdog_timer
	.comm	_MXGEFW_PAD,8,3                 ## @MXGEFW_PAD
	.comm	_myri10ge_fill_thresh,8,3       ## @myri10ge_fill_thresh
	.comm	_PCI_COMMAND,4,2                ## @PCI_COMMAND
	.comm	_PCI_COMMAND_MASTER,4,2         ## @PCI_COMMAND_MASTER
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_myri10ge_watchdog_timeout,4,2  ## @myri10ge_watchdog_timeout
	.comm	_HZ,4,2                         ## @HZ
	.no_dead_strip	_myri10ge_watchdog_timer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function myri10ge_watchdog_timer
_myri10ge_watchdog_timer:               ; @myri10ge_watchdog_timer
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.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
Lloh0:
	adrp	x8, _watchdog_timer@GOTPAGE
Lloh1:
	ldr	x8, [x8, _watchdog_timer@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x1, x0
	bl	_from_timer
	mov	x19, x0
	ldr	x22, [x0, #40]
	ldr	x8, [x22, #48]
	ldr	w0, [x8]
	bl	_ntohl
	mov	x20, x0
	str	xzr, [sp, #8]
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_12
; %bb.1:
	mov	x23, #0
	mov	w24, #1
Lloh3:
	adrp	x25, _myri10ge_fill_thresh@GOTPAGE
Lloh4:
	ldr	x25, [x25, _myri10ge_fill_thresh@GOTPAGEOFF]
Lloh5:
	adrp	x26, _MXGEFW_PAD@GOTPAGE
Lloh6:
	ldr	x26, [x26, _MXGEFW_PAD@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	x21, x22, x23
	ldr	x8, [x21, #40]
	cbz	x8, LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x1, x21, #24
	ldr	x8, [x19, #32]
	ldr	x9, [x26]
	add	x2, x9, x8
	mov	x0, x19
	mov	w3, #1
	bl	_myri10ge_alloc_rx_pages
	ldp	x8, x9, [x21, #24]
	ldr	x10, [x25]
	sub	x8, x8, x9
	cmp	x8, x10
	b.lt	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	str	xzr, [x21, #40]
LBB0_5:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x21, #16]
	cbz	x8, LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x22, x22, x23
	ldr	x2, [x19, #24]
	mov	x0, x19
	mov	x1, x22
	mov	w3, #1
	bl	_myri10ge_alloc_rx_pages
	ldp	x8, x9, [x22]
	ldr	x10, [x25]
	sub	x8, x8, x9
	cmp	x8, x10
	b.lt	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_2 Depth=1
	str	xzr, [x21, #16]
LBB0_8:                                 ;   in Loop: Header=BB0_2 Depth=1
	add	x1, sp, #12
	add	x2, sp, #8
	mov	x0, x21
	mov	x3, x20
	bl	_myri10ge_check_slice
	ldrsw	x9, [x19]
	ldr	w8, [sp, #12]
	cmp	x24, x9
	ccmp	w8, #0, #0, lt
	b.ne	LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x22, [x19, #40]
	add	x23, x23, #56
	add	x24, x24, #1
	b	LBB0_2
LBB0_10:
	ldr	w9, [sp, #8]
	cbz	w9, LBB0_12
; %bb.11:
	str	w20, [x19, #12]
	cbnz	w8, LBB0_16
	b	LBB0_14
LBB0_12:
	ldr	w0, [x19, #16]
Lloh7:
	adrp	x8, _PCI_COMMAND@GOTPAGE
Lloh8:
	ldr	x8, [x8, _PCI_COMMAND@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	add	x2, sp, #4
	bl	_pci_read_config_word
	ldr	w8, [sp, #4]
Lloh10:
	adrp	x9, _PCI_COMMAND_MASTER@GOTPAGE
Lloh11:
	ldr	x9, [x9, _PCI_COMMAND_MASTER@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_15
; %bb.13:
	ldr	w8, [sp, #12]
	str	w20, [x19, #12]
	cbnz	w8, LBB0_16
LBB0_14:
	add	x0, x19, #4
Lloh13:
	adrp	x8, _jiffies@GOTPAGE
Lloh14:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh15:
	adrp	x9, _myri10ge_watchdog_timeout@GOTPAGE
Lloh16:
	ldr	x9, [x9, _myri10ge_watchdog_timeout@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
Lloh18:
	ldrsw	x9, [x9]
Lloh19:
	adrp	x10, _HZ@GOTPAGE
Lloh20:
	ldr	x10, [x10, _HZ@GOTPAGEOFF]
Lloh21:
	ldrsw	x10, [x10]
	madd	x1, x10, x9, x8
	bl	_mod_timer
	b	LBB0_17
LBB0_15:
	mov	w8, #1
	str	w8, [sp, #12]
	str	w20, [x19, #12]
LBB0_16:
	add	x0, x19, #8
	bl	_schedule_work
LBB0_17:
	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
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_watchdog_timer,4,2             ; @watchdog_timer
	.comm	_MXGEFW_PAD,8,3                 ; @MXGEFW_PAD
	.comm	_myri10ge_fill_thresh,8,3       ; @myri10ge_fill_thresh
	.comm	_PCI_COMMAND,4,2                ; @PCI_COMMAND
	.comm	_PCI_COMMAND_MASTER,4,2         ; @PCI_COMMAND_MASTER
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_myri10ge_watchdog_timeout,4,2  ; @myri10ge_watchdog_timeout
	.comm	_HZ,4,2                         ; @HZ
	.no_dead_strip	_myri10ge_watchdog_timer
.subsections_via_symbols
