	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cnic_bnx2x_fcoe_disable
_cnic_bnx2x_fcoe_disable:               ## @cnic_bnx2x_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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	8(%rsi), %rsi
	cmpq	(%rdi), %rsi
	jge	LBB0_1
## %bb.3:
	movq	%rdi, %r14
	movq	_CNIC_KWQ16_DATA_SIZE@GOTPCREL(%rip), %rax
	cmpl	$3, (%rax)
	ja	LBB0_5
## %bb.4:
	movl	8(%r14), %edi
	leaq	L_.str(%rip), %rsi
	callq	_netdev_err
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
LBB0_2:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_8:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	16(%r14), %rdi
	movq	(%rbx), %r15
	movq	_BNX2X_FCOE_L5_CID_BASE@GOTPCREL(%rip), %rax
	addq	(%rax), %rsi
	leaq	-40(%rbp), %rdx
	callq	_cnic_get_kwqe_16_data
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	movq	%rax, %r12
	movq	%rax, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movl	$16, %edx
	callq	_memcpy
	movq	_FCOE_RAMROD_CMD_ID_DISABLE_CONN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_FCOE_CONNECTION_TYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-40(%rbp), %r8
	movq	%r14, %rdi
	movq	%r15, %rdx
	callq	_cnic_submit_kwqe_16
	jmp	LBB0_8
LBB0_6:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_BNX2X_FCOE_L5_CID_BASE,8,3     ## @BNX2X_FCOE_L5_CID_BASE
	.comm	_CNIC_KWQ16_DATA_SIZE,4,2       ## @CNIC_KWQ16_DATA_SIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"fcoe_disable size too big\n"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_FCOE_RAMROD_CMD_ID_DISABLE_CONN,4,2 ## @FCOE_RAMROD_CMD_ID_DISABLE_CONN
	.comm	_FCOE_CONNECTION_TYPE,4,2       ## @FCOE_CONNECTION_TYPE
	.no_dead_strip	_cnic_bnx2x_fcoe_disable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cnic_bnx2x_fcoe_disable
_cnic_bnx2x_fcoe_disable:               ; @cnic_bnx2x_fcoe_disable
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	ldr	x8, [x1, #8]
	ldr	x9, [x0]
	cmp	x8, x9
	b.ge	LBB0_3
; %bb.1:
	mov	x19, x0
Lloh0:
	adrp	x9, _CNIC_KWQ16_DATA_SIZE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _CNIC_KWQ16_DATA_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w9, #3
	b.hi	LBB0_4
; %bb.2:
	ldr	w0, [x19, #8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_netdev_err
	b	LBB0_6
LBB0_3:
Lloh5:
	adrp	x8, _EINVAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_7
LBB0_4:
	mov	x20, x1
	ldr	x0, [x19, #16]
	ldr	x21, [x1]
Lloh7:
	adrp	x9, _BNX2X_FCOE_L5_CID_BASE@GOTPAGE
Lloh8:
	ldr	x9, [x9, _BNX2X_FCOE_L5_CID_BASE@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	add	x1, x9, x8
	add	x2, sp, #8
	bl	_cnic_get_kwqe_16_data
	cbz	x0, LBB0_6
; %bb.5:
	mov	x22, x0
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	mov	x0, x22
	mov	x1, x20
	mov	w2, #16
	bl	_memcpy
Lloh10:
	adrp	x8, _FCOE_RAMROD_CMD_ID_DISABLE_CONN@GOTPAGE
Lloh11:
	ldr	x8, [x8, _FCOE_RAMROD_CMD_ID_DISABLE_CONN@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
Lloh13:
	adrp	x8, _FCOE_CONNECTION_TYPE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _FCOE_CONNECTION_TYPE@GOTPAGEOFF]
Lloh15:
	ldr	w3, [x8]
	add	x4, sp, #8
	mov	x0, x19
	mov	x2, x21
	bl	_cnic_submit_kwqe_16
	b	LBB0_8
LBB0_6:
Lloh16:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_7:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_8:
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_BNX2X_FCOE_L5_CID_BASE,8,3     ; @BNX2X_FCOE_L5_CID_BASE
	.comm	_CNIC_KWQ16_DATA_SIZE,4,2       ; @CNIC_KWQ16_DATA_SIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"fcoe_disable size too big\n"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_FCOE_RAMROD_CMD_ID_DISABLE_CONN,4,2 ; @FCOE_RAMROD_CMD_ID_DISABLE_CONN
	.comm	_FCOE_CONNECTION_TYPE,4,2       ; @FCOE_CONNECTION_TYPE
	.no_dead_strip	_cnic_bnx2x_fcoe_disable
.subsections_via_symbols
