	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sctp_make_fwdtsn               ## -- Begin function sctp_make_fwdtsn
	.p2align	4, 0x90
_sctp_make_fwdtsn:                      ## @sctp_make_fwdtsn
	.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	%r12
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %rbx
	movq	%rdx, %r14
	movl	%esi, %r12d
	leaq	4(,%rdx,4), %rcx
	movq	_SCTP_CID_FWD_TSN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_sctp_make_chunk
	movq	%rax, %r15
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movl	%r12d, %edi
	callq	_htonl
	movl	%eax, -56(%rbp)
	leaq	-64(%rbp), %rdx
	movq	%r15, %rdi
	movl	$12, %esi
	callq	_sctp_addto_chunk
	movq	%rax, (%r15)
	testq	%r14, %r14
	je	LBB0_4
## %bb.2:
	addq	$4, %rbx
	leaq	-48(%rbp), %r12
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %eax
	movl	%eax, -44(%rbp)
	movl	-4(%rbx), %eax
	movl	%eax, -48(%rbp)
	movq	%r15, %rdi
	movl	$12, %esi
	movq	%r12, %rdx
	callq	_sctp_addto_chunk
	addq	$12, %rbx
	decq	%r14
	jne	LBB0_3
LBB0_4:
	movq	%r15, %rax
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SCTP_CID_FWD_TSN,4,2           ## @SCTP_CID_FWD_TSN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sctp_make_fwdtsn               ; -- Begin function sctp_make_fwdtsn
	.p2align	2
_sctp_make_fwdtsn:                      ; @sctp_make_fwdtsn
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x19, x3
	mov	x20, x2
	mov	x22, x1
	lsl	x8, x2, #2
	add	x3, x8, #4
Lloh0:
	adrp	x8, _SCTP_CID_FWD_TSN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SCTP_CID_FWD_TSN@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_sctp_make_chunk
	mov	x21, x0
	cbz	x0, LBB0_3
; %bb.1:
	mov	x0, x22
	bl	_htonl
	str	w0, [sp, #24]
	add	x2, sp, #16
	mov	x0, x21
	mov	w1, #12
	bl	_sctp_addto_chunk
	str	x0, [x21]
	cbz	x20, LBB0_3
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	d0, [x19], #12
	str	d0, [sp]
	mov	x2, sp
	mov	x0, x21
	mov	w1, #12
	bl	_sctp_addto_chunk
	subs	x20, x20, #1
	b.ne	LBB0_2
LBB0_3:
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SCTP_CID_FWD_TSN,4,2           ; @SCTP_CID_FWD_TSN
.subsections_via_symbols
