	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function login_negotiate
_login_negotiate:                       ## @login_negotiate
	.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	%rdi, %r15
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_log_debugx
	movq	_BHSLR_STAGE_OPERATIONAL_NEGOTIATION@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_login_new_request
	movq	%rax, %r14
	xorl	%eax, %eax
	callq	_keys_new
	movq	%rax, %rbx
	movl	28(%r15), %esi
	movl	32(%r15), %edx
	movl	36(%r15), %ecx
	movl	44(%r15), %r8d
	movl	40(%r15), %r9d
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_log_debugx
	cmpq	$0, (%r15)
	je	LBB0_1
## %bb.3:
	leaq	L_.str.2(%rip), %rsi
	leaq	L_.str.4(%rip), %r12
	movq	%rbx, %rdi
	movq	%r12, %rdx
	callq	_keys_add
	leaq	L_.str.5(%rip), %rsi
	movq	%rbx, %rdi
	movq	%r12, %rdx
	callq	_keys_add
	movl	32(%r15), %edx
	jmp	LBB0_4
LBB0_1:
	cmpq	$0, 8(%r15)
	leaq	L_.str.4(%rip), %r13
	leaq	L_.str.3(%rip), %r12
	movq	%r12, %rdx
	cmoveq	%r13, %rdx
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	callq	_keys_add
	cmpq	$0, 16(%r15)
	cmoveq	%r13, %r12
	leaq	L_.str.5(%rip), %rsi
	movq	%rbx, %rdi
	movq	%r12, %rdx
	callq	_keys_add
	leaq	L_.str.6(%rip), %rsi
	leaq	L_.str.7(%rip), %r12
	movq	%rbx, %rdi
	movq	%r12, %rdx
	callq	_keys_add
	movl	44(%r15), %edx
	leaq	L_.str.8(%rip), %rsi
	movq	%rbx, %rdi
	callq	_keys_add_int
	movl	40(%r15), %edx
	leaq	L_.str.9(%rip), %rsi
	movq	%rbx, %rdi
	callq	_keys_add_int
	leaq	L_.str.10(%rip), %rsi
	movq	%rbx, %rdi
	movq	%r12, %rdx
	callq	_keys_add
	leaq	L_.str.11(%rip), %rsi
	leaq	L_.str.12(%rip), %rdx
	movq	%rbx, %rdi
	callq	_keys_add
	movl	32(%r15), %edx
	cmpl	$1, 24(%r15)
	jne	LBB0_4
## %bb.2:
	leaq	L_.str.13(%rip), %rsi
	movq	%rbx, %rdi
	callq	_keys_add_int
	movl	36(%r15), %edx
	leaq	L_.str.14(%rip), %rsi
	movq	%rbx, %rdi
	callq	_keys_add_int
	leaq	L_.str.15(%rip), %rsi
	leaq	L_.str.7(%rip), %rdx
	movq	%rbx, %rdi
	callq	_keys_add
	jmp	LBB0_5
LBB0_4:
	leaq	L_.str.16(%rip), %rsi
	movq	%rbx, %rdi
	callq	_keys_add_int
LBB0_5:
	leaq	L_.str.17(%rip), %rsi
	leaq	L_.str.18(%rip), %r12
	movq	%rbx, %rdi
	movq	%r12, %rdx
	callq	_keys_add
	leaq	L_.str.19(%rip), %rsi
	movq	%rbx, %rdi
	movq	%r12, %rdx
	callq	_keys_add
	leaq	L_.str.20(%rip), %rsi
	movq	%rbx, %rdi
	movq	%r12, %rdx
	callq	_keys_add
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_keys_save
	movq	%rbx, %rdi
	callq	_keys_delete
	movq	%r14, %rdi
	callq	_pdu_send
	movq	%r14, %rdi
	callq	_pdu_delete
	movq	%r15, %rdi
	callq	_login_receive
	movq	%rax, %r14
	xorl	%eax, %eax
	callq	_keys_new
	movq	%rax, %rbx
	movq	%rax, %rdi
	movq	%r14, %rsi
	callq	_keys_load
	movq	_KEYS_MAX@GOTPCREL(%rip), %r12
	cmpl	$0, (%r12)
	jle	LBB0_9
## %bb.6:
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%rbx), %rax
	movq	(%rax,%r13,8), %rsi
	testq	%rsi, %rsi
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	(%rbx), %rax
	movl	(%rax,%r13,4), %edx
	movq	%r15, %rdi
	callq	_login_negotiate_key
	incq	%r13
	movslq	(%r12), %rax
	cmpq	%rax, %r13
	jl	LBB0_7
