	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2x_umac_enable
_bnx2x_umac_enable:                     ## @bnx2x_umac_enable
	.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	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movl	(%rdi), %ecx
	testl	%ecx, %ecx
	jne	LBB0_1
## %bb.2:
	movq	_GRCBASE_UMAC0@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_GRCBASE_UMAC1@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %r12d
	movq	16(%rdi), %r14
	movq	_GRCBASE_MISC@GOTPCREL(%rip), %r13
	movq	_MISC_REGISTERS_RESET_REG_2_CLEAR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	addl	(%r13), %esi
	movq	%rdi, %rbx
	movq	_MISC_REGISTERS_RESET_REG_2_UMAC0@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %edx
	movq	%r14, %rdi
	callq	_REG_WR
	movl	$1000, %edi                     ## imm = 0x3E8
	movl	$2000, %esi                     ## imm = 0x7D0
	callq	_usleep_range
	movq	_MISC_REGISTERS_RESET_REG_2_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	addl	(%r13), %esi
	movl	(%r15), %edx
	movb	(%rbx), %cl
	shll	%cl, %edx
	movq	%r14, %rdi
	callq	_REG_WR
	movq	_NETIF_MSG_LINK@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_DP
	movq	_NIG_REG_EGRESS_EMAC0_PORT@GOTPCREL(%rip), %rax
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movl	(%rbx), %esi
	shll	$2, %esi
	addl	(%rax), %esi
	movq	%r14, %rdi
	movl	$1, %edx
	callq	_REG_WR
	movq	_UMAC_COMMAND_CONFIG_REG_PROMIS_EN@GOTPCREL(%rip), %rax
	movq	_UMAC_COMMAND_CONFIG_REG_PAD_EN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r15d
	orl	(%rax), %r15d
	movq	_UMAC_COMMAND_CONFIG_REG_SW_RESET@GOTPCREL(%rip), %rax
	orl	(%rax), %r15d
	movq	_UMAC_COMMAND_CONFIG_REG_NO_LGTH_CHECK@GOTPCREL(%rip), %rax
	orl	(%rax), %r15d
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edx
	leal	-128(%rdx), %eax
	cmpl	$3, %eax
	ja	LBB0_8
## %bb.4:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_7:
	orl	$12, %r15d
	jmp	LBB0_9
LBB0_8:
	movl	(%r13), %edi
	leaq	L_.str.1(%rip), %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	xorl	%eax, %eax
	callq	_DP
	jmp	LBB0_9
LBB0_6:
	orl	$8, %r15d
	jmp	LBB0_9
LBB0_5:
	orl	$4, %r15d
LBB0_9:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	4(%rax), %ecx
	movq	_BNX2X_FLOW_CTRL_TX@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	movl	(%rax), %eax
	movl	$0, %r13d
	andl	%ecx, %eax
	jne	LBB0_11
## %bb.10:
	movq	_UMAC_COMMAND_CONFIG_REG_IGNORE_TX_PAUSE@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
LBB0_11:
	movq	_BNX2X_FLOW_CTRL_RX@GOTPCREL(%rip), %rdx
	movl	$0, %eax
	andl	(%rdx), %ecx
	jne	LBB0_13
## %bb.12:
	movq	_UMAC_COMMAND_CONFIG_REG_PAUSE_IGNORE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_13:
	orl	%r15d, %r13d
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	8(%rcx), %rdx
	movq	_DUPLEX_HALF@GOTPCREL(%rip), %rsi
	movl	$0, %ecx
	cmpq	(%rsi), %rdx
	jne	LBB0_15
## %bb.14:
	movq	_UMAC_COMMAND_CONFIG_REG_HD_ENA@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
LBB0_15:
	orl	%ecx, %eax
	orl	%eax, %r13d
	movq	_UMAC_REG_COMMAND_CONFIG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	addl	%r12d, %esi
	movq	%r14, %rdi
	movl	%r13d, %edx
	callq	_REG_WR
	movl	$50, %edi
	callq	_udelay
	movq	_SHMEM_EEE_ADV_STATUS_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	testl	%eax, 16(%rcx)
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	je	LBB0_16
## %bb.17:
	movq	_NETIF_MSG_LINK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_DP
	movq	_UMAC_REG_UMAC_EEE_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	addl	%r12d, %esi
	movq	_UMAC_UMAC_EEE_CTRL_REG_EEE_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_REG_WR
	movl	$17, %ebx
	movq	_UMAC_REG_EEE_WAKE_TIMER@GOTPCREL(%rip), %rax
	jmp	LBB0_18
