	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ixgbevf_open
_ixgbevf_open:                          ## @ixgbevf_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	callq	_netdev_priv
	cmpl	$0, 4(%rax)
	je	LBB0_1
## %bb.3:
	movq	%rax, %r14
	movq	___IXGBEVF_TESTING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	_EBUSY@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
LBB0_2:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_17:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	%r14, %r15
	addq	$8, %r15
	cmpq	$0, (%r15)
	je	LBB0_8
## %bb.6:
	movq	%r14, %rdi
	callq	_ixgbevf_reset
	cmpq	$0, 8(%r14)
	je	LBB0_8
## %bb.7:
	movq	_IXGBE_ERR_MBX@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str(%rip), %rdi
	callq	_pr_err
	jmp	LBB0_17
LBB0_8:
	movq	%r14, %rdi
	callq	_ixgbevf_setup_queues
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_16
## %bb.9:
	movq	%r14, %rdi
	callq	_ixgbevf_setup_all_tx_resources
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_15
## %bb.10:
	movq	%r14, %rdi
	callq	_ixgbevf_setup_all_rx_resources
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_14
## %bb.11:
	movq	%r14, %rdi
	callq	_ixgbevf_configure
	movq	%r14, %rdi
	callq	_ixgbevf_map_rings_to_vectors
	movq	%r14, %rdi
	callq	_ixgbevf_up_complete
	movq	_IXGBE_VTEICR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_IXGBE_READ_REG
	movq	%r14, %rdi
	callq	_ixgbevf_request_irq
	testl	%eax, %eax
	je	LBB0_12
## %bb.13:
	movl	%eax, %ebx
	movq	%r14, %rdi
	callq	_ixgbevf_down
LBB0_14:
	movq	%r14, %rdi
	callq	_ixgbevf_free_all_rx_resources
LBB0_15:
	movq	%r14, %rdi
	callq	_ixgbevf_free_all_tx_resources
LBB0_16:
	movq	%r14, %rdi
	callq	_ixgbevf_reset
	jmp	LBB0_17
LBB0_12:
	movq	%r14, %rdi
	callq	_ixgbevf_irq_enable
	xorl	%ebx, %ebx
	jmp	LBB0_17
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	___IXGBEVF_TESTING,4,2          ## @__IXGBEVF_TESTING
	.comm	_EBUSY,4,2                      ## @EBUSY
	.comm	_IXGBE_ERR_MBX,4,2              ## @IXGBE_ERR_MBX
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unable to start - perhaps the PF Driver isn't up yet\n"

	.comm	_IXGBE_VTEICR,4,2               ## @IXGBE_VTEICR
	.no_dead_strip	_ixgbevf_open
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ixgbevf_open
_ixgbevf_open:                          ; @ixgbevf_open
	.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
	bl	_netdev_priv
	ldr	w8, [x0, #4]
	cbz	w8, LBB0_3
; %bb.1:
	mov	x19, x0
Lloh0:
	adrp	x8, ___IXGBEVF_TESTING@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___IXGBEVF_TESTING@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_test_bit
	cbz	x0, LBB0_6
; %bb.2:
Lloh3:
	adrp	x8, _EBUSY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:
Lloh5:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_4:
	ldr	w8, [x8]
	neg	w20, w8
LBB0_5:
	mov	x0, x20
	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
LBB0_6:
	add	x21, x19, #8
	ldr	x8, [x21]
	cbz	x8, LBB0_9
; %bb.7:
	mov	x0, x19
	bl	_ixgbevf_reset
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_9
; %bb.8:
Lloh7:
	adrp	x8, _IXGBE_ERR_MBX@GOTPAGE
Lloh8:
	ldr	x8, [x8, _IXGBE_ERR_MBX@GOTPAGEOFF]
Lloh9:
	ldr	w20, [x8]
Lloh10:
	adrp	x0, l_.str@PAGE
Lloh11:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_err
	b	LBB0_5
LBB0_9:
	mov	x0, x19
	bl	_ixgbevf_setup_queues
	mov	x20, x0
	cbnz	w0, LBB0_16
; %bb.10:
	mov	x0, x19
	bl	_ixgbevf_setup_all_tx_resources
	mov	x20, x0
	cbnz	w0, LBB0_15
; %bb.11:
	mov	x0, x19
	bl	_ixgbevf_setup_all_rx_resources
	mov	x20, x0
	cbnz	w0, LBB0_14
; %bb.12:
	mov	x0, x19
	bl	_ixgbevf_configure
	mov	x0, x19
	bl	_ixgbevf_map_rings_to_vectors
	mov	x0, x19
	bl	_ixgbevf_up_complete
Lloh12:
	adrp	x8, _IXGBE_VTEICR@GOTPAGE
Lloh13:
	ldr	x8, [x8, _IXGBE_VTEICR@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_IXGBE_READ_REG
	mov	x0, x19
	bl	_ixgbevf_request_irq
	mov	x20, x0
	cbz	w0, LBB0_17
; %bb.13:
	mov	x0, x19
	bl	_ixgbevf_down
LBB0_14:
	mov	x0, x19
	bl	_ixgbevf_free_all_rx_resources
LBB0_15:
	mov	x0, x19
	bl	_ixgbevf_free_all_tx_resources
LBB0_16:
	mov	x0, x19
	bl	_ixgbevf_reset
	b	LBB0_5
LBB0_17:
	mov	x0, x19
	bl	_ixgbevf_irq_enable
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	___IXGBEVF_TESTING,4,2          ; @__IXGBEVF_TESTING
	.comm	_EBUSY,4,2                      ; @EBUSY
	.comm	_IXGBE_ERR_MBX,4,2              ; @IXGBE_ERR_MBX
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unable to start - perhaps the PF Driver isn't up yet\n"

	.comm	_IXGBE_VTEICR,4,2               ; @IXGBE_VTEICR
	.no_dead_strip	_ixgbevf_open
.subsections_via_symbols
