	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function check_wqe_rq_mtt_count
_check_wqe_rq_mtt_count:                ## @check_wqe_rq_mtt_count
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	$1, %eax
	cmpl	$0, 16(%rsi)
	jle	LBB0_7
## %bb.1:
	movq	(%rdi), %rdi
	testl	%edx, %edx
	jle	LBB0_2
## %bb.3:
	movq	_MTT_MIN_COUNT@GOTPCREL(%rip), %r8
	cmpl	%edx, (%r8)
	jle	LBB0_7
## %bb.4:
	addq	24(%rsi), %rcx
	cmpq	(%rsi), %rcx
	jge	LBB0_7
## %bb.5:
	leaq	L_.str.1(%rip), %rax
	jmp	LBB0_6
LBB0_2:
	leaq	L_.str(%rip), %rax
LBB0_6:
	movl	8(%rsi), %edx
	movq	%rax, %rsi
	callq	_dev_err
	xorl	%eax, %eax
LBB0_7:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"qp(0x%lx) rqwqe buf ba find failed\n"

	.comm	_MTT_MIN_COUNT,4,2              ## @MTT_MIN_COUNT
L_.str.1:                               ## @.str.1
	.asciz	"qp(0x%lx) next rqwqe buf ba find failed\n"

	.no_dead_strip	_check_wqe_rq_mtt_count
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function check_wqe_rq_mtt_count
_check_wqe_rq_mtt_count:                ; @check_wqe_rq_mtt_count
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	w8, [x1, #16]
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.1:
	ldr	x0, [x0]
	cmp	w2, #1
	b.lt	LBB0_6
; %bb.2:
Lloh0:
	adrp	x8, _MTT_MIN_COUNT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MTT_MIN_COUNT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w2
	b.le	LBB0_5
; %bb.3:
	ldr	x8, [x1, #24]
	ldr	x9, [x1]
	add	x8, x8, x3
	cmp	x8, x9
	b.ge	LBB0_5
; %bb.4:
Lloh3:
	adrp	x8, l_.str.1@PAGE
Lloh4:
	add	x8, x8, l_.str.1@PAGEOFF
	b	LBB0_7
LBB0_5:
	mov	w0, #1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_6:
Lloh5:
	adrp	x8, l_.str@PAGE
Lloh6:
	add	x8, x8, l_.str@PAGEOFF
LBB0_7:
	ldr	w2, [x1, #8]
	mov	x1, x8
	bl	_dev_err
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"qp(0x%lx) rqwqe buf ba find failed\n"

	.comm	_MTT_MIN_COUNT,4,2              ; @MTT_MIN_COUNT
l_.str.1:                               ; @.str.1
	.asciz	"qp(0x%lx) next rqwqe buf ba find failed\n"

	.no_dead_strip	_check_wqe_rq_mtt_count
.subsections_via_symbols