LBB0_16:
	movq	_UMAC_REG_UMAC_EEE_CTRL@GOTPCREL(%rip), %rax
LBB0_18:
	movl	(%rax), %esi
	addl	%r12d, %esi
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_REG_WR
	movq	_UMAC_REG_MAC_ADDR0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	addl	%r12d, %esi
	movq	8(%r15), %rax
	movl	8(%rax), %ecx
	movl	12(%rax), %edi
	shll	$24, %ecx
	shll	$16, %edi
	orl	%ecx, %edi
	movl	16(%rax), %edx
	shll	$8, %edx
	orl	%edi, %edx
	orl	20(%rax), %edx
	movq	%r14, %rdi
	callq	_REG_WR
	movq	_UMAC_REG_MAC_ADDR1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	addl	%r12d, %esi
	movq	8(%r15), %rax
	movl	(%rax), %edx
	shll	$8, %edx
	orl	4(%rax), %edx
	movq	%r14, %rdi
	callq	_REG_WR
	movq	_UMAC_COMMAND_CONFIG_REG_PAD_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, %r13d
	movq	_UMAC_COMMAND_CONFIG_REG_TX_ENA@GOTPCREL(%rip), %rax
	movq	_UMAC_COMMAND_CONFIG_REG_RX_ENA@GOTPCREL(%rip), %rcx
	orl	(%rax), %r13d
	orl	(%rcx), %r13d
	movq	_UMAC_REG_COMMAND_CONFIG@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	addl	%r12d, %esi
	movq	%r14, %rdi
	movl	%r13d, %edx
	callq	_REG_WR
	movl	$50, %edi
	callq	_udelay
	movq	_UMAC_COMMAND_CONFIG_REG_SW_RESET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%r13d, %eax
	xorl	%edx, %edx
	cmpq	$0, -56(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_20
## %bb.19:
	movq	_UMAC_COMMAND_CONFIG_REG_LOOP_ENA@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
LBB0_20:
	orl	%eax, %edx
	movl	(%rbx), %esi
	addl	%r12d, %esi
	movq	%r14, %rdi
	callq	_REG_WR
	movq	_UMAC_REG_MAXFR@GOTPCREL(%rip), %rax
	addl	(%rax), %r12d
	movq	%r14, %rdi
	movl	%r12d, %esi
	movl	$10000, %edx                    ## imm = 0x2710
	callq	_REG_WR
	movq	_BNX2X_FLOW_CTRL_TX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%esi, %esi
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	andl	4(%rbx), %eax
	setne	%sil
	movq	%r15, %rdi
	movl	$1, %edx
	callq	_bnx2x_set_xumac_nig
	movq	_MAC_TYPE_UMAC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%rbx)
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
LJTI0_0:
	.long	L0_0_set_7
	.long	L0_0_set_6
	.long	L0_0_set_5
	.long	L0_0_set_9
	.end_data_region
                                        ## -- End function
	.comm	_GRCBASE_UMAC1,4,2              ## @GRCBASE_UMAC1
	.comm	_GRCBASE_UMAC0,4,2              ## @GRCBASE_UMAC0
	.comm	_GRCBASE_MISC,4,2               ## @GRCBASE_MISC
	.comm	_MISC_REGISTERS_RESET_REG_2_CLEAR,4,2 ## @MISC_REGISTERS_RESET_REG_2_CLEAR
	.comm	_MISC_REGISTERS_RESET_REG_2_UMAC0,4,2 ## @MISC_REGISTERS_RESET_REG_2_UMAC0
	.comm	_MISC_REGISTERS_RESET_REG_2_SET,4,2 ## @MISC_REGISTERS_RESET_REG_2_SET
	.comm	_NETIF_MSG_LINK,4,2             ## @NETIF_MSG_LINK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"enabling UMAC\n"

	.comm	_NIG_REG_EGRESS_EMAC0_PORT,4,2  ## @NIG_REG_EGRESS_EMAC0_PORT
	.comm	_UMAC_COMMAND_CONFIG_REG_PROMIS_EN,4,2 ## @UMAC_COMMAND_CONFIG_REG_PROMIS_EN
	.comm	_UMAC_COMMAND_CONFIG_REG_PAD_EN,4,2 ## @UMAC_COMMAND_CONFIG_REG_PAD_EN
	.comm	_UMAC_COMMAND_CONFIG_REG_SW_RESET,4,2 ## @UMAC_COMMAND_CONFIG_REG_SW_RESET
	.comm	_UMAC_COMMAND_CONFIG_REG_NO_LGTH_CHECK,4,2 ## @UMAC_COMMAND_CONFIG_REG_NO_LGTH_CHECK
