	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ctrlq_check_stop
_ctrlq_check_stop:                      ## @ctrlq_check_stop
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	leaq	4(%rdi), %rbx
	movq	%rbx, %rdi
	callq	_reclaim_completed_tx_imm
	movq	%rbx, %rdi
	callq	_txq_avail
	movq	_TXQ_STOP_THRES@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	setl	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_FW_WR_EQUEQ@GOTPCREL(%rip), %rax
	movq	_FW_WR_EQUIQ@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	orl	(%rax), %edi
	callq	_htonl
	orl	%eax, (%r14)
	incl	4(%r15)
	movl	$1, (%r15)
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TXQ_STOP_THRES,8,3             ## @TXQ_STOP_THRES
	.comm	_FW_WR_EQUEQ,4,2                ## @FW_WR_EQUEQ
	.comm	_FW_WR_EQUIQ,4,2                ## @FW_WR_EQUIQ
	.no_dead_strip	_ctrlq_check_stop
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ctrlq_check_stop
_ctrlq_check_stop:                      ; @ctrlq_check_stop
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x1
	mov	x19, x0
	add	x21, x0, #4
	mov	x0, x21
	bl	_reclaim_completed_tx_imm
	mov	x0, x21
	bl	_txq_avail
Lloh0:
	adrp	x8, _TXQ_STOP_THRES@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TXQ_STOP_THRES@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	cset	w0, lt
	bl	_unlikely
	cbz	x0, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _FW_WR_EQUEQ@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FW_WR_EQUEQ@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _FW_WR_EQUIQ@GOTPAGE
Lloh7:
	ldr	x9, [x9, _FW_WR_EQUIQ@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w0, w9, w8
	bl	_htonl
	ldr	w8, [x20]
	orr	w8, w8, w0
	str	w8, [x20]
	ldr	w8, [x19, #4]
	add	w8, w8, #1
	mov	w9, #1
	stp	w9, w8, [x19]
LBB0_2:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_TXQ_STOP_THRES,8,3             ; @TXQ_STOP_THRES
	.comm	_FW_WR_EQUEQ,4,2                ; @FW_WR_EQUEQ
	.comm	_FW_WR_EQUIQ,4,2                ; @FW_WR_EQUIQ
	.no_dead_strip	_ctrlq_check_stop
.subsections_via_symbols
