	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i40iw_check_cqp_progress       ## -- Begin function i40iw_check_cqp_progress
	.p2align	4, 0x90
_i40iw_check_cqp_progress:              ## @i40iw_check_cqp_progress
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	movq	(%rsi), %rcx
	movq	_OP_COMPLETED_COMMANDS@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	(%rcx,%rdx,8), %rdx
	cmpq	%rdx, %rax
	jne	LBB0_1
## %bb.2:
	movq	_OP_REQUESTED_COMMANDS@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	cmpq	%rax, (%rcx,%rdx,8)
	je	LBB0_4
## %bb.3:
	incq	8(%rdi)
LBB0_4:
	popq	%rbp
	retq
LBB0_1:
	movq	%rdx, (%rdi)
	movq	$0, 8(%rdi)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OP_COMPLETED_COMMANDS,8,3      ## @OP_COMPLETED_COMMANDS
	.comm	_OP_REQUESTED_COMMANDS,8,3      ## @OP_REQUESTED_COMMANDS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i40iw_check_cqp_progress       ; -- Begin function i40iw_check_cqp_progress
	.p2align	2
_i40iw_check_cqp_progress:              ; @i40iw_check_cqp_progress
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
	ldr	x9, [x1]
Lloh0:
	adrp	x10, _OP_COMPLETED_COMMANDS@GOTPAGE
Lloh1:
	ldr	x10, [x10, _OP_COMPLETED_COMMANDS@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	ldr	x10, [x9, x10, lsl #3]
	cmp	x8, x10
	b.ne	LBB0_4
; %bb.1:
Lloh3:
	adrp	x10, _OP_REQUESTED_COMMANDS@GOTPAGE
Lloh4:
	ldr	x10, [x10, _OP_REQUESTED_COMMANDS@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	ldr	x9, [x9, x10, lsl #3]
	cmp	x9, x8
	b.eq	LBB0_3
; %bb.2:
	ldr	x8, [x0, #8]
	add	x8, x8, #1
	str	x8, [x0, #8]
LBB0_3:
	ret
LBB0_4:
	stp	x10, xzr, [x0]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_OP_COMPLETED_COMMANDS,8,3      ; @OP_COMPLETED_COMMANDS
	.comm	_OP_REQUESTED_COMMANDS,8,3      ; @OP_REQUESTED_COMMANDS
.subsections_via_symbols
