	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sdp_do_posts                   ## -- Begin function sdp_do_posts
	.p2align	4, 0x90
_sdp_do_posts:                          ## @sdp_do_posts
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	24(%rdi), %r14
	callq	_SDP_WLOCK_ASSERT
	cmpl	$0, 20(%r15)
	je	LBB0_12
## %bb.1:
	leaq	16(%r15), %rbx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_mbufq_dequeue
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_sdp_process_rx_ctl_mb
	jmp	LBB0_3
LBB0_4:
	movq	(%r15), %rax
	movq	_TCPS_TIME_WAIT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_11
## %bb.5:
	cmpl	$0, 12(%r15)
	je	LBB0_11
## %bb.6:
	cmpl	$0, 8(%r15)
	je	LBB0_11
## %bb.7:
	movq	%r15, %rdi
	callq	_sdp_post_recvs
	movq	%r15, %rdi
	callq	_tx_ring_posted
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movq	%r15, %rdi
	movl	$1, %esi
	callq	_sdp_xmit_poll
LBB0_9:
	movq	_M_NOWAIT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_sdp_post_sends
	movq	%r15, %rdi
	callq	_tx_credits
	movq	%rax, %rbx
	movq	_SDP_MIN_TX_CREDITS@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	movq	%r15, %rdi
	callq	_credit_update_needed
	testq	%rax, %rax
	jne	LBB0_13
## %bb.10:
	cmpq	%r13, %rbx
	jl	LBB0_13
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_sdp_dbg                        ## TAILCALL
LBB0_13:
	xorl	%r12d, %r12d
	cmpq	%r13, %rbx
	setl	%r12b
	leaq	L_.str.1(%rip), %rdx
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_sdp_prf
	movq	%r15, %rdi
	movl	%r12d, %esi
	callq	_sdp_xmit_poll
	leaq	L_.str.2(%rip), %rdx
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_sdp_prf
	movq	_M_NOWAIT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_sdp_post_sends                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"QP is deactivated\n"

	.comm	_TCPS_TIME_WAIT,8,3             ## @TCPS_TIME_WAIT
	.comm	_M_NOWAIT,4,2                   ## @M_NOWAIT
	.comm	_SDP_MIN_TX_CREDITS,8,3         ## @SDP_MIN_TX_CREDITS
L_.str.1:                               ## @.str.1
	.asciz	"Processing to free pending sends"

L_.str.2:                               ## @.str.2
	.asciz	"Sending credit update"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sdp_do_posts                   ; -- Begin function sdp_do_posts
	.p2align	2
_sdp_do_posts:                          ; @sdp_do_posts
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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, x0
	ldr	x20, [x0, #24]
	bl	_SDP_WLOCK_ASSERT
	ldr	w8, [x19, #20]
	cbz	w8, LBB0_12
; %bb.1:
	add	x21, x19, #16
	mov	x0, x21
	bl	_mbufq_dequeue
	cbz	x0, LBB0_4
; %bb.2:
	mov	x1, x0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_sdp_process_rx_ctl_mb
	mov	x0, x21
	bl	_mbufq_dequeue
	mov	x1, x0
	cbnz	x0, LBB0_3
LBB0_4:
	ldr	x8, [x19]
Lloh0:
	adrp	x9, _TCPS_TIME_WAIT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _TCPS_TIME_WAIT@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_11
; %bb.5:
	ldr	w8, [x19, #12]
	cbz	w8, LBB0_11
; %bb.6:
	ldr	w8, [x19, #8]
	cbz	w8, LBB0_11
; %bb.7:
	mov	x0, x19
	bl	_sdp_post_recvs
	mov	x0, x19
	bl	_tx_ring_posted
	cbz	x0, LBB0_9
; %bb.8:
	mov	x0, x19
	mov	w1, #1
	bl	_sdp_xmit_poll
LBB0_9:
Lloh3:
	adrp	x22, _M_NOWAIT@GOTPAGE
Lloh4:
	ldr	x22, [x22, _M_NOWAIT@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x19
	bl	_sdp_post_sends
	mov	x0, x19
	bl	_tx_credits
	mov	x21, x0
Lloh5:
	adrp	x8, _SDP_MIN_TX_CREDITS@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SDP_MIN_TX_CREDITS@GOTPAGEOFF]
Lloh7:
	ldr	x23, [x8]
	mov	x0, x19
	bl	_credit_update_needed
	cbnz	x0, LBB0_13
; %bb.10:
	cmp	x21, x23
	b.lt	LBB0_13
LBB0_11:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_12:
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_sdp_dbg
LBB0_13:
	cmp	x21, x23
	cset	w21, lt
Lloh10:
	adrp	x2, l_.str.1@PAGE
Lloh11:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x20
	mov	x1, #0
	bl	_sdp_prf
	mov	x0, x19
	mov	x1, x21
	bl	_sdp_xmit_poll
Lloh12:
	adrp	x2, l_.str.2@PAGE
Lloh13:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x20
	mov	x1, #0
	bl	_sdp_prf
	ldr	w1, [x22]
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_sdp_post_sends
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"QP is deactivated\n"

	.comm	_TCPS_TIME_WAIT,8,3             ; @TCPS_TIME_WAIT
	.comm	_M_NOWAIT,4,2                   ; @M_NOWAIT
	.comm	_SDP_MIN_TX_CREDITS,8,3         ; @SDP_MIN_TX_CREDITS
l_.str.1:                               ; @.str.1
	.asciz	"Processing to free pending sends"

l_.str.2:                               ; @.str.2
	.asciz	"Sending credit update"

.subsections_via_symbols
