	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx4_en_start_port             ## -- Begin function mlx4_en_start_port
	.p2align	4, 0x90
_mlx4_en_start_port:                    ## @mlx4_en_start_port
	.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	$136, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	callq	_netdev_priv
	movq	%rax, %r15
	movq	80(%rax), %r14
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -64(%rbp)
	movaps	%xmm0, -80(%rbp)
	movaps	%xmm0, -96(%rbp)
	movaps	%xmm0, -112(%rbp)
	cmpl	$0, (%rax)
	je	LBB0_2
## %bb.1:
	movq	_DRV@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rdx
	xorl	%r13d, %r13d
	movq	%r15, %rsi
	xorl	%eax, %eax
	callq	_en_dbg
	jmp	LBB0_66
LBB0_2:
	leaq	152(%r15), %rdi
	callq	_INIT_LIST_HEAD
	leaq	148(%r15), %rdi
	callq	_INIT_LIST_HEAD
	leaq	144(%r15), %rdi
	callq	_INIT_LIST_HEAD
	movq	136(%r15), %rdi
	movq	_MAX_NUM_OF_FS_RULES@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	shll	$2, %edx
	xorl	%ebx, %ebx
	xorl	%esi, %esi
	callq	_memset
	movl	(%r12), %edi
	movl	128(%r15), %esi
	callq	_min
	movl	%eax, (%r12)
	movq	%r12, %rdi
	callq	_mlx4_en_calc_rx_buf
	movq	_DRV@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	112(%r15), %rcx
	leaq	L_.str.1(%rip), %rdx
	movq	%r15, %rsi
	xorl	%eax, %eax
	callq	_en_dbg
	movq	%r15, %rdi
	callq	_mlx4_en_activate_rx_rings
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movl	%eax, %r13d
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_en_err
	jmp	LBB0_66
LBB0_4:
	cmpl	$0, 4(%r15)
	jle	LBB0_14
## %bb.5:
	movq	%r14, -128(%rbp)                ## 8-byte Spill
	movq	%r12, -120(%rbp)                ## 8-byte Spill
	xorl	%ebx, %ebx
	movq	_MLX4_CQE_OWNER_MASK@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_10 Depth 2
	movq	56(%r15), %rax
	movq	(%rax,%rbx,8), %r14
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_mlx4_en_init_affinity_hint
	testl	%eax, %eax
	jne	LBB0_18
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	%r15, %rdi
	movq	%r14, %rsi
	movl	%ebx, %edx
	callq	_mlx4_en_activate_cq
	testl	%eax, %eax
	jne	LBB0_20
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	%rbx, -136(%rbp)                ## 8-byte Spill
	cmpl	$0, (%r14)
	jle	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=1
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_10:                                ##   Parent Loop BB0_6 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	16(%r14), %rdi
	movl	124(%r15), %edx
	movl	%ebx, %esi
	callq	_mlx4_en_get_cqe
	movslq	8(%r15), %rcx
	movl	(%r12), %edx
	movl	%edx, (%rax,%rcx,4)
	incl	%ebx
	cmpl	(%r14), %ebx
	jl	LBB0_10
LBB0_11:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_mlx4_en_set_cq_moder
	testl	%eax, %eax
	jne	LBB0_21
## %bb.12:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_mlx4_en_arm_cq
	movl	8(%r14), %eax
	movq	48(%r15), %rcx
	movq	-136(%rbp), %rbx                ## 8-byte Reload
	movq	(%rcx,%rbx,8), %rcx
	movl	%eax, (%rcx)
	incq	%rbx
	movslq	4(%r15), %rax
	cmpq	%rax, %rbx
	jl	LBB0_6
## %bb.13:
	movq	-120(%rbp), %r12                ## 8-byte Reload
	movq	-128(%rbp), %r14                ## 8-byte Reload
LBB0_14:
	movq	_DRV@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	16(%r15), %rcx
	leaq	L_.str.6(%rip), %rdx
	movq	%r15, %rsi
	xorl	%eax, %eax
	callq	_en_dbg
	movq	%r15, %rdi
	callq	_mlx4_en_get_qp
	testl	%eax, %eax
	je	LBB0_16
## %bb.15:
	movl	%eax, %r13d
	leaq	L_.str.7(%rip), %rsi
	jmp	LBB0_19
LBB0_16:
	movq	16(%r14), %rax
	movq	16(%r15), %rcx
	movq	$0, (%rax,%rcx,8)
	movq	(%r14), %rdi
	movq	16(%r15), %rsi
	callq	_mlx4_get_default_counter_index
	movl	%eax, 120(%r15)
	movq	%r15, %rdi
	callq	_mlx4_en_config_rss_steer
	testl	%eax, %eax
	je	LBB0_23
## %bb.17:
	movl	%eax, %r13d
	leaq	L_.str.8(%rip), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_en_err
	jmp	LBB0_60
LBB0_18:
	movl	%eax, %r13d
	leaq	L_.str.3(%rip), %rsi
LBB0_19:
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_en_err
	testl	%ebx, %ebx
	jne	LBB0_61
	jmp	LBB0_63
LBB0_20:
	movl	%eax, %r13d
	leaq	L_.str.4(%rip), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_en_err
	movq	%r15, %rdi
	jmp	LBB0_22
LBB0_21:
	movl	%eax, %r13d
	leaq	L_.str.5(%rip), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_en_err
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_mlx4_en_deactivate_cq
	movq	%r15, %rdi
	movq	-136(%rbp), %rbx                ## 8-byte Reload
LBB0_22:
	movl	%ebx, %esi
	callq	_mlx4_en_free_affinity_hint
	testl	%ebx, %ebx
	jne	LBB0_61
	jmp	LBB0_63
LBB0_23:
	movq	%r15, %rdi
	callq	_mlx4_en_create_drop_qp
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_59
## %bb.24:
	movq	%r14, -128(%rbp)                ## 8-byte Spill
	movq	_MLX4_EN_NUM_TX_TYPES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	movq	%rbx, -136(%rbp)                ## 8-byte Spill
	jle	LBB0_41
## %bb.25:
	leaq	24(%r15), %rsi
	movq	_TX@GOTPCREL(%rip), %rdi
	xorl	%r13d, %r13d
	movq	%rsi, -160(%rbp)                ## 8-byte Spill
LBB0_26:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_29 Depth 2
                                        ##       Child Loop BB0_37 Depth 3
	movl	(%rdi), %ecx
	cmpq	%rcx, %r13
	movq	32(%r15), %rdx
	leaq	(%rdx,%r13,4), %rcx
	cmoveq	%rsi, %rcx
	cmpl	$0, (%rdx,%r13,4)
	movl	$0, %r14d
	jle	LBB0_39
