	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function login_wait_transition
_login_wait_transition:                 ## @login_wait_transition
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	leaq	L_.str(%rip), %rdi
	callq	_log_debugx
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_login_receive
	movq	%rax, %r15
	movq	(%rax), %rax
	movq	_BHSLR_FLAGS_TRANSIT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	jne	LBB0_2
## %bb.1:
	movq	%r15, %rdi
	movl	$2, %esi
	xorl	%edx, %edx
	callq	_login_send_error
	leaq	L_.str.1(%rip), %rsi
	movl	$1, %edi
	callq	_log_errx
LBB0_2:
	leaq	L_.str.2(%rip), %rdi
	callq	_log_debugx
	movq	%r15, %rdi
	callq	_login_new_response
	movq	%rax, %rbx
	movq	%r15, %rdi
	callq	_pdu_delete
	movq	_BHSLR_STAGE_OPERATIONAL_NEGOTIATION@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_login_set_nsg
	movq	%rbx, %rdi
	callq	_pdu_send
	movq	%rbx, %rdi
	callq	_pdu_delete
	movq	%r14, %rdi
	xorl	%esi, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_login_negotiate                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"waiting for state transition request"

	.comm	_BHSLR_FLAGS_TRANSIT,4,2        ## @BHSLR_FLAGS_TRANSIT
L_.str.1:                               ## @.str.1
	.asciz	"got no \"T\" flag after answering AuthMethod"

L_.str.2:                               ## @.str.2
	.asciz	"got state transition request"

	.comm	_BHSLR_STAGE_OPERATIONAL_NEGOTIATION,4,2 ## @BHSLR_STAGE_OPERATIONAL_NEGOTIATION
	.no_dead_strip	_login_wait_transition
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function login_wait_transition
_login_wait_transition:                 ; @login_wait_transition
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_log_debugx
	mov	x0, x19
	mov	w1, #0
	bl	_login_receive
	mov	x20, x0
	ldr	x8, [x0]
	ldr	w8, [x8]
Lloh2:
	adrp	x9, _BHSLR_FLAGS_TRANSIT@GOTPAGE
Lloh3:
	ldr	x9, [x9, _BHSLR_FLAGS_TRANSIT@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x20
	mov	w1, #2
	mov	w2, #0
	bl	_login_send_error
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #1
	bl	_log_errx
LBB0_2:
Lloh7:
	adrp	x0, l_.str.2@PAGE
Lloh8:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_log_debugx
	mov	x0, x20
	bl	_login_new_response
	mov	x21, x0
	mov	x0, x20
	bl	_pdu_delete
Lloh9:
	adrp	x8, _BHSLR_STAGE_OPERATIONAL_NEGOTIATION@GOTPAGE
Lloh10:
	ldr	x8, [x8, _BHSLR_STAGE_OPERATIONAL_NEGOTIATION@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_login_set_nsg
	mov	x0, x21
	bl	_pdu_send
	mov	x0, x21
	bl	_pdu_delete
	mov	x0, x19
	mov	x1, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_login_negotiate
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"waiting for state transition request"

	.comm	_BHSLR_FLAGS_TRANSIT,4,2        ; @BHSLR_FLAGS_TRANSIT
l_.str.1:                               ; @.str.1
	.asciz	"got no \"T\" flag after answering AuthMethod"

l_.str.2:                               ; @.str.2
	.asciz	"got state transition request"

	.comm	_BHSLR_STAGE_OPERATIONAL_NEGOTIATION,4,2 ; @BHSLR_STAGE_OPERATIONAL_NEGOTIATION
	.no_dead_strip	_login_wait_transition
.subsections_via_symbols
