	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mei_me_d0i3_enter
_mei_me_d0i3_enter:                     ## @mei_me_d0i3_enter
	.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
	movq	%rdi, %rbx
	callq	_to_me_hw
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_mei_me_d0i3c_read
	movq	_H_D0I3C_I3@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_2
## %bb.1:
	movl	(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	callq	_dev_dbg
	jmp	LBB0_3
LBB0_2:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_mei_me_d0i3_set
LBB0_3:
	movq	_MEI_PG_ON@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r14)
	movq	_MEI_PG_EVENT_IDLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rbx)
	movl	(%rbx), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_dev_dbg
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_H_D0I3C_I3,4,2                 ## @H_D0I3C_I3
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"already d0i3 : set not needed\n"

	.comm	_MEI_PG_ON,4,2                  ## @MEI_PG_ON
	.comm	_MEI_PG_EVENT_IDLE,4,2          ## @MEI_PG_EVENT_IDLE
L_.str.1:                               ## @.str.1
	.asciz	"d0i3 enter\n"

	.no_dead_strip	_mei_me_d0i3_enter
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mei_me_d0i3_enter
_mei_me_d0i3_enter:                     ; @mei_me_d0i3_enter
	.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, x0
	bl	_to_me_hw
	mov	x20, x0
	mov	x0, x19
	bl	_mei_me_d0i3c_read
Lloh0:
	adrp	x8, _H_D0I3C_I3@GOTPAGE
Lloh1:
	ldr	x8, [x8, _H_D0I3C_I3@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_2
; %bb.1:
	ldr	w0, [x19]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_dbg
	b	LBB0_3
LBB0_2:
	mov	x0, x19
	mov	w1, #0
	bl	_mei_me_d0i3_set
LBB0_3:
Lloh5:
	adrp	x8, _MEI_PG_ON@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MEI_PG_ON@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	str	w8, [x20]
Lloh8:
	adrp	x8, _MEI_PG_EVENT_IDLE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MEI_PG_EVENT_IDLE@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	str	w8, [x19, #4]
	ldr	w0, [x19]
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_dev_dbg
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_H_D0I3C_I3,4,2                 ; @H_D0I3C_I3
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"already d0i3 : set not needed\n"

	.comm	_MEI_PG_ON,4,2                  ; @MEI_PG_ON
	.comm	_MEI_PG_EVENT_IDLE,4,2          ; @MEI_PG_EVENT_IDLE
l_.str.1:                               ; @.str.1
	.asciz	"d0i3 enter\n"

	.no_dead_strip	_mei_me_d0i3_enter
.subsections_via_symbols
