	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2_timer
_bnx2_timer:                            ## @bnx2_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_timer@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rdi, %rsi
	callq	_from_timer
	movq	%rax, %rbx
	movl	52(%rax), %edi
	callq	_netif_running
	testl	%eax, %eax
	je	LBB0_12
## %bb.1:
	leaq	48(%rbx), %rdi
	callq	_atomic_read
	testq	%rax, %rax
	je	LBB0_2
LBB0_11:
	movq	%rbx, %rdi
	addq	$24, %rdi
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	16(%rbx), %rsi
	addq	(%rax), %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_mod_timer                      ## TAILCALL
LBB0_12:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_2:
	movq	_BNX2_FLAG_USING_MSI@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_BNX2_FLAG_ONE_SHOT_MSI@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%eax, %ecx
	andl	(%rbx), %ecx
	cmpl	%eax, %ecx
	jne	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	callq	_bnx2_chk_missed_msi
LBB0_4:
	movq	%rbx, %rdi
	callq	_bnx2_send_heart_beat
	movq	_BNX2_FW_RX_DROP_COUNT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_bnx2_reg_rd_ind
	movq	40(%rbx), %rcx
	movl	%eax, (%rcx)
	movq	_BNX2_FLAG_BROKEN_STATS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_7
## %bb.5:
	cmpq	$0, 32(%rbx)
	je	LBB0_7
## %bb.6:
	movq	_BNX2_HC_COMMAND@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_BNX2_HC_COMMAND_STATS_NOW@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	orl	4(%rbx), %edx
	movq	%rbx, %rdi
	callq	_BNX2_WR
LBB0_7:
	movq	_BNX2_PHY_FLAG_SERDES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 8(%rbx)
	je	LBB0_11
## %bb.8:
	movq	%rbx, %rdi
	callq	_BNX2_CHIP
	movq	_BNX2_CHIP_5706@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_10
## %bb.9:
	movq	%rbx, %rdi
	callq	_bnx2_5706_serdes_timer
	jmp	LBB0_11
LBB0_10:
	movq	%rbx, %rdi
	callq	_bnx2_5708_serdes_timer
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_timer,4,2                      ## @timer
	.comm	_BNX2_FLAG_USING_MSI,4,2        ## @BNX2_FLAG_USING_MSI
	.comm	_BNX2_FLAG_ONE_SHOT_MSI,4,2     ## @BNX2_FLAG_ONE_SHOT_MSI
	.comm	_BNX2_FW_RX_DROP_COUNT,4,2      ## @BNX2_FW_RX_DROP_COUNT
	.comm	_BNX2_FLAG_BROKEN_STATS,4,2     ## @BNX2_FLAG_BROKEN_STATS
	.comm	_BNX2_HC_COMMAND,4,2            ## @BNX2_HC_COMMAND
	.comm	_BNX2_HC_COMMAND_STATS_NOW,4,2  ## @BNX2_HC_COMMAND_STATS_NOW
	.comm	_BNX2_PHY_FLAG_SERDES,4,2       ## @BNX2_PHY_FLAG_SERDES
	.comm	_BNX2_CHIP_5706,8,3             ## @BNX2_CHIP_5706
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_bp,8,3                         ## @bp
	.no_dead_strip	_bnx2_timer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnx2_timer
