	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dccp_insert_fn_opt             ## -- Begin function dccp_insert_fn_opt
	.p2align	4, 0x90
_dccp_insert_fn_opt:                    ## @dccp_insert_fn_opt
	.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	%r8d, %r15d
	movq	_DCCP_SINGLE_OPT_MAXLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	$-2, %eax
	cmpl	%r8d, %eax
	jge	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	movl	%r15d, %esi
	xorl	%eax, %eax
	callq	_DCCP_WARN
	movl	$-1, %ebx
	jmp	LBB0_9
LBB0_2:
	movl	%r9d, %r12d
	movq	%rdi, %r13
	movl	%esi, -48(%rbp)                 ## 4-byte Spill
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	testq	%rcx, %rcx
	sete	%al
	testl	%r15d, %r15d
	sete	%cl
	orb	%al, %cl
	movzbl	%cl, %edi
	callq	_unlikely
	xorl	%ecx, %ecx
	testq	%rax, %rax
	cmovnel	%ecx, %r15d
	cmovnel	%ecx, %r12d
	leal	(%r12,%r15), %ebx
	addl	$3, %ebx
	movq	%r13, %rdi
	callq	_DCCP_SKB_CB
	movslq	%ebx, %r14
	movq	(%rax), %rax
	addq	%r14, %rax
	movq	_DCCP_MAX_OPT_LEN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jle	LBB0_4
## %bb.3:
	leaq	L_.str.1(%rip), %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	xorl	%eax, %eax
	callq	_DCCP_WARN
	movl	$-1, %ebx
	jmp	LBB0_9
LBB0_4:
	movq	%r13, %rdi
	callq	_DCCP_SKB_CB
	addq	%r14, (%rax)
	movq	%r13, %rdi
	movl	%r14d, %esi
	callq	_skb_push
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, (%rax)
	movl	%r14d, 4(%rax)
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, 8(%rax)
	testl	%r12d, %r12d
	je	LBB0_5
## %bb.6:
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	(%rsi), %ecx
	movl	%ecx, 12(%rax)
	addq	$16, %rax
	jmp	LBB0_7
LBB0_5:
	addq	$12, %rax
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
LBB0_7:
	xorl	%ebx, %ebx
	testl	%r15d, %r15d
	je	LBB0_9
## %bb.8:
	movq	%rax, %rdi
	movl	%r15d, %edx
	callq	_memcpy
LBB0_9:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DCCP_SINGLE_OPT_MAXLEN,4,2     ## @DCCP_SINGLE_OPT_MAXLEN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"length %u for feature %u too large\n"

	.comm	_DCCP_MAX_OPT_LEN,8,3           ## @DCCP_MAX_OPT_LEN
L_.str.1:                               ## @.str.1
	.asciz	"packet too small for feature %d option!\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dccp_insert_fn_opt             ; -- Begin function dccp_insert_fn_opt
	.p2align	2
_dccp_insert_fn_opt:                    ; @dccp_insert_fn_opt
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x21, x4
	mov	x20, x2
Lloh0:
	adrp	x8, _DCCP_SINGLE_OPT_MAXLEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DCCP_SINGLE_OPT_MAXLEN@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	sub	w8, w8, #2
	cmp	w8, w4
	b.ge	LBB0_2
; %bb.1:
	str	x20, [sp]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x21
	b	LBB0_4
LBB0_2:
	mov	x24, x5
	mov	x19, x3
	mov	x22, x1
	mov	x23, x0
	cmp	x3, #0
	ccmp	w21, #0, #4, ne
	cset	w0, eq
	bl	_unlikely
	cmp	x0, #0
	csel	w21, w21, wzr, eq
	csel	w25, w24, wzr, eq
	add	w8, w25, w21
	add	w24, w8, #3
	mov	x0, x23
	bl	_DCCP_SKB_CB
	ldr	x8, [x0]
	sxtw	x26, w24
Lloh5:
	adrp	x9, _DCCP_MAX_OPT_LEN@GOTPAGE
Lloh6:
	ldr	x9, [x9, _DCCP_MAX_OPT_LEN@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	add	x8, x8, x26
	cmp	x8, x9
	b.le	LBB0_5
; %bb.3:
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x20
LBB0_4:
	bl	_DCCP_WARN
	mov	w0, #-1
	b	LBB0_9
LBB0_5:
	mov	x0, x23
	bl	_DCCP_SKB_CB
	ldr	x8, [x0]
	add	x8, x8, x26
	str	x8, [x0]
	mov	x0, x23
	mov	x1, x24
	bl	_skb_push
	mov	x8, x0
	stp	w22, w24, [x0]
	str	w20, [x0, #8]
	cbz	w25, LBB0_10
; %bb.6:
	ldr	w9, [x19]
	add	x0, x8, #16
	str	w9, [x8, #12]
	cbz	w21, LBB0_8
LBB0_7:
	mov	x1, x19
	mov	x2, x21
	bl	_memcpy
LBB0_8:
	mov	w0, #0
LBB0_9:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_10:
	add	x0, x8, #12
	cbnz	w21, LBB0_7
	b	LBB0_8
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_DCCP_SINGLE_OPT_MAXLEN,4,2     ; @DCCP_SINGLE_OPT_MAXLEN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"length %u for feature %u too large\n"

	.comm	_DCCP_MAX_OPT_LEN,8,3           ; @DCCP_MAX_OPT_LEN
l_.str.1:                               ; @.str.1
	.asciz	"packet too small for feature %d option!\n"

.subsections_via_symbols
