	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dn_sendmsg
_dn_sendmsg:                            ## @dn_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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, %r15
	movq	%rsi, %r13
	movq	8(%rsi), %rbx
	movq	%rbx, %rdi
	callq	_DN_SK
	movq	_MSG_TRYHARD@GOTPCREL(%rip), %rdx
	movq	_MSG_OOB@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rdx), %ecx
	movq	_MSG_DONTWAIT@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	movq	_MSG_EOR@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	movl	(%r15), %edx
	movq	_MSG_NOSIGNAL@GOTPCREL(%rip), %r12
	orl	(%r12), %ecx
	movq	_MSG_MORE@GOTPCREL(%rip), %rdi
	orl	(%rdi), %ecx
	movq	_MSG_CMSG_COMPAT@GOTPCREL(%rip), %rdi
	orl	(%rdi), %ecx
	notl	%ecx
	testl	%ecx, %edx
	je	LBB0_2
## %bb.1:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_2:
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	%r15, %rcx
	movl	4(%r15), %r15d
	testl	$-5, %r15d
	je	LBB0_6
## %bb.3:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_4:
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
LBB0_5:
	movl	%r15d, %eax
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	%r14, -96(%rbp)                 ## 8-byte Spill
	movq	%rcx, -128(%rbp)                ## 8-byte Spill
	movq	16(%rcx), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movl	%edx, %r14d
	callq	_lock_sock
	movq	_MSG_DONTWAIT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	andl	%r14d, %esi
	movq	%rbx, %rdi
	callq	_sock_sndtimeo
	movq	%rax, -88(%rbp)
	movq	(%r13), %rax
	movq	_SOCK_STREAM@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_14
## %bb.7:
	movq	_MSG_EOR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%r14d, %eax
	je	LBB0_13
## %bb.8:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_9:
	xorl	%r15d, %r15d
	xorl	%ecx, %ecx
	subl	(%rax), %ecx
	movl	%ecx, -48(%rbp)
LBB0_10:
	xorl	%r13d, %r13d
LBB0_11:
	movq	%r13, %rdi
	callq	_kfree_skb
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_release_sock
	testq	%r15, %r15
	jne	LBB0_5
## %bb.12:
	movl	-48(%rbp), %r15d
	jmp	LBB0_5
LBB0_13:
	orl	%eax, %r14d
LBB0_14:
	leaq	-88(%rbp), %rcx
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	%r15d, %edx
	movq	%rdi, %r15
	movl	%r14d, %r8d
	callq	_dn_check_state
	movl	%eax, %r13d
	movl	%eax, -48(%rbp)
	testl	%eax, %eax
	jne	LBB0_19
## %bb.15:
	movl	%r14d, -56(%rbp)                ## 4-byte Spill
	movq	_SEND_SHUTDOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r15)
	je	LBB0_20
## %bb.16:
	movq	_EPIPE@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	subl	(%rax), %r13d
	movl	-56(%rbp), %eax                 ## 4-byte Reload
	testl	%eax, (%r12)
	jne	LBB0_18
## %bb.17:
	movq	_SIGPIPE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_current@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_send_sig
LBB0_18:
	movl	-56(%rbp), %r14d                ## 4-byte Reload
LBB0_19:
	movq	%r15, %rdi
	movl	%r14d, %esi
	movl	%r13d, %edx
	callq	_sk_stream_error
	movq	%r15, %rdi
	movl	%eax, %r15d
	callq	_release_sock
	jmp	LBB0_5
LBB0_20:
	movl	-56(%rbp), %esi                 ## 4-byte Reload
	movq	_MSG_TRYHARD@GOTPCREL(%rip), %rax
	testl	%esi, (%rax)
	je	LBB0_23
## %bb.21:
	cmpq	$0, 24(%r15)
	je	LBB0_23
## %bb.22:
	leaq	24(%r15), %rdi
	callq	_dst_negative_advice
	movl	-56(%rbp), %esi                 ## 4-byte Reload
LBB0_23:
	movq	_NSP_FC_MASK@GOTPCREL(%rip), %rax
	movb	(%rax), %r14b
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	andb	8(%rbx), %r14b
	movq	%r15, %rdi
	callq	_dn_current_mss
	movq	%rax, %rdx
	movl	-56(%rbp), %eax                 ## 4-byte Reload
	movq	_MSG_OOB@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	movq	-96(%rbp), %r12                 ## 8-byte Reload
	je	LBB0_26
