	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dccp_insert_options            ## -- Begin function dccp_insert_options
	.p2align	4, 0x90
_dccp_insert_options:                   ## @dccp_insert_options
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r15
	callq	_dccp_sk
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_DCCP_SKB_CB
	movq	$0, 8(%rax)
	cmpq	$0, 32(%r14)
	je	LBB0_2
## %bb.1:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_dccp_insert_option_ndp
	movl	$-1, %r12d
	testq	%rax, %rax
	jne	LBB0_16
LBB0_2:
	movq	%rbx, %rdi
	callq	_DCCP_SKB_CB
	movq	(%rax), %rax
	movq	_DCCP_PKT_DATA@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
LBB0_10:
	cmpq	$0, 8(%r14)
	je	LBB0_13
## %bb.11:
	movl	16(%r14), %edi
	movq	%r15, %rsi
	movq	%rbx, %rdx
	callq	_ccid_hc_rx_insert_options
	movl	$-1, %r12d
	testq	%rax, %rax
	jne	LBB0_16
## %bb.12:
	movq	$0, 8(%r14)
LBB0_13:
	cmpq	$0, (%r14)
	je	LBB0_15
## %bb.14:
	movq	%r14, %rdi
	xorl	%esi, %esi
	movq	%rbx, %rdx
	callq	_dccp_insert_option_timestamp_echo
	movl	$-1, %r12d
	testq	%rax, %rax
	jne	LBB0_16
LBB0_15:
	movq	%rbx, %rdi
	callq	_dccp_insert_option_padding
	xorl	%r12d, %r12d
	jmp	LBB0_16
LBB0_3:
	movq	%r14, %rdi
	xorl	%esi, %esi
	movq	%rbx, %rdx
	callq	_dccp_feat_insert_opts
	movl	$-1, %r12d
	testq	%rax, %rax
	jne	LBB0_16
## %bb.4:
	movq	%rbx, %rdi
	callq	_DCCP_SKB_CB
	movq	(%rax), %rax
	movq	_DCCP_PKT_REQUEST@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.5:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_dccp_insert_option_timestamp
	testq	%rax, %rax
	jne	LBB0_16
	jmp	LBB0_10
LBB0_6:
	movq	24(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_10
## %bb.7:
	callq	_dccp_ackvec_pending
	testq	%rax, %rax
	je	LBB0_10
## %bb.8:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_dccp_insert_option_ackvec
	testq	%rax, %rax
	je	LBB0_10
LBB0_16:
	movl	%r12d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DCCP_PKT_DATA,8,3              ## @DCCP_PKT_DATA
	.comm	_DCCP_PKT_REQUEST,8,3           ## @DCCP_PKT_REQUEST
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dccp_insert_options            ; -- Begin function dccp_insert_options
	.p2align	2
_dccp_insert_options:                   ; @dccp_insert_options
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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, x1
	mov	x21, x0
	bl	_dccp_sk
	mov	x20, x0
	mov	x0, x19
	bl	_DCCP_SKB_CB
	str	xzr, [x0, #8]
	ldr	x8, [x20, #32]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x0, x21
	mov	x1, x19
	bl	_dccp_insert_option_ndp
	cbnz	x0, LBB0_10
LBB0_2:
	mov	x0, x19
	bl	_DCCP_SKB_CB
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _DCCP_PKT_DATA@GOTPAGE
Lloh1:
	ldr	x9, [x9, _DCCP_PKT_DATA@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_9
LBB0_3:
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_6
; %bb.4:
	ldr	w0, [x20, #16]
	mov	x1, x21
	mov	x2, x19
	bl	_ccid_hc_rx_insert_options
	cbnz	x0, LBB0_10
; %bb.5:
	str	xzr, [x20, #8]
LBB0_6:
	ldr	x8, [x20]
	cbz	x8, LBB0_8
; %bb.7:
	mov	x0, x20
	mov	x1, #0
	mov	x2, x19
	bl	_dccp_insert_option_timestamp_echo
	cbnz	x0, LBB0_10
LBB0_8:
	mov	x0, x19
	bl	_dccp_insert_option_padding
	mov	w0, #0
	b	LBB0_11
LBB0_9:
	mov	x0, x20
	mov	x1, #0
	mov	x2, x19
	bl	_dccp_feat_insert_opts
	cbz	x0, LBB0_12
LBB0_10:
	mov	w0, #-1
LBB0_11:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_12:
	mov	x0, x19
	bl	_DCCP_SKB_CB
	ldr	x8, [x0]
Lloh3:
	adrp	x9, _DCCP_PKT_REQUEST@GOTPAGE
Lloh4:
	ldr	x9, [x9, _DCCP_PKT_REQUEST@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_14
; %bb.13:
	mov	x0, x21
	mov	x1, x19
	bl	_dccp_insert_option_timestamp
	cbnz	x0, LBB0_10
	b	LBB0_3
LBB0_14:
	ldr	x0, [x20, #24]
	cbz	x0, LBB0_3
; %bb.15:
	bl	_dccp_ackvec_pending
	cbz	x0, LBB0_3
; %bb.16:
	mov	x0, x21
	mov	x1, x19
	bl	_dccp_insert_option_ackvec
	cbnz	x0, LBB0_10
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_DCCP_PKT_DATA,8,3              ; @DCCP_PKT_DATA
	.comm	_DCCP_PKT_REQUEST,8,3           ; @DCCP_PKT_REQUEST
.subsections_via_symbols
