	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i40e_open                      ## -- Begin function i40e_open
	.p2align	4, 0x90
_i40e_open:                             ## @i40e_open
	.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, %r14
	callq	_netdev_priv
	movq	(%rax), %rbx
	movq	(%rbx), %r15
	movq	___I40E_TESTING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	4(%r15), %esi
	callq	_test_bit
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	movq	___I40E_BAD_EEPROM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	4(%r15), %esi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_4
LBB0_2:
	movq	_EBUSY@GOTPCREL(%rip), %rcx
LBB0_3:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	%r14, %rdi
	callq	_netif_carrier_off
	movq	%r15, %rdi
	movl	$1, %esi
	callq	_i40e_force_link_state
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	_EAGAIN@GOTPCREL(%rip), %rcx
	jmp	LBB0_3
LBB0_6:
	movq	%rbx, %rdi
	callq	_i40e_vsi_open
	testl	%eax, %eax
	jne	LBB0_8
## %bb.7:
	movq	_I40E_GLLAN_TSOMSK_F@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_TCP_FLAG_PSH@GOTPCREL(%rip), %r12
	movq	_TCP_FLAG_FIN@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	orl	(%r12), %edi
	callq	_be32_to_cpu
	sarl	$16, %eax
	movq	%r15, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_wr32
	movq	_I40E_GLLAN_TSOMSK_M@GOTPCREL(%rip), %rax
	movl	(%r13), %edi
	orl	(%r12), %edi
	movl	(%rax), %ebx
	movq	_TCP_FLAG_CWR@GOTPCREL(%rip), %r12
	orl	(%r12), %edi
	callq	_be32_to_cpu
	sarl	$16, %eax
	movq	%r15, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_wr32
	movq	_I40E_GLLAN_TSOMSK_L@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	(%r12), %edi
	callq	_be32_to_cpu
	sarl	$16, %eax
	movq	%r15, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_wr32
	movq	%r14, %rdi
	callq	_udp_tunnel_get_rx_info
	xorl	%eax, %eax
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	___I40E_TESTING,4,2             ## @__I40E_TESTING
	.comm	___I40E_BAD_EEPROM,4,2          ## @__I40E_BAD_EEPROM
	.comm	_EBUSY,4,2                      ## @EBUSY
	.comm	_EAGAIN,4,2                     ## @EAGAIN
	.comm	_I40E_GLLAN_TSOMSK_F,4,2        ## @I40E_GLLAN_TSOMSK_F
	.comm	_TCP_FLAG_PSH,4,2               ## @TCP_FLAG_PSH
	.comm	_TCP_FLAG_FIN,4,2               ## @TCP_FLAG_FIN
	.comm	_I40E_GLLAN_TSOMSK_M,4,2        ## @I40E_GLLAN_TSOMSK_M
	.comm	_TCP_FLAG_CWR,4,2               ## @TCP_FLAG_CWR
	.comm	_I40E_GLLAN_TSOMSK_L,4,2        ## @I40E_GLLAN_TSOMSK_L
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i40e_open                      ; -- Begin function i40e_open
	.p2align	2
_i40e_open:                             ; @i40e_open
	.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	x19, x0
	bl	_netdev_priv
	ldr	x21, [x0]
	ldr	x20, [x21]
Lloh0:
	adrp	x8, ___I40E_TESTING@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___I40E_TESTING@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldr	w1, [x20, #4]
	bl	_test_bit
	cbnz	x0, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, ___I40E_BAD_EEPROM@GOTPAGE
Lloh4:
	ldr	x8, [x8, ___I40E_BAD_EEPROM@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ldr	w1, [x20, #4]
	bl	_test_bit
	cbz	x0, LBB0_5
LBB0_2:
Lloh6:
	adrp	x8, _EBUSY@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
LBB0_3:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_4:
	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
	ret
LBB0_5:
	mov	x0, x19
	bl	_netif_carrier_off
	mov	x0, x20
	mov	w1, #1
	bl	_i40e_force_link_state
	cbz	x0, LBB0_7
; %bb.6:
Lloh8:
	adrp	x8, _EAGAIN@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EAGAIN@GOTPAGEOFF]
	b	LBB0_3
LBB0_7:
	mov	x0, x21
	bl	_i40e_vsi_open
	cbnz	w0, LBB0_4
; %bb.8:
Lloh10:
	adrp	x8, _I40E_GLLAN_TSOMSK_F@GOTPAGE
Lloh11:
	ldr	x8, [x8, _I40E_GLLAN_TSOMSK_F@GOTPAGEOFF]
Lloh12:
	adrp	x22, _TCP_FLAG_PSH@GOTPAGE
Lloh13:
	ldr	x22, [x22, _TCP_FLAG_PSH@GOTPAGEOFF]
Lloh14:
	ldr	w21, [x8]
	ldr	w8, [x22]
Lloh15:
	adrp	x23, _TCP_FLAG_FIN@GOTPAGE
Lloh16:
	ldr	x23, [x23, _TCP_FLAG_FIN@GOTPAGEOFF]
	ldr	w9, [x23]
	orr	w0, w9, w8
	bl	_be32_to_cpu
	asr	w2, w0, #16
	mov	x0, x20
	mov	x1, x21
	bl	_wr32
Lloh17:
	adrp	x8, _I40E_GLLAN_TSOMSK_M@GOTPAGE
Lloh18:
	ldr	x8, [x8, _I40E_GLLAN_TSOMSK_M@GOTPAGEOFF]
Lloh19:
	ldr	w21, [x8]
	ldr	w8, [x22]
	ldr	w9, [x23]
	orr	w8, w9, w8
Lloh20:
	adrp	x22, _TCP_FLAG_CWR@GOTPAGE
Lloh21:
	ldr	x22, [x22, _TCP_FLAG_CWR@GOTPAGEOFF]
	ldr	w9, [x22]
	orr	w0, w8, w9
	bl	_be32_to_cpu
	asr	w2, w0, #16
	mov	x0, x20
	mov	x1, x21
	bl	_wr32
Lloh22:
	adrp	x8, _I40E_GLLAN_TSOMSK_L@GOTPAGE
Lloh23:
	ldr	x8, [x8, _I40E_GLLAN_TSOMSK_L@GOTPAGEOFF]
Lloh24:
	ldr	w21, [x8]
	ldr	w0, [x22]
	bl	_be32_to_cpu
	asr	w2, w0, #16
	mov	x0, x20
	mov	x1, x21
	bl	_wr32
	mov	x0, x19
	bl	_udp_tunnel_get_rx_info
	mov	w0, #0
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	___I40E_TESTING,4,2             ; @__I40E_TESTING
	.comm	___I40E_BAD_EEPROM,4,2          ; @__I40E_BAD_EEPROM
	.comm	_EBUSY,4,2                      ; @EBUSY
	.comm	_EAGAIN,4,2                     ; @EAGAIN
	.comm	_I40E_GLLAN_TSOMSK_F,4,2        ; @I40E_GLLAN_TSOMSK_F
	.comm	_TCP_FLAG_PSH,4,2               ; @TCP_FLAG_PSH
	.comm	_TCP_FLAG_FIN,4,2               ; @TCP_FLAG_FIN
	.comm	_I40E_GLLAN_TSOMSK_M,4,2        ; @I40E_GLLAN_TSOMSK_M
	.comm	_TCP_FLAG_CWR,4,2               ; @TCP_FLAG_CWR
	.comm	_I40E_GLLAN_TSOMSK_L,4,2        ; @I40E_GLLAN_TSOMSK_L
.subsections_via_symbols