## %bb.24:
	cmpq	%r12, %rdx
	jae	LBB0_27
## %bb.25:
	movq	_EMSGSIZE@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_26:
	movq	%rbx, %rax
	addq	$44, %rax
	jmp	LBB0_28
LBB0_27:
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rax
	addq	$40, %rax
LBB0_28:
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	_dn_nsp_xmit_timeout@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 36(%rbx)
	testq	%r12, %r12
	je	LBB0_50
## %bb.29:
	movb	%r14b, -41(%rbp)                ## 1-byte Spill
	xorl	%r13d, %r13d
	xorl	%r15d, %r15d
	movq	%rdx, -104(%rbp)                ## 8-byte Spill
LBB0_30:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_35 Depth 2
	subq	%r15, %r12
	cmpq	%rdx, %r12
	cmovaeq	%rdx, %r12
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_sock_error
	movl	%eax, -48(%rbp)
	testl	%eax, %eax
	jne	LBB0_11
## %bb.31:                              ##   in Loop: Header=BB0_30 Depth=1
	movq	%r12, -112(%rbp)                ## 8-byte Spill
	leaq	64(%r12), %rax
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	movq	_wait@GOTPCREL(%rip), %r14
	jmp	LBB0_35
LBB0_32:                                ##   in Loop: Header=BB0_35 Depth=2
	movl	(%r14), %edi
	callq	_DEFINE_WAIT
	movq	_MSG_DONTWAIT@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	jne	LBB0_53
## %bb.33:                              ##   in Loop: Header=BB0_35 Depth=2
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movl	8(%rbx), %edi
	movq	_TASK_INTERRUPTIBLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rsi
	callq	_prepare_to_wait
	movq	_SOCK_ASYNC_WAITDATA@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	movq	16(%rbx), %rsi
	callq	_set_bit
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	movl	%r12d, %edx
	callq	_dn_queue_too_long
	xorl	%edx, %edx
	testq	%rax, %rax
	sete	%dl
	movq	%rbx, %rdi
	leaq	-88(%rbp), %rsi
	callq	_sk_wait_event
	movl	(%r13), %edi
	movq	16(%rbx), %rsi
	callq	_clear_bit
	movl	8(%rbx), %edi
	movq	%r14, %rsi
	callq	_finish_wait
LBB0_34:                                ##   in Loop: Header=BB0_35 Depth=2
	movq	%rbx, %rdi
	callq	_sock_error
	movl	%eax, -48(%rbp)
	testl	%eax, %eax
	jne	LBB0_10
LBB0_35:                                ##   Parent Loop BB0_30 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	_current@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_signal_pending
	testq	%rax, %rax
	jne	LBB0_51
## %bb.36:                              ##   in Loop: Header=BB0_35 Depth=2
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	movl	-56(%rbp), %r12d                ## 4-byte Reload
	movl	%r12d, %edx
	callq	_dn_queue_too_long
	testq	%rax, %rax
	jne	LBB0_32
## %bb.37:                              ##   in Loop: Header=BB0_35 Depth=2
	movq	_DN_MAX_NSP_DATA_HEADER@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	-120(%rbp), %rsi                ## 8-byte Folded Reload
	movq	_MSG_DONTWAIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	andl	%r12d, %edx
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	leaq	-48(%rbp), %rcx
	callq	_dn_alloc_send_pskb
	movq	%rax, %r13
	cmpl	$0, -48(%rbp)
	jne	LBB0_11
