	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function HI_CfgCommand
_HI_CfgCommand:                         ## @HI_CfgCommand
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	leaq	16(%rdi), %r14
	movq	%r14, %rdi
	callq	_mutex_lock
	movq	_HI_RA_RAM_SRV_CFG_KEY__A@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	_HI_RA_RAM_SRV_RST_KEY_ACT@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
	callq	_Write16
	movq	_HI_RA_RAM_SRV_CFG_DIV__A@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%rbx), %edx
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
	callq	_Write16
	movq	_HI_RA_RAM_SRV_CFG_BDL__A@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	4(%rbx), %edx
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
	callq	_Write16
	movq	_HI_RA_RAM_SRV_CFG_WUP__A@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	8(%rbx), %edx
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
	callq	_Write16
	movq	_HI_RA_RAM_SRV_CFG_ACT__A@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	12(%rbx), %edx
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
	callq	_Write16
	movl	(%r15), %esi
	movl	(%r12), %edx
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
	callq	_Write16
	movl	12(%rbx), %eax
	movq	_HI_RA_RAM_SRV_CFG_ACT_PWD_EXE@GOTPCREL(%rip), %rcx
	notl	%eax
	testl	%eax, (%rcx)
	jne	LBB0_2
## %bb.1:
	movq	_HI_RA_RAM_SRV_CMD__A@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_HI_RA_RAM_SRV_CMD_CONFIG@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
	callq	_Write16
	jmp	LBB0_3
LBB0_2:
	movq	_HI_RA_RAM_SRV_CMD_CONFIG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_HI_Command
LBB0_3:
	movl	%eax, %ebx
	movq	%r14, %rdi
	callq	_mutex_unlock
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HI_RA_RAM_SRV_CFG_KEY__A,4,2   ## @HI_RA_RAM_SRV_CFG_KEY__A
	.comm	_HI_RA_RAM_SRV_RST_KEY_ACT,4,2  ## @HI_RA_RAM_SRV_RST_KEY_ACT
	.comm	_HI_RA_RAM_SRV_CFG_DIV__A,4,2   ## @HI_RA_RAM_SRV_CFG_DIV__A
	.comm	_HI_RA_RAM_SRV_CFG_BDL__A,4,2   ## @HI_RA_RAM_SRV_CFG_BDL__A
	.comm	_HI_RA_RAM_SRV_CFG_WUP__A,4,2   ## @HI_RA_RAM_SRV_CFG_WUP__A
	.comm	_HI_RA_RAM_SRV_CFG_ACT__A,4,2   ## @HI_RA_RAM_SRV_CFG_ACT__A
	.comm	_HI_RA_RAM_SRV_CFG_ACT_PWD_EXE,4,2 ## @HI_RA_RAM_SRV_CFG_ACT_PWD_EXE
	.comm	_HI_RA_RAM_SRV_CMD__A,4,2       ## @HI_RA_RAM_SRV_CMD__A
	.comm	_HI_RA_RAM_SRV_CMD_CONFIG,4,2   ## @HI_RA_RAM_SRV_CMD_CONFIG
	.no_dead_strip	_HI_CfgCommand
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function HI_CfgCommand
_HI_CfgCommand:                         ; @HI_CfgCommand
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x0
	add	x19, x0, #16
	mov	x0, x19
	bl	_mutex_lock
Lloh0:
	adrp	x21, _HI_RA_RAM_SRV_CFG_KEY__A@GOTPAGE
Lloh1:
	ldr	x21, [x21, _HI_RA_RAM_SRV_CFG_KEY__A@GOTPAGEOFF]
	ldr	w1, [x21]
Lloh2:
	adrp	x22, _HI_RA_RAM_SRV_RST_KEY_ACT@GOTPAGE
Lloh3:
	ldr	x22, [x22, _HI_RA_RAM_SRV_RST_KEY_ACT@GOTPAGEOFF]
	ldr	w2, [x22]
	mov	x0, x20
	mov	w3, #0
	bl	_Write16
Lloh4:
	adrp	x8, _HI_RA_RAM_SRV_CFG_DIV__A@GOTPAGE
