	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function isert_put_login_tx
_isert_put_login_tx:                    ## @isert_put_login_tx
	.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
	movl	%edx, %r12d
	movq	%rsi, %r15
	movq	(%rdi), %rbx
	movq	8(%rbx), %rdi
	movq	8(%rdi), %r13
	leaq	32(%rbx), %r14
	movq	%r14, %rsi
	callq	___isert_create_send_desc
	leaq	48(%rbx), %rdi
	movq	24(%r15), %rsi
	movl	$4, %edx
	callq	_memcpy
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_isert_init_tx_hdrs
	testl	%r12d, %r12d
	jle	LBB0_2
## %bb.1:
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	movq	40(%rbx), %r14
	movl	16(%rbx), %esi
	movq	_DMA_TO_DEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r13, %rdi
	movl	%r12d, %edx
	callq	_ib_dma_sync_single_for_cpu
	movq	24(%rbx), %rdi
	movq	16(%r15), %rsi
	movl	%r12d, %edx
	callq	_memcpy
	movl	16(%rbx), %esi
	movq	_DMA_TO_DEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r13, %rdi
	movl	%r12d, %edx
	callq	_ib_dma_sync_single_for_device
	movl	16(%rbx), %eax
	movl	%eax, 20(%r14)
	movl	%r12d, 12(%r14)
	movq	8(%rbx), %rax
	movq	(%rax), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%r14)
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movl	$2, 32(%rbx)
LBB0_2:
	cmpl	$0, 8(%r15)
	je	LBB0_3
LBB0_7:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_isert_login_post_send          ## TAILCALL
LBB0_3:
	cmpq	$0, (%r15)
	je	LBB0_8
## %bb.4:
	movq	%rbx, %rdi
	callq	_isert_alloc_rx_descriptors
	testl	%eax, %eax
	jne	LBB0_9
## %bb.5:
	movq	_ISERT_QP_MAX_RECV_DTOS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_isert_post_recvm
	testl	%eax, %eax
	jne	LBB0_9
## %bb.6:
	movq	%rbx, %rdi
	callq	_mutex_lock
	movq	_ISER_CONN_FULL_FEATURE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rbx)
	movq	%rbx, %rdi
	callq	_mutex_unlock
	jmp	LBB0_7
LBB0_8:
	movq	%rbx, %rdi
	callq	_isert_login_post_recv
	testl	%eax, %eax
	je	LBB0_7
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DMA_TO_DEVICE,4,2              ## @DMA_TO_DEVICE
	.comm	_ISERT_QP_MAX_RECV_DTOS,4,2     ## @ISERT_QP_MAX_RECV_DTOS
	.comm	_ISER_CONN_FULL_FEATURE,4,2     ## @ISER_CONN_FULL_FEATURE
	.no_dead_strip	_isert_put_login_tx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function isert_put_login_tx
_isert_put_login_tx:                    ; @isert_put_login_tx
	.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	x22, x2
	mov	x21, x1
	ldr	x19, [x0]
	ldr	x0, [x19, #8]
	ldr	x23, [x0, #8]
	add	x20, x19, #32
	mov	x1, x20
	bl	___isert_create_send_desc
	add	x0, x19, #48
	ldr	x1, [x21, #24]
	mov	w2, #4
	bl	_memcpy
	mov	x0, x19
	mov	x1, x20
	bl	_isert_init_tx_hdrs
	cmp	w22, #1
	b.lt	LBB0_2
; %bb.1:
	ldr	x24, [x19, #40]
	ldr	w1, [x19, #16]
Lloh0:
	adrp	x25, _DMA_TO_DEVICE@GOTPAGE
Lloh1:
	ldr	x25, [x25, _DMA_TO_DEVICE@GOTPAGEOFF]
	ldr	w3, [x25]
	mov	x0, x23
	mov	x2, x22
	bl	_ib_dma_sync_single_for_cpu
	ldr	x0, [x19, #24]
	ldr	x1, [x21, #16]
	mov	x2, x22
	bl	_memcpy
	ldr	w1, [x19, #16]
	ldr	w3, [x25]
	mov	x0, x23
	mov	x2, x22
	bl	_ib_dma_sync_single_for_device
	ldr	w8, [x19, #16]
	str	w8, [x24, #20]
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
	ldr	w8, [x8]
	stp	w22, w8, [x24, #12]
	mov	w8, #2
	str	w8, [x19, #32]
LBB0_2:
	ldr	w8, [x21, #8]
	cbz	w8, LBB0_4
LBB0_3:
	mov	x0, x19
	mov	x1, x20
	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_login_post_send
LBB0_4:
	ldr	x8, [x21]
	cbz	x8, LBB0_8
; %bb.5:
	mov	x0, x19
	bl	_isert_alloc_rx_descriptors
	cbnz	w0, LBB0_9
; %bb.6:
Lloh2:
	adrp	x8, _ISERT_QP_MAX_RECV_DTOS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ISERT_QP_MAX_RECV_DTOS@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_isert_post_recvm
	cbnz	w0, LBB0_9
; %bb.7:
	mov	x0, x19
	bl	_mutex_lock
Lloh5:
	adrp	x8, _ISER_CONN_FULL_FEATURE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ISER_CONN_FULL_FEATURE@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	str	w8, [x19, #4]
	mov	x0, x19
	bl	_mutex_unlock
	b	LBB0_3
LBB0_8:
	mov	x0, x19
	bl	_isert_login_post_recv
	cbz	w0, LBB0_3
LBB0_9:
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_DMA_TO_DEVICE,4,2              ; @DMA_TO_DEVICE
	.comm	_ISERT_QP_MAX_RECV_DTOS,4,2     ; @ISERT_QP_MAX_RECV_DTOS
	.comm	_ISER_CONN_FULL_FEATURE,4,2     ; @ISER_CONN_FULL_FEATURE
	.no_dead_strip	_isert_put_login_tx
.subsections_via_symbols
