	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i40iw_get_cqp_reg_info
_i40iw_get_cqp_reg_info:                ## @i40iw_get_cqp_reg_info
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, %r15
	movq	%rsi, %r12
	movq	(%rdi), %rax
	cmpq	$0, 8(%rax)
	movl	(%rax), %edi
	movq	_I40E_PFPE_CQPTAIL@GOTPCREL(%rip), %rax
	cmoveq	_I40E_VFPE_CQPTAIL1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_I40E_PFPE_CQPTAIL_WQTAIL@GOTPCREL(%rip), %rbx
	cmoveq	_I40E_VFPE_CQPTAIL_WQTAIL@GOTPCREL(%rip), %rbx
	movq	_I40E_PFPE_CQPTAIL_CQP_OP_ERR@GOTPCREL(%rip), %r13
	cmoveq	_I40E_VFPE_CQPTAIL_CQP_OP_ERR@GOTPCREL(%rip), %r13
	callq	_i40iw_rd32
	movl	%eax, (%r12)
	movl	(%rbx), %esi
	movl	%eax, %edi
	callq	_RS_32
	movl	%eax, (%r15)
	movl	(%r12), %edi
	movl	(%r13), %esi
	callq	_RS_32
	movl	%eax, (%r14)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_I40E_PFPE_CQPTAIL,4,2          ## @I40E_PFPE_CQPTAIL
	.comm	_I40E_PFPE_CQPTAIL_WQTAIL,4,2   ## @I40E_PFPE_CQPTAIL_WQTAIL
	.comm	_I40E_PFPE_CQPTAIL_CQP_OP_ERR,4,2 ## @I40E_PFPE_CQPTAIL_CQP_OP_ERR
	.comm	_I40E_VFPE_CQPTAIL1,4,2         ## @I40E_VFPE_CQPTAIL1
	.comm	_I40E_VFPE_CQPTAIL_WQTAIL,4,2   ## @I40E_VFPE_CQPTAIL_WQTAIL
	.comm	_I40E_VFPE_CQPTAIL_CQP_OP_ERR,4,2 ## @I40E_VFPE_CQPTAIL_CQP_OP_ERR
	.no_dead_strip	_i40iw_get_cqp_reg_info
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i40iw_get_cqp_reg_info
_i40iw_get_cqp_reg_info:                ; @i40iw_get_cqp_reg_info
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	ldr	x8, [x0]
	ldr	x9, [x8, #8]
Lloh0:
	adrp	x10, _I40E_VFPE_CQPTAIL1@GOTPAGE
Lloh1:
	ldr	x10, [x10, _I40E_VFPE_CQPTAIL1@GOTPAGEOFF]
	ldr	w0, [x8]
Lloh2:
	adrp	x8, _I40E_PFPE_CQPTAIL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _I40E_PFPE_CQPTAIL@GOTPAGEOFF]
	cmp	x9, #0
	csel	x8, x10, x8, eq
	ldr	w1, [x8]
Lloh4:
	adrp	x8, _I40E_VFPE_CQPTAIL_WQTAIL@GOTPAGE
Lloh5:
	ldr	x8, [x8, _I40E_VFPE_CQPTAIL_WQTAIL@GOTPAGEOFF]
Lloh6:
	adrp	x9, _I40E_PFPE_CQPTAIL_WQTAIL@GOTPAGE
Lloh7:
	ldr	x9, [x9, _I40E_PFPE_CQPTAIL_WQTAIL@GOTPAGEOFF]
Lloh8:
	adrp	x10, _I40E_VFPE_CQPTAIL_CQP_OP_ERR@GOTPAGE
Lloh9:
	ldr	x10, [x10, _I40E_VFPE_CQPTAIL_CQP_OP_ERR@GOTPAGEOFF]
	csel	x22, x8, x9, eq
Lloh10:
	adrp	x8, _I40E_PFPE_CQPTAIL_CQP_OP_ERR@GOTPAGE
Lloh11:
	ldr	x8, [x8, _I40E_PFPE_CQPTAIL_CQP_OP_ERR@GOTPAGEOFF]
	csel	x23, x10, x8, eq
	bl	_i40iw_rd32
	str	w0, [x21]
	ldr	w1, [x22]
	bl	_RS_32
	str	w0, [x20]
	ldr	w0, [x21]
	ldr	w1, [x23]
	bl	_RS_32
	str	w0, [x19]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_I40E_PFPE_CQPTAIL,4,2          ; @I40E_PFPE_CQPTAIL
	.comm	_I40E_PFPE_CQPTAIL_WQTAIL,4,2   ; @I40E_PFPE_CQPTAIL_WQTAIL
	.comm	_I40E_PFPE_CQPTAIL_CQP_OP_ERR,4,2 ; @I40E_PFPE_CQPTAIL_CQP_OP_ERR
	.comm	_I40E_VFPE_CQPTAIL1,4,2         ; @I40E_VFPE_CQPTAIL1
	.comm	_I40E_VFPE_CQPTAIL_WQTAIL,4,2   ; @I40E_VFPE_CQPTAIL_WQTAIL
	.comm	_I40E_VFPE_CQPTAIL_CQP_OP_ERR,4,2 ; @I40E_VFPE_CQPTAIL_CQP_OP_ERR
	.no_dead_strip	_i40iw_get_cqp_reg_info
.subsections_via_symbols