## %bb.38:                              ##   in Loop: Header=BB0_35 Depth=2
	testq	%r13, %r13
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_34
## %bb.39:                              ##   in Loop: Header=BB0_30 Depth=1
	movq	%r13, %rdi
	callq	_DN_SKB_CB
	movq	%rax, %r14
	movq	_DN_MAX_NSP_DATA_HEADER@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	$64, %rsi
	movq	%r13, %rdi
	callq	_skb_reserve
	movq	%r13, %rdi
	movq	-112(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_skb_put
	movq	-128(%rbp), %rcx                ## 8-byte Reload
	movl	8(%rcx), %esi
	movl	%eax, %edi
	movq	%rbx, %rdx
	callq	_memcpy_fromiovec
	testq	%rax, %rax
	jne	LBB0_55
## %bb.40:                              ##   in Loop: Header=BB0_30 Depth=1
	movl	-56(%rbp), %esi                 ## 4-byte Reload
	movq	_MSG_OOB@GOTPCREL(%rip), %rdi
	testl	%esi, (%rdi)
	movq	-96(%rbp), %r12                 ## 8-byte Reload
	movq	-72(%rbp), %r8                  ## 8-byte Reload
	je	LBB0_43
## %bb.41:                              ##   in Loop: Header=BB0_30 Depth=1
	movl	$48, (%r14)
	movb	-41(%rbp), %al                  ## 1-byte Reload
	movq	_NSP_FC_NONE@GOTPCREL(%rip), %rcx
	cmpb	(%rcx), %al
	je	LBB0_49
## %bb.42:                              ##   in Loop: Header=BB0_30 Depth=1
	decl	32(%r8)
	jmp	LBB0_49
LBB0_43:                                ##   in Loop: Header=BB0_30 Depth=1
	xorl	%eax, %eax
	cmpq	$0, 16(%r8)
	sete	%al
	shll	$5, %eax
	movl	%eax, (%r14)
	addq	%rbx, 16(%r8)
	leaq	(%rbx,%r15), %rcx
	cmpq	%r12, %rcx
	jne	LBB0_47
## %bb.44:                              ##   in Loop: Header=BB0_30 Depth=1
	movq	_MSG_EOR@GOTPCREL(%rip), %rcx
	testl	%esi, (%rcx)
	je	LBB0_47
## %bb.45:                              ##   in Loop: Header=BB0_30 Depth=1
	orl	$64, %eax
	movl	%eax, (%r14)
	movq	$0, 16(%r8)
	movb	-41(%rbp), %al                  ## 1-byte Reload
	movq	_NSP_FC_SCMC@GOTPCREL(%rip), %rcx
	cmpb	(%rcx), %al
	jne	LBB0_47
## %bb.46:                              ##   in Loop: Header=BB0_30 Depth=1
	decl	28(%r8)
LBB0_47:                                ##   in Loop: Header=BB0_30 Depth=1
	movb	-41(%rbp), %al                  ## 1-byte Reload
	movq	_NSP_FC_SRC@GOTPCREL(%rip), %rcx
	cmpb	(%rcx), %al
	jne	LBB0_49
## %bb.48:                              ##   in Loop: Header=BB0_30 Depth=1
	decl	28(%r8)
LBB0_49:                                ##   in Loop: Header=BB0_30 Depth=1
	addq	%rbx, %r15
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movl	4(%r14), %edx
	movl	(%rdi), %ecx
	andl	%esi, %ecx
	movq	%r14, %rdi
	movq	%r13, %rsi
	movq	%r8, %rbx
	callq	_dn_nsp_queue_xmit
	movq	%r14, %rdi
	callq	_dn_nsp_persist
	movl	%eax, 24(%rbx)
	cmpq	%r12, %r15
	movq	-104(%rbp), %rdx                ## 8-byte Reload
	movl	$0, %r13d
	jb	LBB0_30
	jmp	LBB0_11
LBB0_50:
	xorl	%r15d, %r15d
	jmp	LBB0_10
LBB0_51:
	movq	-88(%rbp), %rdi
	callq	_sock_intr_errno
	movl	%eax, -48(%rbp)
	jmp	LBB0_10
LBB0_53:
	movq	_EWOULDBLOCK@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
LBB0_54:
	xorl	%ecx, %ecx
	subl	(%rax), %ecx
	movl	%ecx, -48(%rbp)
	jmp	LBB0_11
LBB0_55:
	movq	_EFAULT@GOTPCREL(%rip), %rax
	jmp	LBB0_54
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_TRYHARD,4,2                ## @MSG_TRYHARD
	.comm	_MSG_OOB,4,2                    ## @MSG_OOB
	.comm	_MSG_DONTWAIT,4,2               ## @MSG_DONTWAIT
	.comm	_MSG_EOR,4,2                    ## @MSG_EOR
	.comm	_MSG_NOSIGNAL,4,2               ## @MSG_NOSIGNAL
	.comm	_MSG_MORE,4,2                   ## @MSG_MORE
	.comm	_MSG_CMSG_COMPAT,4,2            ## @MSG_CMSG_COMPAT
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_SOCK_STREAM,8,3                ## @SOCK_STREAM
	.comm	_SEND_SHUTDOWN,4,2              ## @SEND_SHUTDOWN
	.comm	_EPIPE,4,2                      ## @EPIPE
	.comm	_SIGPIPE,4,2                    ## @SIGPIPE
	.comm	_current,4,2                    ## @current
	.comm	_NSP_FC_MASK,1,0                ## @NSP_FC_MASK
	.comm	_EMSGSIZE,4,2                   ## @EMSGSIZE
	.comm	_dn_nsp_xmit_timeout,4,2        ## @dn_nsp_xmit_timeout
	.comm	_wait,4,2                       ## @wait
	.comm	_EWOULDBLOCK,4,2                ## @EWOULDBLOCK
	.comm	_TASK_INTERRUPTIBLE,4,2         ## @TASK_INTERRUPTIBLE
	.comm	_SOCK_ASYNC_WAITDATA,4,2        ## @SOCK_ASYNC_WAITDATA
	.comm	_DN_MAX_NSP_DATA_HEADER,8,3     ## @DN_MAX_NSP_DATA_HEADER
	.comm	_EFAULT,4,2                     ## @EFAULT
	.comm	_NSP_FC_NONE,1,0                ## @NSP_FC_NONE
	.comm	_NSP_FC_SCMC,1,0                ## @NSP_FC_SCMC
	.comm	_NSP_FC_SRC,1,0                 ## @NSP_FC_SRC
	.no_dead_strip	_dn_sendmsg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dn_sendmsg
_dn_sendmsg:                            ; @dn_sendmsg
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x26, x3
	mov	x22, x2
	mov	x24, x1
	ldr	x19, [x1, #8]
	mov	x0, x19
	bl	_DN_SK
	ldr	w20, [x22]
Lloh0:
	adrp	x27, _MSG_TRYHARD@GOTPAGE
Lloh1:
	ldr	x27, [x27, _MSG_TRYHARD@GOTPAGEOFF]
Lloh2:
	adrp	x9, _MSG_OOB@GOTPAGE
Lloh3:
	ldr	x9, [x9, _MSG_OOB@GOTPAGEOFF]
	ldr	w8, [x27]
Lloh4:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh5:
	adrp	x28, _MSG_DONTWAIT@GOTPAGE
Lloh6:
	ldr	x28, [x28, _MSG_DONTWAIT@GOTPAGEOFF]
	ldr	w9, [x28]
	orr	w8, w8, w9
Lloh7:
	adrp	x9, _MSG_EOR@GOTPAGE
Lloh8:
	ldr	x9, [x9, _MSG_EOR@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
Lloh10:
	adrp	x21, _MSG_NOSIGNAL@GOTPAGE
Lloh11:
	ldr	x21, [x21, _MSG_NOSIGNAL@GOTPAGEOFF]
	orr	w8, w8, w9
	ldr	w9, [x21]
	orr	w8, w8, w9
Lloh12:
	adrp	x9, _MSG_MORE@GOTPAGE
Lloh13:
	ldr	x9, [x9, _MSG_MORE@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh15:
	adrp	x9, _MSG_CMSG_COMPAT@GOTPAGE
Lloh16:
	ldr	x9, [x9, _MSG_CMSG_COMPAT@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	orr	w8, w8, w9
	bics	wzr, w20, w8
	b.eq	LBB0_2
; %bb.1:
Lloh18:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh19:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:
	ldr	w25, [x22, #4]
	tst	w25, #0xfffffffb
	b.eq	LBB0_6
; %bb.3:
Lloh20:
	adrp	x8, _EINVAL@GOTPAGE
Lloh21:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_4:
	ldr	w8, [x8]
	neg	w20, w8
LBB0_5:
	mov	x0, x20
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_6:
	mov	x23, x0
	str	x26, [sp, #40]                  ; 8-byte Folded Spill
	ldr	x26, [x22, #16]
	mov	x0, x19
	bl	_lock_sock
	ldr	w8, [x28]
	and	w1, w8, w20
	mov	x0, x19
	bl	_sock_sndtimeo
	str	x0, [sp, #48]
	ldr	x8, [x24]
Lloh22:
	adrp	x9, _SOCK_STREAM@GOTPAGE
Lloh23:
	ldr	x9, [x9, _SOCK_STREAM@GOTPAGEOFF]
Lloh24:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_12
; %bb.7:
Lloh25:
	adrp	x8, _MSG_EOR@GOTPAGE
Lloh26:
	ldr	x8, [x8, _MSG_EOR@GOTPAGEOFF]
Lloh27:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_11
; %bb.8:
	mov	x26, #0
	mov	x24, #0
Lloh28:
	adrp	x8, _EINVAL@GOTPAGE
Lloh29:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_9:
	ldr	w8, [x8]
	neg	w8, w8
	str	w8, [sp, #60]
LBB0_10:
	mov	x0, x24
	bl	_kfree_skb
	mov	x0, x19
	bl	_release_sock
	ldr	w8, [sp, #60]
	cmp	x26, #0
	csel	w20, w8, w26, eq
	b	LBB0_5
LBB0_11:
	orr	w20, w8, w20
LBB0_12:
	add	x3, sp, #48
	mov	x0, x19
	mov	x1, x26
	mov	x2, x25
	mov	x4, x20
	bl	_dn_check_state
	mov	x24, x0
	str	w0, [sp, #60]
	cbz	w0, LBB0_14
LBB0_13:
	mov	x0, x19
	mov	x1, x20
	mov	x2, x24
	bl	_sk_stream_error
	mov	x20, x0
	mov	x0, x19
	bl	_release_sock
	b	LBB0_5
LBB0_14:
	ldr	w8, [x19]
Lloh30:
	adrp	x9, _SEND_SHUTDOWN@GOTPAGE
Lloh31:
	ldr	x9, [x9, _SEND_SHUTDOWN@GOTPAGEOFF]
Lloh32:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_17
; %bb.15:
Lloh33:
	adrp	x8, _EPIPE@GOTPAGE
Lloh34:
	ldr	x8, [x8, _EPIPE@GOTPAGEOFF]
Lloh35:
	ldr	w8, [x8]
	neg	w24, w8
	ldr	w8, [x21]
	tst	w8, w20
	b.ne	LBB0_13
; %bb.16:
Lloh36:
	adrp	x8, _SIGPIPE@GOTPAGE
Lloh37:
	ldr	x8, [x8, _SIGPIPE@GOTPAGEOFF]
Lloh38:
	ldr	w0, [x8]
Lloh39:
	adrp	x8, _current@GOTPAGE
Lloh40:
	ldr	x8, [x8, _current@GOTPAGEOFF]
Lloh41:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_send_sig
	b	LBB0_13
LBB0_17:
	ldr	w8, [x27]
	tst	w8, w20
	b.eq	LBB0_20
; %bb.18:
	mov	x0, x19
	ldr	x8, [x0, #24]!
	cbz	x8, LBB0_20
; %bb.19:
	bl	_dst_negative_advice
LBB0_20:
	ldrb	w21, [x23, #8]
Lloh42:
	adrp	x8, _NSP_FC_MASK@GOTPAGE
Lloh43:
	ldr	x8, [x8, _NSP_FC_MASK@GOTPAGEOFF]
	ldrb	w24, [x8]
	mov	x0, x19
	mov	x1, x20
	bl	_dn_current_mss
Lloh44:
	adrp	x8, _MSG_OOB@GOTPAGE
Lloh45:
	ldr	x8, [x8, _MSG_OOB@GOTPAGEOFF]
Lloh46:
	ldr	w8, [x8]
	tst	w8, w20
	ldr	x9, [sp, #40]                   ; 8-byte Folded Reload
	b.eq	LBB0_23
; %bb.21:
	cmp	x0, x9
	b.hs	LBB0_24
; %bb.22:
	mov	x26, #0
	mov	x24, #0
Lloh47:
	adrp	x8, _EMSGSIZE@GOTPAGE
Lloh48:
	ldr	x8, [x8, _EMSGSIZE@GOTPAGEOFF]
	b	LBB0_9
LBB0_23:
	add	x25, x23, #44
	b	LBB0_25
LBB0_24:
	add	x25, x23, #40
LBB0_25:
Lloh49:
	adrp	x8, _dn_nsp_xmit_timeout@GOTPAGE
Lloh50:
	ldr	x8, [x8, _dn_nsp_xmit_timeout@GOTPAGEOFF]
Lloh51:
	ldr	w8, [x8]
	str	w8, [x23, #36]
	mov	x26, #0
	cbz	x9, LBB0_47
; %bb.26:
	and	w8, w24, w21
	str	w8, [sp, #20]                   ; 4-byte Folded Spill
	str	x0, [sp, #8]                    ; 8-byte Folded Spill
LBB0_27:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_32 Depth 2
	ldr	x8, [sp, #40]                   ; 8-byte Folded Reload
	sub	x8, x8, x26
	cmp	x8, x0
	csel	x21, x8, x0, lo
	mov	x0, x19
	bl	_sock_error
	str	w0, [sp, #60]
	cbnz	w0, LBB0_47
; %bb.28:                               ;   in Loop: Header=BB0_27 Depth=1
	add	x8, x21, #64
	stp	x21, x8, [sp, #24]              ; 16-byte Folded Spill
Lloh52:
	adrp	x21, _current@GOTPAGE
Lloh53:
	ldr	x21, [x21, _current@GOTPAGEOFF]
	b	LBB0_32
LBB0_29:                                ;   in Loop: Header=BB0_32 Depth=2
Lloh54:
	adrp	x24, _wait@GOTPAGE
Lloh55:
	ldr	x24, [x24, _wait@GOTPAGEOFF]
	ldr	w0, [x24]
	bl	_DEFINE_WAIT
	ldr	w8, [x28]
	tst	w8, w20
	b.ne	LBB0_49
; %bb.30:                               ;   in Loop: Header=BB0_32 Depth=2
	ldr	w0, [x19, #8]
Lloh56:
	adrp	x8, _TASK_INTERRUPTIBLE@GOTPAGE
Lloh57:
	ldr	x8, [x8, _TASK_INTERRUPTIBLE@GOTPAGEOFF]
Lloh58:
	ldr	w2, [x8]
	mov	x1, x24
	bl	_prepare_to_wait
Lloh59:
	adrp	x27, _SOCK_ASYNC_WAITDATA@GOTPAGE
Lloh60:
	ldr	x27, [x27, _SOCK_ASYNC_WAITDATA@GOTPAGEOFF]
	ldr	w0, [x27]
	ldr	x1, [x19, #16]
	bl	_set_bit
	mov	x0, x23
	mov	x1, x25
	mov	x2, x20
	bl	_dn_queue_too_long
	cmp	x0, #0
	cset	w2, eq
	add	x1, sp, #48
	mov	x0, x19
	bl	_sk_wait_event
	ldr	w0, [x27]
	ldr	x1, [x19, #16]
	bl	_clear_bit
	ldr	w0, [x19, #8]
	mov	x1, x24
	bl	_finish_wait
LBB0_31:                                ;   in Loop: Header=BB0_32 Depth=2
	mov	x0, x19
	bl	_sock_error
	str	w0, [sp, #60]
	cbnz	w0, LBB0_47
LBB0_32:                                ;   Parent Loop BB0_27 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w0, [x21]
	bl	_signal_pending
	cbnz	x0, LBB0_48
; %bb.33:                               ;   in Loop: Header=BB0_32 Depth=2
	mov	x0, x23
	mov	x1, x25
	mov	x2, x20
	bl	_dn_queue_too_long
	cbnz	x0, LBB0_29
; %bb.34:                               ;   in Loop: Header=BB0_32 Depth=2
Lloh61:
	adrp	x8, _DN_MAX_NSP_DATA_HEADER@GOTPAGE
Lloh62:
	ldr	x8, [x8, _DN_MAX_NSP_DATA_HEADER@GOTPAGEOFF]
Lloh63:
	ldr	x8, [x8]
	ldr	x9, [sp, #32]                   ; 8-byte Folded Reload
	add	x1, x9, x8
	ldr	w8, [x28]
	and	w2, w8, w20
	add	x3, sp, #60
	mov	x0, x19
	bl	_dn_alloc_send_pskb
	mov	x24, x0
	ldr	w8, [sp, #60]
	cbnz	w8, LBB0_10
; %bb.35:                               ;   in Loop: Header=BB0_32 Depth=2
	cbz	x24, LBB0_31
; %bb.36:                               ;   in Loop: Header=BB0_27 Depth=1
	mov	x0, x24
	bl	_DN_SKB_CB
	mov	x27, x0
Lloh64:
	adrp	x8, _DN_MAX_NSP_DATA_HEADER@GOTPAGE
Lloh65:
	ldr	x8, [x8, _DN_MAX_NSP_DATA_HEADER@GOTPAGEOFF]
Lloh66:
	ldr	x8, [x8]
	add	x1, x8, #64
	mov	x0, x24
	bl	_skb_reserve
	mov	x0, x24
	ldr	x21, [sp, #24]                  ; 8-byte Folded Reload
	mov	x1, x21
	bl	_skb_put
	ldr	w1, [x22, #8]
	mov	x2, x21
	bl	_memcpy_fromiovec
	cbnz	x0, LBB0_50
; %bb.37:                               ;   in Loop: Header=BB0_27 Depth=1
Lloh67:
	adrp	x11, _MSG_OOB@GOTPAGE
Lloh68:
	ldr	x11, [x11, _MSG_OOB@GOTPAGEOFF]
	ldr	w8, [x11]
	tst	w8, w20
	b.eq	LBB0_40
; %bb.38:                               ;   in Loop: Header=BB0_27 Depth=1
	mov	w8, #48
	str	w8, [x27]
Lloh69:
	adrp	x8, _NSP_FC_NONE@GOTPAGE
Lloh70:
	ldr	x8, [x8, _NSP_FC_NONE@GOTPAGEOFF]
	ldrb	w8, [x8]
	ldr	w9, [sp, #20]                   ; 4-byte Folded Reload
	cmp	w9, w8
	b.eq	LBB0_46
; %bb.39:                               ;   in Loop: Header=BB0_27 Depth=1
	ldr	w8, [x23, #32]
	sub	w8, w8, #1
	str	w8, [x23, #32]
	b	LBB0_46
LBB0_40:                                ;   in Loop: Header=BB0_27 Depth=1
	ldr	x8, [x23, #16]
	cmp	x8, #0
	cset	w8, eq
	lsl	w8, w8, #5
	str	w8, [x27]
	ldr	x9, [x23, #16]
	add	x9, x9, x21
	str	x9, [x23, #16]
	add	x9, x21, x26
	ldr	x10, [sp, #40]                  ; 8-byte Folded Reload
	cmp	x9, x10
	b.ne	LBB0_44
; %bb.41:                               ;   in Loop: Header=BB0_27 Depth=1
Lloh71:
	adrp	x9, _MSG_EOR@GOTPAGE
Lloh72:
	ldr	x9, [x9, _MSG_EOR@GOTPAGEOFF]
Lloh73:
	ldr	w9, [x9]
	tst	w9, w20
	b.eq	LBB0_44
; %bb.42:                               ;   in Loop: Header=BB0_27 Depth=1
	orr	w8, w8, #0x40
	str	w8, [x27]
	str	xzr, [x23, #16]
Lloh74:
	adrp	x8, _NSP_FC_SCMC@GOTPAGE
Lloh75:
	ldr	x8, [x8, _NSP_FC_SCMC@GOTPAGEOFF]
	ldrb	w8, [x8]
	ldr	w9, [sp, #20]                   ; 4-byte Folded Reload
	cmp	w9, w8
	b.ne	LBB0_44
; %bb.43:                               ;   in Loop: Header=BB0_27 Depth=1
	ldr	w8, [x23, #28]
	sub	w8, w8, #1
	str	w8, [x23, #28]
LBB0_44:                                ;   in Loop: Header=BB0_27 Depth=1
Lloh76:
	adrp	x8, _NSP_FC_SRC@GOTPAGE
Lloh77:
	ldr	x8, [x8, _NSP_FC_SRC@GOTPAGEOFF]
	ldrb	w8, [x8]
	ldr	w9, [sp, #20]                   ; 4-byte Folded Reload
	cmp	w9, w8
	b.ne	LBB0_46
; %bb.45:                               ;   in Loop: Header=BB0_27 Depth=1
	ldr	w8, [x23, #28]
	sub	w8, w8, #1
	str	w8, [x23, #28]
LBB0_46:                                ;   in Loop: Header=BB0_27 Depth=1
	add	x26, x21, x26
	ldr	w2, [x19, #4]
	ldr	w8, [x11]
	and	w3, w8, w20
	mov	x0, x19
	mov	x1, x24
	bl	_dn_nsp_queue_xmit
	mov	x0, x19
	bl	_dn_nsp_persist
	mov	x24, #0
	str	w0, [x23, #24]
	ldr	x8, [sp, #40]                   ; 8-byte Folded Reload
	cmp	x26, x8
	ldr	x0, [sp, #8]                    ; 8-byte Folded Reload
	b.lo	LBB0_27
	b	LBB0_10
LBB0_47:
	mov	x24, #0
	b	LBB0_10
LBB0_48:
	ldr	x0, [sp, #48]
	bl	_sock_intr_errno
	mov	x24, #0
	str	w0, [sp, #60]
	b	LBB0_10
LBB0_49:
	mov	x24, #0
Lloh78:
	adrp	x8, _EWOULDBLOCK@GOTPAGE
Lloh79:
	ldr	x8, [x8, _EWOULDBLOCK@GOTPAGEOFF]
	b	LBB0_9
LBB0_50:
Lloh80:
	adrp	x8, _EFAULT@GOTPAGE
Lloh81:
	ldr	x8, [x8, _EFAULT@GOTPAGEOFF]
	b	LBB0_9
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGot	Lloh42, Lloh43
	.loh AdrpLdrGot	Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGot	Lloh52, Lloh53
	.loh AdrpLdrGot	Lloh54, Lloh55
	.loh AdrpLdrGot	Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpLdrGot	Lloh67, Lloh68
	.loh AdrpLdrGot	Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh71, Lloh72, Lloh73
	.loh AdrpLdrGot	Lloh74, Lloh75
	.loh AdrpLdrGot	Lloh76, Lloh77
	.loh AdrpLdrGot	Lloh78, Lloh79
	.loh AdrpLdrGot	Lloh80, Lloh81
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_TRYHARD,4,2                ; @MSG_TRYHARD
	.comm	_MSG_OOB,4,2                    ; @MSG_OOB
	.comm	_MSG_DONTWAIT,4,2               ; @MSG_DONTWAIT
	.comm	_MSG_EOR,4,2                    ; @MSG_EOR
	.comm	_MSG_NOSIGNAL,4,2               ; @MSG_NOSIGNAL
	.comm	_MSG_MORE,4,2                   ; @MSG_MORE
	.comm	_MSG_CMSG_COMPAT,4,2            ; @MSG_CMSG_COMPAT
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_SOCK_STREAM,8,3                ; @SOCK_STREAM
	.comm	_SEND_SHUTDOWN,4,2              ; @SEND_SHUTDOWN
	.comm	_EPIPE,4,2                      ; @EPIPE
	.comm	_SIGPIPE,4,2                    ; @SIGPIPE
	.comm	_current,4,2                    ; @current
	.comm	_NSP_FC_MASK,1,0                ; @NSP_FC_MASK
	.comm	_EMSGSIZE,4,2                   ; @EMSGSIZE
	.comm	_dn_nsp_xmit_timeout,4,2        ; @dn_nsp_xmit_timeout
	.comm	_wait,4,2                       ; @wait
	.comm	_EWOULDBLOCK,4,2                ; @EWOULDBLOCK
	.comm	_TASK_INTERRUPTIBLE,4,2         ; @TASK_INTERRUPTIBLE
	.comm	_SOCK_ASYNC_WAITDATA,4,2        ; @SOCK_ASYNC_WAITDATA
	.comm	_DN_MAX_NSP_DATA_HEADER,8,3     ; @DN_MAX_NSP_DATA_HEADER
	.comm	_EFAULT,4,2                     ; @EFAULT
	.comm	_NSP_FC_NONE,1,0                ; @NSP_FC_NONE
	.comm	_NSP_FC_SCMC,1,0                ; @NSP_FC_SCMC
	.comm	_NSP_FC_SRC,1,0                 ; @NSP_FC_SRC
	.no_dead_strip	_dn_sendmsg
.subsections_via_symbols
