	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function isert_rx_opcode
_isert_rx_opcode:                       ## @isert_rx_opcode
	.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
	movq	%rdx, %r13
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	(%rdi), %r12
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	movq	_ISCSI_OPCODE_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	(%r12), %rax
	movq	(%rax), %rax
	andl	(%r14), %esi
	cmpq	$0, (%rax)
	je	LBB0_3
## %bb.1:
	movl	%esi, %eax
	andl	$128, %eax
	jne	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_isert_err
	xorl	%ebx, %ebx
LBB0_20:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	leal	-128(%rsi), %eax
	cmpl	$5, %eax
	ja	LBB0_19
## %bb.4:
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rax,4), %rax
	addq	%rdx, %rax
	jmpq	*%rax
LBB0_14:
	movl	8(%r14), %edi
	callq	_be32_to_cpu
	cmpl	$-1, %eax
	je	LBB0_16
## %bb.15:
	movl	4(%r14), %esi
	movq	%r12, %rdi
	callq	_iscsit_find_cmd_from_itt
	jmp	LBB0_17
LBB0_19:
	leaq	L_.str.1(%rip), %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_isert_err
	xorl	%eax, %eax
	callq	_dump_stack
	jmp	LBB0_20
LBB0_10:
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_isert_allocate_cmd
	testq	%rax, %rax
	je	LBB0_20
## %bb.11:
	movq	%r12, %rdi
	movq	%rax, %rsi
	movq	%r14, %rdx
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_iscsit_handle_task_mgt_cmd     ## TAILCALL
LBB0_9:
	movq	%r15, %rdi
	movq	%r14, %rsi
	movq	%r14, %rdx
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_isert_handle_iscsi_dataout     ## TAILCALL
LBB0_5:
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movq	%r9, -56(%rbp)                  ## 8-byte Spill
	movq	%r8, -64(%rbp)                  ## 8-byte Spill
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_isert_allocate_cmd
	testq	%rax, %rax
	je	LBB0_20
## %bb.6:
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_iscsit_priv_cmd
	movq	%r13, 32(%rax)
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, 24(%rax)
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, 16(%rax)
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	%rdx, 8(%rax)
	testq	%r13, %r13
	cmoveq	%rcx, %r13
	movq	%r13, (%rax)
	movq	%r15, %rdi
	movq	%rax, %rsi
	movq	%r12, %rdx
	movq	%r14, %rcx
	movq	%r14, %r8
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_isert_handle_scsi_cmd          ## TAILCALL
LBB0_7:
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_isert_allocate_cmd
	testq	%rax, %rax
	je	LBB0_20
## %bb.8:
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_iscsit_priv_cmd
	movq	%r15, %rdi
	movq	%rax, %rsi
	movq	%r12, %rdx
	movq	%r14, %rcx
	movq	%r14, %r8
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_isert_handle_nop_out           ## TAILCALL
LBB0_12:
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_isert_allocate_cmd
	testq	%rax, %rax
	je	LBB0_20
## %bb.13:
	movq	%r12, %rdi
	movq	%rax, %rsi
	movq	%r14, %rdx
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_iscsit_handle_logout_cmd       ## TAILCALL
LBB0_16:
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_isert_allocate_cmd
LBB0_17:
	movq	%rax, %r12
	testq	%rax, %rax
	je	LBB0_20
## %bb.18:
	movq	%r12, %rdi
	callq	_iscsit_priv_cmd
	movq	%r15, %rdi
	movq	%rax, %rsi
	movq	%r12, %rdx
	movq	%r14, %rcx
	movq	%r14, %r8
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_isert_handle_text_cmd          ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
LJTI0_0:
	.long	L0_0_set_14
	.long	L0_0_set_10
	.long	L0_0_set_9
	.long	L0_0_set_5
	.long	L0_0_set_7
	.long	L0_0_set_12
	.end_data_region
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_ISCSI_OPCODE_MASK,4,2          ## @ISCSI_OPCODE_MASK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Got illegal opcode: 0x%02x in SessionType=Discovery, ignoring\n"

L_.str.1:                               ## @.str.1
	.asciz	"Got unknown iSCSI OpCode: 0x%02x\n"

	.no_dead_strip	_isert_rx_opcode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function isert_rx_opcode
