	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hns_roce_config_global_param
_hns_roce_config_global_param:          ## @hns_roce_config_global_param
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	_HNS_ROCE_OPC_CFG_GLOBAL_PARAM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-32(%rbp), %r14
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_hns_roce_cmq_setup_basic_desc
	movq	-32(%rbp), %rbx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movl	(%rbx), %edi
	movq	_CFG_GLOBAL_PARAM_DATA_0_ROCEE_TIME_1US_CFG_M@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_CFG_GLOBAL_PARAM_DATA_0_ROCEE_TIME_1US_CFG_S@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$1000, %ecx                     ## imm = 0x3E8
	callq	_roce_set_field
	movl	(%rbx), %edi
	movq	_CFG_GLOBAL_PARAM_DATA_0_ROCEE_UDP_PORT_M@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_CFG_GLOBAL_PARAM_DATA_0_ROCEE_UDP_PORT_S@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$4791, %ecx                     ## imm = 0x12B7
	callq	_roce_set_field
	movq	%r15, %rdi
	movq	%r14, %rsi
	movl	$1, %edx
	callq	_hns_roce_cmq_send
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HNS_ROCE_OPC_CFG_GLOBAL_PARAM,4,2 ## @HNS_ROCE_OPC_CFG_GLOBAL_PARAM
	.comm	_CFG_GLOBAL_PARAM_DATA_0_ROCEE_TIME_1US_CFG_M,4,2 ## @CFG_GLOBAL_PARAM_DATA_0_ROCEE_TIME_1US_CFG_M
	.comm	_CFG_GLOBAL_PARAM_DATA_0_ROCEE_TIME_1US_CFG_S,4,2 ## @CFG_GLOBAL_PARAM_DATA_0_ROCEE_TIME_1US_CFG_S
	.comm	_CFG_GLOBAL_PARAM_DATA_0_ROCEE_UDP_PORT_M,4,2 ## @CFG_GLOBAL_PARAM_DATA_0_ROCEE_UDP_PORT_M
	.comm	_CFG_GLOBAL_PARAM_DATA_0_ROCEE_UDP_PORT_S,4,2 ## @CFG_GLOBAL_PARAM_DATA_0_ROCEE_UDP_PORT_S
	.no_dead_strip	_hns_roce_config_global_param
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hns_roce_config_global_param
_hns_roce_config_global_param:          ; @hns_roce_config_global_param
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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, _HNS_ROCE_OPC_CFG_GLOBAL_PARAM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HNS_ROCE_OPC_CFG_GLOBAL_PARAM@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x0, sp, #8
	mov	w2, #0
	bl	_hns_roce_cmq_setup_basic_desc
	ldr	x20, [sp, #8]
	mov	x0, x20
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	ldr	w0, [x20]
Lloh3:
	adrp	x8, _CFG_GLOBAL_PARAM_DATA_0_ROCEE_TIME_1US_CFG_M@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CFG_GLOBAL_PARAM_DATA_0_ROCEE_TIME_1US_CFG_M@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x8, _CFG_GLOBAL_PARAM_DATA_0_ROCEE_TIME_1US_CFG_S@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CFG_GLOBAL_PARAM_DATA_0_ROCEE_TIME_1US_CFG_S@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	mov	w3, #1000
	bl	_roce_set_field
	ldr	w0, [x20]
Lloh9:
	adrp	x8, _CFG_GLOBAL_PARAM_DATA_0_ROCEE_UDP_PORT_M@GOTPAGE
Lloh10:
	ldr	x8, [x8, _CFG_GLOBAL_PARAM_DATA_0_ROCEE_UDP_PORT_M@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
Lloh12:
	adrp	x8, _CFG_GLOBAL_PARAM_DATA_0_ROCEE_UDP_PORT_S@GOTPAGE
Lloh13:
	ldr	x8, [x8, _CFG_GLOBAL_PARAM_DATA_0_ROCEE_UDP_PORT_S@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
	mov	w3, #4791
	bl	_roce_set_field
	add	x1, sp, #8
	mov	x0, x19
	mov	w2, #1
	bl	_hns_roce_cmq_send
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.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	_HNS_ROCE_OPC_CFG_GLOBAL_PARAM,4,2 ; @HNS_ROCE_OPC_CFG_GLOBAL_PARAM
	.comm	_CFG_GLOBAL_PARAM_DATA_0_ROCEE_TIME_1US_CFG_M,4,2 ; @CFG_GLOBAL_PARAM_DATA_0_ROCEE_TIME_1US_CFG_M
	.comm	_CFG_GLOBAL_PARAM_DATA_0_ROCEE_TIME_1US_CFG_S,4,2 ; @CFG_GLOBAL_PARAM_DATA_0_ROCEE_TIME_1US_CFG_S
	.comm	_CFG_GLOBAL_PARAM_DATA_0_ROCEE_UDP_PORT_M,4,2 ; @CFG_GLOBAL_PARAM_DATA_0_ROCEE_UDP_PORT_M
	.comm	_CFG_GLOBAL_PARAM_DATA_0_ROCEE_UDP_PORT_S,4,2 ; @CFG_GLOBAL_PARAM_DATA_0_ROCEE_UDP_PORT_S
	.no_dead_strip	_hns_roce_config_global_param
.subsections_via_symbols
