	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dccp_sendmsg                   ## -- Begin function dccp_sendmsg
	.p2align	4, 0x90
_dccp_sendmsg:                          ## @dccp_sendmsg
	.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	%rcx, %rbx
	movq	%rdx, %r15
	movq	%rsi, %r14
	movq	%rsi, %rdi
	callq	_dccp_sk
	cmpq	%rbx, (%rax)
	jae	LBB0_2
## %bb.1:
	movq	_EMSGSIZE@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_11
LBB0_2:
	movq	_MSG_DONTWAIT@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	andl	(%r15), %r12d
	movq	%r14, %rdi
	callq	_lock_sock
	movq	_sysctl_dccp_tx_qlen@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	cmpq	%rax, 8(%r14)
	jge	LBB0_4
LBB0_5:
	movq	%r14, %rdi
	movl	%r12d, %esi
	callq	_sock_sndtimeo
	movq	%rax, -56(%rbp)
	movq	_DCCPF_OPEN@GOTPCREL(%rip), %rax
	movq	_DCCPF_PARTOPEN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movl	(%r14), %eax
	btl	%eax, %ecx
	jae	LBB0_6
LBB0_7:
	movq	16(%r14), %rax
	movl	(%rax), %r13d
	addl	%ebx, %r13d
	movq	%r14, %rdi
	callq	_release_sock
	leaq	-44(%rbp), %rcx
	movq	%r14, %rdi
	movl	%r13d, %esi
	movl	%r12d, %edx
	callq	_sock_alloc_send_skb
	movq	%rax, %r12
	movq	%r14, %rdi
	callq	_lock_sock
	testq	%r12, %r12
	je	LBB0_10
## %bb.8:
	movq	16(%r14), %rax
	movq	(%rax), %rsi
	movq	%r12, %rdi
	callq	_skb_reserve
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_skb_put
	movl	4(%r15), %esi
	movl	%eax, %edi
	movq	%rbx, %rdx
	callq	_memcpy_fromiovec
	movl	%eax, -44(%rbp)
	testl	%eax, %eax
	je	LBB0_9
## %bb.12:
	movq	%r12, %rdi
	callq	_kfree_skb
	jmp	LBB0_10
LBB0_4:
	movq	_EAGAIN@GOTPCREL(%rip), %rax
	xorl	%ecx, %ecx
	subl	(%rax), %ecx
	movl	%ecx, -44(%rbp)
	jmp	LBB0_10
LBB0_6:
	leaq	-56(%rbp), %rsi
	movq	%r14, %rdi
	callq	_sk_stream_wait_connect
	movl	%eax, -44(%rbp)
	testl	%eax, %eax
	jne	LBB0_10
	jmp	LBB0_7
LBB0_9:
	leaq	8(%r14), %rdi
	movq	%r12, %rsi
	callq	_skb_queue_tail
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_dccp_write_xmit
LBB0_10:
	movq	%r14, %rdi
	callq	_release_sock
	movl	-44(%rbp), %eax
	testl	%eax, %eax
	cmovnel	%eax, %ebx
LBB0_11:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_DONTWAIT,4,2               ## @MSG_DONTWAIT
	.comm	_EMSGSIZE,4,2                   ## @EMSGSIZE
	.comm	_sysctl_dccp_tx_qlen,8,3        ## @sysctl_dccp_tx_qlen
	.comm	_EAGAIN,4,2                     ## @EAGAIN
	.comm	_DCCPF_OPEN,4,2                 ## @DCCPF_OPEN
	.comm	_DCCPF_PARTOPEN,4,2             ## @DCCPF_PARTOPEN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dccp_sendmsg                   ; -- Begin function dccp_sendmsg
	.p2align	2
_dccp_sendmsg:                          ; @dccp_sendmsg
	.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, x3
	mov	x21, x2
	mov	x20, x1
	mov	x0, x1
	bl	_dccp_sk
	ldr	x8, [x0]
	cmp	x8, x19
	b.hs	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _EMSGSIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EMSGSIZE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_12
