	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hns_roce_v1_cq_set_ci
_hns_roce_v1_cq_set_ci:                 ## @hns_roce_v1_cq_set_ci
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -16(%rbp)
	movl	(%rdi), %eax
	leal	(%rax,%rax), %edi
	decl	%edi
	andl	%esi, %edi
	callq	_cpu_to_le32
	movq	%rax, -32(%rbp)
	movq	$0, -24(%rbp)
	movq	_ROCEE_DB_OTHERS_H_ROCEE_DB_OTH_HW_SYNS_S@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edi, %edi
	movl	$1, %edx
	callq	_roce_set_bit
	movq	_ROCEE_DB_OTHERS_H_ROCEE_DB_OTH_CMD_M@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ROCEE_DB_OTHERS_H_ROCEE_DB_OTH_CMD_S@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%edi, %edi
	movl	$3, %ecx
	callq	_roce_set_field
	movq	_ROCEE_DB_OTHERS_H_ROCEE_DB_OTH_CMD_MDF_M@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ROCEE_DB_OTHERS_H_ROCEE_DB_OTH_CMD_MDF_S@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%edi, %edi
	xorl	%ecx, %ecx
	callq	_roce_set_field
	movq	_ROCEE_DB_OTHERS_H_ROCEE_DB_OTH_INP_H_M@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ROCEE_DB_OTHERS_H_ROCEE_DB_OTH_INP_H_S@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	4(%rbx), %ecx
	xorl	%edi, %edi
	callq	_roce_set_field
	movl	8(%rbx), %esi
	leaq	-32(%rbp), %rdi
	callq	_hns_roce_write64_k
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-16(%rbp), %rax
	jne	LBB0_2
## %bb.1:
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_2:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_ROCEE_DB_OTHERS_H_ROCEE_DB_OTH_HW_SYNS_S,4,2 ## @ROCEE_DB_OTHERS_H_ROCEE_DB_OTH_HW_SYNS_S
	.comm	_ROCEE_DB_OTHERS_H_ROCEE_DB_OTH_CMD_M,4,2 ## @ROCEE_DB_OTHERS_H_ROCEE_DB_OTH_CMD_M
	.comm	_ROCEE_DB_OTHERS_H_ROCEE_DB_OTH_CMD_S,4,2 ## @ROCEE_DB_OTHERS_H_ROCEE_DB_OTH_CMD_S
	.comm	_ROCEE_DB_OTHERS_H_ROCEE_DB_OTH_CMD_MDF_M,4,2 ## @ROCEE_DB_OTHERS_H_ROCEE_DB_OTH_CMD_MDF_M
	.comm	_ROCEE_DB_OTHERS_H_ROCEE_DB_OTH_CMD_MDF_S,4,2 ## @ROCEE_DB_OTHERS_H_ROCEE_DB_OTH_CMD_MDF_S
	.comm	_ROCEE_DB_OTHERS_H_ROCEE_DB_OTH_INP_H_M,4,2 ## @ROCEE_DB_OTHERS_H_ROCEE_DB_OTH_INP_H_M
	.comm	_ROCEE_DB_OTHERS_H_ROCEE_DB_OTH_INP_H_S,4,2 ## @ROCEE_DB_OTHERS_H_ROCEE_DB_OTH_INP_H_S
	.no_dead_strip	_hns_roce_v1_cq_set_ci
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hns_roce_v1_cq_set_ci
_hns_roce_v1_cq_set_ci:                 ; @hns_roce_v1_cq_set_ci
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	ldr	w8, [x0]
	lsl	w8, w8, #1
	sub	w8, w8, #1
	and	w0, w8, w1
	bl	_cpu_to_le32
	stp	x0, xzr, [sp, #8]
Lloh3:
	adrp	x8, _ROCEE_DB_OTHERS_H_ROCEE_DB_OTH_HW_SYNS_S@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ROCEE_DB_OTHERS_H_ROCEE_DB_OTH_HW_SYNS_S@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, #0
	mov	w2, #1
	bl	_roce_set_bit
Lloh6:
	adrp	x8, _ROCEE_DB_OTHERS_H_ROCEE_DB_OTH_CMD_M@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ROCEE_DB_OTHERS_H_ROCEE_DB_OTH_CMD_M@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
Lloh9:
	adrp	x8, _ROCEE_DB_OTHERS_H_ROCEE_DB_OTH_CMD_S@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ROCEE_DB_OTHERS_H_ROCEE_DB_OTH_CMD_S@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	mov	x0, #0
	mov	w3, #3
	bl	_roce_set_field
Lloh12:
	adrp	x8, _ROCEE_DB_OTHERS_H_ROCEE_DB_OTH_CMD_MDF_M@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ROCEE_DB_OTHERS_H_ROCEE_DB_OTH_CMD_MDF_M@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
Lloh15:
	adrp	x8, _ROCEE_DB_OTHERS_H_ROCEE_DB_OTH_CMD_MDF_S@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ROCEE_DB_OTHERS_H_ROCEE_DB_OTH_CMD_MDF_S@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
	mov	x0, #0
	mov	w3, #0
	bl	_roce_set_field
Lloh18:
	adrp	x8, _ROCEE_DB_OTHERS_H_ROCEE_DB_OTH_INP_H_M@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ROCEE_DB_OTHERS_H_ROCEE_DB_OTH_INP_H_M@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
Lloh21:
	adrp	x8, _ROCEE_DB_OTHERS_H_ROCEE_DB_OTH_INP_H_S@GOTPAGE
Lloh22:
	ldr	x8, [x8, _ROCEE_DB_OTHERS_H_ROCEE_DB_OTH_INP_H_S@GOTPAGEOFF]
Lloh23:
	ldr	w2, [x8]
	ldr	w3, [x19, #4]
	mov	x0, #0
	bl	_roce_set_field
	ldr	w1, [x19, #8]
	add	x0, sp, #8
	bl	_hns_roce_write64_k
	ldr	x8, [sp, #24]
Lloh24:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh25:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh26:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_2:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ROCEE_DB_OTHERS_H_ROCEE_DB_OTH_HW_SYNS_S,4,2 ; @ROCEE_DB_OTHERS_H_ROCEE_DB_OTH_HW_SYNS_S
	.comm	_ROCEE_DB_OTHERS_H_ROCEE_DB_OTH_CMD_M,4,2 ; @ROCEE_DB_OTHERS_H_ROCEE_DB_OTH_CMD_M
	.comm	_ROCEE_DB_OTHERS_H_ROCEE_DB_OTH_CMD_S,4,2 ; @ROCEE_DB_OTHERS_H_ROCEE_DB_OTH_CMD_S
	.comm	_ROCEE_DB_OTHERS_H_ROCEE_DB_OTH_CMD_MDF_M,4,2 ; @ROCEE_DB_OTHERS_H_ROCEE_DB_OTH_CMD_MDF_M
	.comm	_ROCEE_DB_OTHERS_H_ROCEE_DB_OTH_CMD_MDF_S,4,2 ; @ROCEE_DB_OTHERS_H_ROCEE_DB_OTH_CMD_MDF_S
	.comm	_ROCEE_DB_OTHERS_H_ROCEE_DB_OTH_INP_H_M,4,2 ; @ROCEE_DB_OTHERS_H_ROCEE_DB_OTH_INP_H_M
	.comm	_ROCEE_DB_OTHERS_H_ROCEE_DB_OTH_INP_H_S,4,2 ; @ROCEE_DB_OTHERS_H_ROCEE_DB_OTH_INP_H_S
	.no_dead_strip	_hns_roce_v1_cq_set_ci
.subsections_via_symbols