## %bb.27:                              ##   in Loop: Header=BB0_26 Depth=1
	movl	(%rcx), %eax
	movl	%eax, -140(%rbp)                ## 4-byte Spill
	xorl	%r14d, %r14d
	movq	%r13, -120(%rbp)                ## 8-byte Spill
	jmp	LBB0_29
LBB0_28:                                ##   in Loop: Header=BB0_29 Depth=2
	incq	%r14
	movq	32(%r15), %rax
	movslq	(%rax,%r13,4), %rax
	cmpq	%rax, %r14
	jge	LBB0_38
LBB0_29:                                ##   Parent Loop BB0_26 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_37 Depth 3
	movq	64(%r15), %rax
	movq	(%rax,%r13,8), %rax
	movq	(%rax,%r14,8), %rsi
	movq	%r15, %rdi
	movq	%rsi, %rbx
	movl	%r14d, %edx
	callq	_mlx4_en_activate_cq
	testl	%eax, %eax
	jne	LBB0_44
## %bb.30:                              ##   in Loop: Header=BB0_29 Depth=2
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_mlx4_en_set_cq_moder
	testl	%eax, %eax
	jne	LBB0_46
## %bb.31:                              ##   in Loop: Header=BB0_29 Depth=2
	movq	_DRV@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	leaq	L_.str.10(%rip), %rdx
	movl	%r14d, %ecx
	xorl	%eax, %eax
	callq	_en_dbg
	movl	$65535, %edi                    ## imm = 0xFFFF
	callq	_cpu_to_be16
	movq	%rbx, %rdx
	movq	16(%rbx), %rcx
	movl	%eax, (%rcx)
	movq	72(%r15), %rax
	movq	-120(%rbp), %rcx                ## 8-byte Reload
	movq	(%rax,%rcx,8), %rax
	movq	(%rax,%r14,8), %rbx
	movq	%rdx, -152(%rbp)                ## 8-byte Spill
	movl	8(%rdx), %ecx
	movl	%r14d, %eax
	cltd
	idivl	-140(%rbp)                      ## 4-byte Folded Reload
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movl	%ecx, %edx
	movl	%eax, %ecx
	callq	_mlx4_en_activate_tx_ring
	testl	%eax, %eax
	jne	LBB0_47
## %bb.32:                              ##   in Loop: Header=BB0_29 Depth=2
	movq	_TX_XDP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-120(%rbp), %rcx                ## 8-byte Reload
	movq	%rcx, %r13
	cmpq	%rax, %rcx
	jne	LBB0_34
## %bb.33:                              ##   in Loop: Header=BB0_29 Depth=2
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_mlx4_en_init_tx_xdp_ring_descs
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_mlx4_en_init_recycle_ring
	jmp	LBB0_35
LBB0_34:                                ##   in Loop: Header=BB0_29 Depth=2
	movq	%r12, %rdi
	movl	%r14d, %esi
	callq	_netdev_get_tx_queue
	movl	%eax, 24(%rbx)
	movq	$0, 16(%rbx)
	movq	%r15, %rdi
	movq	-152(%rbp), %rsi                ## 8-byte Reload
	callq	_mlx4_en_arm_cq
LBB0_35:                                ##   in Loop: Header=BB0_29 Depth=2
	cmpl	$0, (%rbx)
	jle	LBB0_28
## %bb.36:                              ##   in Loop: Header=BB0_29 Depth=2
	movq	8(%rbx), %rax
	movq	_STAMP_STRIDE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_37:                                ##   Parent Loop BB0_26 Depth=1
                                        ##     Parent Loop BB0_29 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movslq	%edx, %rdx
	movl	$-1, (%rax,%rdx)
	addl	%ecx, %edx
	cmpl	(%rbx), %edx
	jl	LBB0_37
	jmp	LBB0_28
LBB0_38:                                ##   in Loop: Header=BB0_26 Depth=1
	movq	_MLX4_EN_NUM_TX_TYPES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-160(%rbp), %rsi                ## 8-byte Reload
	movq	_TX@GOTPCREL(%rip), %rdi
LBB0_39:                                ##   in Loop: Header=BB0_26 Depth=1
	incq	%r13
	movslq	%eax, %rcx
	cmpq	%rcx, %r13
	jl	LBB0_26
## %bb.40:
	movq	%r13, -120(%rbp)                ## 8-byte Spill
	jmp	LBB0_42
LBB0_41:
	xorl	%eax, %eax
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	movl	%ebx, %r14d
LBB0_42:
	movq	-128(%rbp), %rax                ## 8-byte Reload
	movq	(%rax), %rdi
	movq	_ETH_FCS_LEN@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	addq	112(%r15), %rdx
	movq	16(%r15), %rsi
	movq	104(%r15), %rax
	movl	12(%rax), %ecx
	movl	8(%rax), %r8d
	movl	(%rax), %ebx
	movl	4(%rax), %r9d
	movl	%ebx, (%rsp)
	callq	_mlx4_SET_PORT_general
	testl	%eax, %eax
	je	LBB0_68
## %bb.43:
	movl	%eax, %r13d
	movq	16(%r15), %rdx
	leaq	L_.str.12(%rip), %rsi
	movq	%r15, %rdi
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_en_err
	jmp	LBB0_49
LBB0_44:
	movl	%eax, %r13d
	leaq	L_.str.9(%rip), %rsi
LBB0_45:
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_en_err
	jmp	LBB0_49
LBB0_46:
	movl	%eax, %r13d
	leaq	L_.str.5(%rip), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_en_err
	movq	%r15, %rdi
	movq	%rbx, %rsi
	jmp	LBB0_48
LBB0_47:
	movl	%eax, %r13d
	leaq	L_.str.11(%rip), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_en_err
	movq	%r15, %rdi
	movq	-152(%rbp), %rsi                ## 8-byte Reload
LBB0_48:
	callq	_mlx4_en_deactivate_cq
LBB0_49:
	movq	-120(%rbp), %rbx                ## 8-byte Reload
LBB0_50:
	movq	_MLX4_EN_NUM_TX_TYPES@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jne	LBB0_52
## %bb.51:
	movq	32(%r15), %rax
	movslq	%ebx, %rcx
	decl	%ebx
	movl	-4(%rax,%rcx,4), %r14d
LBB0_52:
	testl	%ebx, %ebx
	js	LBB0_58
## %bb.53:
	movl	%ebx, %r12d
	testl	%r14d, %r14d
	jne	LBB0_54
	jmp	LBB0_56
LBB0_57:                                ##   in Loop: Header=BB0_56 Depth=1
	movq	32(%r15), %rax
	movl	(%rax,%r12,4), %r14d
	testl	%r14d, %r14d
	je	LBB0_56
LBB0_54:
	movslq	%r14d, %rbx
	decq	%rbx
	.p2align	4, 0x90
