	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___console_init_ex              ## -- Begin function __console_init_ex
	.p2align	4, 0x90
___console_init_ex:                     ## @__console_init_ex
	.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	%r9d, %r14d
	movl	%r8d, %ebx
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	movl	%edx, %r12d
	movl	%esi, %r13d
	movq	%rdi, %r15
	movl	16(%rbp), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	callq	__CPU_ISR_Disable
	movq	_stdcon@GOTPCREL(%rip), %rcx
	movq	%r15, 80(%rcx)
	movl	%r13d, (%rcx)
	movl	%r12d, 4(%rcx)
	movl	%ebx, 8(%rcx)
	movl	%r14d, 12(%rcx)
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 16(%rcx)
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 20(%rcx)
	movq	_FONT_XSIZE@GOTPCREL(%rip), %rsi
	movl	%ebx, %eax
	cltd
	idivl	(%rsi)
	movl	%eax, 24(%rcx)
	movq	_FONT_YSIZE@GOTPCREL(%rip), %rsi
	movl	%r14d, %eax
	cltd
	idivl	(%rsi)
	movl	%eax, 28(%rcx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 48(%rcx)
	movups	%xmm0, 64(%rcx)
	movq	_console_font_8x16@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%rcx)
	movq	_COLOR_WHITE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 36(%rcx)
	movq	_COLOR_BLACK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%rcx)
	movq	_curr_con@GOTPCREL(%rip), %rax
	movq	%rcx, (%rax)
	xorl	%eax, %eax
	callq	___console_clear
	movq	_devoptab_list@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	_STD_OUT@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	_dotab_stdout@GOTPCREL(%rip), %rsi
	movq	%rsi, (%rcx,%rdx,8)
	movq	(%rax), %rax
	movq	_STD_ERR@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rsi, (%rax,%rcx,8)
	movq	___console_vipostcb@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_VIDEO_SetPostRetraceCallback
	callq	__CPU_ISR_Restore
	movq	_stdout@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	__IONBF@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	xorl	%esi, %esi
	xorl	%ecx, %ecx
	callq	_setvbuf
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %edx
	xorl	%esi, %esi
	xorl	%ecx, %ecx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_setvbuf                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_stdcon,88,3                    ## @stdcon
	.comm	_FONT_XSIZE,4,2                 ## @FONT_XSIZE
	.comm	_FONT_YSIZE,4,2                 ## @FONT_YSIZE
	.comm	_console_font_8x16,4,2          ## @console_font_8x16
	.comm	_COLOR_WHITE,4,2                ## @COLOR_WHITE
	.comm	_COLOR_BLACK,4,2                ## @COLOR_BLACK
	.comm	_curr_con,8,3                   ## @curr_con
	.comm	_dotab_stdout,4,2               ## @dotab_stdout
	.comm	_devoptab_list,8,3              ## @devoptab_list
	.comm	_STD_OUT,8,3                    ## @STD_OUT
	.comm	_STD_ERR,8,3                    ## @STD_ERR
	.comm	___console_vipostcb,4,2         ## @__console_vipostcb
	.comm	_stdout,4,2                     ## @stdout
	.comm	__IONBF,4,2                     ## @_IONBF
	.comm	_stderr,4,2                     ## @stderr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___console_init_ex              ; -- Begin function __console_init_ex
	.p2align	2
___console_init_ex:                     ; @__console_init_ex
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x6
	mov	x20, x5
	mov	x21, x4
	mov	x22, x3
	mov	x23, x2
	mov	x24, x1
	mov	x25, x0
	bl	__CPU_ISR_Disable
Lloh0:
	adrp	x8, _stdcon@GOTPAGE