LBB0_9:
	movq	%rbx, %rdi
	callq	_keys_delete
	movq	(%r14), %rax
	movq	_BHSLR_FLAGS_TRANSIT@GOTPCREL(%rip), %r12
	movl	(%r12), %ecx
	testl	%ecx, (%rax)
	jne	LBB0_15
## %bb.10:
	leaq	L_.str.22(%rip), %rdi
	xorl	%eax, %eax
	callq	_log_debugx
	movq	%r14, %rdi
	callq	_pdu_delete
	movq	_BHSLR_STAGE_OPERATIONAL_NEGOTIATION@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	%r15, %rdi
	callq	_login_new_request
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_pdu_send
	movq	%rbx, %rdi
	callq	_pdu_delete
	movq	%r15, %rdi
	callq	_login_receive
	movq	%rax, %r14
	movq	(%rax), %rax
	movl	(%r12), %ecx
	testl	%ecx, (%rax)
	jne	LBB0_15
## %bb.11:
	leaq	L_.str.22(%rip), %rdi
	xorl	%eax, %eax
	callq	_log_debugx
	movq	%r14, %rdi
	callq	_pdu_delete
	movl	(%r13), %esi
	movq	%r15, %rdi
	callq	_login_new_request
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_pdu_send
	movq	%rbx, %rdi
	callq	_pdu_delete
	movq	%r15, %rdi
	callq	_login_receive
	movq	%rax, %r14
	movq	(%rax), %rax
	movl	(%r12), %ecx
	testl	%ecx, (%rax)
	jne	LBB0_15
## %bb.12:
	leaq	L_.str.22(%rip), %rdi
	xorl	%eax, %eax
	callq	_log_debugx
	movq	%r14, %rdi
	callq	_pdu_delete
	movl	(%r13), %esi
	movq	%r15, %rdi
	callq	_login_new_request
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_pdu_send
	movq	%rbx, %rdi
	callq	_pdu_delete
	movq	%r15, %rdi
	callq	_login_receive
	movq	%rax, %r14
	movq	(%rax), %rax
	movl	(%r12), %ecx
	testl	%ecx, (%rax)
	jne	LBB0_15
## %bb.13:
	leaq	L_.str.22(%rip), %rdi
	xorl	%eax, %eax
	callq	_log_debugx
	movq	%r14, %rdi
	callq	_pdu_delete
	movl	(%r13), %esi
	movq	%r15, %rdi
	callq	_login_new_request
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_pdu_send
	movq	%rbx, %rdi
	callq	_pdu_delete
	movq	%r15, %rdi
	callq	_login_receive
	movq	%rax, %r14
	movq	(%rax), %rax
	movl	(%r12), %ecx
	testl	%ecx, (%rax)
	jne	LBB0_15
## %bb.14:
	leaq	L_.str.22(%rip), %rdi
	xorl	%eax, %eax
	callq	_log_debugx
	movq	%r14, %rdi
	callq	_pdu_delete
	movl	(%r13), %esi
	movq	%r15, %rdi
	callq	_login_new_request
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_pdu_send
	movq	%rbx, %rdi
	callq	_pdu_delete
	movq	%r15, %rdi
	callq	_login_receive
	movq	%rax, %r14
	movq	(%rax), %rax
	movl	(%r12), %ecx
	testl	%ecx, (%rax)
	jne	LBB0_15
## %bb.18:
	leaq	L_.str.21(%rip), %rdi
	xorl	%eax, %eax
	callq	_log_warnx
LBB0_15:
	movq	%r14, %rdi
	callq	_login_nsg
	movq	_BHSLR_STAGE_FULL_FEATURE_PHASE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_17
## %bb.16:
	movq	%r14, %rdi
	callq	_login_nsg
	leaq	L_.str.23(%rip), %rdi
	movq	%rax, %rsi
	xorl	%eax, %eax
	callq	_log_warnx
LBB0_17:
	movq	%r14, %rdi
	callq	_pdu_delete
	leaq	L_.str.24(%rip), %rdi
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_log_debugx                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"beginning operational parameter negotiation"

	.comm	_BHSLR_STAGE_OPERATIONAL_NEGOTIATION,4,2 ## @BHSLR_STAGE_OPERATIONAL_NEGOTIATION
