	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ixgbe_fcoe_enable              ## -- Begin function ixgbe_fcoe_enable
	.p2align	4, 0x90
_ixgbe_fcoe_enable:                     ## @ixgbe_fcoe_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, %r14
	callq	_netdev_priv
	movq	%rax, %rbx
	leaq	4(%rax), %rdi
	callq	_atomic_inc
	movl	(%rbx), %eax
	movq	_IXGBE_FLAG_FCOE_CAPABLE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_1
## %bb.2:
	movq	_IXGBE_FLAG_FCOE_ENABLED@GOTPCREL(%rip), %r15
	testl	%eax, (%r15)
	je	LBB0_3
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_9:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	_drv@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_e_info
	movq	_IXGBE_FLAG_SRIOV_ENABLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_5
## %bb.4:
	movq	_probe@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_e_warn
LBB0_5:
	movq	%r14, %rdi
	callq	_netif_running
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	(%r14), %rax
	movq	%r14, %rdi
	callq	*8(%rax)
LBB0_7:
	movq	%rbx, %rdi
	callq	_ixgbe_fcoe_ddp_enable
	movl	(%r15), %eax
	orl	%eax, (%rbx)
	movq	_NETIF_F_FCOE_MTU@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 8(%r14)
	movq	%r14, %rdi
	callq	_netdev_features_change
	movq	%rbx, %rdi
	callq	_ixgbe_clear_interrupt_scheme
	movq	%rbx, %rdi
	callq	_ixgbe_init_interrupt_scheme
	movq	%r14, %rdi
	callq	_netif_running
	xorl	%ebx, %ebx
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movq	(%r14), %rax
	movq	%r14, %rdi
	callq	*(%rax)
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_IXGBE_FLAG_FCOE_CAPABLE,4,2    ## @IXGBE_FLAG_FCOE_CAPABLE
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_IXGBE_FLAG_FCOE_ENABLED,4,2    ## @IXGBE_FLAG_FCOE_ENABLED
	.comm	_drv,4,2                        ## @drv
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Enabling FCoE offload features.\n"

	.comm	_IXGBE_FLAG_SRIOV_ENABLED,4,2   ## @IXGBE_FLAG_SRIOV_ENABLED
	.comm	_probe,4,2                      ## @probe
L_.str.1:                               ## @.str.1
	.asciz	"Enabling FCoE on PF will disable legacy VFs\n"

	.comm	_NETIF_F_FCOE_MTU,4,2           ## @NETIF_F_FCOE_MTU
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ixgbe_fcoe_enable              ; -- Begin function ixgbe_fcoe_enable
	.p2align	2
_ixgbe_fcoe_enable:                     ; @ixgbe_fcoe_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	x19, x0
	bl	_netdev_priv
	mov	x20, x0
	add	x0, x0, #4
	bl	_atomic_inc
	ldr	w8, [x20]
Lloh0:
	adrp	x9, _IXGBE_FLAG_FCOE_CAPABLE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IXGBE_FLAG_FCOE_CAPABLE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
Lloh3:
	adrp	x21, _IXGBE_FLAG_FCOE_ENABLED@GOTPAGE
Lloh4:
	ldr	x21, [x21, _IXGBE_FLAG_FCOE_ENABLED@GOTPAGEOFF]
	ldr	w9, [x21]
	tst	w9, w8
	b.eq	LBB0_4
LBB0_2:
Lloh5:
	adrp	x8, _EINVAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_3:
	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_4:
Lloh8:
	adrp	x8, _drv@GOTPAGE
Lloh9:
	ldr	x8, [x8, _drv@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	bl	_e_info
	ldr	w8, [x20]
Lloh13:
	adrp	x9, _IXGBE_FLAG_SRIOV_ENABLED@GOTPAGE
Lloh14:
	ldr	x9, [x9, _IXGBE_FLAG_SRIOV_ENABLED@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.5:
Lloh16:
	adrp	x8, _probe@GOTPAGE
Lloh17:
	ldr	x8, [x8, _probe@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
Lloh19:
	adrp	x1, l_.str.1@PAGE
Lloh20:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_e_warn
LBB0_6:
	mov	x0, x19
	bl	_netif_running
	cbz	x0, LBB0_8
; %bb.7:
	ldr	x8, [x19]
	ldr	x8, [x8, #8]
	mov	x0, x19
	blr	x8
LBB0_8:
	mov	x0, x20
	bl	_ixgbe_fcoe_ddp_enable
	ldr	w8, [x21]
	ldr	w9, [x20]
	orr	w8, w9, w8
	str	w8, [x20]
Lloh21:
	adrp	x8, _NETIF_F_FCOE_MTU@GOTPAGE
Lloh22:
	ldr	x8, [x8, _NETIF_F_FCOE_MTU@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	ldr	w9, [x19, #8]
	orr	w8, w9, w8
	str	w8, [x19, #8]
	mov	x0, x19
	bl	_netdev_features_change
	mov	x0, x20
	bl	_ixgbe_clear_interrupt_scheme
	mov	x0, x20
	bl	_ixgbe_init_interrupt_scheme
	mov	x0, x19
	bl	_netif_running
	cbz	x0, LBB0_3
; %bb.9:
	ldr	x8, [x19]
	ldr	x8, [x8]
	mov	x0, x19
	blr	x8
	mov	w0, #0
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_IXGBE_FLAG_FCOE_CAPABLE,4,2    ; @IXGBE_FLAG_FCOE_CAPABLE
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_IXGBE_FLAG_FCOE_ENABLED,4,2    ; @IXGBE_FLAG_FCOE_ENABLED
	.comm	_drv,4,2                        ; @drv
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Enabling FCoE offload features.\n"

	.comm	_IXGBE_FLAG_SRIOV_ENABLED,4,2   ; @IXGBE_FLAG_SRIOV_ENABLED
	.comm	_probe,4,2                      ; @probe
l_.str.1:                               ; @.str.1
	.asciz	"Enabling FCoE on PF will disable legacy VFs\n"

	.comm	_NETIF_F_FCOE_MTU,4,2           ; @NETIF_F_FCOE_MTU
.subsections_via_symbols
