	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hi_cfg_command
_hi_cfg_command:                        ## @hi_cfg_command
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	$0, -20(%rbp)
	movq	8(%rdi), %r14
	movq	_SIO_HI_RA_RAM_CMD_CONFIG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -24(%rbp)
	movq	_SIO_HI_RA_RAM_PAR_1_PAR1_SEC_KEY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -28(%rbp)
	movl	16(%r14), %eax
	movl	%eax, -32(%rbp)
	movdqu	(%r14), %xmm0
	pshufd	$225, %xmm0, %xmm0              ## xmm0 = xmm0[1,0,2,3]
	movdqa	%xmm0, -48(%rbp)
	movl	(%rdi), %edi
	leaq	-48(%rbp), %rsi
	leaq	-20(%rbp), %rdx
	callq	_hi_command
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %esi
	callq	_pr_err
	jmp	LBB0_3
LBB0_2:
	movq	_SIO_HI_RA_RAM_PAR_5_CFG_SLEEP_ZZZ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, (%r14)
LBB0_3:
	movl	%ebx, %eax
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SIO_HI_RA_RAM_CMD_CONFIG,4,2   ## @SIO_HI_RA_RAM_CMD_CONFIG
	.comm	_SIO_HI_RA_RAM_PAR_1_PAR1_SEC_KEY,4,2 ## @SIO_HI_RA_RAM_PAR_1_PAR1_SEC_KEY
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"error %d\n"

	.comm	_SIO_HI_RA_RAM_PAR_5_CFG_SLEEP_ZZZ,4,2 ## @SIO_HI_RA_RAM_PAR_5_CFG_SLEEP_ZZZ
	.no_dead_strip	_hi_cfg_command
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hi_cfg_command
_hi_cfg_command:                        ; @hi_cfg_command
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	str	wzr, [sp, #12]
	ldr	x20, [x0, #8]
Lloh0:
	adrp	x8, _SIO_HI_RA_RAM_CMD_CONFIG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SIO_HI_RA_RAM_CMD_CONFIG@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _SIO_HI_RA_RAM_PAR_1_PAR1_SEC_KEY@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SIO_HI_RA_RAM_PAR_1_PAR1_SEC_KEY@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	stp	w9, w8, [sp, #36]
	ldr	w8, [x20, #16]
	str	w8, [sp, #32]
	ldr	q0, [x20]
	mov.16b	v1, v0
	mov.s	v1[0], v0[1]
	mov.s	v1[1], v0[0]
	str	q1, [sp, #16]
	ldr	w0, [x0]
	add	x1, sp, #16
	add	x2, sp, #12
	bl	_hi_command
	mov	x19, x0
	cbz	w0, LBB0_2
; %bb.1:
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	bl	_pr_err
	b	LBB0_3
LBB0_2:
Lloh8:
	adrp	x8, _SIO_HI_RA_RAM_PAR_5_CFG_SLEEP_ZZZ@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SIO_HI_RA_RAM_PAR_5_CFG_SLEEP_ZZZ@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	ldr	w9, [x20]
	bic	w8, w9, w8
	str	w8, [x20]
LBB0_3:
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_SIO_HI_RA_RAM_CMD_CONFIG,4,2   ; @SIO_HI_RA_RAM_CMD_CONFIG
	.comm	_SIO_HI_RA_RAM_PAR_1_PAR1_SEC_KEY,4,2 ; @SIO_HI_RA_RAM_PAR_1_PAR1_SEC_KEY
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"error %d\n"

	.comm	_SIO_HI_RA_RAM_PAR_5_CFG_SLEEP_ZZZ,4,2 ; @SIO_HI_RA_RAM_PAR_5_CFG_SLEEP_ZZZ
	.no_dead_strip	_hi_cfg_command
.subsections_via_symbols
