	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cnic_submit_bnx2x_iscsi_kwqes
_cnic_submit_bnx2x_iscsi_kwqes:         ## @cnic_submit_bnx2x_iscsi_kwqes
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r13d
	movq	%rsi, %rbx
	movq	%rdi, %rcx
	movq	_CNIC_F_CNIC_UP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	leaq	4(%rcx), %rsi
	callq	_test_bit
	testl	%eax, %eax
	je	LBB0_23
## %bb.1:
	testl	%r13d, %r13d
	jle	LBB0_21
## %bb.2:
	xorl	%r15d, %r15d
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	callq	_cnic_bnx2x_kwqe_err
LBB0_20:                                ##   in Loop: Header=BB0_3 Depth=1
	addl	-52(%rbp), %r15d
	cmpl	%r13d, %r15d
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	jge	LBB0_21
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r13d, %r14d
	movslq	%r15d, %r13
	movq	(%rbx,%r13,8), %r12
	movl	(%r12), %edi
	callq	_KWQE_OPCODE
	movl	%eax, %edx
	movl	$1, -52(%rbp)
	addl	$-128, %eax
	cmpl	$10, %eax
	ja	LBB0_14
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	%edx, -56(%rbp)                 ## 4-byte Spill
	leaq	(%rbx,%r13,8), %rsi
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	movl	%r14d, %r13d
	jmpq	*%rax
LBB0_13:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	callq	_cnic_bnx2x_update_pg
	jmp	LBB0_16
LBB0_14:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_netdev_err
	movl	%r14d, %r13d
	jmp	LBB0_20
LBB0_11:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	callq	_cnic_bnx2x_reset
	jmp	LBB0_16
LBB0_12:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	callq	_cnic_bnx2x_offload_pg
	jmp	LBB0_16
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	%r13d, %edx
	subl	%r15d, %edx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	leaq	-52(%rbp), %rcx
	callq	_cnic_bnx2x_connect
	jmp	LBB0_16
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	callq	_cnic_bnx2x_close
	jmp	LBB0_16
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	callq	_cnic_bnx2x_iscsi_update
	jmp	LBB0_16
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	%r13d, %edx
	subl	%r15d, %edx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	leaq	-52(%rbp), %rcx
	callq	_cnic_bnx2x_iscsi_ofld1
	jmp	LBB0_16
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	callq	_cnic_bnx2x_iscsi_init2
	jmp	LBB0_16
LBB0_15:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	callq	_cnic_bnx2x_iscsi_init1
	jmp	LBB0_16
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	callq	_cnic_bnx2x_iscsi_destroy
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	%eax, %r14d
	testl	%eax, %eax
	jns	LBB0_20
## %bb.17:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	movl	-56(%rbp), %edx                 ## 4-byte Reload
	callq	_netdev_err
	movq	_EIO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%r14d, %eax
	je	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	_EAGAIN@GOTPCREL(%rip), %rax
	addl	(%rax), %r14d
	je	LBB0_19
	jmp	LBB0_20
LBB0_21:
	xorl	%eax, %eax
	jmp	LBB0_22
LBB0_23:
	movq	_EAGAIN@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_22:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_20, LBB0_20-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
LJTI0_0:
	.long	L0_0_set_20
	.long	L0_0_set_13
	.long	L0_0_set_11
	.long	L0_0_set_12
	.long	L0_0_set_9
	.long	L0_0_set_10
	.long	L0_0_set_7
	.long	L0_0_set_6
	.long	L0_0_set_5
	.long	L0_0_set_15
	.long	L0_0_set_8
	.end_data_region
                                        ## -- End function
	.comm	_CNIC_F_CNIC_UP,4,2             ## @CNIC_F_CNIC_UP
	.comm	_EAGAIN,4,2                     ## @EAGAIN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unknown type of KWQE(0x%x)\n"

L_.str.1:                               ## @.str.1
	.asciz	"KWQE(0x%x) failed\n"

	.comm	_EIO,4,2                        ## @EIO
	.no_dead_strip	_cnic_submit_bnx2x_iscsi_kwqes
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cnic_submit_bnx2x_iscsi_kwqes
_cnic_submit_bnx2x_iscsi_kwqes:         ; @cnic_submit_bnx2x_iscsi_kwqes
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _CNIC_F_CNIC_UP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CNIC_F_CNIC_UP@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x1, x21, #4
	bl	_test_bit
	cbz	w0, LBB0_21
; %bb.1:
	cmp	w19, #1
	b.lt	LBB0_20
; %bb.2:
	mov	w27, #0
	mov	w28, #1
Lloh3:
	adrp	x22, lJTI0_0@PAGE
Lloh4:
	add	x22, x22, lJTI0_0@PAGEOFF
Lloh5:
	adrp	x23, l_.str.1@PAGE
