	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hns_roce_init_cmq_ring
_hns_roce_init_cmq_ring:                ## @hns_roce_init_cmq_ring
	.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), %rcx
	movq	_TYPE_CSQ@GOTPCREL(%rip), %rdx
	leaq	24(%rcx), %rax
	cmpl	%esi, (%rdx)
	cmovneq	%rcx, %rax
	movl	%esi, (%rax)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 8(%rax)
	movq	%rax, %rsi
	popq	%rbp
	jmp	_hns_roce_alloc_cmq_desc        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_TYPE_CSQ,4,2                   ## @TYPE_CSQ
	.no_dead_strip	_hns_roce_init_cmq_ring
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hns_roce_init_cmq_ring
_hns_roce_init_cmq_ring:                ; @hns_roce_init_cmq_ring
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _TYPE_CSQ@GOTPAGE
Lloh1:
	ldr	x9, [x9, _TYPE_CSQ@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	add	x10, x8, #24
	cmp	w9, w1
	csel	x8, x10, x8, eq
	str	w1, [x8]
	stp	xzr, xzr, [x8, #8]
	mov	x1, x8
	b	_hns_roce_alloc_cmq_desc
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_TYPE_CSQ,4,2                   ; @TYPE_CSQ
	.no_dead_strip	_hns_roce_init_cmq_ring
.subsections_via_symbols
