	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function txq_max_rs_deferred
_txq_max_rs_deferred:                   ## @txq_max_rs_deferred
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	callq	_TXD_NOTIFY_COUNT
	movl	(%rbx), %edx
	leal	7(%rdx), %ecx
	testl	%edx, %edx
	cmovnsl	%edx, %ecx
	movl	4(%rbx), %edx
	sarl	$3, %ecx
	leal	(,%rcx,4), %esi
	cmpl	%esi, %edx
	jg	LBB0_4
## %bb.1:
	leal	(%rcx,%rcx), %esi
	cmpl	%esi, %edx
	jle	LBB0_3
## %bb.2:
	sarl	%eax
	jmp	LBB0_4
LBB0_3:
	sarl	$2, %eax
	cmpl	%ecx, %edx
	movl	$2, %ecx
	cmovlel	%ecx, %eax
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_txq_max_rs_deferred
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function txq_max_rs_deferred
_txq_max_rs_deferred:                   ; @txq_max_rs_deferred
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_TXD_NOTIFY_COUNT
	ldp	w9, w8, [x19]
	add	w10, w9, #7
	cmp	w9, #0
	csel	w9, w10, w9, lt
	asr	w9, w9, #3
	cmp	w8, w9, lsl #2
	b.gt	LBB0_4
; %bb.1:
	cmp	w8, w9, lsl #1
	b.le	LBB0_3
; %bb.2:
	asr	w0, w0, #1
	b	LBB0_4
LBB0_3:
	asr	w10, w0, #2
	mov	w11, #2
	cmp	w8, w9
	csel	w0, w10, w11, gt
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_txq_max_rs_deferred
.subsections_via_symbols
