	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_kex_send_newkeys               ## -- Begin function kex_send_newkeys
	.p2align	4, 0x90
_kex_send_newkeys:                      ## @kex_send_newkeys
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	callq	_kex_reset_dispatch
	movq	_SSH2_MSG_NEWKEYS@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	%rbx, %rdi
	callq	_sshpkt_start
	testl	%eax, %eax
	jne	LBB0_5
## %bb.1:
	movq	%rbx, %rdi
	callq	_sshpkt_send
	testl	%eax, %eax
	jne	LBB0_5
## %bb.2:
	leaq	L_.str(%rip), %rdi
	callq	_debug
	leaq	L_.str.1(%rip), %rdi
	callq	_debug
	movl	(%r14), %esi
	movq	_kex_input_newkeys@GOTPCREL(%rip), %rdx
	movq	%rbx, %rdi
	callq	_ssh_dispatch_set
	movq	(%rbx), %rax
	cmpq	$0, (%rax)
	je	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	callq	_kex_send_ext_info
	testl	%eax, %eax
	jne	LBB0_5
LBB0_4:
	xorl	%eax, %eax
LBB0_5:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SSH2_MSG_NEWKEYS,4,2           ## @SSH2_MSG_NEWKEYS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"SSH2_MSG_NEWKEYS sent"

L_.str.1:                               ## @.str.1
	.asciz	"expecting SSH2_MSG_NEWKEYS"

	.comm	_kex_input_newkeys,4,2          ## @kex_input_newkeys
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_kex_send_newkeys               ; -- Begin function kex_send_newkeys
	.p2align	2
_kex_send_newkeys:                      ; @kex_send_newkeys
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_kex_reset_dispatch
Lloh0:
	adrp	x20, _SSH2_MSG_NEWKEYS@GOTPAGE
Lloh1:
	ldr	x20, [x20, _SSH2_MSG_NEWKEYS@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x0, x19
	bl	_sshpkt_start
	cbnz	w0, LBB0_5
; %bb.1:
	mov	x0, x19
	bl	_sshpkt_send
	cbnz	w0, LBB0_5
; %bb.2:
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	bl	_debug
Lloh4:
	adrp	x0, l_.str.1@PAGE
Lloh5:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_debug
	ldr	w1, [x20]
Lloh6:
	adrp	x2, _kex_input_newkeys@GOTPAGE
Lloh7:
	ldr	x2, [x2, _kex_input_newkeys@GOTPAGEOFF]
	mov	x0, x19
	bl	_ssh_dispatch_set
	ldr	x8, [x19]
	ldr	x8, [x8]
	cbz	x8, LBB0_4
; %bb.3:
	mov	x0, x19
	bl	_kex_send_ext_info
	cbnz	w0, LBB0_5
LBB0_4:
	mov	w0, #0
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_SSH2_MSG_NEWKEYS,4,2           ; @SSH2_MSG_NEWKEYS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"SSH2_MSG_NEWKEYS sent"

l_.str.1:                               ; @.str.1
	.asciz	"expecting SSH2_MSG_NEWKEYS"

	.comm	_kex_input_newkeys,4,2          ; @kex_input_newkeys
.subsections_via_symbols