LBB0_2:
	ldr	w22, [x21]
Lloh3:
	adrp	x8, _MSG_DONTWAIT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MSG_DONTWAIT@GOTPAGEOFF]
Lloh5:
	ldr	w23, [x8]
	mov	x0, x20
	bl	_lock_sock
Lloh6:
	adrp	x8, _sysctl_dccp_tx_qlen@GOTPAGE
Lloh7:
	ldr	x8, [x8, _sysctl_dccp_tx_qlen@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cbz	x8, LBB0_4
; %bb.3:
	ldr	x9, [x20, #8]
	cmp	x9, x8
	b.ge	LBB0_8
LBB0_4:
	and	w22, w23, w22
	mov	x0, x20
	mov	x1, x22
	bl	_sock_sndtimeo
	str	x0, [sp]
	ldr	w8, [x20]
Lloh9:
	adrp	x9, _DCCPF_OPEN@GOTPAGE
Lloh10:
	ldr	x9, [x9, _DCCPF_OPEN@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
Lloh12:
	adrp	x10, _DCCPF_PARTOPEN@GOTPAGE
Lloh13:
	ldr	x10, [x10, _DCCPF_PARTOPEN@GOTPAGEOFF]
Lloh14:
	ldr	w10, [x10]
	orr	w9, w10, w9
	lsr	w8, w9, w8
	tbz	w8, #0, LBB0_9
LBB0_5:
	ldr	x8, [x20, #16]
	ldr	w8, [x8]
	add	w23, w8, w19
	mov	x0, x20
	bl	_release_sock
	add	x3, sp, #12
	mov	x0, x20
	mov	x1, x23
	mov	x2, x22
	bl	_sock_alloc_send_skb
	mov	x22, x0
	mov	x0, x20
	bl	_lock_sock
	cbz	x22, LBB0_11
; %bb.6:
	ldr	x8, [x20, #16]
	ldr	x1, [x8]
	mov	x0, x22
	bl	_skb_reserve
	mov	x0, x22
	mov	x1, x19
	bl	_skb_put
	ldr	w1, [x21, #4]
	mov	x2, x19
	bl	_memcpy_fromiovec
	str	w0, [sp, #12]
	cbz	w0, LBB0_10
; %bb.7:
	mov	x0, x22
	bl	_kfree_skb
	b	LBB0_11
LBB0_8:
Lloh15:
	adrp	x8, _EAGAIN@GOTPAGE
Lloh16:
	ldr	x8, [x8, _EAGAIN@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	neg	w8, w8
	str	w8, [sp, #12]
	b	LBB0_11
LBB0_9:
	mov	x1, sp
	mov	x0, x20
	bl	_sk_stream_wait_connect
	str	w0, [sp, #12]
	cbnz	w0, LBB0_11
	b	LBB0_5
LBB0_10:
	add	x0, x20, #8
	mov	x1, x22
	bl	_skb_queue_tail
	mov	x0, x20
	mov	w1, #0
	bl	_dccp_write_xmit
LBB0_11:
	mov	x0, x20
	bl	_release_sock
	ldr	w8, [sp, #12]
	cmp	w8, #0
	csel	w0, w19, w8, eq
LBB0_12:
	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	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_DONTWAIT,4,2               ; @MSG_DONTWAIT
	.comm	_EMSGSIZE,4,2                   ; @EMSGSIZE
	.comm	_sysctl_dccp_tx_qlen,8,3        ; @sysctl_dccp_tx_qlen
	.comm	_EAGAIN,4,2                     ; @EAGAIN
	.comm	_DCCPF_OPEN,4,2                 ; @DCCPF_OPEN
	.comm	_DCCPF_PARTOPEN,4,2             ; @DCCPF_PARTOPEN
.subsections_via_symbols
