	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2x_warpcore_clear_regs
_bnx2x_warpcore_clear_regs:             ## @bnx2x_warpcore_clear_regs
	.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, %r13
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	(%rsi), %r14
	movq	_MDIO_WC_REG_RX66_CONTROL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	movq	%r13, %rsi
	movl	$138, %edx
	movl	$24576, %r8d                    ## imm = 0x6000
	callq	_bnx2x_cl45_read_or_write
	leaq	_bnx2x_warpcore_clear_regs.wc_regs(%rip), %rdi
	callq	_ARRAY_SIZE
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	leaq	_bnx2x_warpcore_clear_regs.wc_regs+16(%rip), %rbx
	xorl	%r15d, %r15d
	leaq	_bnx2x_warpcore_clear_regs.wc_regs(%rip), %r12
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %edx
	movq	-8(%rbx), %rcx
	movl	-12(%rbx), %r8d
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_bnx2x_cl45_write
	incq	%r15
	movq	%r12, %rdi
	callq	_ARRAY_SIZE
	addq	$32, %rbx
	cmpq	%rax, %r15
	jb	LBB0_2
LBB0_3:
	movq	%r13, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_bnx2x_get_warpcore_lane
	movq	_MDIO_WC_REG_TX0_TX_DRIVER@GOTPCREL(%rip), %rcx
	shlq	$4, %rax
	addq	(%rcx), %rax
	movq	%r14, %rdi
	movq	%r13, %rsi
	movl	$138, %edx
	movq	%rax, %rcx
	movl	$2448, %r8d                     ## imm = 0x990
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_bnx2x_cl45_write               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__DATA,__data
	.p2align	4                               ## @bnx2x_warpcore_clear_regs.wc_regs
_bnx2x_warpcore_clear_regs.wc_regs:
	.long	140                             ## 0x8c
	.long	139                             ## 0x8b
	.quad	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.space	4
	.long	138                             ## 0x8a
	.long	135                             ## 0x87
	.quad	330                             ## 0x14a
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.space	4
	.long	138                             ## 0x8a
	.long	134                             ## 0x86
	.quad	2048                            ## 0x800
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.space	4
	.long	138                             ## 0x8a
	.long	136                             ## 0x88
	.quad	32776                           ## 0x8008
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.space	4
	.long	138                             ## 0x8a
	.long	132                             ## 0x84
	.quad	405                             ## 0x195
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.space	4
	.long	138                             ## 0x8a
	.long	131                             ## 0x83
	.quad	7                               ## 0x7
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.space	4
	.long	138                             ## 0x8a
	.long	130                             ## 0x82
	.quad	2                               ## 0x2
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.space	4
	.long	138                             ## 0x8a
	.long	129                             ## 0x81
	.quad	24576                           ## 0x6000
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.space	4
	.long	138                             ## 0x8a
	.long	128                             ## 0x80
	.quad	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.space	4
	.long	138                             ## 0x8a
	.long	133                             ## 0x85
	.quad	8256                            ## 0x2040
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.space	4
	.long	138                             ## 0x8a
	.long	137                             ## 0x89
	.quad	320                             ## 0x140
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.space	4

	.comm	_MDIO_WC_REG_RX66_CONTROL,4,2   ## @MDIO_WC_REG_RX66_CONTROL
	.comm	_MDIO_WC_REG_TX0_TX_DRIVER,8,3  ## @MDIO_WC_REG_TX0_TX_DRIVER
	.no_dead_strip	_bnx2x_warpcore_clear_regs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnx2x_warpcore_clear_regs
_bnx2x_warpcore_clear_regs:             ; @bnx2x_warpcore_clear_regs
	.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	x21, x1
	mov	x19, x0
	ldr	x20, [x1]
Lloh0:
	adrp	x8, _MDIO_WC_REG_RX66_CONTROL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MDIO_WC_REG_RX66_CONTROL@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
	mov	x0, x20
	mov	x1, x19
	mov	w2, #138
	mov	w4, #24576
	bl	_bnx2x_cl45_read_or_write
Lloh3:
	adrp	x0, _bnx2x_warpcore_clear_regs.wc_regs@PAGE
Lloh4:
	add	x0, x0, _bnx2x_warpcore_clear_regs.wc_regs@PAGEOFF
	bl	_ARRAY_SIZE
	cbz	x0, LBB0_3
; %bb.1:
	mov	x23, #0
Lloh5:
	adrp	x24, _bnx2x_warpcore_clear_regs.wc_regs@PAGE+8
Lloh6:
	add	x24, x24, _bnx2x_warpcore_clear_regs.wc_regs@PAGEOFF+8
Lloh7:
	adrp	x22, _bnx2x_warpcore_clear_regs.wc_regs@PAGE
Lloh8:
	add	x22, x22, _bnx2x_warpcore_clear_regs.wc_regs@PAGEOFF
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w2, [x24, #8]
	ldr	x3, [x24]
	ldur	w4, [x24, #-4]
	mov	x0, x20
	mov	x1, x19
	bl	_bnx2x_cl45_write
	add	x23, x23, #1
	mov	x0, x22
	bl	_ARRAY_SIZE
	add	x24, x24, #32
	cmp	x23, x0
	b.lo	LBB0_2
LBB0_3:
	mov	x0, x19
	mov	x1, x21
	bl	_bnx2x_get_warpcore_lane
Lloh9:
	adrp	x8, _MDIO_WC_REG_TX0_TX_DRIVER@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MDIO_WC_REG_TX0_TX_DRIVER@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	add	x3, x8, x0, lsl #4
	mov	x0, x20
	mov	x1, x19
	mov	w2, #138
	mov	w4, #2448
	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
	b	_bnx2x_cl45_write
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__DATA,__data
	.p2align	3                               ; @bnx2x_warpcore_clear_regs.wc_regs
_bnx2x_warpcore_clear_regs.wc_regs:
	.long	140                             ; 0x8c
	.long	139                             ; 0x8b
	.quad	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.space	4
	.long	138                             ; 0x8a
	.long	135                             ; 0x87
	.quad	330                             ; 0x14a
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.space	4
	.long	138                             ; 0x8a
	.long	134                             ; 0x86
	.quad	2048                            ; 0x800
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.space	4
	.long	138                             ; 0x8a
	.long	136                             ; 0x88
	.quad	32776                           ; 0x8008
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.space	4
	.long	138                             ; 0x8a
	.long	132                             ; 0x84
	.quad	405                             ; 0x195
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.space	4
	.long	138                             ; 0x8a
	.long	131                             ; 0x83
	.quad	7                               ; 0x7
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.space	4
	.long	138                             ; 0x8a
	.long	130                             ; 0x82
	.quad	2                               ; 0x2
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.space	4
	.long	138                             ; 0x8a
	.long	129                             ; 0x81
	.quad	24576                           ; 0x6000
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.space	4
	.long	138                             ; 0x8a
	.long	128                             ; 0x80
	.quad	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.space	4
	.long	138                             ; 0x8a
	.long	133                             ; 0x85
	.quad	8256                            ; 0x2040
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.space	4
	.long	138                             ; 0x8a
	.long	137                             ; 0x89
	.quad	320                             ; 0x140
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.space	4

	.comm	_MDIO_WC_REG_RX66_CONTROL,4,2   ; @MDIO_WC_REG_RX66_CONTROL
	.comm	_MDIO_WC_REG_TX0_TX_DRIVER,8,3  ; @MDIO_WC_REG_TX0_TX_DRIVER
	.no_dead_strip	_bnx2x_warpcore_clear_regs
.subsections_via_symbols
