	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_kex_alg_list                   ## -- Begin function kex_alg_list
	.p2align	4, 0x90
_kex_alg_list:                          ## @kex_alg_list
	.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
	movl	%edi, -44(%rbp)                 ## 4-byte Spill
	movq	_kexalgs@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	movq	(%r13), %rdi
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.1:
	xorl	%r14d, %r14d
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	testq	%r15, %r15
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movb	%al, (%r15,%r14)
	incq	%r14
	movq	(%r13), %rdi
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	callq	_strlen
	movq	%rax, %rbx
	leaq	(%rax,%r14), %rsi
	addq	$2, %rsi
	movq	%r15, %rdi
	callq	_realloc
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %r12
	leaq	(%rbx,%r14), %r15
	movq	%rax, %rdi
	addq	%r14, %rdi
	movq	(%r13), %rsi
	incq	%rbx
	movq	%rbx, %rdx
	callq	_memcpy
	movq	8(%r13), %rdi
	addq	$8, %r13
	movq	%r15, %r14
	movq	%r12, %r15
	testq	%rdi, %rdi
	jne	LBB0_2
	jmp	LBB0_9
LBB0_7:
	movq	%r15, %rdi
	callq	_free
LBB0_8:
	xorl	%r12d, %r12d
LBB0_9:
	movq	%r12, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_kexalgs,8,3                    ## @kexalgs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_kex_alg_list                   ; -- Begin function kex_alg_list
	.p2align	2
_kex_alg_list:                          ; @kex_alg_list
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _kexalgs@GOTPAGE
Lloh1:
	ldr	x8, [x8, _kexalgs@GOTPAGEOFF]
Lloh2:
	ldr	x23, [x8]
	ldr	x0, [x23]
	cbz	x0, LBB0_6
; %bb.1:
	mov	x24, #0
	mov	x20, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	cbz	x20, LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	strb	w19, [x20, x24]
	add	x24, x24, #1
	ldr	x0, [x23]
LBB0_4:                                 ;   in Loop: Header=BB0_2 Depth=1
	bl	_strlen
	mov	x22, x0
	add	x25, x0, x24
	add	x1, x25, #2
	mov	x0, x20
	bl	_realloc
	mov	x21, x0
	cbz	x0, LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x0, x21, x24
	ldr	x1, [x23]
	add	x2, x22, #1
	bl	_memcpy
	ldr	x0, [x23, #8]!
	mov	x24, x25
	mov	x20, x21
	cbnz	x0, LBB0_2
	b	LBB0_8
LBB0_6:
	mov	x21, #0
	b	LBB0_8
LBB0_7:
	mov	x0, x20
	bl	_free
LBB0_8:
	mov	x0, x21
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_kexalgs,8,3                    ; @kexalgs
.subsections_via_symbols
