	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_loginPhase                     ## -- Begin function loginPhase
	.p2align	4, 0x90
_loginPhase:                            ## @loginPhase
	.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, %r12
	movq	16(%rdi), %r13
	movl	$3, %edi
	callq	_debug_called
	leaq	-48(%rbp), %rdi
	movl	$4, %esi
	callq	_bzero
	movl	-24(%rbp), %edi
	movl	12(%r12), %esi
	movl	$6, %edx
	callq	_memcpy
	movl	$1, %edi
	callq	_htons
	movl	$1, -36(%rbp)
	movl	4(%r12), %eax
	movq	_SESS_INITIALLOGIN1@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%eax, %ecx
	je	LBB0_3
## %bb.1:
	notl	%ecx
	andl	%ecx, %eax
	movl	%eax, 4(%r12)
	movq	(%r13), %rdx
	leaq	L_.str(%rip), %rsi
	leaq	-48(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_addText
	movq	8(%r13), %rdx
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_addText
	movq	(%r13), %rdi
	leaq	L_.str.2(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	16(%r13), %rdx
	leaq	L_.str.3(%rip), %rsi
	leaq	-48(%rbp), %rdi
	callq	_addText
LBB0_3:
	movl	(%r12), %eax
	cmpl	$129, %eax
	je	LBB0_6
## %bb.4:
	cmpl	$128, %eax
	jne	LBB0_10
## %bb.5:
	movq	24(%r13), %rdx
	leaq	L_.str.4(%rip), %rsi
	leaq	-48(%rbp), %rdi
	jmp	LBB0_9
LBB0_6:
	movl	4(%r12), %eax
	movq	_SESS_NEGODONE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%eax, %ecx
	jne	LBB0_10
## %bb.7:
	orl	%eax, %ecx
	movl	%ecx, 4(%r12)
	movq	32(%r13), %rdx
	leaq	L_.str.5(%rip), %rsi
	leaq	-48(%rbp), %r14
	movq	%r14, %rdi
	callq	_addText
	movq	40(%r13), %rdx
	leaq	L_.str.6(%rip), %rsi
	movq	%r14, %rdi
	callq	_addText
	movq	48(%r13), %rdx
	leaq	L_.str.7(%rip), %rsi
	movq	%r14, %rdi
	callq	_addText
	movq	56(%r13), %rdx
	leaq	L_.str.8(%rip), %rsi
	movq	%r14, %rdi
	callq	_addText
	movq	64(%r13), %rdx
	leaq	L_.str.9(%rip), %rsi
	movq	%r14, %rdi
	callq	_addText
	movq	72(%r13), %rdx
	leaq	L_.str.10(%rip), %rsi
	movq	%r14, %rdi
	callq	_addText
	movq	80(%r13), %rdx
	leaq	L_.str.11(%rip), %rsi
	movq	%r14, %rdi
	callq	_addText
	cmpl	$0, 124(%r13)
	leaq	L_.str.14(%rip), %rbx
	leaq	L_.str.13(%rip), %r15
	movq	%r15, %rdx
	cmoveq	%rbx, %rdx
	leaq	L_.str.12(%rip), %rsi
	movq	%r14, %rdi
	callq	_addText
	cmpl	$0, 120(%r13)
	movq	%r15, %rdx
	cmoveq	%rbx, %rdx
	leaq	L_.str.15(%rip), %rsi
	movq	%r14, %rdi
	callq	_addText
	movq	88(%r13), %rdx
	leaq	L_.str.16(%rip), %rsi
	movq	%r14, %rdi
	callq	_addText
	movq	(%r13), %rdi
	leaq	L_.str.2(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_10
## %bb.8:
	movq	96(%r13), %rdx
	leaq	L_.str.17(%rip), %rsi
	leaq	-48(%rbp), %r14
	movq	%r14, %rdi
	callq	_addText
	movq	104(%r13), %rdx
	leaq	L_.str.18(%rip), %rsi
	movq	%r14, %rdi
	callq	_addText
	cmpl	$0, 116(%r13)
	movq	%r15, %rdx
	cmoveq	%rbx, %rdx
	leaq	L_.str.19(%rip), %rsi
	movq	%r14, %rdi
	callq	_addText
	cmpl	$0, 112(%r13)
	cmoveq	%rbx, %r15
	leaq	L_.str.20(%rip), %rsi
	movq	%r14, %rdi
	movq	%r15, %rdx
LBB0_9:
	callq	_addText
LBB0_10:
	movq	_handleLoginResp@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-48(%rbp), %rsi
	movq	%r12, %rdi
	callq	_sendPDU
	testl	%eax, %eax
	jne	LBB0_13
## %bb.11:
	xorl	%eax, %eax
	cmpl	$128, (%r12)
	jne	LBB0_13
## %bb.12:
	movq	%r12, %rdi
	callq	_authenticate
LBB0_13:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ISCSI_LOGIN_CMD,4,2            ## @ISCSI_LOGIN_CMD
	.comm	_FF_PHASE,4,2                   ## @FF_PHASE
	.comm	_SESS_INITIALLOGIN1,4,2         ## @SESS_INITIALLOGIN1
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"SessionType=%s"

L_.str.1:                               ## @.str.1
	.asciz	"InitiatorName=%s"

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

L_.str.3:                               ## @.str.3
	.asciz	"TargetName=%s"

L_.str.4:                               ## @.str.4
	.asciz	"AuthMethod=%s"

	.comm	_SESS_NEGODONE,4,2              ## @SESS_NEGODONE
L_.str.5:                               ## @.str.5
	.asciz	"MaxBurstLength=%d"

L_.str.6:                               ## @.str.6
	.asciz	"HeaderDigest=%s"

L_.str.7:                               ## @.str.7
	.asciz	"DataDigest=%s"

L_.str.8:                               ## @.str.8
	.asciz	"MaxRecvDataSegmentLength=%d"

L_.str.9:                               ## @.str.9
	.asciz	"ErrorRecoveryLevel=%d"

L_.str.10:                              ## @.str.10
	.asciz	"DefaultTime2Wait=%d"

L_.str.11:                              ## @.str.11
	.asciz	"DefaultTime2Retain=%d"

L_.str.12:                              ## @.str.12
	.asciz	"DataPDUInOrder=%s"

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

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

L_.str.15:                              ## @.str.15
	.asciz	"DataSequenceInOrder=%s"

L_.str.16:                              ## @.str.16
	.asciz	"MaxOutstandingR2T=%d"

L_.str.17:                              ## @.str.17
	.asciz	"MaxConnections=%d"

L_.str.18:                              ## @.str.18
	.asciz	"FirstBurstLength=%d"

L_.str.19:                              ## @.str.19
	.asciz	"InitialR2T=%s"

L_.str.20:                              ## @.str.20
	.asciz	"ImmediateData=%s"

	.comm	_handleLoginResp,4,2            ## @handleLoginResp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_loginPhase                     ; -- Begin function loginPhase
	.p2align	2
_loginPhase:                            ; @loginPhase
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x0
	ldr	x20, [x0, #16]
	mov	w0, #3
	bl	_debug_called
	add	x0, sp, #8
	mov	w1, #4
	bl	_bzero
	ldr	w0, [sp, #32]
	ldr	w1, [x19, #12]
	mov	w2, #6
	bl	_memcpy
	mov	w21, #1
	mov	w0, #1
	bl	_htons
	str	w21, [sp, #20]
	ldr	w8, [x19, #4]
Lloh0:
	adrp	x9, _SESS_INITIALLOGIN1@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SESS_INITIALLOGIN1@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.1:
	bic	w8, w8, w9
	str	w8, [x19, #4]
	ldr	x2, [x20]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	add	x0, sp, #8
	bl	_addText
	ldr	x2, [x20, #8]
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x0, sp, #8
	bl	_addText
	ldr	x0, [x20]
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_3
; %bb.2:
	ldr	x2, [x20, #16]
Lloh9:
	adrp	x1, l_.str.3@PAGE
Lloh10:
	add	x1, x1, l_.str.3@PAGEOFF
	add	x0, sp, #8
	bl	_addText
LBB0_3:
	ldr	w8, [x19]
	cmp	w8, #129
	b.eq	LBB0_6
; %bb.4:
	cmp	w8, #128
	b.ne	LBB0_10
; %bb.5:
	ldr	x2, [x20, #24]
Lloh11:
	adrp	x1, l_.str.4@PAGE
Lloh12:
	add	x1, x1, l_.str.4@PAGEOFF
	b	LBB0_9
LBB0_6:
	ldr	w8, [x19, #4]
Lloh13:
	adrp	x9, _SESS_NEGODONE@GOTPAGE
Lloh14:
	ldr	x9, [x9, _SESS_NEGODONE@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_10
; %bb.7:
	orr	w8, w9, w8
	str	w8, [x19, #4]
	ldr	x2, [x20, #32]
Lloh16:
	adrp	x1, l_.str.5@PAGE
Lloh17:
	add	x1, x1, l_.str.5@PAGEOFF
	add	x0, sp, #8
	bl	_addText
	ldr	x2, [x20, #40]
Lloh18:
	adrp	x1, l_.str.6@PAGE
Lloh19:
	add	x1, x1, l_.str.6@PAGEOFF
	add	x0, sp, #8
	bl	_addText
	ldr	x2, [x20, #48]
Lloh20:
	adrp	x1, l_.str.7@PAGE
Lloh21:
	add	x1, x1, l_.str.7@PAGEOFF
	add	x0, sp, #8
	bl	_addText
	ldr	x2, [x20, #56]
Lloh22:
	adrp	x1, l_.str.8@PAGE
Lloh23:
	add	x1, x1, l_.str.8@PAGEOFF
	add	x0, sp, #8
	bl	_addText
	ldr	x2, [x20, #64]
Lloh24:
	adrp	x1, l_.str.9@PAGE
Lloh25:
	add	x1, x1, l_.str.9@PAGEOFF
	add	x0, sp, #8
	bl	_addText
	ldr	x2, [x20, #72]
Lloh26:
	adrp	x1, l_.str.10@PAGE
Lloh27:
	add	x1, x1, l_.str.10@PAGEOFF
	add	x0, sp, #8
	bl	_addText
	ldr	x2, [x20, #80]
Lloh28:
	adrp	x1, l_.str.11@PAGE
Lloh29:
	add	x1, x1, l_.str.11@PAGEOFF
	add	x0, sp, #8
	bl	_addText
	ldr	w8, [x20, #124]
Lloh30:
	adrp	x21, l_.str.13@PAGE
Lloh31:
	add	x21, x21, l_.str.13@PAGEOFF
Lloh32:
	adrp	x22, l_.str.14@PAGE
Lloh33:
	add	x22, x22, l_.str.14@PAGEOFF
	cmp	w8, #0
	csel	x2, x22, x21, eq
Lloh34:
	adrp	x1, l_.str.12@PAGE
Lloh35:
	add	x1, x1, l_.str.12@PAGEOFF
	add	x0, sp, #8
	bl	_addText
	ldr	w8, [x20, #120]
	cmp	w8, #0
	csel	x2, x22, x21, eq
Lloh36:
	adrp	x1, l_.str.15@PAGE
Lloh37:
	add	x1, x1, l_.str.15@PAGEOFF
	add	x0, sp, #8
	bl	_addText
	ldr	x2, [x20, #88]
Lloh38:
	adrp	x1, l_.str.16@PAGE
Lloh39:
	add	x1, x1, l_.str.16@PAGEOFF
	add	x0, sp, #8
	bl	_addText
	ldr	x0, [x20]
Lloh40:
	adrp	x1, l_.str.2@PAGE
Lloh41:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_10
; %bb.8:
	ldr	x2, [x20, #96]
Lloh42:
	adrp	x1, l_.str.17@PAGE
Lloh43:
	add	x1, x1, l_.str.17@PAGEOFF
	add	x0, sp, #8
	bl	_addText
	ldr	x2, [x20, #104]
Lloh44:
	adrp	x1, l_.str.18@PAGE
Lloh45:
	add	x1, x1, l_.str.18@PAGEOFF
	add	x0, sp, #8
	bl	_addText
	ldr	w8, [x20, #116]
	cmp	w8, #0
	csel	x2, x22, x21, eq
Lloh46:
	adrp	x1, l_.str.19@PAGE
Lloh47:
	add	x1, x1, l_.str.19@PAGEOFF
	add	x0, sp, #8
	bl	_addText
	ldr	w8, [x20, #112]
	cmp	w8, #0
	csel	x2, x22, x21, eq
Lloh48:
	adrp	x1, l_.str.20@PAGE
Lloh49:
	add	x1, x1, l_.str.20@PAGEOFF
LBB0_9:
	add	x0, sp, #8
	bl	_addText
LBB0_10:
Lloh50:
	adrp	x8, _handleLoginResp@GOTPAGE
Lloh51:
	ldr	x8, [x8, _handleLoginResp@GOTPAGEOFF]
Lloh52:
	ldr	w2, [x8]
	add	x1, sp, #8
	mov	x0, x19
	bl	_sendPDU
	cbnz	w0, LBB0_14
; %bb.11:
	ldr	w8, [x19]
	cmp	w8, #128
	b.ne	LBB0_13
; %bb.12:
	mov	x0, x19
	bl	_authenticate
	b	LBB0_14
LBB0_13:
	mov	w0, #0
LBB0_14:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpAdd	Lloh34, Lloh35
	.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	Lloh48, Lloh49
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.cfi_endproc
                                        ; -- End function
	.comm	_ISCSI_LOGIN_CMD,4,2            ; @ISCSI_LOGIN_CMD
	.comm	_FF_PHASE,4,2                   ; @FF_PHASE
	.comm	_SESS_INITIALLOGIN1,4,2         ; @SESS_INITIALLOGIN1
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"SessionType=%s"

l_.str.1:                               ; @.str.1
	.asciz	"InitiatorName=%s"

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

l_.str.3:                               ; @.str.3
	.asciz	"TargetName=%s"

l_.str.4:                               ; @.str.4
	.asciz	"AuthMethod=%s"

	.comm	_SESS_NEGODONE,4,2              ; @SESS_NEGODONE
l_.str.5:                               ; @.str.5
	.asciz	"MaxBurstLength=%d"

l_.str.6:                               ; @.str.6
	.asciz	"HeaderDigest=%s"

l_.str.7:                               ; @.str.7
	.asciz	"DataDigest=%s"

l_.str.8:                               ; @.str.8
	.asciz	"MaxRecvDataSegmentLength=%d"

l_.str.9:                               ; @.str.9
	.asciz	"ErrorRecoveryLevel=%d"

l_.str.10:                              ; @.str.10
	.asciz	"DefaultTime2Wait=%d"

l_.str.11:                              ; @.str.11
	.asciz	"DefaultTime2Retain=%d"

l_.str.12:                              ; @.str.12
	.asciz	"DataPDUInOrder=%s"

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

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

l_.str.15:                              ; @.str.15
	.asciz	"DataSequenceInOrder=%s"

l_.str.16:                              ; @.str.16
	.asciz	"MaxOutstandingR2T=%d"

l_.str.17:                              ; @.str.17
	.asciz	"MaxConnections=%d"

l_.str.18:                              ; @.str.18
	.asciz	"FirstBurstLength=%d"

l_.str.19:                              ; @.str.19
	.asciz	"InitialR2T=%s"

l_.str.20:                              ; @.str.20
	.asciz	"ImmediateData=%s"

	.comm	_handleLoginResp,4,2            ; @handleLoginResp
.subsections_via_symbols
