	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_unin_chip_sleep                ## -- Begin function unin_chip_sleep
	.p2align	4, 0x90
_unin_chip_sleep:                       ## @unin_chip_sleep
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	testq	%rdi, %rdi
	jne	LBB0_2
## %bb.1:
	movq	_unin_chip@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
LBB0_2:
	movq	_UNIN_HWINIT_STATE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_UNIN_SLEEPING@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
	callq	_unin_update_reg
	movl	$10, %edi
	callq	_DELAY
	movq	_UNIN_PWR_MGMT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	testl	%r14d, %r14d
	jne	LBB0_3
## %bb.4:
	movq	_UNIN_PWR_SLEEP@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_3:
	movq	_UNIN_PWR_IDLE2@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %edx
	movq	_UNIN_PWR_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	callq	_unin_update_reg
	movl	$10, %edi
	callq	_DELAY
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_unin_chip,8,3                  ## @unin_chip
	.comm	_UNIN_HWINIT_STATE,4,2          ## @UNIN_HWINIT_STATE
	.comm	_UNIN_SLEEPING,4,2              ## @UNIN_SLEEPING
	.comm	_UNIN_PWR_MGMT,4,2              ## @UNIN_PWR_MGMT
	.comm	_UNIN_PWR_IDLE2,4,2             ## @UNIN_PWR_IDLE2
	.comm	_UNIN_PWR_MASK,4,2              ## @UNIN_PWR_MASK
	.comm	_UNIN_PWR_SLEEP,4,2             ## @UNIN_PWR_SLEEP
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_unin_chip_sleep                ; -- Begin function unin_chip_sleep
	.p2align	2
_unin_chip_sleep:                       ; @unin_chip_sleep
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
Lloh0:
	adrp	x8, _unin_chip@GOTPAGE
Lloh1:
	ldr	x8, [x8, _unin_chip@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, #0
	csel	x20, x8, x0, eq
Lloh3:
	adrp	x8, _UNIN_HWINIT_STATE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _UNIN_HWINIT_STATE@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x8, _UNIN_SLEEPING@GOTPAGE
Lloh7:
	ldr	x8, [x8, _UNIN_SLEEPING@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	mov	x0, x20
	mov	w3, #0
	bl	_unin_update_reg
	mov	w0, #10
	bl	_DELAY
Lloh9:
	adrp	x8, _UNIN_PWR_MGMT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _UNIN_PWR_MGMT@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
Lloh12:
	adrp	x8, _UNIN_PWR_SLEEP@GOTPAGE
Lloh13:
	ldr	x8, [x8, _UNIN_PWR_SLEEP@GOTPAGEOFF]
Lloh14:
	adrp	x9, _UNIN_PWR_IDLE2@GOTPAGE
Lloh15:
	ldr	x9, [x9, _UNIN_PWR_IDLE2@GOTPAGEOFF]
	cmp	w19, #0
	csel	x8, x8, x9, eq
	ldr	w2, [x8]
Lloh16:
	adrp	x8, _UNIN_PWR_MASK@GOTPAGE
Lloh17:
	ldr	x8, [x8, _UNIN_PWR_MASK@GOTPAGEOFF]
Lloh18:
	ldr	w3, [x8]
	mov	x0, x20
	bl	_unin_update_reg
	mov	w0, #10
	bl	_DELAY
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.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	_unin_chip,8,3                  ; @unin_chip
	.comm	_UNIN_HWINIT_STATE,4,2          ; @UNIN_HWINIT_STATE
	.comm	_UNIN_SLEEPING,4,2              ; @UNIN_SLEEPING
	.comm	_UNIN_PWR_MGMT,4,2              ; @UNIN_PWR_MGMT
	.comm	_UNIN_PWR_IDLE2,4,2             ; @UNIN_PWR_IDLE2
	.comm	_UNIN_PWR_MASK,4,2              ; @UNIN_PWR_MASK
	.comm	_UNIN_PWR_SLEEP,4,2             ; @UNIN_PWR_SLEEP
.subsections_via_symbols