_bnx2_timer:                            ; @bnx2_timer
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, _timer@GOTPAGE
Lloh1:
	ldr	x8, [x8, _timer@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x1, x0
	bl	_from_timer
	mov	x19, x0
	ldr	w0, [x0, #52]
	bl	_netif_running
	cbz	w0, LBB0_3
; %bb.1:
	add	x0, x19, #48
	bl	_atomic_read
	cbz	x0, LBB0_4
LBB0_2:
Lloh3:
	adrp	x8, _jiffies@GOTPAGE
Lloh4:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
	add	x0, x19, #24
Lloh5:
	ldr	x8, [x8]
	ldr	x9, [x19, #16]
	add	x1, x9, x8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_mod_timer
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_4:
	ldr	w8, [x19]
Lloh6:
	adrp	x9, _BNX2_FLAG_USING_MSI@GOTPAGE
Lloh7:
	ldr	x9, [x9, _BNX2_FLAG_USING_MSI@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
Lloh9:
	adrp	x10, _BNX2_FLAG_ONE_SHOT_MSI@GOTPAGE
Lloh10:
	ldr	x10, [x10, _BNX2_FLAG_ONE_SHOT_MSI@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	orr	w10, w10, w9
	and	w8, w10, w8
	cmp	w8, w9
	b.ne	LBB0_6
; %bb.5:
	mov	x0, x19
	bl	_bnx2_chk_missed_msi
LBB0_6:
	mov	x0, x19
	bl	_bnx2_send_heart_beat
Lloh12:
	adrp	x8, _BNX2_FW_RX_DROP_COUNT@GOTPAGE
Lloh13:
	ldr	x8, [x8, _BNX2_FW_RX_DROP_COUNT@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_bnx2_reg_rd_ind
	ldr	x8, [x19, #40]
	str	w0, [x8]
	ldr	w8, [x19]
Lloh15:
	adrp	x9, _BNX2_FLAG_BROKEN_STATS@GOTPAGE
Lloh16:
	ldr	x9, [x9, _BNX2_FLAG_BROKEN_STATS@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_9
; %bb.7:
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_9
; %bb.8:
Lloh18:
	adrp	x8, _BNX2_HC_COMMAND@GOTPAGE
Lloh19:
	ldr	x8, [x8, _BNX2_HC_COMMAND@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	ldr	w8, [x19, #4]
Lloh21:
	adrp	x9, _BNX2_HC_COMMAND_STATS_NOW@GOTPAGE
Lloh22:
	ldr	x9, [x9, _BNX2_HC_COMMAND_STATS_NOW@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	orr	w2, w9, w8
	mov	x0, x19
	bl	_BNX2_WR
LBB0_9:
	ldr	w8, [x19, #8]
Lloh24:
	adrp	x9, _BNX2_PHY_FLAG_SERDES@GOTPAGE
Lloh25:
	ldr	x9, [x9, _BNX2_PHY_FLAG_SERDES@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.10:
	mov	x0, x19
	bl	_BNX2_CHIP
Lloh27:
	adrp	x8, _BNX2_CHIP_5706@GOTPAGE
Lloh28:
	ldr	x8, [x8, _BNX2_CHIP_5706@GOTPAGEOFF]
Lloh29:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_12
; %bb.11:
	mov	x0, x19
	bl	_bnx2_5706_serdes_timer
	b	LBB0_2
LBB0_12:
	mov	x0, x19
	bl	_bnx2_5708_serdes_timer
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_timer,4,2                      ; @timer
	.comm	_BNX2_FLAG_USING_MSI,4,2        ; @BNX2_FLAG_USING_MSI
	.comm	_BNX2_FLAG_ONE_SHOT_MSI,4,2     ; @BNX2_FLAG_ONE_SHOT_MSI
	.comm	_BNX2_FW_RX_DROP_COUNT,4,2      ; @BNX2_FW_RX_DROP_COUNT
	.comm	_BNX2_FLAG_BROKEN_STATS,4,2     ; @BNX2_FLAG_BROKEN_STATS
	.comm	_BNX2_HC_COMMAND,4,2            ; @BNX2_HC_COMMAND
	.comm	_BNX2_HC_COMMAND_STATS_NOW,4,2  ; @BNX2_HC_COMMAND_STATS_NOW
	.comm	_BNX2_PHY_FLAG_SERDES,4,2       ; @BNX2_PHY_FLAG_SERDES
	.comm	_BNX2_CHIP_5706,8,3             ; @BNX2_CHIP_5706
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_bp,8,3                         ; @bp
	.no_dead_strip	_bnx2_timer
.subsections_via_symbols
