	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_input_kex_dh_init              ## -- Begin function input_kex_dh_init
	.p2align	4, 0x90
_input_kex_dh_init:                     ## @input_kex_dh_init
	.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
	subq	$136, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r13
	movq	%rsp, -80(%rbp)                 ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	8(%rdx), %r15
	movq	$0, -128(%rbp)
	movq	$0, -120(%rbp)
	movq	_SSH_DIGEST_MAX_LENGTH@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	shlq	$2, %r12
	movq	%r12, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rdi
	movq	80(%r15), %rcx
	testq	%rcx, %rcx
	je	LBB0_6
## %bb.1:
	cmpq	$0, 72(%r15)
	je	LBB0_6
## %bb.2:
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movl	60(%r15), %esi
	movl	64(%r15), %edi
	movq	%r13, %rdx
	callq	*%rcx
	movq	%rax, %r14
	movl	60(%r15), %esi
	movl	64(%r15), %edi
	movq	%r13, %rdx
	callq	*72(%r15)
	testq	%r14, %r14
	je	LBB0_7
## %bb.3:
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	callq	_BN_new
	testq	%rax, %rax
	je	LBB0_8
## %bb.4:
	movq	%rax, %rbx
	movq	16(%r15), %rdi
	leaq	-168(%rbp), %rsi
	xorl	%edx, %edx
	callq	_DH_get0_key
	movq	%r13, %rdi
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rsi
	callq	_sshpkt_get_bignum2
	testl	%eax, %eax
	je	LBB0_10
## %bb.5:
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	xorl	%eax, %eax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	xorl	%r14d, %r14d
	jmp	LBB0_12
LBB0_6:
	movq	_SSH_ERR_INVALID_ARGUMENT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	xorl	%r14d, %r14d
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	xorl	%eax, %eax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	-80(%rbp), %r13                 ## 8-byte Reload
	jmp	LBB0_14
LBB0_7:
	movq	_SSH_ERR_NO_HOSTKEY_LOADED@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_8:
	movq	_SSH_ERR_ALLOC_FAIL@GOTPCREL(%rip), %rax
LBB0_9:
	movl	(%rax), %eax
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	xorl	%r14d, %r14d
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	xorl	%eax, %eax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	-80(%rbp), %r13                 ## 8-byte Reload
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	jmp	LBB0_14
LBB0_10:
	movq	%r13, %rdi
	callq	_sshpkt_get_end
	testl	%eax, %eax
	je	LBB0_18
LBB0_11:
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
LBB0_12:
	xorl	%eax, %eax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
LBB0_13:
	movq	-80(%rbp), %r13                 ## 8-byte Reload
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
LBB0_14:
	movq	%r12, %rsi
	callq	_explicit_bzero
	movq	16(%r15), %rdi
	callq	_DH_free
	movq	$0, 16(%r15)
	movq	%rbx, %rdi
	callq	_BN_clear_free
	testq	%r14, %r14
	je	LBB0_16
## %bb.15:
	movq	%r14, %rdi
	movq	-104(%rbp), %rsi                ## 8-byte Reload
	callq	_explicit_bzero
	movq	%r14, %rdi
	callq	_free
LBB0_16:
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	callq	_BN_clear_free
	movq	-120(%rbp), %rdi
	callq	_free
	movq	-128(%rbp), %rdi
	callq	_free
	movq	%r13, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_43
## %bb.17:
	movl	-64(%rbp), %eax                 ## 4-byte Reload
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_18:
	movq	16(%r15), %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	callq	_dh_pub_is_valid
	testl	%eax, %eax
	je	LBB0_32
## %bb.19:
	movq	%r14, -96(%rbp)                 ## 8-byte Spill
	movq	16(%r15), %rdi
	callq	_DH_size
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_malloc
	movq	%rax, %r14
	testq	%rax, %rax
	movq	%rbx, -104(%rbp)                ## 8-byte Spill
	je	LBB0_31
## %bb.20:
	xorl	%eax, %eax
	callq	_BN_new
	movq	%rax, %rcx
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	je	LBB0_31
## %bb.21:
	movq	16(%r15), %rdx
	movq	%r14, %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	callq	_DH_compute_key
	testl	%eax, %eax
	js	LBB0_33