Lloh1:
	ldr	x8, [x8, _stdcon@GOTPAGEOFF]
	str	x25, [x8, #80]
	stp	w24, w23, [x8]
	stp	w21, w20, [x8, #8]
	stp	w22, w19, [x8, #16]
Lloh2:
	adrp	x9, _FONT_XSIZE@GOTPAGE
Lloh3:
	ldr	x9, [x9, _FONT_XSIZE@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	sdiv	w9, w21, w9
Lloh5:
	adrp	x10, _FONT_YSIZE@GOTPAGE
Lloh6:
	ldr	x10, [x10, _FONT_YSIZE@GOTPAGEOFF]
Lloh7:
	ldr	w10, [x10]
	sdiv	w10, w20, w10
	stp	w9, w10, [x8, #24]
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [x8, #48]
Lloh8:
	adrp	x9, _console_font_8x16@GOTPAGE
Lloh9:
	ldr	x9, [x9, _console_font_8x16@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	str	w9, [x8, #40]
Lloh11:
	adrp	x9, _COLOR_WHITE@GOTPAGE
Lloh12:
	ldr	x9, [x9, _COLOR_WHITE@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
Lloh14:
	adrp	x10, _COLOR_BLACK@GOTPAGE
Lloh15:
	ldr	x10, [x10, _COLOR_BLACK@GOTPAGEOFF]
Lloh16:
	ldr	w10, [x10]
	stp	w10, w9, [x8, #32]
Lloh17:
	adrp	x9, _curr_con@GOTPAGE
Lloh18:
	ldr	x9, [x9, _curr_con@GOTPAGEOFF]
Lloh19:
	str	x8, [x9]
	bl	___console_clear
Lloh20:
	adrp	x8, _devoptab_list@GOTPAGE
Lloh21:
	ldr	x8, [x8, _devoptab_list@GOTPAGEOFF]
	ldr	x9, [x8]
Lloh22:
	adrp	x10, _STD_OUT@GOTPAGE
Lloh23:
	ldr	x10, [x10, _STD_OUT@GOTPAGEOFF]
Lloh24:
	adrp	x11, _dotab_stdout@GOTPAGE
Lloh25:
	ldr	x11, [x11, _dotab_stdout@GOTPAGEOFF]
Lloh26:
	ldr	x10, [x10]
	str	x11, [x9, x10, lsl #3]
	ldr	x8, [x8]
Lloh27:
	adrp	x9, _STD_ERR@GOTPAGE
Lloh28:
	ldr	x9, [x9, _STD_ERR@GOTPAGEOFF]
Lloh29:
	ldr	x9, [x9]
	str	x11, [x8, x9, lsl #3]
Lloh30:
	adrp	x8, ___console_vipostcb@GOTPAGE
Lloh31:
	ldr	x8, [x8, ___console_vipostcb@GOTPAGEOFF]
Lloh32:
	ldr	w0, [x8]
	bl	_VIDEO_SetPostRetraceCallback
	bl	__CPU_ISR_Restore
Lloh33:
	adrp	x8, _stdout@GOTPAGE
Lloh34:
	ldr	x8, [x8, _stdout@GOTPAGEOFF]
Lloh35:
	ldr	w0, [x8]
Lloh36:
	adrp	x19, __IONBF@GOTPAGE
Lloh37:
	ldr	x19, [x19, __IONBF@GOTPAGEOFF]
	ldr	w2, [x19]
	mov	x1, #0
	mov	w3, #0
	bl	_setvbuf
Lloh38:
	adrp	x8, _stderr@GOTPAGE
Lloh39:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh40:
	ldr	w0, [x8]
	ldr	w2, [x19]
	mov	x1, #0
	mov	w3, #0
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_setvbuf
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh26
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotStr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_stdcon,88,3                    ; @stdcon
	.comm	_FONT_XSIZE,4,2                 ; @FONT_XSIZE
	.comm	_FONT_YSIZE,4,2                 ; @FONT_YSIZE
	.comm	_console_font_8x16,4,2          ; @console_font_8x16
	.comm	_COLOR_WHITE,4,2                ; @COLOR_WHITE
	.comm	_COLOR_BLACK,4,2                ; @COLOR_BLACK
	.comm	_curr_con,8,3                   ; @curr_con
	.comm	_dotab_stdout,4,2               ; @dotab_stdout
	.comm	_devoptab_list,8,3              ; @devoptab_list
	.comm	_STD_OUT,8,3                    ; @STD_OUT
	.comm	_STD_ERR,8,3                    ; @STD_ERR
	.comm	___console_vipostcb,4,2         ; @__console_vipostcb
	.comm	_stdout,4,2                     ; @stdout
	.comm	__IONBF,4,2                     ; @_IONBF
	.comm	_stderr,4,2                     ; @stderr
.subsections_via_symbols
