	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sctp_compute_hashkey           ## -- Begin function sctp_compute_hashkey
	.p2align	4, 0x90
_sctp_compute_hashkey:                  ## @sctp_compute_hashkey
	.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
	movq	%rdx, %r12
	movq	%rsi, %r13
	movq	%rdi, %r15
	callq	_sctp_get_keylen
	movq	%rax, %r14
	movq	%r13, %rdi
	callq	_sctp_get_keylen
	movq	%rax, %rbx
	addq	%r14, %rbx
	movq	%r12, %rdi
	callq	_sctp_get_keylen
	movq	%rax, %r14
	addq	%rbx, %r14
	jle	LBB0_6
## %bb.1:
	movq	%r14, %rdi
	callq	_sctp_alloc_key
	testq	%rax, %rax
	je	LBB0_6
## %bb.2:
	movq	%rax, %rbx
	movq	%r14, (%rax)
	movq	8(%rax), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_sctp_compare_key
	movq	%rax, %r14
	movq	%r12, %rdi
	callq	_sctp_get_keylen
	testq	%r14, %r14
	jle	LBB0_7
## %bb.3:
	testq	%rax, %rax
	je	LBB0_9
## %bb.4:
	movq	(%r12), %rdx
	movq	8(%r12), %rsi
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	callq	_memcpy
	movq	(%r12), %rax
	leaq	(%r14,%rax,4), %r14
	jmp	LBB0_10
LBB0_6:
	xorl	%ebx, %ebx
	jmp	LBB0_14
LBB0_7:
	testq	%rax, %rax
	je	LBB0_15
## %bb.8:
	movq	(%r12), %rdx
	movq	8(%r12), %rsi
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	callq	_memcpy
	movq	(%r12), %rax
	leaq	(%r14,%rax,4), %r14
	jmp	LBB0_16
LBB0_9:
	movq	-48(%rbp), %r14                 ## 8-byte Reload
LBB0_10:
	movq	%r13, %rdi
	callq	_sctp_get_keylen
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	movq	(%r13), %rdx
	movq	8(%r13), %rsi
	movq	%r14, %rdi
	callq	_memcpy
	movq	(%r13), %rax
	leaq	(%r14,%rax,4), %r14
LBB0_12:
	movq	%r15, %rdi
	callq	_sctp_get_keylen
	movq	%r15, %r13
	testq	%rax, %rax
	je	LBB0_14
LBB0_13:
	movq	(%r13), %rdx
	movq	8(%r13), %rsi
	movq	%r14, %rdi
	callq	_memcpy
LBB0_14:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	movq	-48(%rbp), %r14                 ## 8-byte Reload
LBB0_16:
	movq	%r15, %rdi
	callq	_sctp_get_keylen
	testq	%rax, %rax
	je	LBB0_18
## %bb.17:
	movq	(%r15), %rdx
	movq	8(%r15), %rsi
	movq	%r14, %rdi
	callq	_memcpy
	movq	(%r15), %rax
	leaq	(%r14,%rax,4), %r14
LBB0_18:
	movq	%r13, %rdi
	callq	_sctp_get_keylen
	testq	%rax, %rax
	jne	LBB0_13
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sctp_compute_hashkey           ; -- Begin function sctp_compute_hashkey
	.p2align	2
_sctp_compute_hashkey:                  ; @sctp_compute_hashkey
	.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	x23, x2
	mov	x20, x1
	mov	x21, x0
	bl	_sctp_get_keylen
	mov	x19, x0
	mov	x0, x20
	bl	_sctp_get_keylen
	add	x19, x0, x19
	mov	x0, x23
	bl	_sctp_get_keylen
	add	x22, x19, x0
	cmp	x22, #1
	b.lt	LBB0_8
; %bb.1:
	mov	x0, x22
	bl	_sctp_alloc_key
	mov	x19, x0
	cbz	x0, LBB0_15
; %bb.2:
	str	x22, [x19]
	ldr	x22, [x19, #8]
	mov	x0, x21
	mov	x1, x20
	bl	_sctp_compare_key
	mov	x24, x0
	mov	x0, x23
	bl	_sctp_get_keylen
	cmp	x24, #0
	b.le	LBB0_9
; %bb.3:
	cbz	x0, LBB0_5
; %bb.4:
	ldp	x2, x1, [x23]
	mov	x0, x22
	bl	_memcpy
	ldr	x8, [x23]
	add	x22, x22, x8, lsl #2
LBB0_5:
	mov	x0, x20
	bl	_sctp_get_keylen
	cbz	x0, LBB0_7
; %bb.6:
	ldp	x2, x1, [x20]
	mov	x0, x22
	bl	_memcpy
	ldr	x8, [x20]
	add	x22, x22, x8, lsl #2
LBB0_7:
	mov	x0, x21
	bl	_sctp_get_keylen
	mov	x20, x21
	cbnz	x0, LBB0_14
	b	LBB0_15
LBB0_8:
	mov	x19, #0
	b	LBB0_15
LBB0_9:
	cbz	x0, LBB0_11
; %bb.10:
	ldp	x2, x1, [x23]
	mov	x0, x22
	bl	_memcpy
	ldr	x8, [x23]
	add	x22, x22, x8, lsl #2
LBB0_11:
	mov	x0, x21
	bl	_sctp_get_keylen
	cbz	x0, LBB0_13
; %bb.12:
	ldp	x2, x1, [x21]
	mov	x0, x22
	bl	_memcpy
	ldr	x8, [x21]
	add	x22, x22, x8, lsl #2
LBB0_13:
	mov	x0, x20
	bl	_sctp_get_keylen
	cbz	x0, LBB0_15
LBB0_14:
	ldp	x2, x1, [x20]
	mov	x0, x22
	bl	_memcpy
LBB0_15:
	mov	x0, x19
	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
.subsections_via_symbols
