	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dccp_insert_option_elapsed_time ## -- Begin function dccp_insert_option_elapsed_time
	.p2align	4, 0x90
_dccp_insert_option_elapsed_time:       ## @dccp_insert_option_elapsed_time
	.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	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdx, %rdi
	callq	_dccp_elapsed_time_len
	movl	%eax, %ebx
	xorl	%eax, %eax
	testl	%ebx, %ebx
	je	LBB0_6
## %bb.1:
	leal	2(%rbx), %r12d
	movq	%r15, %rdi
	callq	_DCCP_SKB_CB
	movslq	%r12d, %r12
	movq	(%rax), %rcx
	addq	%r12, %rcx
	movq	_DCCP_MAX_OPT_LEN@GOTPCREL(%rip), %rdx
	movl	$-1, %eax
	cmpq	(%rdx), %rcx
	jg	LBB0_6
## %bb.2:
	movq	%r15, %rdi
	callq	_DCCP_SKB_CB
	addq	%r12, (%rax)
	movq	%r15, %rdi
	movl	%r12d, %esi
	callq	_skb_push
	movq	%rax, %r15
	movq	_DCCPO_ELAPSED_TIME@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	movb	%al, (%r15)
	movb	%r12b, 1(%r15)
	addq	$2, %r15
	cmpl	$2, %ebx
	jne	LBB0_4
## %bb.3:
	movl	%r14d, %edi
	callq	_htons
	movl	%eax, -40(%rbp)
	leaq	-40(%rbp), %rsi
	movq	%r15, %rdi
	movl	$2, %edx
	jmp	LBB0_5
LBB0_4:
	movq	%r14, %rdi
	callq	_htonl
	movl	%eax, -36(%rbp)
	leaq	-36(%rbp), %rsi
	movq	%r15, %rdi
	movl	$4, %edx
LBB0_5:
	callq	_memcpy
	xorl	%eax, %eax
LBB0_6:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DCCP_MAX_OPT_LEN,8,3           ## @DCCP_MAX_OPT_LEN
	.comm	_DCCPO_ELAPSED_TIME,4,2         ## @DCCPO_ELAPSED_TIME
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dccp_insert_option_elapsed_time ; -- Begin function dccp_insert_option_elapsed_time
	.p2align	2
_dccp_insert_option_elapsed_time:       ; @dccp_insert_option_elapsed_time
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x19, x2
	mov	x22, x1
	mov	x0, x2
	bl	_dccp_elapsed_time_len
	cbz	w0, LBB0_7
; %bb.1:
	mov	x20, x0
	add	w21, w0, #2
	mov	x0, x22
	bl	_DCCP_SKB_CB
	ldr	x8, [x0]
	sxtw	x23, w21
Lloh0:
	adrp	x9, _DCCP_MAX_OPT_LEN@GOTPAGE
Lloh1:
	ldr	x9, [x9, _DCCP_MAX_OPT_LEN@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	add	x8, x8, x23
	cmp	x8, x9
	b.le	LBB0_3
; %bb.2:
	mov	w0, #-1
	b	LBB0_7
LBB0_3:
	mov	x0, x22
	bl	_DCCP_SKB_CB
	ldr	x8, [x0]
	add	x8, x8, x23
	str	x8, [x0]
	mov	x0, x22
	mov	x1, x21
	bl	_skb_push
Lloh3:
	adrp	x8, _DCCPO_ELAPSED_TIME@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DCCPO_ELAPSED_TIME@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	strb	w8, [x0]
	add	x22, x0, #2
	strb	w21, [x0, #1]
	cmp	w20, #2
	b.ne	LBB0_5
; %bb.4:
	mov	x0, x19
	bl	_htons
	str	w0, [sp, #12]
	add	x1, sp, #12
	mov	x0, x22
	mov	w2, #2
	b	LBB0_6
LBB0_5:
	mov	x0, x19
	bl	_htonl
	str	w0, [sp, #8]
	add	x1, sp, #8
	mov	x0, x22
	mov	w2, #4
LBB0_6:
	bl	_memcpy
	mov	w0, #0
LBB0_7:
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_DCCP_MAX_OPT_LEN,8,3           ; @DCCP_MAX_OPT_LEN
	.comm	_DCCPO_ELAPSED_TIME,4,2         ; @DCCPO_ELAPSED_TIME
.subsections_via_symbols