Lloh5:
	ldr	x8, [x8, _HI_RA_RAM_SRV_CFG_DIV__A@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
	ldr	w2, [x20]
	mov	x0, x20
	mov	w3, #0
	bl	_Write16
Lloh7:
	adrp	x8, _HI_RA_RAM_SRV_CFG_BDL__A@GOTPAGE
Lloh8:
	ldr	x8, [x8, _HI_RA_RAM_SRV_CFG_BDL__A@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	ldr	w2, [x20, #4]
	mov	x0, x20
	mov	w3, #0
	bl	_Write16
Lloh10:
	adrp	x8, _HI_RA_RAM_SRV_CFG_WUP__A@GOTPAGE
Lloh11:
	ldr	x8, [x8, _HI_RA_RAM_SRV_CFG_WUP__A@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	ldr	w2, [x20, #8]
	mov	x0, x20
	mov	w3, #0
	bl	_Write16
Lloh13:
	adrp	x8, _HI_RA_RAM_SRV_CFG_ACT__A@GOTPAGE
Lloh14:
	ldr	x8, [x8, _HI_RA_RAM_SRV_CFG_ACT__A@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	ldr	w2, [x20, #12]
	mov	x0, x20
	mov	w3, #0
	bl	_Write16
	ldr	w1, [x21]
	ldr	w2, [x22]
	mov	x0, x20
	mov	w3, #0
	bl	_Write16
	ldr	w8, [x20, #12]
Lloh16:
	adrp	x9, _HI_RA_RAM_SRV_CFG_ACT_PWD_EXE@GOTPAGE
Lloh17:
	ldr	x9, [x9, _HI_RA_RAM_SRV_CFG_ACT_PWD_EXE@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
	bics	wzr, w9, w8
	b.ne	LBB0_2
; %bb.1:
Lloh19:
	adrp	x8, _HI_RA_RAM_SRV_CMD__A@GOTPAGE
Lloh20:
	ldr	x8, [x8, _HI_RA_RAM_SRV_CMD__A@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
Lloh22:
	adrp	x8, _HI_RA_RAM_SRV_CMD_CONFIG@GOTPAGE
Lloh23:
	ldr	x8, [x8, _HI_RA_RAM_SRV_CMD_CONFIG@GOTPAGEOFF]
Lloh24:
	ldr	w2, [x8]
	mov	x0, x20
	mov	w3, #0
	bl	_Write16
	b	LBB0_3
LBB0_2:
Lloh25:
	adrp	x8, _HI_RA_RAM_SRV_CMD_CONFIG@GOTPAGE
Lloh26:
	ldr	x8, [x8, _HI_RA_RAM_SRV_CMD_CONFIG@GOTPAGEOFF]
Lloh27:
	ldr	w1, [x8]
	mov	x0, x20
	mov	x2, #0
	bl	_HI_Command
LBB0_3:
	mov	x20, x0
	mov	x0, x19
	bl	_mutex_unlock
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_HI_RA_RAM_SRV_CFG_KEY__A,4,2   ; @HI_RA_RAM_SRV_CFG_KEY__A
	.comm	_HI_RA_RAM_SRV_RST_KEY_ACT,4,2  ; @HI_RA_RAM_SRV_RST_KEY_ACT
	.comm	_HI_RA_RAM_SRV_CFG_DIV__A,4,2   ; @HI_RA_RAM_SRV_CFG_DIV__A
	.comm	_HI_RA_RAM_SRV_CFG_BDL__A,4,2   ; @HI_RA_RAM_SRV_CFG_BDL__A
	.comm	_HI_RA_RAM_SRV_CFG_WUP__A,4,2   ; @HI_RA_RAM_SRV_CFG_WUP__A
	.comm	_HI_RA_RAM_SRV_CFG_ACT__A,4,2   ; @HI_RA_RAM_SRV_CFG_ACT__A
	.comm	_HI_RA_RAM_SRV_CFG_ACT_PWD_EXE,4,2 ; @HI_RA_RAM_SRV_CFG_ACT_PWD_EXE
	.comm	_HI_RA_RAM_SRV_CMD__A,4,2       ; @HI_RA_RAM_SRV_CMD__A
	.comm	_HI_RA_RAM_SRV_CMD_CONFIG,4,2   ; @HI_RA_RAM_SRV_CMD_CONFIG
	.no_dead_strip	_HI_CfgCommand
.subsections_via_symbols
