	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sctp_auth_make_key_vector
_sctp_auth_make_key_vector:             ## @sctp_auth_make_key_vector
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movq	%rdx, %rbx
	movq	%rsi, %r15
	movq	%rdi, %r12
	movl	(%rdi), %edi
	callq	_ntohs
	movq	%rax, %r13
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movl	(%rbx), %edi
	callq	_ntohs
	movq	%rax, %r14
	addq	%r13, %r14
	testq	%r15, %r15
	je	LBB0_2
## %bb.1:
	movl	(%r15), %edi
	callq	_ntohs
	addq	%rax, %r14
LBB0_2:
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	leaq	16(%r14), %rdi
	callq	_kmalloc
	movq	%rax, %r13
	testq	%rax, %rax
	je	LBB0_6
## %bb.3:
	movq	%r14, 8(%r13)
	movq	(%r13), %rbx
	movl	(%r12), %edi
	callq	_ntohs
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movq	%rax, %rdx
	callq	_memcpy
	movl	(%r12), %edi
	callq	_ntohs
	movq	%rax, %r12
	testq	%r15, %r15
	je	LBB0_5
## %bb.4:
	movq	(%r13), %r14
	addq	%r12, %r14
	movl	(%r15), %edi
	callq	_ntohs
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%rax, %rdx
	callq	_memcpy
	movl	(%r15), %edi
	callq	_ntohs
	addq	%rax, %r12
LBB0_5:
	addq	(%r13), %r12
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movl	(%rbx), %edi
	callq	_ntohs
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movq	%rax, %rdx
	callq	_memcpy
LBB0_6:
	movq	%r13, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_sctp_auth_make_key_vector
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sctp_auth_make_key_vector
_sctp_auth_make_key_vector:             ; @sctp_auth_make_key_vector
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x21, x3
	mov	x19, x2
	mov	x20, x1
	mov	x22, x0
	ldr	w0, [x0]
	bl	_ntohs
	mov	x23, x0
	ldr	w0, [x19]
	bl	_ntohs
	add	x23, x0, x23
	cbz	x20, LBB0_2
; %bb.1:
	ldr	w0, [x20]
	bl	_ntohs
	add	x23, x0, x23
LBB0_2:
	add	x0, x23, #16
	mov	x1, x21
	bl	_kmalloc
	mov	x21, x0
	cbz	x0, LBB0_6
; %bb.3:
	str	x23, [x21, #8]
	ldr	x23, [x21]
	ldr	w0, [x22]
	bl	_ntohs
	mov	x2, x0
	mov	x0, x23
	mov	x1, x22
	bl	_memcpy
	ldr	w0, [x22]
	bl	_ntohs
	mov	x22, x0
	cbz	x20, LBB0_5
; %bb.4:
	ldr	x8, [x21]
	add	x23, x8, x22
	ldr	w0, [x20]
	bl	_ntohs
	mov	x2, x0
	mov	x0, x23
	mov	x1, x20
	bl	_memcpy
	ldr	w0, [x20]
	bl	_ntohs
	add	x22, x0, x22
LBB0_5:
	ldr	x8, [x21]
	add	x20, x8, x22
	ldr	w0, [x19]
	bl	_ntohs
	mov	x2, x0
	mov	x0, x20
	mov	x1, x19
	bl	_memcpy
LBB0_6:
	mov	x0, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_sctp_auth_make_key_vector
.subsections_via_symbols
