	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wait_panel_power_cycle
_wait_panel_power_cycle:                ## @wait_panel_power_cycle
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rdi
	callq	_DRM_DEBUG_KMS
	xorl	%eax, %eax
	callq	_ktime_get_boottime
	movl	8(%rbx), %esi
	movl	%eax, %edi
	callq	_ktime_ms_delta
	movq	(%rbx), %rsi
	subq	%rax, %rsi
	jle	LBB0_2
## %bb.1:
	movq	_jiffies@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_wait_remaining_ms_from_jiffies
LBB0_2:
	movq	_IDLE_CYCLE_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_IDLE_CYCLE_VALUE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_wait_panel_status              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Wait for panel power cycle\n"

	.comm	_jiffies,4,2                    ## @jiffies
	.comm	_IDLE_CYCLE_MASK,4,2            ## @IDLE_CYCLE_MASK
	.comm	_IDLE_CYCLE_VALUE,4,2           ## @IDLE_CYCLE_VALUE
	.no_dead_strip	_wait_panel_power_cycle
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wait_panel_power_cycle
_wait_panel_power_cycle:                ; @wait_panel_power_cycle
	.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
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DRM_DEBUG_KMS
	bl	_ktime_get_boottime
	ldr	w1, [x19, #8]
	bl	_ktime_ms_delta
	ldr	x8, [x19]
	subs	x1, x8, x0
	b.le	LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _jiffies@GOTPAGE
Lloh3:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	bl	_wait_remaining_ms_from_jiffies
LBB0_2:
Lloh5:
	adrp	x8, _IDLE_CYCLE_MASK@GOTPAGE
Lloh6:
	ldr	x8, [x8, _IDLE_CYCLE_MASK@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
Lloh8:
	adrp	x8, _IDLE_CYCLE_VALUE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _IDLE_CYCLE_VALUE@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_wait_panel_status
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Wait for panel power cycle\n"

	.comm	_jiffies,4,2                    ; @jiffies
	.comm	_IDLE_CYCLE_MASK,4,2            ; @IDLE_CYCLE_MASK
	.comm	_IDLE_CYCLE_VALUE,4,2           ; @IDLE_CYCLE_VALUE
	.no_dead_strip	_wait_panel_power_cycle
.subsections_via_symbols
