	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_do_blank_screen                ## -- Begin function do_blank_screen
	.p2align	4, 0x90
_do_blank_screen:                       ## @do_blank_screen
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %ebx
	movq	_vc_cons@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_fg_console@GOTPCREL(%rip), %r15
	movq	(%r15), %rcx
	movq	(%rax,%rcx,8), %r14
	xorl	%eax, %eax
	callq	_WARN_CONSOLE_UNLOCKED
	movq	_console_blanked@GOTPCREL(%rip), %r12
	cmpl	$0, (%r12)
	je	LBB0_3
## %bb.1:
	movq	_blank_state@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	_blank_vesa_wait@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_7
## %bb.2:
	movq	_blank_off@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, (%rax)
	movq	16(%r14), %rax
	movq	(%rax), %rax
	movq	_vesa_blank_mode@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	incl	%esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
LBB0_3:
	testl	%ebx, %ebx
	je	LBB0_4
## %bb.15:
	movq	%r14, %rdi
	callq	_hide_cursor
	movq	%r14, %rdi
	callq	_save_screen
	movq	16(%r14), %rax
	movq	%r14, %rdi
	movl	$-1, %esi
	movl	$1, %edx
	callq	*(%rax)
	movl	(%r15), %eax
	incl	%eax
	movl	%eax, (%r12)
	movq	_blank_off@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_blank_state@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_set_origin                     ## TAILCALL
LBB0_4:
	movq	_blank_state@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	movq	_blank_normal_wait@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.5:
	movq	_blank_off@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rbx)
	movq	(%r14), %rax
	movq	_KD_TEXT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.8:
	movq	%r14, %rdi
	callq	_hide_cursor
	movq	_console_timer@GOTPCREL(%rip), %rdi
	callq	_del_timer_sync
	movq	_blank_timer_expired@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	%r14, %rdi
	callq	_save_screen
	movq	_vesa_off_interval@GOTPCREL(%rip), %r13
	movq	_vesa_blank_mode@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	incl	%eax
	cmpq	$0, (%r13)
	movq	16(%r14), %rcx
	movl	$1, %esi
	cmovel	%eax, %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	*(%rcx)
	movl	(%r15), %ecx
	incl	%ecx
	movl	%ecx, (%r12)
	testl	%eax, %eax
	je	LBB0_10
## %bb.9:
	movq	%r14, %rdi
	callq	_set_origin
LBB0_10:
	movl	$1, %edi
	callq	_console_blank_hook
	testq	%rax, %rax
	jne	LBB0_7
## %bb.11:
	movq	(%r13), %rsi
	testq	%rsi, %rsi
	je	LBB0_14
## %bb.12:
	movq	_vesa_blank_mode@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_14
## %bb.13:
	movq	_blank_vesa_wait@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rbx)
	movq	_jiffies@GOTPCREL(%rip), %rax
	addq	(%rax), %rsi
	movq	_console_timer@GOTPCREL(%rip), %rdi
	callq	_mod_timer
LBB0_14:
	movq	_VT_EVENT_BLANK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	8(%r14), %edx
	movl	%edx, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_vt_event_post                  ## TAILCALL
LBB0_6:
	movl	(%r15), %eax
	incl	%eax
	movl	%eax, (%r12)
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_vc_cons,8,3                    ## @vc_cons
	.comm	_fg_console,8,3                 ## @fg_console
	.comm	_console_blanked,4,2            ## @console_blanked
	.comm	_blank_state,8,3                ## @blank_state
	.comm	_blank_vesa_wait,8,3            ## @blank_vesa_wait
	.comm	_blank_off,8,3                  ## @blank_off
	.comm	_vesa_blank_mode,4,2            ## @vesa_blank_mode
	.comm	_blank_normal_wait,8,3          ## @blank_normal_wait
	.comm	_KD_TEXT,8,3                    ## @KD_TEXT
	.comm	_console_timer,4,2              ## @console_timer
	.comm	_blank_timer_expired,8,3        ## @blank_timer_expired
	.comm	_vesa_off_interval,8,3          ## @vesa_off_interval
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_VT_EVENT_BLANK,4,2             ## @VT_EVENT_BLANK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_do_blank_screen                ; -- Begin function do_blank_screen
	.p2align	2