LBB0_55:                                ## =>This Inner Loop Header: Depth=1
	movq	72(%r15), %rax
	movq	(%rax,%r12,8), %rax
	movq	(%rax,%rbx,8), %rsi
	movq	%r15, %rdi
	callq	_mlx4_en_deactivate_tx_ring
	movq	64(%r15), %rax
	movq	(%rax,%r12,8), %rax
	movq	(%rax,%rbx,8), %rsi
	movq	%r15, %rdi
	callq	_mlx4_en_deactivate_cq
	decq	%rbx
	decl	%r14d
	jne	LBB0_55
LBB0_56:                                ## =>This Inner Loop Header: Depth=1
	subq	$1, %r12
	jae	LBB0_57
LBB0_58:
	movq	%r15, %rdi
	callq	_mlx4_en_destroy_drop_qp
	movq	-136(%rbp), %rbx                ## 8-byte Reload
LBB0_59:
	movq	%r15, %rdi
	callq	_mlx4_en_release_rss_steer
LBB0_60:
	movq	%r15, %rdi
	callq	_mlx4_en_put_qp
	testl	%ebx, %ebx
	je	LBB0_63
LBB0_61:
	movl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_62:                                ## =>This Inner Loop Header: Depth=1
	movq	56(%r15), %rax
	movq	-8(%rax,%rbx,8), %rsi
	decq	%rbx
	movq	%r15, %rdi
	callq	_mlx4_en_deactivate_cq
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_mlx4_en_free_affinity_hint
	testq	%rbx, %rbx
	jne	LBB0_62
LBB0_63:
	cmpl	$0, 4(%r15)
	jle	LBB0_66
## %bb.64:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_65:                                ## =>This Inner Loop Header: Depth=1
	movq	48(%r15), %rax
	movq	(%rax,%rbx,8), %rsi
	movq	%r15, %rdi
	callq	_mlx4_en_deactivate_rx_ring
	incq	%rbx
	movslq	4(%r15), %rax
	cmpq	%rax, %rbx
	jl	LBB0_65
LBB0_66:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_88
## %bb.67:
	movl	%r13d, %eax
	addq	$136, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_68:
	movq	-128(%rbp), %rax                ## 8-byte Reload
	movq	(%rax), %rdi
	movq	16(%r15), %rsi
	movl	(%r12), %edx
	callq	_mlx4_SET_PORT_user_mtu
	testl	%eax, %eax
	movq	-120(%rbp), %rbx                ## 8-byte Reload
	je	LBB0_70
## %bb.69:
	movl	%eax, %r13d
	movl	(%r12), %edx
	movq	16(%r15), %rcx
	leaq	L_.str.13(%rip), %rsi
	movq	%r15, %rdi
	movl	%eax, %r8d
	xorl	%eax, %eax
	callq	_en_err
	jmp	LBB0_50
LBB0_70:
	movq	-128(%rbp), %rax                ## 8-byte Reload
	movq	(%rax), %rdi
	movq	16(%r15), %rsi
	movl	100(%r15), %edx
	xorl	%ecx, %ecx
	callq	_mlx4_SET_PORT_qpn_calc
	testl	%eax, %eax
	je	LBB0_72
## %bb.71:
	movl	%eax, %r13d
	leaq	L_.str.14(%rip), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_en_err
	jmp	LBB0_50
LBB0_72:
	movq	-128(%rbp), %rax                ## 8-byte Reload
	movq	(%rax), %rdi
	movq	(%rdi), %rax
	movq	_MLX4_TUNNEL_OFFLOAD_MODE_VXLAN@GOTPCREL(%rip), %rbx
	cmpq	(%rbx), %rax
	jne	LBB0_75
## %bb.73:
	movq	16(%r15), %rsi
	movq	_VXLAN_STEER_BY_OUTER_MAC@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$1, %ecx
	callq	_mlx4_SET_PORT_VXLAN
	testl	%eax, %eax
	je	LBB0_75
## %bb.74:
	movl	%eax, %r13d
	leaq	L_.str.15(%rip), %rsi
	movq	%r15, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_en_err
	jmp	LBB0_49
LBB0_75:
	movq	_HW@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.16(%rip), %rdx
	movq	%r15, %rsi
	xorl	%eax, %eax
	callq	_en_dbg
	movq	-128(%rbp), %rax                ## 8-byte Reload
	movq	(%rax), %rdi
	movq	16(%r15), %rsi
	callq	_mlx4_INIT_PORT
	testl	%eax, %eax
	je	LBB0_77
## %bb.76:
	movl	%eax, %r13d
	leaq	L_.str.17(%rip), %rsi
	jmp	LBB0_45
LBB0_77:
	movq	-128(%rbp), %rax                ## 8-byte Reload
	movq	(%rax), %rax
	movq	8(%rax), %rax
	movq	_MLX4_STEERING_MODE_A0@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_80
## %bb.78:
	movq	%r15, %rdi
	callq	_mlx4_en_set_rss_steer_rules
	testq	%rax, %rax
	je	LBB0_80
## %bb.79:
	leaq	L_.str.18(%rip), %rsi
	movq	-128(%rbp), %rdi                ## 8-byte Reload
	callq	_mlx4_warn
LBB0_80:
	leaq	-72(%rbp), %rdi
	callq	_eth_broadcast_addr
	movl	16(%r15), %ecx
	movl	%ecx, -92(%rbp)
	movq	-128(%rbp), %rax                ## 8-byte Reload
	movq	(%rax), %rdi
	movl	96(%r15), %esi
	movq	_MLX4_PROT_ETH@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	leaq	92(%r15), %rax
	movq	%rax, (%rsp)
	leaq	-112(%rbp), %rdx
	xorl	%r8d, %r8d
	callq	_mlx4_multicast_attach
	testq	%rax, %rax
	je	LBB0_82
## %bb.81:
	leaq	L_.str.19(%rip), %rsi
	movq	-128(%rbp), %rdi                ## 8-byte Reload
	callq	_mlx4_warn
LBB0_82:
	movq	_MLX4_EN_FLAG_PROMISC@GOTPCREL(%rip), %rax
	movq	_MLX4_EN_FLAG_MC_PROMISC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	notl	%ecx
	andl	%ecx, 40(%r15)
	movq	-128(%rbp), %rax                ## 8-byte Reload
	movl	8(%rax), %edi
	movq	%r15, %rsi
	addq	$88, %rsi
	callq	_queue_work
	movq	80(%r15), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	cmpq	(%rbx), %rax
	jne	LBB0_84
## %bb.83:
	movq	%r12, %rdi
	callq	_udp_tunnel_get_rx_info
LBB0_84:
	movl	$1, (%r15)
	cmpl	$0, 4(%r15)
	jle	LBB0_87
## %bb.85:
	xorl	%ebx, %ebx