L_.str.1:                               ## @.str.1
	.asciz	"Invalid speed for UMAC %d\n"

	.comm	_BNX2X_FLOW_CTRL_TX,4,2         ## @BNX2X_FLOW_CTRL_TX
	.comm	_UMAC_COMMAND_CONFIG_REG_IGNORE_TX_PAUSE,4,2 ## @UMAC_COMMAND_CONFIG_REG_IGNORE_TX_PAUSE
	.comm	_BNX2X_FLOW_CTRL_RX,4,2         ## @BNX2X_FLOW_CTRL_RX
	.comm	_UMAC_COMMAND_CONFIG_REG_PAUSE_IGNORE,4,2 ## @UMAC_COMMAND_CONFIG_REG_PAUSE_IGNORE
	.comm	_DUPLEX_HALF,8,3                ## @DUPLEX_HALF
	.comm	_UMAC_COMMAND_CONFIG_REG_HD_ENA,4,2 ## @UMAC_COMMAND_CONFIG_REG_HD_ENA
	.comm	_UMAC_REG_COMMAND_CONFIG,4,2    ## @UMAC_REG_COMMAND_CONFIG
	.comm	_SHMEM_EEE_ADV_STATUS_MASK,4,2  ## @SHMEM_EEE_ADV_STATUS_MASK
L_.str.2:                               ## @.str.2
	.asciz	"configured UMAC for EEE\n"

	.comm	_UMAC_REG_UMAC_EEE_CTRL,4,2     ## @UMAC_REG_UMAC_EEE_CTRL
	.comm	_UMAC_UMAC_EEE_CTRL_REG_EEE_EN,4,2 ## @UMAC_UMAC_EEE_CTRL_REG_EEE_EN
	.comm	_UMAC_REG_EEE_WAKE_TIMER,4,2    ## @UMAC_REG_EEE_WAKE_TIMER
	.comm	_UMAC_REG_MAC_ADDR0,4,2         ## @UMAC_REG_MAC_ADDR0
	.comm	_UMAC_REG_MAC_ADDR1,4,2         ## @UMAC_REG_MAC_ADDR1
	.comm	_UMAC_COMMAND_CONFIG_REG_TX_ENA,4,2 ## @UMAC_COMMAND_CONFIG_REG_TX_ENA
	.comm	_UMAC_COMMAND_CONFIG_REG_RX_ENA,4,2 ## @UMAC_COMMAND_CONFIG_REG_RX_ENA
	.comm	_UMAC_COMMAND_CONFIG_REG_LOOP_ENA,4,2 ## @UMAC_COMMAND_CONFIG_REG_LOOP_ENA
	.comm	_UMAC_REG_MAXFR,4,2             ## @UMAC_REG_MAXFR
	.comm	_MAC_TYPE_UMAC,4,2              ## @MAC_TYPE_UMAC
	.no_dead_strip	_bnx2x_umac_enable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnx2x_umac_enable
_bnx2x_umac_enable:                     ; @bnx2x_umac_enable
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	str	x2, [sp, #8]                    ; 8-byte Folded Spill
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _GRCBASE_UMAC1@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GRCBASE_UMAC1@GOTPAGEOFF]
	ldr	w9, [x0]
Lloh2:
	adrp	x10, _GRCBASE_UMAC0@GOTPAGE