_isert_rx_opcode:                       ; @isert_rx_opcode
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x1
	ldr	x22, [x0]
	ldr	w8, [x1]
Lloh0:
	adrp	x9, _ISCSI_OPCODE_MASK@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ISCSI_OPCODE_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	and	w1, w9, w8
	ldr	x8, [x22]
	ldr	x8, [x8]
	ldr	x8, [x8]
	and	w9, w1, #0x80
	cmp	x8, #0
	ccmp	w9, #0, #0, ne
	b.eq	LBB0_5
; %bb.1:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w21, w8
	sub	w8, w1, #128
	cmp	w8, #5
	b.hi	LBB0_7
; %bb.2:
	mov	x20, x0
Lloh6:
	adrp	x9, lJTI0_0@PAGE
Lloh7:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_3
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_3:
	ldr	w0, [x19, #8]
	bl	_be32_to_cpu
	cmn	w0, #1
	b.eq	LBB0_17
; %bb.4:
	ldr	w1, [x19, #4]
	mov	x0, x22
	bl	_iscsit_find_cmd_from_itt
	mov	x22, x0
	cbnz	x0, LBB0_18
	b	LBB0_6
LBB0_5:
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	bl	_isert_err
	mov	w21, #0
LBB0_6:
	mov	x0, x21
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_7:
Lloh10:
	adrp	x0, l_.str.1@PAGE
Lloh11:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_isert_err
	bl	_dump_stack
	b	LBB0_6
LBB0_8:
	mov	x0, x22
	mov	x1, x19
	bl	_isert_allocate_cmd
	cbz	x0, LBB0_6
; %bb.9:
	mov	x1, x0
	mov	x0, x22
	mov	x2, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_iscsit_handle_task_mgt_cmd
LBB0_10:
	mov	x0, x20
	mov	x1, x19
	mov	x2, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_isert_handle_iscsi_dataout
LBB0_11:
	mov	x23, x5
	mov	x24, x4
	mov	x26, x3
	mov	x25, x2
	mov	x0, x22
	mov	x1, x19
	bl	_isert_allocate_cmd
	cbz	x0, LBB0_6
; %bb.12:
	mov	x22, x0
	bl	_iscsit_priv_cmd
	mov	x1, x0
	stp	x26, x25, [x0, #24]
	stp	x23, x24, [x0, #8]
	cmp	x25, #0
	csel	x8, x24, x25, eq
	str	x8, [x0]
	mov	x0, x20
	mov	x2, x22
	mov	x3, x19
	mov	x4, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_isert_handle_scsi_cmd
LBB0_13:
	mov	x0, x22
	mov	x1, x19
	bl	_isert_allocate_cmd
	cbz	x0, LBB0_6
; %bb.14:
	mov	x22, x0
	bl	_iscsit_priv_cmd
	mov	x1, x0
	mov	x0, x20
	mov	x2, x22
	mov	x3, x19
	mov	x4, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_isert_handle_nop_out
LBB0_15:
	mov	x0, x22
	mov	x1, x19
	bl	_isert_allocate_cmd
	cbz	x0, LBB0_6
; %bb.16:
	mov	x1, x0
	mov	x0, x22
	mov	x2, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_iscsit_handle_logout_cmd
LBB0_17:
	mov	x0, x22
	mov	x1, x19
	bl	_isert_allocate_cmd
	mov	x22, x0
	cbz	x0, LBB0_6
LBB0_18:
	mov	x0, x22
	bl	_iscsit_priv_cmd
	mov	x1, x0
	mov	x0, x20
	mov	x2, x22
	mov	x3, x19
	mov	x4, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_isert_handle_text_cmd
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_8-LBB0_3)>>2
	.byte	(LBB0_10-LBB0_3)>>2
	.byte	(LBB0_11-LBB0_3)>>2
	.byte	(LBB0_13-LBB0_3)>>2
	.byte	(LBB0_15-LBB0_3)>>2
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_ISCSI_OPCODE_MASK,4,2          ; @ISCSI_OPCODE_MASK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Got illegal opcode: 0x%02x in SessionType=Discovery, ignoring\n"

l_.str.1:                               ; @.str.1
	.asciz	"Got unknown iSCSI OpCode: 0x%02x\n"

	.no_dead_strip	_isert_rx_opcode
.subsections_via_symbols