LBB0_86:                                ## =>This Inner Loop Header: Depth=1
	xorl	%eax, %eax
	callq	_local_bh_disable
	movq	56(%r15), %rax
	movq	(%rax,%rbx,8), %rdi
	addq	$4, %rdi
	callq	_napi_schedule
	xorl	%eax, %eax
	callq	_local_bh_enable
	incq	%rbx
	movslq	4(%r15), %rax
	cmpq	%rax, %rbx
	jl	LBB0_86
LBB0_87:
	movq	%r12, %rdi
	callq	_netif_tx_start_all_queues
	movq	%r12, %rdi
	callq	_netif_device_attach
	xorl	%r13d, %r13d
	jmp	LBB0_66
LBB0_88:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_DRV,4,2                        ## @DRV
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"start port called while port already up\n"

	.comm	_MAX_NUM_OF_FS_RULES,4,2        ## @MAX_NUM_OF_FS_RULES
L_.str.1:                               ## @.str.1
	.asciz	"Rx buf size:%d\n"

L_.str.2:                               ## @.str.2
	.asciz	"Failed to activate RX rings\n"

L_.str.3:                               ## @.str.3
	.asciz	"Failed preparing IRQ affinity hint\n"

L_.str.4:                               ## @.str.4
	.asciz	"Failed activating Rx CQ\n"

	.comm	_MLX4_CQE_OWNER_MASK,4,2        ## @MLX4_CQE_OWNER_MASK
L_.str.5:                               ## @.str.5
	.asciz	"Failed setting cq moderation parameters\n"

L_.str.6:                               ## @.str.6
	.asciz	"Getting qp number for port %d\n"

L_.str.7:                               ## @.str.7
	.asciz	"Failed getting eth qp\n"

L_.str.8:                               ## @.str.8
	.asciz	"Failed configuring rss steering\n"

	.comm	_MLX4_EN_NUM_TX_TYPES,4,2       ## @MLX4_EN_NUM_TX_TYPES
	.comm	_TX,4,2                         ## @TX
L_.str.9:                               ## @.str.9
	.asciz	"Failed allocating Tx CQ\n"

L_.str.10:                              ## @.str.10
	.asciz	"Resetting index of collapsed CQ:%d to -1\n"

L_.str.11:                              ## @.str.11
	.asciz	"Failed allocating Tx ring\n"

	.comm	_TX_XDP,4,2                     ## @TX_XDP
	.comm	_STAMP_STRIDE,8,3               ## @STAMP_STRIDE
	.comm	_ETH_FCS_LEN,8,3                ## @ETH_FCS_LEN
L_.str.12:                              ## @.str.12
	.asciz	"Failed setting port general configurations for port %d, with error %d\n"

L_.str.13:                              ## @.str.13
	.asciz	"Failed to pass user MTU(%d) to Firmware for port %d, with error %d\n"

L_.str.14:                              ## @.str.14
	.asciz	"Failed setting default qp numbers\n"

	.comm	_MLX4_TUNNEL_OFFLOAD_MODE_VXLAN,8,3 ## @MLX4_TUNNEL_OFFLOAD_MODE_VXLAN
	.comm	_VXLAN_STEER_BY_OUTER_MAC,4,2   ## @VXLAN_STEER_BY_OUTER_MAC
L_.str.15:                              ## @.str.15
	.asciz	"Failed setting port L2 tunnel configuration, err %d\n"

	.comm	_HW,4,2                         ## @HW
L_.str.16:                              ## @.str.16
	.asciz	"Initializing port\n"

L_.str.17:                              ## @.str.17
	.asciz	"Failed Initializing port\n"

	.comm	_MLX4_STEERING_MODE_A0,8,3      ## @MLX4_STEERING_MODE_A0
L_.str.18:                              ## @.str.18
	.asciz	"Failed setting steering rules\n"

	.comm	_MLX4_PROT_ETH,4,2              ## @MLX4_PROT_ETH
L_.str.19:                              ## @.str.19
	.asciz	"Failed Attaching Broadcast\n"

	.comm	_MLX4_EN_FLAG_PROMISC,4,2       ## @MLX4_EN_FLAG_PROMISC
	.comm	_MLX4_EN_FLAG_MC_PROMISC,4,2    ## @MLX4_EN_FLAG_MC_PROMISC
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx4_en_start_port             ; -- Begin function mlx4_en_start_port
	.p2align	2