## %bb.22:
	movq	%r14, %rdi
	movl	%eax, %esi
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	callq	_BN_bin2bn
	testq	%rax, %rax
	je	LBB0_33
## %bb.23:
	leaq	-120(%rbp), %rsi
	leaq	-160(%rbp), %rdx
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	callq	_sshkey_to_blob
	testl	%eax, %eax
	jne	LBB0_35
## %bb.24:
	movq	%r12, -112(%rbp)
	movl	56(%r15), %eax
	movl	%eax, -148(%rbp)                ## 4-byte Spill
	movl	52(%r15), %eax
	movl	%eax, -144(%rbp)                ## 4-byte Spill
	movl	44(%r15), %edi
	movl	48(%r15), %eax
	movl	%eax, -140(%rbp)                ## 4-byte Spill
	callq	_sshbuf_ptr
	movl	%eax, -136(%rbp)                ## 4-byte Spill
	movl	44(%r15), %edi
	callq	_sshbuf_len
	movl	%eax, -132(%rbp)                ## 4-byte Spill
	movl	40(%r15), %edi
	callq	_sshbuf_ptr
	movl	%eax, %ebx
	movl	40(%r15), %edi
	callq	_sshbuf_len
                                        ## kill: def $eax killed $eax def $rax
	leaq	-112(%rbp), %r10
	movl	-148(%rbp), %edi                ## 4-byte Reload
	movl	-144(%rbp), %esi                ## 4-byte Reload
	movl	-140(%rbp), %edx                ## 4-byte Reload
	movl	-136(%rbp), %ecx                ## 4-byte Reload
	movl	-132(%rbp), %r8d                ## 4-byte Reload
	movl	%ebx, %r9d
	pushq	%r10
	pushq	-56(%rbp)                       ## 8-byte Folded Reload
	pushq	-88(%rbp)                       ## 8-byte Folded Reload
	pushq	-168(%rbp)
	pushq	-72(%rbp)                       ## 8-byte Folded Reload
	pushq	-160(%rbp)
	pushq	-120(%rbp)
	pushq	%rax
	callq	_kex_dh_hash
	addq	$64, %rsp
	testl	%eax, %eax
	jne	LBB0_35
## %bb.25:
	cmpq	$0, 32(%r15)
	jne	LBB0_28
## %bb.26:
	movq	-112(%rbp), %rbx
	movq	%rbx, (%r15)
	movq	%rbx, %rdi
	callq	_malloc
	movq	%rax, 32(%r15)
	testq	%rax, %rax
	je	LBB0_42
## %bb.27:
	movq	%rax, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	%rbx, %rdx
	callq	_memcpy
LBB0_28:
	movq	-112(%rbp), %r9
	movl	24(%r15), %r10d
	movl	(%r13), %eax
	leaq	-128(%rbp), %rdx
	leaq	-176(%rbp), %rcx
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	-96(%rbp), %rsi                 ## 8-byte Reload
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	pushq	%rax
	pushq	%r10
	callq	*8(%r15)
	addq	$16, %rsp
	testl	%eax, %eax
	js	LBB0_35
## %bb.29:
	movq	%r14, -96(%rbp)                 ## 8-byte Spill
	movq	_SSH2_MSG_KEXDH_REPLY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_sshpkt_start
	testl	%eax, %eax
	je	LBB0_36
LBB0_30:
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	jmp	LBB0_41
LBB0_31:
	movq	_SSH_ERR_ALLOC_FAIL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	jmp	LBB0_12
LBB0_32:
	leaq	L_.str(%rip), %rsi
	movq	%r13, %rdi
	callq	_sshpkt_disconnect
	movq	_SSH_ERR_MESSAGE_INCOMPLETE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_11
LBB0_33:
	movq	_SSH_ERR_LIBCRYPTO_ERROR@GOTPCREL(%rip), %rax
LBB0_34:
	movl	(%rax), %eax
LBB0_35:
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	jmp	LBB0_13
LBB0_36:
	movq	-120(%rbp), %rsi
	movq	-160(%rbp), %rdx
	movq	%r13, %rdi
	callq	_sshpkt_put_string
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	testl	%eax, %eax
	jne	LBB0_41
## %bb.37:
	movq	-168(%rbp), %rsi
	movq	%r13, %rdi
	callq	_sshpkt_put_bignum2
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	testl	%eax, %eax
	jne	LBB0_41
