	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function send_auth
_send_auth:                             ## @send_auth
	.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	_msg@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	callq	_EAD_DATA
	movq	%rax, %rbx
	xorl	%eax, %eax
	callq	_prepare_password
	movq	_tc@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movq	_password@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_t_clientpasswd
	movl	(%r15), %edi
	movq	_B@GOTPCREL(%rip), %rsi
	callq	_t_clientgetkey
	movq	_skey@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movl	%eax, %edi
	callq	_ead_set_key
	movq	_EAD_TYPE_SEND_AUTH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htonl
	movq	(%r14), %rcx
	movq	%rax, 8(%rcx)
	movl	$4, %edi
	callq	_htonl
	movq	(%r14), %rcx
	movq	%rax, (%rcx)
	movl	(%rbx), %ebx
	movl	(%r15), %edi
	callq	_t_clientresponse
	movl	%ebx, %edi
	movl	%eax, %esi
	movl	$4, %edx
	callq	_memcpy
	movq	_EAD_TYPE_DONE_AUTH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_handle_done_auth@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$1, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_send_packet                    ## TAILCALL
LBB0_1:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_msg,8,3                        ## @msg
	.comm	_tc,4,2                         ## @tc
	.comm	_password,4,2                   ## @password
	.comm	_B,4,2                          ## @B
	.comm	_skey,4,2                       ## @skey
	.comm	_EAD_TYPE_SEND_AUTH,4,2         ## @EAD_TYPE_SEND_AUTH
	.comm	_EAD_TYPE_DONE_AUTH,4,2         ## @EAD_TYPE_DONE_AUTH
	.comm	_handle_done_auth,4,2           ## @handle_done_auth
	.comm	_auth,8,3                       ## @auth
	.no_dead_strip	_send_auth
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function send_auth
_send_auth:                             ; @send_auth
	.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
Lloh0:
	adrp	x20, _msg@GOTPAGE
Lloh1:
	ldr	x20, [x20, _msg@GOTPAGEOFF]
	ldr	x0, [x20]
	bl	_EAD_DATA
	mov	x19, x0
	bl	_prepare_password
Lloh2:
	adrp	x21, _tc@GOTPAGE
Lloh3:
	ldr	x21, [x21, _tc@GOTPAGEOFF]
	ldr	w0, [x21]
Lloh4:
	adrp	x8, _password@GOTPAGE
Lloh5:
	ldr	x8, [x8, _password@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
	bl	_t_clientpasswd
	ldr	w0, [x21]
Lloh7:
	adrp	x1, _B@GOTPAGE
Lloh8:
	ldr	x1, [x1, _B@GOTPAGEOFF]
	bl	_t_clientgetkey
Lloh9:
	adrp	x8, _skey@GOTPAGE
Lloh10:
	ldr	x8, [x8, _skey@GOTPAGEOFF]
Lloh11:
	str	w0, [x8]
	cbz	w0, LBB0_2
; %bb.1:
	bl	_ead_set_key
Lloh12:
	adrp	x8, _EAD_TYPE_SEND_AUTH@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EAD_TYPE_SEND_AUTH@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	bl	_htonl
	ldr	x8, [x20]
	str	x0, [x8, #8]
	mov	w0, #4
	bl	_htonl
	ldr	x8, [x20]
	str	x0, [x8]
	ldr	w19, [x19]
	ldr	w0, [x21]
	bl	_t_clientresponse
	mov	x1, x0
	mov	x0, x19
	mov	w2, #4
	bl	_memcpy
Lloh15:
	adrp	x8, _EAD_TYPE_DONE_AUTH@GOTPAGE
Lloh16:
	ldr	x8, [x8, _EAD_TYPE_DONE_AUTH@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
Lloh18:
	adrp	x8, _handle_done_auth@GOTPAGE
Lloh19:
	ldr	x8, [x8, _handle_done_auth@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	mov	w2, #1
	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	_send_packet
LBB0_2:
	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
	ret
	.loh AdrpLdrGotStr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_msg,8,3                        ; @msg
	.comm	_tc,4,2                         ; @tc
	.comm	_password,4,2                   ; @password
	.comm	_B,4,2                          ; @B
	.comm	_skey,4,2                       ; @skey
	.comm	_EAD_TYPE_SEND_AUTH,4,2         ; @EAD_TYPE_SEND_AUTH
	.comm	_EAD_TYPE_DONE_AUTH,4,2         ; @EAD_TYPE_DONE_AUTH
	.comm	_handle_done_auth,4,2           ; @handle_done_auth
	.comm	_auth,8,3                       ; @auth
	.no_dead_strip	_send_auth
.subsections_via_symbols
