	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sctp_addto_chunk               ## -- Begin function sctp_addto_chunk
	.p2align	4, 0x90
_sctp_addto_chunk:                      ## @sctp_addto_chunk
	.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
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movl	%esi, %r14d
	movq	%rdi, %r12
	movq	8(%rdi), %rax
	movl	(%rax), %edi
	callq	_ntohs
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_WORD_ROUND
	movl	%eax, %r13d
	movl	%eax, %r15d
	subl	%ebx, %r15d
	movl	(%r12), %edi
	movl	%r15d, %esi
	callq	_skb_put
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	(%r12), %edi
	movl	%r14d, %esi
	callq	_skb_put
	movq	%rax, %rbx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	xorl	%esi, %esi
	movl	%r15d, %edx
	callq	_memset
	movq	%rbx, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	%r14d, %edx
	callq	_memcpy
	addl	%r14d, %r13d
	movl	%r13d, %edi
	callq	_htons
	movq	8(%r12), %rcx
	movl	%eax, (%rcx)
	movl	(%r12), %edi
	callq	_skb_tail_pointer
	movl	%eax, 4(%r12)
	movq	%rbx, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sctp_addto_chunk               ; -- Begin function sctp_addto_chunk
	.p2align	2
_sctp_addto_chunk:                      ; @sctp_addto_chunk
	.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, x2
	mov	x20, x1
	mov	x21, x0
	ldr	x8, [x0, #8]
	ldr	w0, [x8]
	bl	_ntohs
	mov	x22, x0
	bl	_WORD_ROUND
	mov	x23, x0
	sub	w22, w0, w22
	ldr	w0, [x21]
	mov	x1, x22
	bl	_skb_put
	mov	x24, x0
	ldr	w0, [x21]
	mov	x1, x20
	bl	_skb_put
	mov	x25, x0
	mov	x0, x24
	mov	w1, #0
	mov	x2, x22
	bl	_memset
	mov	x0, x25
	mov	x1, x19
	mov	x2, x20
	bl	_memcpy
	add	w0, w23, w20
	bl	_htons
	ldr	x8, [x21, #8]
	str	w0, [x8]
	ldr	w0, [x21]
	bl	_skb_tail_pointer
	str	w0, [x21, #4]
	mov	x0, x25
	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
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
