	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sdp_sosend
_sdp_sosend:                            ## @sdp_sosend
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, %r14d
	movq	%rcx, %r13
	movq	%rdx, %r12
	movq	%rsi, -96(%rbp)                 ## 8-byte Spill
	movq	%rdi, %rbx
	leaq	16(%rcx), %rax
	testq	%rdx, %rdx
	cmovneq	%rdx, %rax
	movq	(%rax), %rdx
	testq	%r8, %r8
	je	LBB0_5
## %bb.1:
	movq	8(%r8), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	%r8, %rdi
	movl	%r14d, %r15d
	movq	%r13, %r14
	movq	%r12, %r13
	movq	%rdx, %r12
	callq	_m_freem
	movq	%r12, %rdx
	movq	%r13, %r12
	movq	%r14, %r13
	movl	%r15d, %r14d
	cmpq	$0, -64(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_5
## %bb.2:
	testq	%r13, %r13
	je	LBB0_4
## %bb.3:
	movq	%r13, %rdi
	callq	_m_freem
LBB0_4:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	jmp	LBB0_14
LBB0_5:
	testq	%rdx, %rdx
	js	LBB0_8
## %bb.6:
	movq	(%rbx), %rax
	movq	_SOCK_STREAM@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_9
## %bb.7:
	movq	_MSG_EOR@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_9
LBB0_8:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	testq	%r13, %r13
	je	LBB0_14
LBB0_13:
	movq	%r13, %rdi
	callq	_m_freem
LBB0_14:
	movl	%r15d, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	16(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	incl	(%rax)
LBB0_11:
	movq	%rbx, %rdi
	callq	_sdp_sk
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	leaq	16(%rbx), %r15
	movl	%r14d, %edi
	callq	_SBLOCKWAIT
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_sblock
	testl	%eax, %eax
	je	LBB0_15
## %bb.12:
	movl	%eax, %r15d
	testq	%r13, %r13
	jne	LBB0_13
	jmp	LBB0_14
LBB0_15:
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movl	%r14d, -76(%rbp)                ## 4-byte Spill
	movq	%r13, %rax
	movq	%r13, -72(%rbp)                 ## 8-byte Spill
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
LBB0_16:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_29 Depth 2
	movq	%rbx, %rdi
	callq	_SOCKBUF_LOCK
	movq	_SBS_CANTSENDMORE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	jne	LBB0_50
## %bb.17:                              ##   in Loop: Header=BB0_16 Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	8(%rax), %r15d
	testl	%r15d, %r15d
	jne	LBB0_51
## %bb.18:                              ##   in Loop: Header=BB0_16 Depth=1
	cmpq	$0, -96(%rbp)                   ## 8-byte Folded Reload
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	jne	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_16 Depth=1
	movq	_SS_ISCONNECTED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	12(%r15), %eax
	je	LBB0_52
LBB0_20:                                ##   in Loop: Header=BB0_16 Depth=1
	movq	%rbx, %rdi
	callq	_sbspace
	movl	-76(%rbp), %ebx                 ## 4-byte Reload
	movq	_MSG_OOB@GOTPCREL(%rip), %rcx
	testl	%ebx, (%rcx)
	leaq	1024(%rax), %r14
	cmoveq	%rax, %r14
	testq	%r13, %r13
	je	LBB0_23
## %bb.21:                              ##   in Loop: Header=BB0_16 Depth=1
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movq	_SDP_HEAD_SIZE@GOTPCREL(%rip), %rcx
	subq	(%rcx), %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	cmpq	%rax, %rcx
	jg	LBB0_53
## %bb.22:                              ##   in Loop: Header=BB0_16 Depth=1
	cmpq	%rcx, %r14
	jl	LBB0_25
	jmp	LBB0_28
LBB0_23:                                ##   in Loop: Header=BB0_16 Depth=1
	cmpq	-56(%rbp), %r14                 ## 8-byte Folded Reload
	jge	LBB0_28
## %bb.24:                              ##   in Loop: Header=BB0_16 Depth=1
	cmpq	24(%r15), %r14
	jge	LBB0_28
LBB0_25:                                ##   in Loop: Header=BB0_16 Depth=1
	movq	_SS_NBIO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 12(%r15)
	jne	LBB0_49
## %bb.26:                              ##   in Loop: Header=BB0_16 Depth=1
	movq	_MSG_DONTWAIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_MSG_NBIO@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	testl	%ebx, %eax
	jne	LBB0_49
## %bb.27:                              ##   in Loop: Header=BB0_16 Depth=1
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_sbwait
	movl	%eax, %r15d
	movq	%rbx, %rdi
	callq	_SOCKBUF_UNLOCK
	testl	%r15d, %r15d
	je	LBB0_16
	jmp	LBB0_57
LBB0_28:                                ##   in Loop: Header=BB0_16 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_SOCKBUF_UNLOCK
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_29:                                ##   Parent Loop BB0_16 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	testq	%r12, %r12
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	je	LBB0_34
## %bb.30:                              ##   in Loop: Header=BB0_29 Depth=2
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	(%rcx), %rsi
	movq	_SDP_HEAD_SIZE@GOTPCREL(%rip), %rax
	subq	(%rax), %rsi
	movq	%r14, %rdi
	callq	_min
	movq	_MSG_EOR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
	andl	%ebx, %r8d
	je	LBB0_32
## %bb.31:                              ##   in Loop: Header=BB0_29 Depth=2
	movq	_M_EOR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
LBB0_32:                                ##   in Loop: Header=BB0_29 Depth=2
	movq	_M_WAITOK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_M_PKTHDR@GOTPCREL(%rip), %rcx
	orl	(%rcx), %r8d
	movq	%r12, %rdi
	movl	%eax, %edx
	xorl	%ecx, %ecx
	callq	_m_uiotombuf
	testq	%rax, %rax
	je	LBB0_55
## %bb.33:                              ##   in Loop: Header=BB0_29 Depth=2
	movq	%rax, %rdx
	subq	-56(%rbp), %r14                 ## 8-byte Folded Reload
	movq	(%r12), %rax
	addq	%rax, %r14
	movq	%rax, %rcx
	jmp	LBB0_37
LBB0_34:                                ##   in Loop: Header=BB0_29 Depth=2
	movq	_MSG_EOR@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_36
## %bb.35:                              ##   in Loop: Header=BB0_29 Depth=2
	movq	_M_EOR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%rdx)
LBB0_36:                                ##   in Loop: Header=BB0_29 Depth=2
	xorl	%ecx, %ecx
LBB0_37:                                ##   in Loop: Header=BB0_29 Depth=2
	movq	16(%rbp), %r9
	movq	_MSG_OOB@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_39
## %bb.38:                              ##   in Loop: Header=BB0_29 Depth=2
	movq	%rcx, %rbx
	movq	_PRUS_OOB@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	jmp	LBB0_45
LBB0_39:                                ##   in Loop: Header=BB0_29 Depth=2
	movq	_MSG_EOF@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_42
## %bb.40:                              ##   in Loop: Header=BB0_29 Depth=2
	testq	%rcx, %rcx
	jg	LBB0_42
## %bb.41:                              ##   in Loop: Header=BB0_29 Depth=2
	movq	%rcx, %rbx
	movq	_PRUS_EOF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	jmp	LBB0_45
LBB0_42:                                ##   in Loop: Header=BB0_29 Depth=2
	xorl	%esi, %esi
	movl	$0, %eax
	testq	%r14, %r14
	jle	LBB0_44
## %bb.43:                              ##   in Loop: Header=BB0_29 Depth=2
	movq	_PRUS_MORETOCOME@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_44:                                ##   in Loop: Header=BB0_29 Depth=2
	movq	%rcx, %rbx
	testq	%rcx, %rcx
	cmovgl	%eax, %esi
	.p2align	4, 0x90
LBB0_45:                                ##   in Loop: Header=BB0_29 Depth=2
	movq	%r15, %rdi
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	xorl	%r8d, %r8d
	callq	_sdp_send
	testl	%eax, %eax
	jne	LBB0_54
## %bb.46:                              ##   in Loop: Header=BB0_29 Depth=2
	movq	%rbx, %rax
	testq	%rbx, %rbx
	movl	-76(%rbp), %ebx                 ## 4-byte Reload
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	je	LBB0_48
## %bb.47:                              ##   in Loop: Header=BB0_29 Depth=2
	movl	$0, %edx
	testq	%r14, %r14
	jg	LBB0_29
LBB0_48:                                ##   in Loop: Header=BB0_16 Depth=1
	xorl	%ecx, %ecx
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movl	$0, %r15d
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	jne	LBB0_16
	jmp	LBB0_57
LBB0_49:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_SOCKBUF_UNLOCK
	movq	_EWOULDBLOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	jmp	LBB0_57
LBB0_50:
	movq	%rbx, %rdi
	callq	_SOCKBUF_UNLOCK
	movq	_EPIPE@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	jmp	LBB0_57
LBB0_51:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	$0, 8(%rax)
	movq	%rbx, %rdi
	callq	_SOCKBUF_UNLOCK
	jmp	LBB0_57
LBB0_52:
	movq	%rbx, %rdi
	callq	_SOCKBUF_UNLOCK
	movq	_ENOTCONN@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	jmp	LBB0_57
LBB0_53:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_SOCKBUF_UNLOCK
	movq	_EMSGSIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	jmp	LBB0_57
LBB0_54:
	movl	%eax, %r15d
	jmp	LBB0_56
LBB0_55:
	movq	_EFAULT@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
LBB0_56:
	xorl	%eax, %eax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
LBB0_57:
	movq	%rbx, %rdi
	callq	_sbunlock
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	testq	%r13, %r13
	jne	LBB0_13
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_SOCK_STREAM,8,3                ## @SOCK_STREAM
	.comm	_MSG_EOR,4,2                    ## @MSG_EOR
	.comm	_SBS_CANTSENDMORE,4,2           ## @SBS_CANTSENDMORE
	.comm	_EPIPE,4,2                      ## @EPIPE
	.comm	_SS_ISCONNECTED,4,2             ## @SS_ISCONNECTED
	.comm	_ENOTCONN,4,2                   ## @ENOTCONN
	.comm	_MSG_OOB,4,2                    ## @MSG_OOB
	.comm	_SDP_HEAD_SIZE,8,3              ## @SDP_HEAD_SIZE
	.comm	_EMSGSIZE,4,2                   ## @EMSGSIZE
	.comm	_SS_NBIO,4,2                    ## @SS_NBIO
	.comm	_MSG_NBIO,4,2                   ## @MSG_NBIO
	.comm	_MSG_DONTWAIT,4,2               ## @MSG_DONTWAIT
	.comm	_EWOULDBLOCK,4,2                ## @EWOULDBLOCK
	.comm	_M_EOR,4,2                      ## @M_EOR
	.comm	_M_WAITOK,4,2                   ## @M_WAITOK
	.comm	_M_PKTHDR,4,2                   ## @M_PKTHDR
	.comm	_EFAULT,4,2                     ## @EFAULT
	.comm	_PRUS_OOB,4,2                   ## @PRUS_OOB
	.comm	_MSG_EOF,4,2                    ## @MSG_EOF
	.comm	_PRUS_EOF,4,2                   ## @PRUS_EOF
	.comm	_PRUS_MORETOCOME,4,2            ## @PRUS_MORETOCOME
	.no_dead_strip	_sdp_sosend
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sdp_sosend
_sdp_sosend:                            ; @sdp_sosend
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x21, x6
	mov	x22, x5
	mov	x20, x3
	mov	x24, x2
	mov	x28, x1
	mov	x23, x0
	add	x8, x3, #16
	cmp	x2, #0
	csel	x8, x8, x2, eq
	ldr	x25, [x8]
	cbz	x4, LBB0_5
; %bb.1:
	ldr	x19, [x4, #8]
	mov	x0, x4
	bl	_m_freem
	cbz	x19, LBB0_5
; %bb.2:
	cbz	x20, LBB0_4
; %bb.3:
	mov	x0, x20
	bl	_m_freem
LBB0_4:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w27, [x8]
	b	LBB0_10
LBB0_5:
	tbnz	x25, #63, LBB0_8
; %bb.6:
	ldr	x8, [x23]
Lloh3:
	adrp	x9, _SOCK_STREAM@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SOCK_STREAM@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_11
; %bb.7:
Lloh6:
	adrp	x8, _MSG_EOR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MSG_EOR@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_11
LBB0_8:
Lloh9:
	adrp	x8, _EINVAL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh11:
	ldr	w27, [x8]
	cbz	x20, LBB0_10
LBB0_9:
	mov	x0, x20
	bl	_m_freem
LBB0_10:
	mov	x0, x27
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_11:
	cbz	x21, LBB0_13
; %bb.12:
	ldr	w8, [x21]
	add	w8, w8, #1
	str	w8, [x21]
LBB0_13:
	mov	x0, x23
	bl	_sdp_sk
	mov	x26, x0
	add	x19, x23, #16
	mov	x0, x22
	bl	_SBLOCKWAIT
	mov	x1, x0
	mov	x0, x19
	bl	_sblock
	cbz	w0, LBB0_15
; %bb.14:
	mov	x27, x0
	cbnz	x20, LBB0_9
	b	LBB0_10
LBB0_15:
	stp	x26, x28, [sp]                  ; 16-byte Folded Spill
	mov	x26, x20
LBB0_16:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_29 Depth 2
	mov	x0, x19
	bl	_SOCKBUF_LOCK
	ldr	w8, [x19]
Lloh12:
	adrp	x9, _SBS_CANTSENDMORE@GOTPAGE
Lloh13:
	ldr	x9, [x9, _SBS_CANTSENDMORE@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_47
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=1
	ldr	w27, [x23, #8]
	cbnz	w27, LBB0_48
; %bb.18:                               ;   in Loop: Header=BB0_16 Depth=1
	cbnz	x28, LBB0_20
; %bb.19:                               ;   in Loop: Header=BB0_16 Depth=1
	ldr	w8, [x23, #12]
Lloh15:
	adrp	x9, _SS_ISCONNECTED@GOTPAGE
Lloh16:
	ldr	x9, [x9, _SS_ISCONNECTED@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	and	w8, w9, w8
	cbz	w8, LBB0_49
LBB0_20:                                ;   in Loop: Header=BB0_16 Depth=1
	mov	x0, x19
	bl	_sbspace
Lloh18:
	adrp	x8, _MSG_OOB@GOTPAGE
Lloh19:
	ldr	x8, [x8, _MSG_OOB@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	add	x9, x0, #1024
	tst	w8, w22
	csel	x28, x0, x9, eq
	cbz	x20, LBB0_23
; %bb.21:                               ;   in Loop: Header=BB0_16 Depth=1
	ldr	x8, [sp]                        ; 8-byte Folded Reload
	ldr	x8, [x8]
Lloh21:
	adrp	x9, _SDP_HEAD_SIZE@GOTPAGE
Lloh22:
	ldr	x9, [x9, _SDP_HEAD_SIZE@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x9]
	sub	x8, x8, x9
	cmp	x25, x8
	b.gt	LBB0_50
; %bb.22:                               ;   in Loop: Header=BB0_16 Depth=1
	cmp	x28, x25
	b.lt	LBB0_25
	b	LBB0_28
LBB0_23:                                ;   in Loop: Header=BB0_16 Depth=1
	cmp	x28, x25
	b.ge	LBB0_28
; %bb.24:                               ;   in Loop: Header=BB0_16 Depth=1
	ldr	x8, [x23, #24]
	cmp	x28, x8
	b.ge	LBB0_28
LBB0_25:                                ;   in Loop: Header=BB0_16 Depth=1
	ldr	w8, [x23, #12]
Lloh24:
	adrp	x9, _SS_NBIO@GOTPAGE
Lloh25:
	ldr	x9, [x9, _SS_NBIO@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_46
; %bb.26:                               ;   in Loop: Header=BB0_16 Depth=1
Lloh27:
	adrp	x8, _MSG_NBIO@GOTPAGE
Lloh28:
	ldr	x8, [x8, _MSG_NBIO@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
Lloh30:
	adrp	x9, _MSG_DONTWAIT@GOTPAGE
Lloh31:
	ldr	x9, [x9, _MSG_DONTWAIT@GOTPAGEOFF]
Lloh32:
	ldr	w9, [x9]
	orr	w8, w9, w8
	tst	w8, w22
	b.ne	LBB0_46
; %bb.27:                               ;   in Loop: Header=BB0_16 Depth=1
	mov	x0, x19
	bl	_sbwait
	mov	x27, x0
	mov	x0, x19
	bl	_SOCKBUF_UNLOCK
	ldr	x28, [sp, #8]                   ; 8-byte Folded Reload
	cbz	w27, LBB0_16
	b	LBB0_54
LBB0_28:                                ;   in Loop: Header=BB0_16 Depth=1
	mov	x0, x19
	bl	_SOCKBUF_UNLOCK
LBB0_29:                                ;   Parent Loop BB0_16 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	cbz	x24, LBB0_32
; %bb.30:                               ;   in Loop: Header=BB0_29 Depth=2
	ldr	x8, [sp]                        ; 8-byte Folded Reload
	ldr	x8, [x8]
Lloh33:
	adrp	x9, _SDP_HEAD_SIZE@GOTPAGE
Lloh34:
	ldr	x9, [x9, _SDP_HEAD_SIZE@GOTPAGEOFF]
Lloh35:
	ldr	x9, [x9]
	sub	x1, x8, x9
	mov	x0, x28
	bl	_min
	mov	x2, x0
Lloh36:
	adrp	x8, _M_WAITOK@GOTPAGE
Lloh37:
	ldr	x8, [x8, _M_WAITOK@GOTPAGEOFF]
Lloh38:
	ldr	w1, [x8]
Lloh39:
	adrp	x8, _M_PKTHDR@GOTPAGE
Lloh40:
	ldr	x8, [x8, _M_PKTHDR@GOTPAGEOFF]
Lloh41:
	ldr	w8, [x8]
Lloh42:
	adrp	x9, _MSG_EOR@GOTPAGE
Lloh43:
	ldr	x9, [x9, _MSG_EOR@GOTPAGEOFF]
Lloh44:
	ldr	w9, [x9]
Lloh45:
	adrp	x10, _M_EOR@GOTPAGE
Lloh46:
	ldr	x10, [x10, _M_EOR@GOTPAGEOFF]
Lloh47:
	ldr	w10, [x10]
	tst	w9, w22
	csel	w9, wzr, w10, eq
	orr	w4, w9, w8
	mov	x0, x24
	mov	w3, #0
	bl	_m_uiotombuf
	mov	x26, x0
	cbz	x0, LBB0_52
; %bb.31:                               ;   in Loop: Header=BB0_29 Depth=2
	ldr	x8, [x24]
	sub	x9, x28, x25
	add	x28, x9, x8
	mov	x25, x8
	b	LBB0_35
LBB0_32:                                ;   in Loop: Header=BB0_29 Depth=2
Lloh48:
	adrp	x8, _MSG_EOR@GOTPAGE
Lloh49:
	ldr	x8, [x8, _MSG_EOR@GOTPAGEOFF]
Lloh50:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_34
; %bb.33:                               ;   in Loop: Header=BB0_29 Depth=2
	mov	x25, #0
Lloh51:
	adrp	x8, _M_EOR@GOTPAGE
Lloh52:
	ldr	x8, [x8, _M_EOR@GOTPAGEOFF]
Lloh53:
	ldr	w8, [x8]
	ldr	w9, [x26]
	orr	w8, w9, w8
	str	w8, [x26]
	b	LBB0_35
LBB0_34:                                ;   in Loop: Header=BB0_29 Depth=2
	mov	x25, #0
LBB0_35:                                ;   in Loop: Header=BB0_29 Depth=2
Lloh54:
	adrp	x8, _MSG_OOB@GOTPAGE
Lloh55:
	ldr	x8, [x8, _MSG_OOB@GOTPAGEOFF]
Lloh56:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_37
; %bb.36:                               ;   in Loop: Header=BB0_29 Depth=2
Lloh57:
	adrp	x8, _PRUS_OOB@GOTPAGE
Lloh58:
	ldr	x8, [x8, _PRUS_OOB@GOTPAGEOFF]
	b	LBB0_40
LBB0_37:                                ;   in Loop: Header=BB0_29 Depth=2
Lloh59:
	adrp	x8, _MSG_EOF@GOTPAGE
Lloh60:
	ldr	x8, [x8, _MSG_EOF@GOTPAGEOFF]
Lloh61:
	ldr	w8, [x8]
	and	w8, w8, w22
	cmp	w8, #0
	ccmp	x25, #0, #0, ne
	b.le	LBB0_39
; %bb.38:                               ;   in Loop: Header=BB0_29 Depth=2
	cmp	x28, #0
	ccmp	x25, #0, #4, gt
Lloh62:
	adrp	x8, _PRUS_MORETOCOME@GOTPAGE
Lloh63:
	ldr	x8, [x8, _PRUS_MORETOCOME@GOTPAGEOFF]
Lloh64:
	ldr	w8, [x8]
	csel	w1, w8, wzr, gt
	b	LBB0_41
LBB0_39:                                ;   in Loop: Header=BB0_29 Depth=2
Lloh65:
	adrp	x8, _PRUS_EOF@GOTPAGE
Lloh66:
	ldr	x8, [x8, _PRUS_EOF@GOTPAGEOFF]
LBB0_40:                                ;   in Loop: Header=BB0_29 Depth=2
	ldr	w1, [x8]
LBB0_41:                                ;   in Loop: Header=BB0_29 Depth=2
	mov	x0, x23
	mov	x2, x26
	ldr	x3, [sp, #8]                    ; 8-byte Folded Reload
	mov	x4, #0
	mov	x5, x21
	bl	_sdp_send
	cbnz	w0, LBB0_51
; %bb.42:                               ;   in Loop: Header=BB0_29 Depth=2
	cbz	x25, LBB0_44
; %bb.43:                               ;   in Loop: Header=BB0_29 Depth=2
	mov	x26, #0
	cmp	x28, #0
	b.gt	LBB0_29
LBB0_44:                                ;   in Loop: Header=BB0_16 Depth=1
	mov	x26, #0
	ldr	x28, [sp, #8]                   ; 8-byte Folded Reload
	cbnz	x25, LBB0_16
; %bb.45:
	mov	w27, #0
	b	LBB0_54
LBB0_46:
	mov	x0, x19
	bl	_SOCKBUF_UNLOCK
Lloh67:
	adrp	x8, _EWOULDBLOCK@GOTPAGE
Lloh68:
	ldr	x8, [x8, _EWOULDBLOCK@GOTPAGEOFF]
	b	LBB0_53
LBB0_47:
	mov	x0, x19
	bl	_SOCKBUF_UNLOCK
Lloh69:
	adrp	x8, _EPIPE@GOTPAGE
Lloh70:
	ldr	x8, [x8, _EPIPE@GOTPAGEOFF]
	b	LBB0_53
LBB0_48:
	str	wzr, [x23, #8]
	mov	x0, x19
	bl	_SOCKBUF_UNLOCK
	b	LBB0_54
LBB0_49:
	mov	x0, x19
	bl	_SOCKBUF_UNLOCK
Lloh71:
	adrp	x8, _ENOTCONN@GOTPAGE
Lloh72:
	ldr	x8, [x8, _ENOTCONN@GOTPAGEOFF]
	b	LBB0_53
LBB0_50:
	mov	x0, x19
	bl	_SOCKBUF_UNLOCK
Lloh73:
	adrp	x8, _EMSGSIZE@GOTPAGE
Lloh74:
	ldr	x8, [x8, _EMSGSIZE@GOTPAGEOFF]
	b	LBB0_53
LBB0_51:
	mov	x27, x0
	mov	x26, #0
	b	LBB0_54
LBB0_52:
Lloh75:
	adrp	x8, _EFAULT@GOTPAGE
Lloh76:
	ldr	x8, [x8, _EFAULT@GOTPAGEOFF]
LBB0_53:
	ldr	w27, [x8]
LBB0_54:
	mov	x0, x19
	bl	_sbunlock
	mov	x20, x26
	cbnz	x20, LBB0_9
	b	LBB0_10
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGot	Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpLdrGot	Lloh65, Lloh66
	.loh AdrpLdrGot	Lloh67, Lloh68
	.loh AdrpLdrGot	Lloh69, Lloh70
	.loh AdrpLdrGot	Lloh71, Lloh72
	.loh AdrpLdrGot	Lloh73, Lloh74
	.loh AdrpLdrGot	Lloh75, Lloh76
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_SOCK_STREAM,8,3                ; @SOCK_STREAM
	.comm	_MSG_EOR,4,2                    ; @MSG_EOR
	.comm	_SBS_CANTSENDMORE,4,2           ; @SBS_CANTSENDMORE
	.comm	_EPIPE,4,2                      ; @EPIPE
	.comm	_SS_ISCONNECTED,4,2             ; @SS_ISCONNECTED
	.comm	_ENOTCONN,4,2                   ; @ENOTCONN
	.comm	_MSG_OOB,4,2                    ; @MSG_OOB
	.comm	_SDP_HEAD_SIZE,8,3              ; @SDP_HEAD_SIZE
	.comm	_EMSGSIZE,4,2                   ; @EMSGSIZE
	.comm	_SS_NBIO,4,2                    ; @SS_NBIO
	.comm	_MSG_NBIO,4,2                   ; @MSG_NBIO
	.comm	_MSG_DONTWAIT,4,2               ; @MSG_DONTWAIT
	.comm	_EWOULDBLOCK,4,2                ; @EWOULDBLOCK
	.comm	_M_EOR,4,2                      ; @M_EOR
	.comm	_M_WAITOK,4,2                   ; @M_WAITOK
	.comm	_M_PKTHDR,4,2                   ; @M_PKTHDR
	.comm	_EFAULT,4,2                     ; @EFAULT
	.comm	_PRUS_OOB,4,2                   ; @PRUS_OOB
	.comm	_MSG_EOF,4,2                    ; @MSG_EOF
	.comm	_PRUS_EOF,4,2                   ; @PRUS_EOF
	.comm	_PRUS_MORETOCOME,4,2            ; @PRUS_MORETOCOME
	.no_dead_strip	_sdp_sosend
.subsections_via_symbols