L_.str.1:                               ## @.str.1
	.asciz	"Limits for offload \"%s\" are MaxRecvDataSegment=%d, max_send_dsl=%d, MaxBurstLength=%d, FirstBurstLength=%d"

L_.str.2:                               ## @.str.2
	.asciz	"HeaderDigest"

L_.str.3:                               ## @.str.3
	.asciz	"CRC32C"

L_.str.4:                               ## @.str.4
	.asciz	"None"

L_.str.5:                               ## @.str.5
	.asciz	"DataDigest"

L_.str.6:                               ## @.str.6
	.asciz	"ImmediateData"

L_.str.7:                               ## @.str.7
	.asciz	"Yes"

L_.str.8:                               ## @.str.8
	.asciz	"MaxBurstLength"

L_.str.9:                               ## @.str.9
	.asciz	"FirstBurstLength"

L_.str.10:                              ## @.str.10
	.asciz	"InitialR2T"

L_.str.11:                              ## @.str.11
	.asciz	"MaxOutstandingR2T"

L_.str.12:                              ## @.str.12
	.asciz	"1"

L_.str.13:                              ## @.str.13
	.asciz	"InitiatorRecvDataSegmentLength"

L_.str.14:                              ## @.str.14
	.asciz	"TargetRecvDataSegmentLength"

L_.str.15:                              ## @.str.15
	.asciz	"RDMAExtensions"

L_.str.16:                              ## @.str.16
	.asciz	"MaxRecvDataSegmentLength"

L_.str.17:                              ## @.str.17
	.asciz	"DefaultTime2Wait"

L_.str.18:                              ## @.str.18
	.asciz	"0"

L_.str.19:                              ## @.str.19
	.asciz	"DefaultTime2Retain"

L_.str.20:                              ## @.str.20
	.asciz	"ErrorRecoveryLevel"

	.comm	_KEYS_MAX,4,2                   ## @KEYS_MAX
	.comm	_BHSLR_FLAGS_TRANSIT,4,2        ## @BHSLR_FLAGS_TRANSIT
L_.str.21:                              ## @.str.21
	.asciz	"received login response without the \"T\" flag too many times; giving up"

L_.str.22:                              ## @.str.22
	.asciz	"received login response without the \"T\" flag; sending another request"

	.comm	_BHSLR_STAGE_FULL_FEATURE_PHASE,8,3 ## @BHSLR_STAGE_FULL_FEATURE_PHASE
L_.str.23:                              ## @.str.23
	.asciz	"received final login response with wrong NSG 0x%x"

L_.str.24:                              ## @.str.24
	.asciz	"operational parameter negotiation done; transitioning to Full Feature phase"

	.no_dead_strip	_login_negotiate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function login_negotiate
_login_negotiate:                       ; @login_negotiate
	.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	x19, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_log_debugx
Lloh2:
	adrp	x23, _BHSLR_STAGE_OPERATIONAL_NEGOTIATION@GOTPAGE
