	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ixgbe_fcoe_disable             ## -- Begin function ixgbe_fcoe_disable
	.p2align	4, 0x90
_ixgbe_fcoe_disable:                    ## @ixgbe_fcoe_disable
	.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_dec_and_test
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	_IXGBE_FLAG_FCOE_ENABLED@GOTPCREL(%rip), %r15
	movl	(%r15), %eax
	testl	%eax, (%rbx)
	je	LBB0_1
## %bb.3:
	movq	_drv@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_e_info
	movq	%r14, %rdi
	callq	_netif_running
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	(%r14), %rax
	movq	%r14, %rdi
	callq	*8(%rax)
LBB0_5:
	movq	%rbx, %rdi
	callq	_ixgbe_fcoe_ddp_disable
	movl	(%r15), %eax
	notl	%eax
	andl	%eax, (%rbx)
	movq	_NETIF_F_FCOE_MTU@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%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_7
## %bb.6:
	movq	(%r14), %rax
	movq	%r14, %rdi
	callq	*(%rax)
	jmp	LBB0_7
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_7:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.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	"Disabling FCoE offload features.\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_disable             ; -- Begin function ixgbe_fcoe_disable
	.p2align	2
_ixgbe_fcoe_disable:                    ; @ixgbe_fcoe_disable
	.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_dec_and_test
	cbz	w0, LBB0_6
; %bb.1:
	ldr	w8, [x20]
Lloh0:
	adrp	x21, _IXGBE_FLAG_FCOE_ENABLED@GOTPAGE
Lloh1:
	ldr	x21, [x21, _IXGBE_FLAG_FCOE_ENABLED@GOTPAGEOFF]
	ldr	w9, [x21]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.2:
Lloh2:
	adrp	x8, _drv@GOTPAGE
Lloh3:
	ldr	x8, [x8, _drv@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	bl	_e_info
	mov	x0, x19
	bl	_netif_running
	cbz	x0, LBB0_4
; %bb.3:
	ldr	x8, [x19]
	ldr	x8, [x8, #8]
	mov	x0, x19
	blr	x8
LBB0_4:
	mov	x0, x20
	bl	_ixgbe_fcoe_ddp_disable
	ldr	w8, [x21]
	ldr	w9, [x20]
	bic	w8, w9, w8
	str	w8, [x20]
Lloh7:
	adrp	x8, _NETIF_F_FCOE_MTU@GOTPAGE
Lloh8:
	ldr	x8, [x8, _NETIF_F_FCOE_MTU@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	ldr	w9, [x19, #8]
	bic	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_7
; %bb.5:
	ldr	x8, [x19]
	ldr	x8, [x8]
	mov	x0, x19
	blr	x8
	mov	w0, #0
	b	LBB0_7
LBB0_6:
Lloh10:
	adrp	x8, _EINVAL@GOTPAGE
Lloh11:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_7:
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.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	"Disabling FCoE offload features.\n"

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