_do_blank_screen:                       ; @do_blank_screen
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x0
Lloh0:
	adrp	x8, _vc_cons@GOTPAGE
Lloh1:
	ldr	x8, [x8, _vc_cons@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x22, _fg_console@GOTPAGE
Lloh4:
	ldr	x22, [x22, _fg_console@GOTPAGEOFF]
	ldr	x9, [x22]
	ldr	x19, [x8, x9, lsl #3]
	bl	_WARN_CONSOLE_UNLOCKED
Lloh5:
	adrp	x21, _console_blanked@GOTPAGE
Lloh6:
	ldr	x21, [x21, _console_blanked@GOTPAGEOFF]
	ldr	w8, [x21]
	cbz	w8, LBB0_3
; %bb.1:
Lloh7:
	adrp	x8, _blank_state@GOTPAGE
Lloh8:
	ldr	x8, [x8, _blank_state@GOTPAGEOFF]
	ldr	x9, [x8]
Lloh9:
	adrp	x10, _blank_vesa_wait@GOTPAGE
Lloh10:
	ldr	x10, [x10, _blank_vesa_wait@GOTPAGEOFF]
Lloh11:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_15
; %bb.2:
Lloh12:
	adrp	x9, _blank_off@GOTPAGE
Lloh13:
	ldr	x9, [x9, _blank_off@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	str	x9, [x8]
	ldr	x8, [x19, #16]
Lloh15:
	adrp	x9, _vesa_blank_mode@GOTPAGE
Lloh16:
	ldr	x9, [x9, _vesa_blank_mode@GOTPAGEOFF]
	ldr	x3, [x8]
Lloh17:
	ldr	w8, [x9]
	add	w1, w8, #1
	mov	x0, x19
	mov	w2, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	br	x3
LBB0_3:
	cbz	w20, LBB0_5
; %bb.4:
	mov	x0, x19
	bl	_hide_cursor
	mov	x0, x19
	bl	_save_screen
	ldr	x8, [x19, #16]
	ldr	x8, [x8]
	mov	x0, x19
	mov	w1, #-1
	mov	w2, #1
	blr	x8
	ldr	w8, [x22]
	add	w8, w8, #1
Lloh18:
	adrp	x9, _blank_off@GOTPAGE
Lloh19:
	ldr	x9, [x9, _blank_off@GOTPAGEOFF]
	str	w8, [x21]
Lloh20:
	ldr	x8, [x9]
Lloh21:
	adrp	x9, _blank_state@GOTPAGE
Lloh22:
	ldr	x9, [x9, _blank_state@GOTPAGEOFF]
Lloh23:
	str	x8, [x9]
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_set_origin
LBB0_5:
Lloh24:
	adrp	x20, _blank_state@GOTPAGE
Lloh25:
	ldr	x20, [x20, _blank_state@GOTPAGEOFF]
	ldr	x8, [x20]
Lloh26:
	adrp	x9, _blank_normal_wait@GOTPAGE
Lloh27:
	ldr	x9, [x9, _blank_normal_wait@GOTPAGEOFF]
Lloh28:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_15
; %bb.6:
Lloh29:
	adrp	x8, _blank_off@GOTPAGE
Lloh30:
	ldr	x8, [x8, _blank_off@GOTPAGEOFF]
Lloh31:
	ldr	x8, [x8]
	str	x8, [x20]
	ldr	x8, [x19]
Lloh32:
	adrp	x9, _KD_TEXT@GOTPAGE
Lloh33:
	ldr	x9, [x9, _KD_TEXT@GOTPAGEOFF]
Lloh34:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_14
; %bb.7:
	mov	x0, x19
	bl	_hide_cursor
Lloh35:
	adrp	x0, _console_timer@GOTPAGE
Lloh36:
	ldr	x0, [x0, _console_timer@GOTPAGEOFF]
	bl	_del_timer_sync
Lloh37:
	adrp	x8, _blank_timer_expired@GOTPAGE
Lloh38:
	ldr	x8, [x8, _blank_timer_expired@GOTPAGEOFF]
Lloh39:
	str	xzr, [x8]
	mov	x0, x19
	bl	_save_screen
	ldr	x8, [x19, #16]
	ldr	x8, [x8]
Lloh40:
	adrp	x24, _vesa_off_interval@GOTPAGE
Lloh41:
	ldr	x24, [x24, _vesa_off_interval@GOTPAGEOFF]
	ldr	x9, [x24]
Lloh42:
	adrp	x23, _vesa_blank_mode@GOTPAGE
Lloh43:
	ldr	x23, [x23, _vesa_blank_mode@GOTPAGEOFF]
	ldr	w10, [x23]
	cmp	x9, #0
	mov	w9, #1
	csinc	w1, w9, w10, ne
	mov	x0, x19
	mov	w2, #0
	blr	x8
	ldr	w8, [x22]
	add	w8, w8, #1
	str	w8, [x21]
	cbz	w0, LBB0_9
; %bb.8:
	mov	x0, x19
	bl	_set_origin
LBB0_9:
	mov	w0, #1
	bl	_console_blank_hook
	cbnz	x0, LBB0_15
; %bb.10:
	ldr	x8, [x24]
	cbz	x8, LBB0_13
; %bb.11:
	ldr	w9, [x23]
	cbz	w9, LBB0_13
; %bb.12:
Lloh44:
	adrp	x9, _blank_vesa_wait@GOTPAGE
Lloh45:
	ldr	x9, [x9, _blank_vesa_wait@GOTPAGEOFF]
Lloh46:
	ldr	x9, [x9]
	str	x9, [x20]
Lloh47:
	adrp	x9, _jiffies@GOTPAGE
Lloh48:
	ldr	x9, [x9, _jiffies@GOTPAGEOFF]
Lloh49:
	ldr	x9, [x9]
	add	x1, x9, x8
Lloh50:
	adrp	x0, _console_timer@GOTPAGE
Lloh51:
	ldr	x0, [x0, _console_timer@GOTPAGEOFF]
	bl	_mod_timer
LBB0_13:
Lloh52:
	adrp	x8, _VT_EVENT_BLANK@GOTPAGE
Lloh53:
	ldr	x8, [x8, _VT_EVENT_BLANK@GOTPAGEOFF]
Lloh54:
	ldr	w0, [x8]
	ldr	w1, [x19, #8]
	mov	x2, x1
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_vt_event_post
LBB0_14:
	ldr	w8, [x22]
	add	w8, w8, #1
	str	w8, [x21]
LBB0_15:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotStr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh42, Lloh43
	.loh AdrpLdrGot	Lloh40, Lloh41
	.loh AdrpLdrGotStr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.cfi_endproc
                                        ; -- End function
	.comm	_vc_cons,8,3                    ; @vc_cons
	.comm	_fg_console,8,3                 ; @fg_console
	.comm	_console_blanked,4,2            ; @console_blanked
	.comm	_blank_state,8,3                ; @blank_state
	.comm	_blank_vesa_wait,8,3            ; @blank_vesa_wait
	.comm	_blank_off,8,3                  ; @blank_off
	.comm	_vesa_blank_mode,4,2            ; @vesa_blank_mode
	.comm	_blank_normal_wait,8,3          ; @blank_normal_wait
	.comm	_KD_TEXT,8,3                    ; @KD_TEXT
	.comm	_console_timer,4,2              ; @console_timer
	.comm	_blank_timer_expired,8,3        ; @blank_timer_expired
	.comm	_vesa_off_interval,8,3          ; @vesa_off_interval
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_VT_EVENT_BLANK,4,2             ; @VT_EVENT_BLANK
.subsections_via_symbols