Lloh3:
	ldr	x23, [x23, _BHSLR_STAGE_OPERATIONAL_NEGOTIATION@GOTPAGEOFF]
	ldr	w1, [x23]
	mov	x0, x19
	bl	_login_new_request
	mov	x20, x0
	bl	_keys_new
	mov	x21, x0
	ldp	w8, w9, [x19, #28]
	ldp	w12, w10, [x19, #40]
	ldr	w11, [x19, #36]
	stp	x10, x12, [sp, #24]
	stp	x9, x11, [sp, #8]
	str	x8, [sp]
Lloh4:
	adrp	x0, l_.str.1@PAGE
Lloh5:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_log_debugx
	ldr	x8, [x19]
	cbz	x8, LBB0_2
; %bb.1:
Lloh6:
	adrp	x1, l_.str.2@PAGE
Lloh7:
	add	x1, x1, l_.str.2@PAGEOFF
Lloh8:
	adrp	x22, l_.str.4@PAGE
Lloh9:
	add	x22, x22, l_.str.4@PAGEOFF
	mov	x0, x21
	mov	x2, x22
	bl	_keys_add
Lloh10:
	adrp	x1, l_.str.5@PAGE
Lloh11:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x21
	mov	x2, x22
	bl	_keys_add
	ldr	w2, [x19, #32]
	b	LBB0_4
LBB0_2:
	ldr	x8, [x19, #8]
Lloh12:
	adrp	x22, l_.str.3@PAGE
Lloh13:
	add	x22, x22, l_.str.3@PAGEOFF
Lloh14:
	adrp	x24, l_.str.4@PAGE
Lloh15:
	add	x24, x24, l_.str.4@PAGEOFF
	cmp	x8, #0
	csel	x2, x24, x22, eq
Lloh16:
	adrp	x1, l_.str.2@PAGE
Lloh17:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x21
	bl	_keys_add
	ldr	x8, [x19, #16]
	cmp	x8, #0
	csel	x2, x24, x22, eq
Lloh18:
	adrp	x1, l_.str.5@PAGE
Lloh19:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x21
	bl	_keys_add
Lloh20:
	adrp	x1, l_.str.6@PAGE
Lloh21:
	add	x1, x1, l_.str.6@PAGEOFF
Lloh22:
	adrp	x22, l_.str.7@PAGE
Lloh23:
	add	x22, x22, l_.str.7@PAGEOFF
	mov	x0, x21
	mov	x2, x22
	bl	_keys_add
	ldr	w2, [x19, #44]
Lloh24:
	adrp	x1, l_.str.8@PAGE
Lloh25:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x21
	bl	_keys_add_int
	ldr	w2, [x19, #40]
Lloh26:
	adrp	x1, l_.str.9@PAGE
Lloh27:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	x0, x21
	bl	_keys_add_int
Lloh28:
	adrp	x1, l_.str.10@PAGE
Lloh29:
	add	x1, x1, l_.str.10@PAGEOFF
	mov	x0, x21
	mov	x2, x22
	bl	_keys_add
Lloh30:
	adrp	x1, l_.str.11@PAGE
Lloh31:
	add	x1, x1, l_.str.11@PAGEOFF
Lloh32:
	adrp	x2, l_.str.12@PAGE
Lloh33:
	add	x2, x2, l_.str.12@PAGEOFF
	mov	x0, x21
	bl	_keys_add
	ldr	w8, [x19, #24]
	ldr	w2, [x19, #32]
	cmp	w8, #1
	b.ne	LBB0_4
; %bb.3:
Lloh34:
	adrp	x1, l_.str.13@PAGE
Lloh35:
	add	x1, x1, l_.str.13@PAGEOFF
	mov	x0, x21
	bl	_keys_add_int
	ldr	w2, [x19, #36]
Lloh36:
	adrp	x1, l_.str.14@PAGE
Lloh37:
	add	x1, x1, l_.str.14@PAGEOFF
	mov	x0, x21
	bl	_keys_add_int
Lloh38:
	adrp	x1, l_.str.15@PAGE
Lloh39:
	add	x1, x1, l_.str.15@PAGEOFF
Lloh40:
	adrp	x2, l_.str.7@PAGE
Lloh41:
	add	x2, x2, l_.str.7@PAGEOFF
	mov	x0, x21
	bl	_keys_add
	b	LBB0_5
LBB0_4:
Lloh42:
	adrp	x1, l_.str.16@PAGE
Lloh43:
	add	x1, x1, l_.str.16@PAGEOFF
	mov	x0, x21
	bl	_keys_add_int
LBB0_5:
Lloh44:
	adrp	x1, l_.str.17@PAGE
Lloh45:
	add	x1, x1, l_.str.17@PAGEOFF
Lloh46:
	adrp	x22, l_.str.18@PAGE
Lloh47:
	add	x22, x22, l_.str.18@PAGEOFF
	mov	x0, x21
	mov	x2, x22
	bl	_keys_add
Lloh48:
	adrp	x1, l_.str.19@PAGE
Lloh49:
	add	x1, x1, l_.str.19@PAGEOFF
	mov	x0, x21
	mov	x2, x22
	bl	_keys_add
Lloh50:
	adrp	x1, l_.str.20@PAGE
Lloh51:
	add	x1, x1, l_.str.20@PAGEOFF
	mov	x0, x21
	mov	x2, x22
	bl	_keys_add
	mov	x0, x21
	mov	x1, x20
	bl	_keys_save
	mov	x0, x21
	bl	_keys_delete
	mov	x0, x20
	bl	_pdu_send
	mov	x0, x20
	bl	_pdu_delete
	mov	x0, x19
	bl	_login_receive
	mov	x20, x0
	bl	_keys_new
	mov	x21, x0
	mov	x1, x20
	bl	_keys_load
Lloh52:
	adrp	x22, _KEYS_MAX@GOTPAGE
Lloh53:
	ldr	x22, [x22, _KEYS_MAX@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.6:
	mov	x24, #0
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21, #8]
	ldr	x1, [x8, x24, lsl #3]
	cbz	x1, LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x8, [x21]
	ldr	w2, [x8, x24, lsl #2]
	mov	x0, x19
	bl	_login_negotiate_key
	add	x24, x24, #1
	ldrsw	x8, [x22]
	cmp	x24, x8
	b.lt	LBB0_7
LBB0_9:
	mov	x0, x21
	bl	_keys_delete
	ldr	x8, [x20]
	ldr	w8, [x8]
Lloh54:
	adrp	x21, _BHSLR_FLAGS_TRANSIT@GOTPAGE
Lloh55:
	ldr	x21, [x21, _BHSLR_FLAGS_TRANSIT@GOTPAGEOFF]
	ldr	w9, [x21]
	tst	w9, w8
	b.ne	LBB0_16
; %bb.10:
Lloh56:
	adrp	x0, l_.str.22@PAGE
Lloh57:
	add	x0, x0, l_.str.22@PAGEOFF
	bl	_log_debugx
	mov	x0, x20
	bl	_pdu_delete
	ldr	w1, [x23]
	mov	x0, x19
	bl	_login_new_request
	mov	x20, x0
	bl	_pdu_send
	mov	x0, x20
	bl	_pdu_delete
	mov	x0, x19
	bl	_login_receive
	mov	x20, x0
	ldr	x8, [x0]
	ldr	w8, [x8]
	ldr	w9, [x21]
	tst	w9, w8
	b.ne	LBB0_16
; %bb.11:
Lloh58:
	adrp	x0, l_.str.22@PAGE
Lloh59:
	add	x0, x0, l_.str.22@PAGEOFF
	bl	_log_debugx
	mov	x0, x20
	bl	_pdu_delete
	ldr	w1, [x23]
	mov	x0, x19
	bl	_login_new_request
	mov	x20, x0
	bl	_pdu_send
	mov	x0, x20
	bl	_pdu_delete
	mov	x0, x19
	bl	_login_receive
	mov	x20, x0
	ldr	x8, [x0]
	ldr	w8, [x8]
	ldr	w9, [x21]
	tst	w9, w8
	b.ne	LBB0_16
; %bb.12:
Lloh60:
	adrp	x0, l_.str.22@PAGE
Lloh61:
	add	x0, x0, l_.str.22@PAGEOFF
	bl	_log_debugx
	mov	x0, x20
	bl	_pdu_delete
	ldr	w1, [x23]
	mov	x0, x19
	bl	_login_new_request
	mov	x20, x0
	bl	_pdu_send
	mov	x0, x20
	bl	_pdu_delete
	mov	x0, x19
	bl	_login_receive
	mov	x20, x0
	ldr	x8, [x0]
	ldr	w8, [x8]
	ldr	w9, [x21]
	tst	w9, w8
	b.ne	LBB0_16
; %bb.13:
Lloh62:
	adrp	x0, l_.str.22@PAGE
Lloh63:
	add	x0, x0, l_.str.22@PAGEOFF
	bl	_log_debugx
	mov	x0, x20
	bl	_pdu_delete
	ldr	w1, [x23]
	mov	x0, x19
	bl	_login_new_request
	mov	x20, x0
	bl	_pdu_send
	mov	x0, x20
	bl	_pdu_delete
	mov	x0, x19
	bl	_login_receive
	mov	x20, x0
	ldr	x8, [x0]
	ldr	w8, [x8]
	ldr	w9, [x21]
	tst	w9, w8
	b.ne	LBB0_16
; %bb.14:
Lloh64:
	adrp	x0, l_.str.22@PAGE
Lloh65:
	add	x0, x0, l_.str.22@PAGEOFF
	bl	_log_debugx
	mov	x0, x20
	bl	_pdu_delete
	ldr	w1, [x23]
	mov	x0, x19
	bl	_login_new_request
	mov	x20, x0
	bl	_pdu_send
	mov	x0, x20
	bl	_pdu_delete
	mov	x0, x19
	bl	_login_receive
	mov	x20, x0
	ldr	x8, [x0]
	ldr	w8, [x8]
	ldr	w9, [x21]
	tst	w9, w8
	b.ne	LBB0_16
; %bb.15:
Lloh66:
	adrp	x0, l_.str.21@PAGE
Lloh67:
	add	x0, x0, l_.str.21@PAGEOFF
	bl	_log_warnx
LBB0_16:
	mov	x0, x20
	bl	_login_nsg
Lloh68:
	adrp	x8, _BHSLR_STAGE_FULL_FEATURE_PHASE@GOTPAGE
Lloh69:
	ldr	x8, [x8, _BHSLR_STAGE_FULL_FEATURE_PHASE@GOTPAGEOFF]
Lloh70:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_18
; %bb.17:
	mov	x0, x20
	bl	_login_nsg
	str	x0, [sp]
Lloh71:
	adrp	x0, l_.str.23@PAGE
Lloh72:
	add	x0, x0, l_.str.23@PAGEOFF
	bl	_log_warnx
LBB0_18:
	mov	x0, x20
	bl	_pdu_delete
Lloh73:
	adrp	x0, l_.str.24@PAGE
Lloh74:
	add	x0, x0, l_.str.24@PAGEOFF
	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	_log_debugx
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpLdrGot	Lloh52, Lloh53
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpLdrGot	Lloh54, Lloh55
	.loh AdrpAdd	Lloh56, Lloh57
	.loh AdrpAdd	Lloh58, Lloh59
	.loh AdrpAdd	Lloh60, Lloh61
	.loh AdrpAdd	Lloh62, Lloh63
	.loh AdrpAdd	Lloh64, Lloh65
	.loh AdrpAdd	Lloh66, Lloh67
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh70
	.loh AdrpAdd	Lloh71, Lloh72
	.loh AdrpAdd	Lloh73, Lloh74
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"beginning operational parameter negotiation"

	.comm	_BHSLR_STAGE_OPERATIONAL_NEGOTIATION,4,2 ; @BHSLR_STAGE_OPERATIONAL_NEGOTIATION
l_.str.1:                               ; @.str.1
	.asciz	"Limits for offload \"%s\" are MaxRecvDataSegment=%d, max_send_dsl=%d, MaxBurstLength=%d, FirstBurstLength=%d"

l_.str.2:                               ; @.str.2
	.asciz	"HeaderDigest"

l_.str.3:                               ; @.str.3
	.asciz	"CRC32C"

l_.str.4:                               ; @.str.4
	.asciz	"None"

l_.str.5:                               ; @.str.5
	.asciz	"DataDigest"

l_.str.6:                               ; @.str.6
	.asciz	"ImmediateData"

l_.str.7:                               ; @.str.7
	.asciz	"Yes"

l_.str.8:                               ; @.str.8
	.asciz	"MaxBurstLength"

l_.str.9:                               ; @.str.9
	.asciz	"FirstBurstLength"

l_.str.10:                              ; @.str.10
	.asciz	"InitialR2T"

l_.str.11:                              ; @.str.11
	.asciz	"MaxOutstandingR2T"

l_.str.12:                              ; @.str.12
	.asciz	"1"

l_.str.13:                              ; @.str.13
	.asciz	"InitiatorRecvDataSegmentLength"

l_.str.14:                              ; @.str.14
	.asciz	"TargetRecvDataSegmentLength"

l_.str.15:                              ; @.str.15
	.asciz	"RDMAExtensions"

l_.str.16:                              ; @.str.16
	.asciz	"MaxRecvDataSegmentLength"

l_.str.17:                              ; @.str.17
	.asciz	"DefaultTime2Wait"

l_.str.18:                              ; @.str.18
	.asciz	"0"

l_.str.19:                              ; @.str.19
	.asciz	"DefaultTime2Retain"

l_.str.20:                              ; @.str.20
	.asciz	"ErrorRecoveryLevel"

	.comm	_KEYS_MAX,4,2                   ; @KEYS_MAX
	.comm	_BHSLR_FLAGS_TRANSIT,4,2        ; @BHSLR_FLAGS_TRANSIT
l_.str.21:                              ; @.str.21
	.asciz	"received login response without the \"T\" flag too many times; giving up"

l_.str.22:                              ; @.str.22
	.asciz	"received login response without the \"T\" flag; sending another request"

	.comm	_BHSLR_STAGE_FULL_FEATURE_PHASE,8,3 ; @BHSLR_STAGE_FULL_FEATURE_PHASE
l_.str.23:                              ; @.str.23
	.asciz	"received final login response with wrong NSG 0x%x"

l_.str.24:                              ; @.str.24
	.asciz	"operational parameter negotiation done; transitioning to Full Feature phase"

	.no_dead_strip	_login_negotiate
.subsections_via_symbols