_mlx4_en_start_port:                    ; @mlx4_en_start_port
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #224
	.cfi_def_cfa_offset 224
	stp	x28, x27, [sp, #128]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #144]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #160]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #176]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #192]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #208]            ; 16-byte Folded Spill
	add	x29, sp, #208
	.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
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	bl	_netdev_priv
	mov	x19, x0
	ldr	x22, [x0, #80]
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [sp, #80]
	stp	q0, q0, [sp, #48]
	ldr	w8, [x0]
Lloh3:
	adrp	x25, _DRV@GOTPAGE
Lloh4:
	ldr	x25, [x25, _DRV@GOTPAGEOFF]
	cbz	w8, LBB0_2
; %bb.1:
	ldr	w0, [x25]
Lloh5:
	adrp	x2, l_.str@PAGE
Lloh6:
	add	x2, x2, l_.str@PAGEOFF
	mov	x1, x19
	bl	_en_dbg
	mov	w23, #0
	b	LBB0_67
LBB0_2:
	add	x0, x19, #152
	bl	_INIT_LIST_HEAD
	add	x0, x19, #148
	bl	_INIT_LIST_HEAD
	add	x0, x19, #144
	bl	_INIT_LIST_HEAD
	ldr	x0, [x19, #136]
Lloh7:
	adrp	x8, _MAX_NUM_OF_FS_RULES@GOTPAGE
Lloh8:
	ldr	x8, [x8, _MAX_NUM_OF_FS_RULES@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	lsl	w2, w8, #2
	mov	w1, #0
	bl	_memset
	ldr	w0, [x21]
	ldr	w1, [x19, #128]
	bl	_min
	str	w0, [x21]
	mov	x0, x21
	bl	_mlx4_en_calc_rx_buf
	ldr	w0, [x25]
	ldr	x8, [x19, #112]
	str	x8, [sp]
Lloh10:
	adrp	x2, l_.str.1@PAGE
Lloh11:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x1, x19
	bl	_en_dbg
	mov	x0, x19
	bl	_mlx4_en_activate_rx_rings
	cbz	w0, LBB0_4
; %bb.3:
	mov	x23, x0
Lloh12:
	adrp	x1, l_.str.2@PAGE
Lloh13:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_en_err
	b	LBB0_67
LBB0_4:
	ldr	w8, [x19, #4]
	cmp	w8, #1
	b.lt	LBB0_13
; %bb.5:
	mov	x20, #0
Lloh14:
	adrp	x26, _MLX4_CQE_OWNER_MASK@GOTPAGE
Lloh15:
	ldr	x26, [x26, _MLX4_CQE_OWNER_MASK@GOTPAGEOFF]
LBB0_6:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_10 Depth 2
	ldr	x8, [x19, #56]
	ldr	x24, [x8, x20, lsl #3]
	mov	x0, x19
	mov	x1, x20
	bl	_mlx4_en_init_affinity_hint
	cbnz	w0, LBB0_18
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x19
	mov	x1, x24
	mov	x2, x20
	bl	_mlx4_en_activate_cq
	cbnz	w0, LBB0_20
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x24]
	cmp	w8, #1
	b.lt	LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	w23, #0
LBB0_10:                                ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x0, [x24, #16]
	ldr	w2, [x19, #124]
	mov	x1, x23
	bl	_mlx4_en_get_cqe
	ldrsw	x8, [x19, #8]
	ldr	w9, [x26]
	str	w9, [x0, x8, lsl #2]
	add	w23, w23, #1
	ldr	w8, [x24]
	cmp	w23, w8
	b.lt	LBB0_10
LBB0_11:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x19
	mov	x1, x24
	bl	_mlx4_en_set_cq_moder
	cbnz	w0, LBB0_21
; %bb.12:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x19
	mov	x1, x24
	bl	_mlx4_en_arm_cq
	ldr	w8, [x24, #8]
	ldr	x9, [x19, #48]
	ldr	x9, [x9, x20, lsl #3]
	str	w8, [x9]
	add	x20, x20, #1
	ldrsw	x8, [x19, #4]
	cmp	x20, x8
	b.lt	LBB0_6
	b	LBB0_14
LBB0_13:
	mov	w20, #0
LBB0_14:
	ldr	w0, [x25]
	ldr	x8, [x19, #16]
	str	x8, [sp]
Lloh16:
	adrp	x2, l_.str.6@PAGE
Lloh17:
	add	x2, x2, l_.str.6@PAGEOFF
	mov	x1, x19
	bl	_en_dbg
	mov	x0, x19
	bl	_mlx4_en_get_qp
	cbz	w0, LBB0_16
; %bb.15:
	mov	x23, x0
Lloh18:
	adrp	x1, l_.str.7@PAGE
Lloh19:
	add	x1, x1, l_.str.7@PAGEOFF
	b	LBB0_19
LBB0_16:
	ldr	x8, [x22, #16]
	ldr	x9, [x19, #16]
	str	xzr, [x8, x9, lsl #3]
	ldr	x0, [x22]
	ldr	x1, [x19, #16]
	bl	_mlx4_get_default_counter_index
	str	w0, [x19, #120]
	mov	x0, x19
	bl	_mlx4_en_config_rss_steer
	cbz	w0, LBB0_23
; %bb.17:
	mov	x23, x0
Lloh20:
	adrp	x1, l_.str.8@PAGE
Lloh21:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x19
	bl	_en_err
	b	LBB0_61
LBB0_18:
	mov	x23, x0
Lloh22:
	adrp	x1, l_.str.3@PAGE
Lloh23:
	add	x1, x1, l_.str.3@PAGEOFF
LBB0_19:
	mov	x0, x19
	bl	_en_err
	cbnz	w20, LBB0_62
	b	LBB0_64
LBB0_20:
	mov	x23, x0
Lloh24:
	adrp	x1, l_.str.4@PAGE
Lloh25:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_en_err
	b	LBB0_22
LBB0_21:
	mov	x23, x0
Lloh26:
	adrp	x1, l_.str.5@PAGE
Lloh27:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x19
	bl	_en_err
	mov	x0, x19
	mov	x1, x24
	bl	_mlx4_en_deactivate_cq
LBB0_22:
	mov	x0, x19
	mov	x1, x20
	bl	_mlx4_en_free_affinity_hint
	cbnz	w20, LBB0_62
	b	LBB0_64
LBB0_23:
	mov	x0, x19
	bl	_mlx4_en_create_drop_qp
	mov	x23, x0
	cbnz	w0, LBB0_60
; %bb.24:
Lloh28:
	adrp	x24, _MLX4_EN_NUM_TX_TYPES@GOTPAGE
Lloh29:
	ldr	x24, [x24, _MLX4_EN_NUM_TX_TYPES@GOTPAGEOFF]
	ldr	w8, [x24]
	cmp	w8, #1
	b.lt	LBB0_42
; %bb.25:
	mov	x27, #0
Lloh30:
	adrp	x11, _TX@GOTPAGE
Lloh31:
	ldr	x11, [x11, _TX@GOTPAGEOFF]
	add	x12, x19, #24
	mov	w28, #-1
	str	x12, [sp, #24]                  ; 8-byte Folded Spill
LBB0_26:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_29 Depth 2
                                        ;       Child Loop BB0_37 Depth 3
	ldr	w9, [x11]
	ldr	x10, [x19, #32]
	add	x10, x10, x27, lsl #2
	cmp	x27, x9
	csel	x9, x12, x10, eq
	ldr	w10, [x10]
	cmp	w10, #1
	b.lt	LBB0_38
; %bb.27:                               ;   in Loop: Header=BB0_26 Depth=1
	mov	x24, #0
	ldr	w8, [x9]
	str	w8, [sp, #36]                   ; 4-byte Folded Spill
	b	LBB0_29
LBB0_28:                                ;   in Loop: Header=BB0_29 Depth=2
	add	x24, x24, #1
	ldr	x8, [x19, #32]
	mov	x27, x23
	ldrsw	x8, [x8, x23, lsl #2]
	cmp	x24, x8
	b.ge	LBB0_39
LBB0_29:                                ;   Parent Loop BB0_26 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_37 Depth 3
	ldr	x8, [x19, #64]
	ldr	x8, [x8, x27, lsl #3]
	ldr	x26, [x8, x24, lsl #3]
	mov	x0, x19
	mov	x1, x26
	mov	x2, x24
	bl	_mlx4_en_activate_cq
	str	x24, [sp, #40]                  ; 8-byte Folded Spill
	cbnz	w0, LBB0_46
; %bb.30:                               ;   in Loop: Header=BB0_29 Depth=2
	mov	x0, x19
	mov	x1, x26
	bl	_mlx4_en_set_cq_moder
	cbnz	w0, LBB0_47
; %bb.31:                               ;   in Loop: Header=BB0_29 Depth=2
	ldr	w0, [x25]
	mov	x8, x24
	str	x8, [sp]
	mov	x1, x19
Lloh32:
	adrp	x2, l_.str.10@PAGE
Lloh33:
	add	x2, x2, l_.str.10@PAGEOFF
	bl	_en_dbg
	mov	w0, #65535
	bl	_cpu_to_be16
	ldr	x8, [x26, #16]
	str	w0, [x8]
	ldr	x8, [x19, #72]
	ldr	x8, [x8, x27, lsl #3]
	mov	x9, x24
	mov	x24, x27
	ldr	x27, [x8, x9, lsl #3]
	ldr	w2, [x26, #8]
	ldr	w8, [sp, #36]                   ; 4-byte Folded Reload
	sdiv	w3, w9, w8
	mov	x0, x19
	mov	x1, x27
	bl	_mlx4_en_activate_tx_ring
	cbnz	w0, LBB0_48
; %bb.32:                               ;   in Loop: Header=BB0_29 Depth=2
Lloh34:
	adrp	x8, _TX_XDP@GOTPAGE
Lloh35:
	ldr	x8, [x8, _TX_XDP@GOTPAGEOFF]
Lloh36:
	ldr	w8, [x8]
	mov	x23, x24
	cmp	x24, x8
	b.ne	LBB0_34
; %bb.33:                               ;   in Loop: Header=BB0_29 Depth=2
	mov	x0, x19
	mov	x1, x27
	bl	_mlx4_en_init_tx_xdp_ring_descs
	mov	x0, x19
	ldr	x24, [sp, #40]                  ; 8-byte Folded Reload
	mov	x1, x24
	bl	_mlx4_en_init_recycle_ring
	b	LBB0_35
LBB0_34:                                ;   in Loop: Header=BB0_29 Depth=2
	mov	x0, x21
	ldr	x24, [sp, #40]                  ; 8-byte Folded Reload
	mov	x1, x24
	bl	_netdev_get_tx_queue
	str	w0, [x27, #24]
	str	xzr, [x27, #16]
	mov	x0, x19
	mov	x1, x26
	bl	_mlx4_en_arm_cq
LBB0_35:                                ;   in Loop: Header=BB0_29 Depth=2
	ldr	w8, [x27]
	cmp	w8, #1
	b.lt	LBB0_28
; %bb.36:                               ;   in Loop: Header=BB0_29 Depth=2
	mov	w8, #0
	ldr	x9, [x27, #8]
Lloh37:
	adrp	x10, _STAMP_STRIDE@GOTPAGE
Lloh38:
	ldr	x10, [x10, _STAMP_STRIDE@GOTPAGEOFF]
Lloh39:
	ldr	w10, [x10]
LBB0_37:                                ;   Parent Loop BB0_26 Depth=1
                                        ;     Parent Loop BB0_29 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	str	w28, [x9, w8, sxtw]
	ldr	w11, [x27]
	add	w8, w8, w10
	cmp	w8, w11
	b.lt	LBB0_37
	b	LBB0_28
LBB0_38:                                ;   in Loop: Header=BB0_26 Depth=1
	mov	w24, #0
	b	LBB0_40
LBB0_39:                                ;   in Loop: Header=BB0_26 Depth=1
Lloh40:
	adrp	x8, _MLX4_EN_NUM_TX_TYPES@GOTPAGE
Lloh41:
	ldr	x8, [x8, _MLX4_EN_NUM_TX_TYPES@GOTPAGEOFF]
Lloh42:
	ldr	w8, [x8]
Lloh43:
	adrp	x11, _TX@GOTPAGE
Lloh44:
	ldr	x11, [x11, _TX@GOTPAGEOFF]
	ldr	x12, [sp, #24]                  ; 8-byte Folded Reload
LBB0_40:                                ;   in Loop: Header=BB0_26 Depth=1
	add	x27, x27, #1
	cmp	x27, w8, sxtw
	b.lt	LBB0_26
; %bb.41:
	str	x24, [sp, #40]                  ; 8-byte Folded Spill
Lloh45:
	adrp	x24, _MLX4_EN_NUM_TX_TYPES@GOTPAGE
Lloh46:
	ldr	x24, [x24, _MLX4_EN_NUM_TX_TYPES@GOTPAGEOFF]
	b	LBB0_43
LBB0_42:
	mov	w27, #0
	mov	x8, x20
	str	x8, [sp, #40]                   ; 8-byte Folded Spill
LBB0_43:
	ldr	x0, [x22]
	ldr	x1, [x19, #16]
Lloh47:
	adrp	x8, _ETH_FCS_LEN@GOTPAGE
Lloh48:
	ldr	x8, [x8, _ETH_FCS_LEN@GOTPAGEOFF]
Lloh49:
	ldr	x8, [x8]
	ldp	x10, x9, [x19, #104]
	add	x2, x8, x9
	ldp	w4, w3, [x10, #8]
	ldp	w6, w5, [x10]
	bl	_mlx4_SET_PORT_general
	cbz	w0, LBB0_69
; %bb.44:
	mov	x23, x0
	ldr	x8, [x19, #16]
	stp	x8, x23, [sp]
Lloh50:
	adrp	x1, l_.str.12@PAGE
Lloh51:
	add	x1, x1, l_.str.12@PAGEOFF
LBB0_45:
	mov	x0, x19
	bl	_en_err
	b	LBB0_50
LBB0_46:
	mov	x23, x0
Lloh52:
	adrp	x1, l_.str.9@PAGE
Lloh53:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	x0, x19
	bl	_en_err
	b	LBB0_49
LBB0_47:
	mov	x23, x0
Lloh54:
	adrp	x1, l_.str.5@PAGE
Lloh55:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x19
	bl	_en_err
	mov	x0, x19
	mov	x1, x26
	bl	_mlx4_en_deactivate_cq
	b	LBB0_49
LBB0_48:
	mov	x23, x0
Lloh56:
	adrp	x1, l_.str.11@PAGE
Lloh57:
	add	x1, x1, l_.str.11@PAGEOFF
	mov	x0, x19
	bl	_en_err
	mov	x0, x19
	mov	x1, x26
	bl	_mlx4_en_deactivate_cq
	mov	x27, x24
LBB0_49:
Lloh58:
	adrp	x24, _MLX4_EN_NUM_TX_TYPES@GOTPAGE
Lloh59:
	ldr	x24, [x24, _MLX4_EN_NUM_TX_TYPES@GOTPAGEOFF]
LBB0_50:
	ldr	w8, [x24]
	cmp	w27, w8
	b.ne	LBB0_52
; %bb.51:
	sub	w27, w27, #1
	ldr	x8, [x19, #32]
	ldr	w24, [x8, w27, sxtw #2]
	b	LBB0_53
LBB0_52:
	ldr	x24, [sp, #40]                  ; 8-byte Folded Reload
                                        ; kill: def $w24 killed $w24 killed $x24 def $x24
LBB0_53:
	tbnz	w27, #31, LBB0_59
; %bb.54:
	mov	w21, w27
	cbz	w24, LBB0_57
LBB0_55:
	sbfiz	x8, x24, #3, #32
	sub	x22, x8, #8
LBB0_56:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #72]
	lsl	x25, x21, #3
	ldr	x8, [x8, x25]
	ldr	x1, [x8, x22]
	mov	x0, x19
	bl	_mlx4_en_deactivate_tx_ring
	ldr	x8, [x19, #64]
	ldr	x8, [x8, x25]
	ldr	x1, [x8, x22]
	mov	x0, x19
	bl	_mlx4_en_deactivate_cq
	sub	x22, x22, #8
	sub	w24, w24, #1
	cbnz	w24, LBB0_56
LBB0_57:                                ; =>This Inner Loop Header: Depth=1
	cbz	x21, LBB0_59
; %bb.58:                               ;   in Loop: Header=BB0_57 Depth=1
	sub	x21, x21, #1
	ldr	x8, [x19, #32]
	ldr	w24, [x8, x21, lsl #2]
	cbnz	w24, LBB0_55
	b	LBB0_57
LBB0_59:
	mov	x0, x19
	bl	_mlx4_en_destroy_drop_qp
LBB0_60:
	mov	x0, x19
	bl	_mlx4_en_release_rss_steer
LBB0_61:
	mov	x0, x19
	bl	_mlx4_en_put_qp
	cbz	w20, LBB0_64
LBB0_62:
	mov	w8, w20
LBB0_63:                                ; =>This Inner Loop Header: Depth=1
	sub	x20, x8, #1
	ldr	x9, [x19, #56]
	add	x8, x9, x8, lsl #3
	ldur	x1, [x8, #-8]
	mov	x0, x19
	bl	_mlx4_en_deactivate_cq
	mov	x0, x19
	mov	x1, x20
	bl	_mlx4_en_free_affinity_hint
	mov	x8, x20
	cbnz	x20, LBB0_63
LBB0_64:
	ldr	w8, [x19, #4]
	cmp	w8, #1
	b.lt	LBB0_67
; %bb.65:
	mov	x20, #0
LBB0_66:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #48]
	ldr	x1, [x8, x20, lsl #3]
	mov	x0, x19
	bl	_mlx4_en_deactivate_rx_ring
	add	x20, x20, #1
	ldrsw	x8, [x19, #4]
	cmp	x20, x8
	b.lt	LBB0_66
LBB0_67:
	ldur	x8, [x29, #-88]
Lloh60:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh61:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh62:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_90
; %bb.68:
	mov	x0, x23
	ldp	x29, x30, [sp, #208]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #192]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #176]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #160]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #144]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #128]            ; 16-byte Folded Reload
	add	sp, sp, #224
	ret
LBB0_69:
	ldr	x0, [x22]
	ldr	x1, [x19, #16]
	ldr	w2, [x21]
	bl	_mlx4_SET_PORT_user_mtu
	cbz	w0, LBB0_72
; %bb.70:
	mov	x23, x0
	ldr	x8, [x19, #16]
	ldr	w9, [x21]
	stp	x8, x23, [sp, #8]
	str	x9, [sp]
Lloh63:
	adrp	x1, l_.str.13@PAGE
Lloh64:
	add	x1, x1, l_.str.13@PAGEOFF
LBB0_71:
	mov	x0, x19
	bl	_en_err
                                        ; kill: def $w23 killed $w23 killed $x23 def $x23
	b	LBB0_50
LBB0_72:
	ldr	x0, [x22]
	ldr	x1, [x19, #16]
	ldr	w2, [x19, #100]
	mov	w3, #0
	bl	_mlx4_SET_PORT_qpn_calc
	cbz	w0, LBB0_74
; %bb.73:
	mov	x23, x0
Lloh65:
	adrp	x1, l_.str.14@PAGE
Lloh66:
	add	x1, x1, l_.str.14@PAGEOFF
	b	LBB0_45
LBB0_74:
	ldr	x0, [x22]
	ldr	x8, [x0]
Lloh67:
	adrp	x25, _MLX4_TUNNEL_OFFLOAD_MODE_VXLAN@GOTPAGE
Lloh68:
	ldr	x25, [x25, _MLX4_TUNNEL_OFFLOAD_MODE_VXLAN@GOTPAGEOFF]
	ldr	x9, [x25]
	cmp	x8, x9
	b.ne	LBB0_77
; %bb.75:
	ldr	x1, [x19, #16]
Lloh69:
	adrp	x8, _VXLAN_STEER_BY_OUTER_MAC@GOTPAGE
Lloh70:
	ldr	x8, [x8, _VXLAN_STEER_BY_OUTER_MAC@GOTPAGEOFF]
Lloh71:
	ldr	w2, [x8]
	mov	w3, #1
	bl	_mlx4_SET_PORT_VXLAN
	cbz	w0, LBB0_77
; %bb.76:
	mov	x23, x0
	str	x23, [sp]
Lloh72:
	adrp	x1, l_.str.15@PAGE
Lloh73:
	add	x1, x1, l_.str.15@PAGEOFF
	b	LBB0_71
LBB0_77:
Lloh74:
	adrp	x8, _HW@GOTPAGE
Lloh75:
	ldr	x8, [x8, _HW@GOTPAGEOFF]
Lloh76:
	ldr	w0, [x8]
Lloh77:
	adrp	x2, l_.str.16@PAGE
Lloh78:
	add	x2, x2, l_.str.16@PAGEOFF
	mov	x1, x19
	bl	_en_dbg
	ldr	x0, [x22]
	ldr	x1, [x19, #16]
	bl	_mlx4_INIT_PORT
	cbz	w0, LBB0_79
; %bb.78:
	mov	x23, x0
Lloh79:
	adrp	x1, l_.str.17@PAGE
Lloh80:
	add	x1, x1, l_.str.17@PAGEOFF
	b	LBB0_45
LBB0_79:
	ldr	x8, [x22]
	ldr	x8, [x8, #8]
Lloh81:
	adrp	x9, _MLX4_STEERING_MODE_A0@GOTPAGE
Lloh82:
	ldr	x9, [x9, _MLX4_STEERING_MODE_A0@GOTPAGEOFF]
Lloh83:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_82
; %bb.80:
	mov	x0, x19
	bl	_mlx4_en_set_rss_steer_rules
	cbz	x0, LBB0_82
; %bb.81:
Lloh84:
	adrp	x1, l_.str.18@PAGE
Lloh85:
	add	x1, x1, l_.str.18@PAGEOFF
	mov	x0, x22
	bl	_mlx4_warn
LBB0_82:
	add	x8, sp, #48
	add	x0, x8, #40
	bl	_eth_broadcast_addr
	ldr	w3, [x19, #16]
	str	w3, [sp, #68]
	ldr	x0, [x22]
	ldr	w1, [x19, #96]
Lloh86:
	adrp	x8, _MLX4_PROT_ETH@GOTPAGE
Lloh87:
	ldr	x8, [x8, _MLX4_PROT_ETH@GOTPAGEOFF]
Lloh88:
	ldr	w5, [x8]
	add	x6, x19, #92
	add	x2, sp, #48
	mov	w4, #0
	bl	_mlx4_multicast_attach
	cbz	x0, LBB0_84
; %bb.83:
Lloh89:
	adrp	x1, l_.str.19@PAGE
Lloh90:
	add	x1, x1, l_.str.19@PAGEOFF
	mov	x0, x22
	bl	_mlx4_warn
LBB0_84:
Lloh91:
	adrp	x8, _MLX4_EN_FLAG_PROMISC@GOTPAGE
Lloh92:
	ldr	x8, [x8, _MLX4_EN_FLAG_PROMISC@GOTPAGEOFF]
Lloh93:
	ldr	w8, [x8]
Lloh94:
	adrp	x9, _MLX4_EN_FLAG_MC_PROMISC@GOTPAGE
Lloh95:
	ldr	x9, [x9, _MLX4_EN_FLAG_MC_PROMISC@GOTPAGEOFF]
Lloh96:
	ldr	w9, [x9]
	orr	w8, w9, w8
	ldr	w9, [x19, #40]
	bic	w8, w9, w8
	str	w8, [x19, #40]
	ldr	w0, [x22, #8]
	add	x1, x19, #88
	bl	_queue_work
	ldr	x8, [x19, #80]
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldr	x9, [x25]
	cmp	x8, x9
	b.ne	LBB0_86
; %bb.85:
	mov	x0, x21
	bl	_udp_tunnel_get_rx_info
LBB0_86:
	mov	w8, #1
	str	w8, [x19]
	ldr	w8, [x19, #4]
	cmp	w8, #1
	b.lt	LBB0_89
; %bb.87:
	mov	x20, #0
LBB0_88:                                ; =>This Inner Loop Header: Depth=1
	bl	_local_bh_disable
	ldr	x8, [x19, #56]
	ldr	x8, [x8, x20, lsl #3]
	add	x0, x8, #4
	bl	_napi_schedule
	bl	_local_bh_enable
	add	x20, x20, #1
	ldrsw	x8, [x19, #4]
	cmp	x20, x8
	b.lt	LBB0_88
LBB0_89:
	mov	x0, x21
	bl	_netif_tx_start_all_queues
	mov	x0, x21
	bl	_netif_device_attach
	mov	w23, #0
	b	LBB0_67
LBB0_90:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGot	Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpAdd	Lloh52, Lloh53
	.loh AdrpAdd	Lloh54, Lloh55
	.loh AdrpAdd	Lloh56, Lloh57
	.loh AdrpLdrGot	Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpAdd	Lloh63, Lloh64
	.loh AdrpAdd	Lloh65, Lloh66
	.loh AdrpLdrGot	Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.loh AdrpAdd	Lloh72, Lloh73
	.loh AdrpAdd	Lloh77, Lloh78
	.loh AdrpLdrGotLdr	Lloh74, Lloh75, Lloh76
	.loh AdrpAdd	Lloh79, Lloh80
	.loh AdrpLdrGotLdr	Lloh81, Lloh82, Lloh83
	.loh AdrpAdd	Lloh84, Lloh85
	.loh AdrpLdrGotLdr	Lloh86, Lloh87, Lloh88
	.loh AdrpAdd	Lloh89, Lloh90
	.loh AdrpLdrGotLdr	Lloh94, Lloh95, Lloh96
	.loh AdrpLdrGotLdr	Lloh91, Lloh92, Lloh93
	.cfi_endproc
                                        ; -- End function
	.comm	_DRV,4,2                        ; @DRV
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"start port called while port already up\n"

	.comm	_MAX_NUM_OF_FS_RULES,4,2        ; @MAX_NUM_OF_FS_RULES
l_.str.1:                               ; @.str.1
	.asciz	"Rx buf size:%d\n"

l_.str.2:                               ; @.str.2
	.asciz	"Failed to activate RX rings\n"

l_.str.3:                               ; @.str.3
	.asciz	"Failed preparing IRQ affinity hint\n"

l_.str.4:                               ; @.str.4
	.asciz	"Failed activating Rx CQ\n"

	.comm	_MLX4_CQE_OWNER_MASK,4,2        ; @MLX4_CQE_OWNER_MASK
l_.str.5:                               ; @.str.5
	.asciz	"Failed setting cq moderation parameters\n"

l_.str.6:                               ; @.str.6
	.asciz	"Getting qp number for port %d\n"

l_.str.7:                               ; @.str.7
	.asciz	"Failed getting eth qp\n"

l_.str.8:                               ; @.str.8
	.asciz	"Failed configuring rss steering\n"

	.comm	_MLX4_EN_NUM_TX_TYPES,4,2       ; @MLX4_EN_NUM_TX_TYPES
	.comm	_TX,4,2                         ; @TX
l_.str.9:                               ; @.str.9
	.asciz	"Failed allocating Tx CQ\n"

l_.str.10:                              ; @.str.10
	.asciz	"Resetting index of collapsed CQ:%d to -1\n"

l_.str.11:                              ; @.str.11
	.asciz	"Failed allocating Tx ring\n"

	.comm	_TX_XDP,4,2                     ; @TX_XDP
	.comm	_STAMP_STRIDE,8,3               ; @STAMP_STRIDE
	.comm	_ETH_FCS_LEN,8,3                ; @ETH_FCS_LEN
l_.str.12:                              ; @.str.12
	.asciz	"Failed setting port general configurations for port %d, with error %d\n"

l_.str.13:                              ; @.str.13
	.asciz	"Failed to pass user MTU(%d) to Firmware for port %d, with error %d\n"

l_.str.14:                              ; @.str.14
	.asciz	"Failed setting default qp numbers\n"

	.comm	_MLX4_TUNNEL_OFFLOAD_MODE_VXLAN,8,3 ; @MLX4_TUNNEL_OFFLOAD_MODE_VXLAN
	.comm	_VXLAN_STEER_BY_OUTER_MAC,4,2   ; @VXLAN_STEER_BY_OUTER_MAC
l_.str.15:                              ; @.str.15
	.asciz	"Failed setting port L2 tunnel configuration, err %d\n"

	.comm	_HW,4,2                         ; @HW
l_.str.16:                              ; @.str.16
	.asciz	"Initializing port\n"

l_.str.17:                              ; @.str.17
	.asciz	"Failed Initializing port\n"

	.comm	_MLX4_STEERING_MODE_A0,8,3      ; @MLX4_STEERING_MODE_A0
l_.str.18:                              ; @.str.18
	.asciz	"Failed setting steering rules\n"

	.comm	_MLX4_PROT_ETH,4,2              ; @MLX4_PROT_ETH
l_.str.19:                              ; @.str.19
	.asciz	"Failed Attaching Broadcast\n"

	.comm	_MLX4_EN_FLAG_PROMISC,4,2       ; @MLX4_EN_FLAG_PROMISC
	.comm	_MLX4_EN_FLAG_MC_PROMISC,4,2    ; @MLX4_EN_FLAG_MC_PROMISC
.subsections_via_symbols
