	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qed_iov_validate_queue_mode
_qed_iov_validate_queue_mode:           ## @qed_iov_validate_queue_mode
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_QED_IOV_VALIDATE_Q_NA@GOTPCREL(%rip), %rdi
	movb	$1, %al
	cmpl	%ecx, (%rdi)
	je	LBB0_9
## %bb.1:
	movq	_MAX_QUEUES_PER_QZONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	jle	LBB0_7
## %bb.2:
	movq	(%rsi), %rsi
	movq	(%rsi,%rdx,8), %rdx
	xorl	%esi, %esi
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%rsi
	cmpq	%rsi, %rax
	je	LBB0_7
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$0, 4(%rdx,%rsi,8)
	je	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpl	%r8d, (%rdx,%rsi,8)
	jne	LBB0_6
## %bb.5:
	movq	_QED_IOV_VALIDATE_Q_ENABLE@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_7:
	movq	_QED_IOV_VALIDATE_Q_DISABLE@GOTPCREL(%rip), %rax
LBB0_8:
	cmpl	%ecx, (%rax)
	sete	%al
LBB0_9:
	movzbl	%al, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_QED_IOV_VALIDATE_Q_NA,4,2      ## @QED_IOV_VALIDATE_Q_NA
	.comm	_MAX_QUEUES_PER_QZONE,4,2       ## @MAX_QUEUES_PER_QZONE
	.comm	_QED_IOV_VALIDATE_Q_ENABLE,4,2  ## @QED_IOV_VALIDATE_Q_ENABLE
	.comm	_QED_IOV_VALIDATE_Q_DISABLE,4,2 ## @QED_IOV_VALIDATE_Q_DISABLE
	.no_dead_strip	_qed_iov_validate_queue_mode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qed_iov_validate_queue_mode
_qed_iov_validate_queue_mode:           ; @qed_iov_validate_queue_mode
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _QED_IOV_VALIDATE_Q_NA@GOTPAGE
Lloh1:
	ldr	x8, [x8, _QED_IOV_VALIDATE_Q_NA@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w3
	b.ne	LBB0_2
; %bb.1:
	mov	w0, #1
	ret
LBB0_2:
Lloh3:
	adrp	x8, _MAX_QUEUES_PER_QZONE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAX_QUEUES_PER_QZONE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_8
; %bb.3:
	ldr	x9, [x1]
	ldr	x9, [x9, x2, lsl #3]
	add	x9, x9, #4
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x9, x9, #8
	subs	x8, x8, #1
	b.eq	LBB0_8
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x9]
	cbz	w10, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldur	w10, [x9, #-4]
	cmp	w10, w4
	b.ne	LBB0_4
; %bb.7:
Lloh6:
	adrp	x8, _QED_IOV_VALIDATE_Q_ENABLE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _QED_IOV_VALIDATE_Q_ENABLE@GOTPAGEOFF]
	b	LBB0_9
LBB0_8:
Lloh8:
	adrp	x8, _QED_IOV_VALIDATE_Q_DISABLE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _QED_IOV_VALIDATE_Q_DISABLE@GOTPAGEOFF]
LBB0_9:
	ldr	w8, [x8]
	cmp	w8, w3
	cset	w0, eq
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_QED_IOV_VALIDATE_Q_NA,4,2      ; @QED_IOV_VALIDATE_Q_NA
	.comm	_MAX_QUEUES_PER_QZONE,4,2       ; @MAX_QUEUES_PER_QZONE
	.comm	_QED_IOV_VALIDATE_Q_ENABLE,4,2  ; @QED_IOV_VALIDATE_Q_ENABLE
	.comm	_QED_IOV_VALIDATE_Q_DISABLE,4,2 ; @QED_IOV_VALIDATE_Q_DISABLE
	.no_dead_strip	_qed_iov_validate_queue_mode
.subsections_via_symbols
