	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sdp_process_tx_cq
_sdp_process_tx_cq:                     ## @sdp_process_tx_cq
	.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	%rdi, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_SDP_NUM_WC@GOTPCREL(%rip), %r14
	movl	(%r14), %eax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rbx
	movq	%r13, %rdi
	callq	_SDP_WLOCK_ASSERT
	movl	4(%r13), %edi
	testl	%edi, %edi
	je	LBB0_10
## %bb.1:
	movl	(%r14), %r12d
	xorl	%r15d, %r15d
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
	movl	%r12d, %esi
	movq	%rbx, %rdx
	callq	_ib_poll_cq
	movl	%eax, %r12d
	testl	%eax, %eax
	jle	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%r12d, %r14d
	.p2align	4, 0x90
LBB0_4:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_sdp_process_tx_wc
	addq	$4, %rbx
	decq	%r14
	jne	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	addl	%r12d, %r15d
	movq	_SDP_NUM_WC@GOTPCREL(%rip), %r14
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpl	(%r14), %r12d
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	4(%r13), %edi
	jmp	LBB0_2
LBB0_8:
	testl	%r15d, %r15d
	je	LBB0_11
## %bb.9:
	movq	_M_NOWAIT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_sdp_post_sends
	movq	_sk@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	%r13, %rdi
	callq	_tx_ring_posted
	leaq	L_.str.1(%rip), %rdx
	movl	%r14d, %edi
	xorl	%esi, %esi
	movl	%eax, %ecx
	callq	_sdp_prf1
	movl	(%r13), %edi
	callq	_sowwakeup
	jmp	LBB0_12
LBB0_10:
	movl	(%r13), %edi
	leaq	L_.str(%rip), %rsi
	callq	_sdp_dbg
LBB0_11:
	xorl	%r15d, %r15d
LBB0_12:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_14
## %bb.13:
	movl	%r15d, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_SDP_NUM_WC,4,2                 ## @SDP_NUM_WC
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"tx irq on destroyed tx_cq\n"

	.comm	_M_NOWAIT,4,2                   ## @M_NOWAIT
	.comm	_sk,4,2                         ## @sk
L_.str.1:                               ## @.str.1
	.asciz	"Waking sendmsg. inflight=%d"

	.no_dead_strip	_sdp_process_tx_cq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sdp_process_tx_cq
_sdp_process_tx_cq:                     ; @sdp_process_tx_cq
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	sub	sp, sp, #16
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
Lloh3:
	adrp	x24, _SDP_NUM_WC@GOTPAGE
Lloh4:
	ldr	x24, [x24, _SDP_NUM_WC@GOTPAGEOFF]
	ldr	w8, [x24]
	lsl	x8, x8, #2
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x21, x9, x8
	mov	sp, x21
	bl	_SDP_WLOCK_ASSERT
	ldr	w0, [x19, #4]
	cbz	w0, LBB0_10
; %bb.1:
	mov	w20, #0
	ldr	w22, [x24]
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_4 Depth 2
	mov	x1, x22
	mov	x2, x21
	bl	_ib_poll_cq
	mov	x22, x0
	cmp	w0, #1
	b.lt	LBB0_6
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w25, w22
	mov	x23, x21
LBB0_4:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x19
	mov	x1, x23
	bl	_sdp_process_tx_wc
	add	x23, x23, #4
	subs	x25, x25, #1
	b.ne	LBB0_4
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	add	w20, w22, w20
LBB0_6:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [x24]
	cmp	w22, w8
	b.ne	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w0, [x19, #4]
	b	LBB0_2
LBB0_8:
	cbz	w20, LBB0_11
; %bb.9:
Lloh7:
	adrp	x8, _M_NOWAIT@GOTPAGE
Lloh8:
	ldr	x8, [x8, _M_NOWAIT@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_sdp_post_sends
Lloh10:
	adrp	x8, _sk@GOTPAGE
Lloh11:
	ldr	x8, [x8, _sk@GOTPAGEOFF]
Lloh12:
	ldr	w21, [x8]
	mov	x0, x19
	bl	_tx_ring_posted
	mov	x3, x0
Lloh13:
	adrp	x2, l_.str.1@PAGE
Lloh14:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x21
	mov	x1, #0
                                        ; kill: def $w3 killed $w3 killed $x3
	bl	_sdp_prf1
	ldr	w0, [x19]
	bl	_sowwakeup
	b	LBB0_11
LBB0_10:
	ldr	w0, [x19]
Lloh15:
	adrp	x1, l_.str@PAGE
Lloh16:
	add	x1, x1, l_.str@PAGEOFF
	bl	_sdp_dbg
	mov	w20, #0
LBB0_11:
	ldur	x8, [x29, #-72]
Lloh17:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh18:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_13
; %bb.12:
	mov	x0, x20
	sub	sp, x29, #64
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_13:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_SDP_NUM_WC,4,2                 ; @SDP_NUM_WC
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"tx irq on destroyed tx_cq\n"

	.comm	_M_NOWAIT,4,2                   ; @M_NOWAIT
	.comm	_sk,4,2                         ; @sk
l_.str.1:                               ; @.str.1
	.asciz	"Waking sendmsg. inflight=%d"

	.no_dead_strip	_sdp_process_tx_cq
.subsections_via_symbols