Lloh6:
	add	x23, x23, l_.str.1@PAGEOFF
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x21
	mov	x1, x24
	bl	_cnic_bnx2x_kwqe_err
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [sp, #12]
	add	w27, w8, w27
	cmp	w27, w19
	b.ge	LBB0_20
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	add	x26, x20, w27, sxtw #3
	ldr	x24, [x26]
	ldr	w0, [x24]
	bl	_KWQE_OPCODE
	mov	x25, x0
	str	w28, [sp, #12]
	sub	w8, w0, #128
	cmp	w8, #10
	b.hi	LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	adr	x9, LBB0_4
	ldrb	w10, [x22, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_7:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x21
	mov	x1, x24
	bl	_cnic_bnx2x_update_pg
	mov	x26, x0
	tbz	w0, #31, LBB0_4
	b	LBB0_18
LBB0_8:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [x21]
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x25
	bl	_netdev_err
	b	LBB0_4
LBB0_9:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x21
	mov	x1, x24
	bl	_cnic_bnx2x_reset
	mov	x26, x0
	tbz	w0, #31, LBB0_4
	b	LBB0_18
LBB0_10:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x21
	mov	x1, x24
	bl	_cnic_bnx2x_offload_pg
	mov	x26, x0
	tbz	w0, #31, LBB0_4
	b	LBB0_18
LBB0_11:                                ;   in Loop: Header=BB0_5 Depth=1
	sub	w2, w19, w27
	add	x3, sp, #12
	mov	x0, x21
	mov	x1, x26
	bl	_cnic_bnx2x_connect
	mov	x26, x0
	tbz	w0, #31, LBB0_4
	b	LBB0_18
LBB0_12:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x21
	mov	x1, x24
	bl	_cnic_bnx2x_close
	mov	x26, x0
	tbz	w0, #31, LBB0_4
	b	LBB0_18
LBB0_13:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x21
	mov	x1, x24
	bl	_cnic_bnx2x_iscsi_update
	mov	x26, x0
	tbz	w0, #31, LBB0_4
	b	LBB0_18
LBB0_14:                                ;   in Loop: Header=BB0_5 Depth=1
	sub	w2, w19, w27
	add	x3, sp, #12
	mov	x0, x21
	mov	x1, x26
	bl	_cnic_bnx2x_iscsi_ofld1
	mov	x26, x0
	tbz	w0, #31, LBB0_4
	b	LBB0_18
LBB0_15:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x21
	mov	x1, x24
	bl	_cnic_bnx2x_iscsi_init2
	mov	x26, x0
	tbz	w0, #31, LBB0_4
	b	LBB0_18
LBB0_16:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x21
	mov	x1, x24
	bl	_cnic_bnx2x_iscsi_init1
	mov	x26, x0
	tbz	w0, #31, LBB0_4
	b	LBB0_18
LBB0_17:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x21
	mov	x1, x24
	bl	_cnic_bnx2x_iscsi_destroy
	mov	x26, x0
	tbz	w0, #31, LBB0_4
LBB0_18:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [x21]
	mov	x1, x23
	mov	x2, x25
	bl	_netdev_err
Lloh9:
	adrp	x8, _EIO@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	cmn	w26, w8
	b.eq	LBB0_3
; %bb.19:                               ;   in Loop: Header=BB0_5 Depth=1
Lloh12:
	adrp	x8, _EAGAIN@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EAGAIN@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	cmn	w26, w8
	b.eq	LBB0_3
	b	LBB0_4
LBB0_20:
	mov	w0, #0
	b	LBB0_22
LBB0_21:
Lloh15:
	adrp	x8, _EAGAIN@GOTPAGE
Lloh16:
	ldr	x8, [x8, _EAGAIN@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_22:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_7-LBB0_4)>>2
	.byte	(LBB0_9-LBB0_4)>>2
	.byte	(LBB0_10-LBB0_4)>>2
	.byte	(LBB0_11-LBB0_4)>>2
	.byte	(LBB0_12-LBB0_4)>>2
	.byte	(LBB0_13-LBB0_4)>>2
	.byte	(LBB0_14-LBB0_4)>>2
	.byte	(LBB0_15-LBB0_4)>>2
	.byte	(LBB0_16-LBB0_4)>>2
	.byte	(LBB0_17-LBB0_4)>>2
                                        ; -- End function
	.comm	_CNIC_F_CNIC_UP,4,2             ; @CNIC_F_CNIC_UP
	.comm	_EAGAIN,4,2                     ; @EAGAIN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unknown type of KWQE(0x%x)\n"

l_.str.1:                               ; @.str.1
	.asciz	"KWQE(0x%x) failed\n"

	.comm	_EIO,4,2                        ; @EIO
	.no_dead_strip	_cnic_submit_bnx2x_iscsi_kwqes
.subsections_via_symbols
