	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlx5e_nic_enable
_mlx5e_nic_enable:                      ## @mlx5e_nic_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	8(%rdi), %r15
	movq	16(%rdi), %r14
	callq	_mlx5e_init_l2_addr
	movq	%r14, %rdi
	callq	_netif_running
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	movq	_MLX5_PORT_DOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_mlx5_set_port_admin_status
LBB0_2:
	movq	%rbx, %rdi
	callq	_mlx5e_set_netdev_mtu_boundaries
	movq	%rbx, %rdi
	callq	_mlx5e_set_dev_port_mtu
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_mlx5_lag_add
	movq	%rbx, %rdi
	callq	_mlx5e_enable_async_events
	movq	%rbx, %rdi
	callq	_mlx5e_monitor_counter_supported
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	callq	_mlx5e_monitor_counter_init
LBB0_4:
	movq	%rbx, %rdi
	callq	_mlx5e_hv_vhca_stats_create
	movq	(%r14), %rax
	movq	_NETREG_REGISTERED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.5:
	movl	4(%rbx), %edi
	movq	%rbx, %rsi
	callq	_queue_work
	xorl	%eax, %eax
	callq	_rtnl_lock
	movq	%r14, %rdi
	callq	_netif_running
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	%r14, %rdi
	callq	_mlx5e_open
LBB0_7:
	movq	%r14, %rdi
	callq	_netif_device_attach
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rtnl_unlock                    ## TAILCALL
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MLX5_PORT_DOWN,4,2             ## @MLX5_PORT_DOWN
	.comm	_NETREG_REGISTERED,8,3          ## @NETREG_REGISTERED
	.no_dead_strip	_mlx5e_nic_enable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlx5e_nic_enable
_mlx5e_nic_enable:                      ; @mlx5e_nic_enable
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x0
	ldp	x21, x19, [x0, #8]
	bl	_mlx5e_init_l2_addr
	mov	x0, x19
	bl	_netif_running
	cbnz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _MLX5_PORT_DOWN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MLX5_PORT_DOWN@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_mlx5_set_port_admin_status
LBB0_2:
	mov	x0, x20
	bl	_mlx5e_set_netdev_mtu_boundaries
	mov	x0, x20
	bl	_mlx5e_set_dev_port_mtu
	mov	x0, x21
	mov	x1, x19
	bl	_mlx5_lag_add
	mov	x0, x20
	bl	_mlx5e_enable_async_events
	mov	x0, x20
	bl	_mlx5e_monitor_counter_supported
	cbz	x0, LBB0_4
; %bb.3:
	mov	x0, x20
	bl	_mlx5e_monitor_counter_init
LBB0_4:
	mov	x0, x20
	bl	_mlx5e_hv_vhca_stats_create
	ldr	x8, [x19]
Lloh3:
	adrp	x9, _NETREG_REGISTERED@GOTPAGE
Lloh4:
	ldr	x9, [x9, _NETREG_REGISTERED@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.5:
	ldr	w0, [x20, #4]
	mov	x1, x20
	bl	_queue_work
	bl	_rtnl_lock
	mov	x0, x19
	bl	_netif_running
	cbz	x0, LBB0_7
; %bb.6:
	mov	x0, x19
	bl	_mlx5e_open
LBB0_7:
	mov	x0, x19
	bl	_netif_device_attach
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_rtnl_unlock
LBB0_8:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_MLX5_PORT_DOWN,4,2             ; @MLX5_PORT_DOWN
	.comm	_NETREG_REGISTERED,8,3          ; @NETREG_REGISTERED
	.no_dead_strip	_mlx5e_nic_enable
.subsections_via_symbols