Lloh3:
	ldr	x10, [x10, _GRCBASE_UMAC0@GOTPAGEOFF]
	cmp	x9, #0
	csel	x8, x10, x8, eq
	ldr	w24, [x8]
	ldr	x21, [x0, #16]
Lloh4:
	adrp	x22, _GRCBASE_MISC@GOTPAGE
Lloh5:
	ldr	x22, [x22, _GRCBASE_MISC@GOTPAGEOFF]
	ldr	w8, [x22]
Lloh6:
	adrp	x10, _MISC_REGISTERS_RESET_REG_2_CLEAR@GOTPAGE
Lloh7:
	ldr	x10, [x10, _MISC_REGISTERS_RESET_REG_2_CLEAR@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	add	w1, w10, w8
Lloh9:
	adrp	x23, _MISC_REGISTERS_RESET_REG_2_UMAC0@GOTPAGE
Lloh10:
	ldr	x23, [x23, _MISC_REGISTERS_RESET_REG_2_UMAC0@GOTPAGEOFF]
	ldr	w8, [x23]
	lsl	w2, w8, w9
	mov	x0, x21
	bl	_REG_WR
	mov	w0, #1000
	mov	w1, #2000
	bl	_usleep_range
Lloh11:
	adrp	x8, _MISC_REGISTERS_RESET_REG_2_SET@GOTPAGE
Lloh12:
	ldr	x8, [x8, _MISC_REGISTERS_RESET_REG_2_SET@GOTPAGEOFF]
	ldr	w9, [x22]
Lloh13:
	ldr	w8, [x8]
	add	w1, w8, w9
	ldr	w8, [x23]
	ldr	w9, [x20]
	lsl	w2, w8, w9
	mov	x0, x21
	bl	_REG_WR
Lloh14:
	adrp	x22, _NETIF_MSG_LINK@GOTPAGE
Lloh15:
	ldr	x22, [x22, _NETIF_MSG_LINK@GOTPAGEOFF]
	ldr	w0, [x22]
Lloh16:
	adrp	x1, l_.str@PAGE
Lloh17:
	add	x1, x1, l_.str@PAGEOFF
	bl	_DP
Lloh18:
	adrp	x8, _NIG_REG_EGRESS_EMAC0_PORT@GOTPAGE
Lloh19:
	ldr	x8, [x8, _NIG_REG_EGRESS_EMAC0_PORT@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	ldr	w9, [x20]
	add	w1, w8, w9, lsl #2
	mov	x0, x21
	mov	w2, #1
	bl	_REG_WR
Lloh21:
	adrp	x8, _UMAC_COMMAND_CONFIG_REG_PROMIS_EN@GOTPAGE
Lloh22:
	ldr	x8, [x8, _UMAC_COMMAND_CONFIG_REG_PROMIS_EN@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
Lloh24:
	adrp	x26, _UMAC_COMMAND_CONFIG_REG_PAD_EN@GOTPAGE
Lloh25:
	ldr	x26, [x26, _UMAC_COMMAND_CONFIG_REG_PAD_EN@GOTPAGEOFF]
	ldr	w9, [x26]
	orr	w8, w9, w8
Lloh26:
	adrp	x9, _UMAC_COMMAND_CONFIG_REG_SW_RESET@GOTPAGE
Lloh27:
	ldr	x9, [x9, _UMAC_COMMAND_CONFIG_REG_SW_RESET@GOTPAGEOFF]
Lloh28:
	ldr	w9, [x9]
Lloh29:
	adrp	x10, _UMAC_COMMAND_CONFIG_REG_NO_LGTH_CHECK@GOTPAGE
Lloh30:
	ldr	x10, [x10, _UMAC_COMMAND_CONFIG_REG_NO_LGTH_CHECK@GOTPAGEOFF]
	orr	w8, w8, w9
Lloh31:
	ldr	w9, [x10]
	orr	w23, w8, w9
	ldr	w8, [x19]
	sub	w9, w8, #128
	cmp	w9, #3
	b.hi	LBB0_3
; %bb.1:
Lloh32:
	adrp	x8, lJTI0_0@PAGE
Lloh33:
	add	x8, x8, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x8, x9]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	orr	w23, w23, #0xc
	b	LBB0_6
LBB0_3:
	ldr	w0, [x22]
	str	x8, [sp]
Lloh34:
	adrp	x1, l_.str.1@PAGE
Lloh35:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_DP
	b	LBB0_6
LBB0_4:
	orr	w23, w23, #0x8
	b	LBB0_6
LBB0_5:
	orr	w23, w23, #0x4
LBB0_6:
	ldr	w8, [x19, #4]
Lloh36:
	adrp	x27, _BNX2X_FLOW_CTRL_TX@GOTPAGE
Lloh37:
	ldr	x27, [x27, _BNX2X_FLOW_CTRL_TX@GOTPAGEOFF]
	ldr	w9, [x27]
Lloh38:
	adrp	x10, _UMAC_COMMAND_CONFIG_REG_IGNORE_TX_PAUSE@GOTPAGE
Lloh39:
	ldr	x10, [x10, _UMAC_COMMAND_CONFIG_REG_IGNORE_TX_PAUSE@GOTPAGEOFF]
Lloh40:
	ldr	w10, [x10]
	tst	w9, w8
	csel	w9, w10, wzr, eq
	orr	w9, w9, w23
Lloh41:
	adrp	x10, _BNX2X_FLOW_CTRL_RX@GOTPAGE
Lloh42:
	ldr	x10, [x10, _BNX2X_FLOW_CTRL_RX@GOTPAGEOFF]
Lloh43:
	ldr	w10, [x10]
Lloh44:
	adrp	x11, _UMAC_COMMAND_CONFIG_REG_PAUSE_IGNORE@GOTPAGE
Lloh45:
	ldr	x11, [x11, _UMAC_COMMAND_CONFIG_REG_PAUSE_IGNORE@GOTPAGEOFF]
Lloh46:
	ldr	w11, [x11]
	tst	w10, w8
	csel	w8, w11, wzr, eq
	orr	w8, w9, w8
Lloh47:
	adrp	x9, _DUPLEX_HALF@GOTPAGE
Lloh48:
	ldr	x9, [x9, _DUPLEX_HALF@GOTPAGEOFF]
	ldr	x10, [x19, #8]
Lloh49:
	ldr	x9, [x9]
Lloh50:
	adrp	x11, _UMAC_COMMAND_CONFIG_REG_HD_ENA@GOTPAGE
Lloh51:
	ldr	x11, [x11, _UMAC_COMMAND_CONFIG_REG_HD_ENA@GOTPAGEOFF]
Lloh52:
	ldr	w11, [x11]
	cmp	x10, x9
	csel	w9, w11, wzr, eq
	orr	w23, w8, w9
Lloh53:
	adrp	x28, _UMAC_REG_COMMAND_CONFIG@GOTPAGE
Lloh54:
	ldr	x28, [x28, _UMAC_REG_COMMAND_CONFIG@GOTPAGEOFF]
	ldr	w8, [x28]
	add	w1, w8, w24
	mov	x0, x21
	mov	x2, x23
	bl	_REG_WR
	mov	w0, #50
	bl	_udelay
	ldr	w8, [x19, #16]
Lloh55:
	adrp	x9, _SHMEM_EEE_ADV_STATUS_MASK@GOTPAGE
Lloh56:
	ldr	x9, [x9, _SHMEM_EEE_ADV_STATUS_MASK@GOTPAGEOFF]
Lloh57:
	ldr	w9, [x9]
Lloh58:
	adrp	x25, _UMAC_REG_UMAC_EEE_CTRL@GOTPAGE
Lloh59:
	ldr	x25, [x25, _UMAC_REG_UMAC_EEE_CTRL@GOTPAGEOFF]
	tst	w9, w8
	b.eq	LBB0_8
; %bb.7:
	ldr	w0, [x22]
Lloh60:
	adrp	x1, l_.str.2@PAGE
Lloh61:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_DP
	ldr	w8, [x25]
	add	w1, w8, w24
Lloh62:
	adrp	x8, _UMAC_UMAC_EEE_CTRL_REG_EEE_EN@GOTPAGE
Lloh63:
	ldr	x8, [x8, _UMAC_UMAC_EEE_CTRL_REG_EEE_EN@GOTPAGEOFF]
Lloh64:
	ldr	w2, [x8]
	mov	x0, x21
	bl	_REG_WR
	mov	w2, #17
Lloh65:
	adrp	x25, _UMAC_REG_EEE_WAKE_TIMER@GOTPAGE
Lloh66:
	ldr	x25, [x25, _UMAC_REG_EEE_WAKE_TIMER@GOTPAGEOFF]
	b	LBB0_9
LBB0_8:
	mov	w2, #0
LBB0_9:
	ldr	w8, [x25]
	add	w1, w8, w24
	mov	x0, x21
	bl	_REG_WR
Lloh67:
	adrp	x8, _UMAC_REG_MAC_ADDR0@GOTPAGE
Lloh68:
	ldr	x8, [x8, _UMAC_REG_MAC_ADDR0@GOTPAGEOFF]
Lloh69:
	ldr	w8, [x8]
	add	w1, w8, w24
	ldr	x8, [x20, #8]
	ldp	w9, w10, [x8, #8]
	lsl	w10, w10, #16
	orr	w9, w10, w9, lsl #24
	ldp	w10, w8, [x8, #16]
	orr	w9, w9, w10, lsl #8
	orr	w2, w9, w8
	mov	x0, x21
	bl	_REG_WR
Lloh70:
	adrp	x8, _UMAC_REG_MAC_ADDR1@GOTPAGE
Lloh71:
	ldr	x8, [x8, _UMAC_REG_MAC_ADDR1@GOTPAGEOFF]
Lloh72:
	ldr	w8, [x8]
	add	w1, w8, w24
	ldr	x8, [x20, #8]
	ldp	w9, w8, [x8]
	orr	w2, w8, w9, lsl #8
	mov	x0, x21
	bl	_REG_WR
	ldr	w8, [x26]
	bic	w8, w23, w8
Lloh73:
	adrp	x9, _UMAC_COMMAND_CONFIG_REG_TX_ENA@GOTPAGE
Lloh74:
	ldr	x9, [x9, _UMAC_COMMAND_CONFIG_REG_TX_ENA@GOTPAGEOFF]
Lloh75:
	adrp	x10, _UMAC_COMMAND_CONFIG_REG_RX_ENA@GOTPAGE
Lloh76:
	ldr	x10, [x10, _UMAC_COMMAND_CONFIG_REG_RX_ENA@GOTPAGEOFF]
Lloh77:
	ldr	w9, [x9]
Lloh78:
	ldr	w10, [x10]
	orr	w8, w8, w9
	orr	w23, w8, w10
	ldr	w8, [x28]
	add	w1, w8, w24
	mov	x0, x21
	mov	x2, x23
	bl	_REG_WR
	mov	w0, #50
	bl	_udelay
Lloh79:
	adrp	x8, _UMAC_COMMAND_CONFIG_REG_SW_RESET@GOTPAGE
Lloh80:
	ldr	x8, [x8, _UMAC_COMMAND_CONFIG_REG_SW_RESET@GOTPAGEOFF]
Lloh81:
	ldr	w8, [x8]
	bic	w8, w23, w8
Lloh82:
	adrp	x9, _UMAC_COMMAND_CONFIG_REG_LOOP_ENA@GOTPAGE
Lloh83:
	ldr	x9, [x9, _UMAC_COMMAND_CONFIG_REG_LOOP_ENA@GOTPAGEOFF]
Lloh84:
	ldr	w9, [x9]
	ldr	x10, [sp, #8]                   ; 8-byte Folded Reload
	cmp	x10, #0
	csel	w9, wzr, w9, eq
	orr	w2, w9, w8
	ldr	w8, [x28]
	add	w1, w8, w24
	mov	x0, x21
	bl	_REG_WR
Lloh85:
	adrp	x8, _UMAC_REG_MAXFR@GOTPAGE
Lloh86:
	ldr	x8, [x8, _UMAC_REG_MAXFR@GOTPAGEOFF]
Lloh87:
	ldr	w8, [x8]
	add	w1, w8, w24
	mov	x0, x21
	mov	w2, #10000
	bl	_REG_WR
	ldr	w8, [x19, #4]
	ldr	w9, [x27]
	tst	w9, w8
	cset	w1, ne
	mov	x0, x20
	mov	w2, #1
	bl	_bnx2x_set_xumac_nig
Lloh88:
	adrp	x8, _MAC_TYPE_UMAC@GOTPAGE
Lloh89:
	ldr	x8, [x8, _MAC_TYPE_UMAC@GOTPAGEOFF]
Lloh90:
	ldr	w8, [x8]
	str	w8, [x19, #20]
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGot	Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpLdrGot	Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpAdd	Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh88, Lloh89, Lloh90
	.loh AdrpLdrGotLdr	Lloh85, Lloh86, Lloh87
	.loh AdrpLdrGotLdr	Lloh82, Lloh83, Lloh84
	.loh AdrpLdrGotLdr	Lloh79, Lloh80, Lloh81
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh78
	.loh AdrpLdrGotLdr	Lloh73, Lloh74, Lloh77
	.loh AdrpLdrGotLdr	Lloh70, Lloh71, Lloh72
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
                                        ; -- End function
	.comm	_GRCBASE_UMAC1,4,2              ; @GRCBASE_UMAC1
	.comm	_GRCBASE_UMAC0,4,2              ; @GRCBASE_UMAC0
	.comm	_GRCBASE_MISC,4,2               ; @GRCBASE_MISC
	.comm	_MISC_REGISTERS_RESET_REG_2_CLEAR,4,2 ; @MISC_REGISTERS_RESET_REG_2_CLEAR
	.comm	_MISC_REGISTERS_RESET_REG_2_UMAC0,4,2 ; @MISC_REGISTERS_RESET_REG_2_UMAC0
	.comm	_MISC_REGISTERS_RESET_REG_2_SET,4,2 ; @MISC_REGISTERS_RESET_REG_2_SET
	.comm	_NETIF_MSG_LINK,4,2             ; @NETIF_MSG_LINK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"enabling UMAC\n"

	.comm	_NIG_REG_EGRESS_EMAC0_PORT,4,2  ; @NIG_REG_EGRESS_EMAC0_PORT
	.comm	_UMAC_COMMAND_CONFIG_REG_PROMIS_EN,4,2 ; @UMAC_COMMAND_CONFIG_REG_PROMIS_EN
	.comm	_UMAC_COMMAND_CONFIG_REG_PAD_EN,4,2 ; @UMAC_COMMAND_CONFIG_REG_PAD_EN
	.comm	_UMAC_COMMAND_CONFIG_REG_SW_RESET,4,2 ; @UMAC_COMMAND_CONFIG_REG_SW_RESET
	.comm	_UMAC_COMMAND_CONFIG_REG_NO_LGTH_CHECK,4,2 ; @UMAC_COMMAND_CONFIG_REG_NO_LGTH_CHECK
l_.str.1:                               ; @.str.1
	.asciz	"Invalid speed for UMAC %d\n"

	.comm	_BNX2X_FLOW_CTRL_TX,4,2         ; @BNX2X_FLOW_CTRL_TX
	.comm	_UMAC_COMMAND_CONFIG_REG_IGNORE_TX_PAUSE,4,2 ; @UMAC_COMMAND_CONFIG_REG_IGNORE_TX_PAUSE
	.comm	_BNX2X_FLOW_CTRL_RX,4,2         ; @BNX2X_FLOW_CTRL_RX
	.comm	_UMAC_COMMAND_CONFIG_REG_PAUSE_IGNORE,4,2 ; @UMAC_COMMAND_CONFIG_REG_PAUSE_IGNORE
	.comm	_DUPLEX_HALF,8,3                ; @DUPLEX_HALF
	.comm	_UMAC_COMMAND_CONFIG_REG_HD_ENA,4,2 ; @UMAC_COMMAND_CONFIG_REG_HD_ENA
	.comm	_UMAC_REG_COMMAND_CONFIG,4,2    ; @UMAC_REG_COMMAND_CONFIG
	.comm	_SHMEM_EEE_ADV_STATUS_MASK,4,2  ; @SHMEM_EEE_ADV_STATUS_MASK
l_.str.2:                               ; @.str.2
	.asciz	"configured UMAC for EEE\n"

	.comm	_UMAC_REG_UMAC_EEE_CTRL,4,2     ; @UMAC_REG_UMAC_EEE_CTRL
	.comm	_UMAC_UMAC_EEE_CTRL_REG_EEE_EN,4,2 ; @UMAC_UMAC_EEE_CTRL_REG_EEE_EN
	.comm	_UMAC_REG_EEE_WAKE_TIMER,4,2    ; @UMAC_REG_EEE_WAKE_TIMER
	.comm	_UMAC_REG_MAC_ADDR0,4,2         ; @UMAC_REG_MAC_ADDR0
	.comm	_UMAC_REG_MAC_ADDR1,4,2         ; @UMAC_REG_MAC_ADDR1
	.comm	_UMAC_COMMAND_CONFIG_REG_TX_ENA,4,2 ; @UMAC_COMMAND_CONFIG_REG_TX_ENA
	.comm	_UMAC_COMMAND_CONFIG_REG_RX_ENA,4,2 ; @UMAC_COMMAND_CONFIG_REG_RX_ENA
	.comm	_UMAC_COMMAND_CONFIG_REG_LOOP_ENA,4,2 ; @UMAC_COMMAND_CONFIG_REG_LOOP_ENA
	.comm	_UMAC_REG_MAXFR,4,2             ; @UMAC_REG_MAXFR
	.comm	_MAC_TYPE_UMAC,4,2              ; @MAC_TYPE_UMAC
	.no_dead_strip	_bnx2x_umac_enable
.subsections_via_symbols