## %bb.38:
	movq	-128(%rbp), %rsi
	movq	-176(%rbp), %rdx
	movq	%r13, %rdi
	callq	_sshpkt_put_string
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	testl	%eax, %eax
	jne	LBB0_41
## %bb.39:
	movq	%r13, %rdi
	callq	_sshpkt_send
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	testl	%eax, %eax
	jne	LBB0_41
## %bb.40:
	movq	-112(%rbp), %rdx
	movq	%r13, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	callq	_kex_derive_keys_bn
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	testl	%eax, %eax
	je	LBB0_44
LBB0_41:
	movq	-80(%rbp), %r13                 ## 8-byte Reload
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	-96(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_14
LBB0_42:
	movq	_SSH_ERR_ALLOC_FAIL@GOTPCREL(%rip), %rax
	jmp	LBB0_34
LBB0_43:
	callq	___stack_chk_fail
LBB0_44:
	movq	%r13, %rdi
	callq	_kex_send_newkeys
	jmp	LBB0_30
	.cfi_endproc
                                        ## -- End function
	.comm	_SSH_DIGEST_MAX_LENGTH,4,2      ## @SSH_DIGEST_MAX_LENGTH
	.comm	_SSH_ERR_INVALID_ARGUMENT,4,2   ## @SSH_ERR_INVALID_ARGUMENT
	.comm	_SSH_ERR_NO_HOSTKEY_LOADED,4,2  ## @SSH_ERR_NO_HOSTKEY_LOADED
	.comm	_SSH_ERR_ALLOC_FAIL,4,2         ## @SSH_ERR_ALLOC_FAIL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"bad client public DH value"

	.comm	_SSH_ERR_MESSAGE_INCOMPLETE,4,2 ## @SSH_ERR_MESSAGE_INCOMPLETE
	.comm	_SSH_ERR_LIBCRYPTO_ERROR,4,2    ## @SSH_ERR_LIBCRYPTO_ERROR
	.comm	_SSH2_MSG_KEXDH_REPLY,4,2       ## @SSH2_MSG_KEXDH_REPLY
	.comm	_stderr,4,2                     ## @stderr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_input_kex_dh_init              ; -- Begin function input_kex_dh_init
	.p2align	2
_input_kex_dh_init:                     ; @input_kex_dh_init
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #96
	mov	x25, x2
	mov	x27, sp
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	ldr	x28, [x2, #8]
	stp	xzr, xzr, [x29, #-112]
Lloh3:
	adrp	x8, _SSH_DIGEST_MAX_LENGTH@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SSH_DIGEST_MAX_LENGTH@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	lsl	x19, x8, #2
	mov	x9, x19
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x19, #15
	and	x9, x9, #0x7fffffff0
	sub	x20, x8, x9
	mov	sp, x20
	ldr	x8, [x28, #80]
	cbz	x8, LBB0_7
; %bb.1:
	ldr	x9, [x28, #72]
	cbz	x9, LBB0_7
; %bb.2:
	stur	x27, [x29, #-144]               ; 8-byte Folded Spill
	ldp	w1, w0, [x28, #60]
	mov	x2, x25
	blr	x8
	mov	x27, x0
	ldr	x8, [x28, #72]
	ldp	w1, w0, [x28, #60]
	mov	x2, x25
	blr	x8
	cbz	x27, LBB0_8
; %bb.3:
	mov	x22, x0
	bl	_BN_new
	mov	x21, x0
	cbz	x0, LBB0_9
; %bb.4:
	ldr	x0, [x28, #16]
	sub	x1, x29, #96
	mov	x2, #0
	bl	_DH_get0_key
	mov	x0, x25
	mov	x1, x21
	bl	_sshpkt_get_bignum2
	cbnz	w0, LBB0_6
; %bb.5:
	mov	x0, x25
	bl	_sshpkt_get_end
	cbz	w0, LBB0_18
LBB0_6:
	mov	x26, x0
	mov	x22, #0
	mov	x23, #0
	mov	x24, #0
	b	LBB0_13
LBB0_7:
	mov	x22, #0
	mov	x21, #0
	mov	x23, #0
	mov	x24, #0
Lloh8:
	adrp	x8, _SSH_ERR_INVALID_ARGUMENT@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SSH_ERR_INVALID_ARGUMENT@GOTPAGEOFF]
Lloh10:
	ldr	w26, [x8]
	b	LBB0_14
LBB0_8:
	mov	x22, #0
	mov	x21, #0
	mov	x23, #0
	mov	x24, #0
Lloh11:
	adrp	x8, _SSH_ERR_NO_HOSTKEY_LOADED@GOTPAGE
Lloh12:
	ldr	x8, [x8, _SSH_ERR_NO_HOSTKEY_LOADED@GOTPAGEOFF]
	b	LBB0_12
LBB0_9:
	mov	x22, #0
	mov	x23, #0
LBB0_10:
	mov	x24, #0
LBB0_11:
Lloh13:
	adrp	x8, _SSH_ERR_ALLOC_FAIL@GOTPAGE
Lloh14:
	ldr	x8, [x8, _SSH_ERR_ALLOC_FAIL@GOTPAGEOFF]
LBB0_12:
	ldr	w26, [x8]
LBB0_13:
	ldur	x27, [x29, #-144]               ; 8-byte Folded Reload
LBB0_14:
	mov	x0, x20
	mov	x1, x19
	bl	_explicit_bzero
	ldr	x0, [x28, #16]
	bl	_DH_free
	str	xzr, [x28, #16]
	mov	x0, x21
	bl	_BN_clear_free
	cbz	x22, LBB0_16
; %bb.15:
	mov	x0, x22
	mov	x1, x23
	bl	_explicit_bzero
	mov	x0, x22
	bl	_free
LBB0_16:
	mov	x0, x24
	bl	_BN_clear_free
	ldur	x0, [x29, #-112]
	bl	_free
	ldur	x0, [x29, #-104]
	bl	_free
	mov	sp, x27
	ldur	x8, [x29, #-88]
Lloh15:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh16:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_39
; %bb.17:
	mov	x0, x26
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_18:
	ldr	x0, [x28, #16]
	mov	x1, x21
	bl	_dh_pub_is_valid
	cbz	w0, LBB0_26
; %bb.19:
	stur	x22, [x29, #-152]               ; 8-byte Folded Spill
	ldr	x0, [x28, #16]
	bl	_DH_size
	mov	x23, x0
	bl	_malloc
	mov	x22, x0
	cbz	x0, LBB0_10
; %bb.20:
	bl	_BN_new
	cbz	x0, LBB0_10
; %bb.21:
	mov	x24, x0
	ldr	x2, [x28, #16]
	mov	x0, x22
	mov	x1, x21
	bl	_DH_compute_key
	tbnz	w0, #31, LBB0_27
; %bb.22:
	mov	x1, x0
	mov	x0, x22
	mov	x2, x24
	bl	_BN_bin2bn
	cbz	x0, LBB0_27
; %bb.23:
	sub	x1, x29, #112
	sub	x2, x29, #120
	mov	x0, x27
	bl	_sshkey_to_blob
	cbnz	w0, LBB0_25
; %bb.24:
	stur	x19, [x29, #-136]
	ldr	w9, [x28, #56]
	ldr	w8, [x28, #52]
	stp	w8, w9, [x29, #-160]            ; 8-byte Folded Spill
	ldp	w0, w8, [x28, #44]
	stur	w8, [x29, #-164]                ; 4-byte Folded Spill
	bl	_sshbuf_ptr
	stur	w0, [x29, #-168]                ; 4-byte Folded Spill
	ldr	w0, [x28, #44]
	bl	_sshbuf_len
	stur	w0, [x29, #-172]                ; 4-byte Folded Spill
	ldr	w0, [x28, #40]
	bl	_sshbuf_ptr
	mov	x26, x0
	ldr	w0, [x28, #40]
	bl	_sshbuf_len
	mov	x6, x0
	ldp	x8, x7, [x29, #-120]
	ldur	x9, [x29, #-96]
	sub	sp, sp, #48
	sub	x10, x29, #136
	stp	x20, x10, [sp, #32]
	stp	x9, x24, [sp, #16]
	stp	x8, x21, [sp]
	ldp	w1, w0, [x29, #-160]            ; 8-byte Folded Reload
	ldp	w3, w2, [x29, #-168]            ; 8-byte Folded Reload
	ldur	w4, [x29, #-172]                ; 4-byte Folded Reload
	mov	x5, x26
	bl	_kex_dh_hash
	add	sp, sp, #48
	cbz	w0, LBB0_28
LBB0_25:
	mov	x26, x0
	b	LBB0_13
LBB0_26:
Lloh18:
	adrp	x1, l_.str@PAGE
Lloh19:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x25
	bl	_sshpkt_disconnect
	mov	x22, #0
	mov	x23, #0
	mov	x24, #0
Lloh20:
	adrp	x8, _SSH_ERR_MESSAGE_INCOMPLETE@GOTPAGE
Lloh21:
	ldr	x8, [x8, _SSH_ERR_MESSAGE_INCOMPLETE@GOTPAGEOFF]
	b	LBB0_12
LBB0_27:
Lloh22:
	adrp	x8, _SSH_ERR_LIBCRYPTO_ERROR@GOTPAGE
Lloh23:
	ldr	x8, [x8, _SSH_ERR_LIBCRYPTO_ERROR@GOTPAGEOFF]
	b	LBB0_12
LBB0_28:
	ldr	x8, [x28, #32]
	cbnz	x8, LBB0_31
; %bb.29:
	ldur	x26, [x29, #-136]
	str	x26, [x28]
	mov	x0, x26
	bl	_malloc
	str	x0, [x28, #32]
	cbz	x0, LBB0_11
; %bb.30:
	mov	x1, x20
	mov	x2, x26
	bl	_memcpy
LBB0_31:
	ldr	x8, [x28, #8]
	ldur	x5, [x29, #-136]
	ldr	w6, [x28, #24]
	ldr	w7, [x25]
	sub	x2, x29, #104
	sub	x3, x29, #128
	ldur	x0, [x29, #-152]                ; 8-byte Folded Reload
	mov	x1, x27
	mov	x4, x20
	blr	x8
	tbnz	w0, #31, LBB0_25
; %bb.32:
Lloh24:
	adrp	x8, _SSH2_MSG_KEXDH_REPLY@GOTPAGE
Lloh25:
	ldr	x8, [x8, _SSH2_MSG_KEXDH_REPLY@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
	mov	x0, x25
	bl	_sshpkt_start
	cbnz	w0, LBB0_25
; %bb.33:
	ldp	x2, x1, [x29, #-120]
	mov	x0, x25
	bl	_sshpkt_put_string
	cbnz	w0, LBB0_25
; %bb.34:
	ldur	x1, [x29, #-96]
	mov	x0, x25
	bl	_sshpkt_put_bignum2
	cbnz	w0, LBB0_25
; %bb.35:
	ldur	x1, [x29, #-104]
	ldur	x2, [x29, #-128]
	mov	x0, x25
	bl	_sshpkt_put_string
	cbnz	w0, LBB0_25
; %bb.36:
	mov	x0, x25
	bl	_sshpkt_send
	cbnz	w0, LBB0_25
; %bb.37:
	ldur	x2, [x29, #-136]
	mov	x0, x25
	mov	x1, x20
	mov	x3, x24
	bl	_kex_derive_keys_bn
	cbnz	w0, LBB0_25
; %bb.38:
	mov	x0, x25
	bl	_kex_send_newkeys
	b	LBB0_25
LBB0_39:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_SSH_DIGEST_MAX_LENGTH,4,2      ; @SSH_DIGEST_MAX_LENGTH
	.comm	_SSH_ERR_INVALID_ARGUMENT,4,2   ; @SSH_ERR_INVALID_ARGUMENT
	.comm	_SSH_ERR_NO_HOSTKEY_LOADED,4,2  ; @SSH_ERR_NO_HOSTKEY_LOADED
	.comm	_SSH_ERR_ALLOC_FAIL,4,2         ; @SSH_ERR_ALLOC_FAIL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"bad client public DH value"

	.comm	_SSH_ERR_MESSAGE_INCOMPLETE,4,2 ; @SSH_ERR_MESSAGE_INCOMPLETE
	.comm	_SSH_ERR_LIBCRYPTO_ERROR,4,2    ; @SSH_ERR_LIBCRYPTO_ERROR
	.comm	_SSH2_MSG_KEXDH_REPLY,4,2       ; @SSH2_MSG_KEXDH_REPLY
	.comm	_stderr,4,2                     ; @stderr
.subsections_via_symbols
