	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function isert_recv_done
_isert_recv_done:                       ## @isert_recv_done
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	24(%rsi), %rax
	movq	(%rax), %r15
	movq	8(%r15), %rax
	movq	(%rax), %r14
	movl	16(%rsi), %edi
	callq	_cqe_to_rx_desc
	movq	%rax, %r12
	movq	(%rbx), %rax
	movq	_IB_WC_SUCCESS@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	setne	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_isert_print_wc
	movq	(%rbx), %rax
	movq	_IB_WC_WR_FLUSH_ERR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movl	$1, (%r12)
	movl	4(%r12), %esi
	movq	_ISER_RX_PAYLOAD_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_DMA_FROM_DEVICE@GOTPCREL(%rip), %r13
	movl	(%r13), %ecx
	movq	%r14, %rdi
	callq	_ib_dma_sync_single_for_cpu
	movl	36(%r12), %edx
	movl	32(%r12), %ecx
	movl	4(%r12), %esi
	movl	28(%r12), %r8d
	movl	8(%rbx), %r9d
	movq	_ISER_HEADERS_LEN@GOTPCREL(%rip), %rax
	subl	(%rax), %r9d
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_isert_dbg
	movl	8(%r12), %esi
	movl	%esi, %eax
	andl	$240, %eax
	cmpl	$128, %eax
	jne	LBB0_5
## %bb.4:
	leaq	L_.str.5(%rip), %rdi
	callq	_isert_err
	jmp	LBB0_6
LBB0_2:
	movl	(%r15), %edi
	xorl	%esi, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_iscsit_cause_connection_reinstatement ## TAILCALL
LBB0_5:
	leaq	L_.str.6(%rip), %rdi
	callq	_isert_warn
LBB0_6:
	movq	%r15, %rdi
	movq	%r12, %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_isert_rx_opcode
	movl	4(%r12), %esi
	movq	_ISER_RX_PAYLOAD_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%r13), %ecx
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ib_dma_sync_single_for_device  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IB_WC_SUCCESS,8,3              ## @IB_WC_SUCCESS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"recv"

	.comm	_IB_WC_WR_FLUSH_ERR,8,3         ## @IB_WC_WR_FLUSH_ERR
	.comm	_ISER_RX_PAYLOAD_SIZE,4,2       ## @ISER_RX_PAYLOAD_SIZE
	.comm	_DMA_FROM_DEVICE,4,2            ## @DMA_FROM_DEVICE
L_.str.1:                               ## @.str.1
	.asciz	"DMA: 0x%llx, iSCSI opcode: 0x%02x, ITT: 0x%08x, flags: 0x%02x dlen: %d\n"

	.comm	_ISER_HEADERS_LEN,8,3           ## @ISER_HEADERS_LEN
	.comm	_ISER_RSV,4,2                   ## @ISER_RSV
	.comm	_ISER_WSV,4,2                   ## @ISER_WSV
L_.str.5:                               ## @.str.5
	.asciz	"iSER Hello message\n"

L_.str.6:                               ## @.str.6
	.asciz	"Unknown iSER hdr flags: 0x%02x\n"

	.no_dead_strip	_isert_recv_done
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function isert_recv_done
_isert_recv_done:                       ; @isert_recv_done
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	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
	mov	x22, x1
	ldr	x8, [x1, #24]
	ldr	x19, [x8]
	ldr	x8, [x19, #8]
	ldr	x20, [x8]
	ldr	w0, [x1, #16]
	bl	_cqe_to_rx_desc
	mov	x21, x0
	ldr	x8, [x22]
Lloh0:
	adrp	x9, _IB_WC_SUCCESS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IB_WC_SUCCESS@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, ne
	bl	_unlikely
	cbz	x0, LBB0_3
; %bb.1:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x22
	bl	_isert_print_wc
	ldr	x8, [x22]
Lloh5:
	adrp	x9, _IB_WC_WR_FLUSH_ERR@GOTPAGE
Lloh6:
	ldr	x9, [x9, _IB_WC_WR_FLUSH_ERR@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.2:
	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
	add	sp, sp, #112
	ret
LBB0_3:
	mov	w8, #1
	str	w8, [x21]
	ldr	w1, [x21, #4]
Lloh8:
	adrp	x23, _ISER_RX_PAYLOAD_SIZE@GOTPAGE
Lloh9:
	ldr	x23, [x23, _ISER_RX_PAYLOAD_SIZE@GOTPAGEOFF]
	ldr	w2, [x23]
Lloh10:
	adrp	x24, _DMA_FROM_DEVICE@GOTPAGE
Lloh11:
	ldr	x24, [x24, _DMA_FROM_DEVICE@GOTPAGEOFF]
	ldr	w3, [x24]
	mov	x0, x20
	bl	_ib_dma_sync_single_for_cpu
	ldr	x8, [x22, #8]
Lloh12:
	adrp	x9, _ISER_HEADERS_LEN@GOTPAGE
Lloh13:
	ldr	x9, [x9, _ISER_HEADERS_LEN@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	sub	x8, x8, x9
	ldr	w9, [x21, #4]
	ldp	w11, w10, [x21, #32]
	ldr	w12, [x21, #28]
	stp	x12, x8, [sp, #24]
	stp	x10, x11, [sp, #8]
	str	x9, [sp]
Lloh15:
	adrp	x0, l_.str.1@PAGE
Lloh16:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_isert_dbg
	ldr	w1, [x21, #8]
	and	w8, w1, #0xf0
	cmp	w8, #128
	b.ne	LBB0_6
; %bb.4:
Lloh17:
	adrp	x0, l_.str.5@PAGE
Lloh18:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_isert_err
	b	LBB0_7
LBB0_5:
	ldr	w0, [x19]
	mov	w1, #0
	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
	add	sp, sp, #112
	b	_iscsit_cause_connection_reinstatement
LBB0_6:
Lloh19:
	adrp	x0, l_.str.6@PAGE
Lloh20:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_isert_warn
LBB0_7:
	mov	x0, x19
	mov	x1, x21
	mov	w2, #0
	mov	x3, #0
	mov	w4, #0
	mov	x5, #0
	bl	_isert_rx_opcode
	ldr	w1, [x21, #4]
	ldr	w2, [x23]
	ldr	w3, [x24]
	mov	x0, x20
	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
	add	sp, sp, #112
	b	_ib_dma_sync_single_for_device
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_IB_WC_SUCCESS,8,3              ; @IB_WC_SUCCESS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"recv"

	.comm	_IB_WC_WR_FLUSH_ERR,8,3         ; @IB_WC_WR_FLUSH_ERR
	.comm	_ISER_RX_PAYLOAD_SIZE,4,2       ; @ISER_RX_PAYLOAD_SIZE
	.comm	_DMA_FROM_DEVICE,4,2            ; @DMA_FROM_DEVICE
l_.str.1:                               ; @.str.1
	.asciz	"DMA: 0x%llx, iSCSI opcode: 0x%02x, ITT: 0x%08x, flags: 0x%02x dlen: %d\n"

	.comm	_ISER_HEADERS_LEN,8,3           ; @ISER_HEADERS_LEN
	.comm	_ISER_RSV,4,2                   ; @ISER_RSV
	.comm	_ISER_WSV,4,2                   ; @ISER_WSV
l_.str.5:                               ; @.str.5
	.asciz	"iSER Hello message\n"

l_.str.6:                               ; @.str.6
	.asciz	"Unknown iSER hdr flags: 0x%02x\n"

	.no_dead_strip	_isert_recv_done
.subsections_via_symbols
