	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function efi_cons_init
_efi_cons_init:                         ## @efi_cons_init
	.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	_conin@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	cmpq	$0, (%rcx)
	jne	LBB0_4
## %bb.1:
	movq	_ST@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	movq	16(%rax), %rdi
	movq	_conout@GOTPCREL(%rip), %rdx
	movq	%rdi, (%rdx)
	movq	8(%rax), %rax
	movq	%rax, (%rcx)
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	*(%rdi)
	movq	_BS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rbx), %rcx
	movl	(%rcx), %edi
	movq	_IH@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_EFI_OPEN_PROTOCOL_GET_PROTOCOL@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r9d
	movq	_simple_input_ex_guid@GOTPCREL(%rip), %rsi
	movq	_coninex@GOTPCREL(%rip), %rbx
	movq	%rbx, %rdx
	xorl	%r8d, %r8d
	callq	*(%rax)
	movq	_EFI_SUCCESS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_3
## %bb.2:
	movq	$0, (%rbx)
LBB0_3:
	xorl	%eax, %eax
	callq	_efi_cons_update_mode
	movq	%rax, %rcx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	sete	%al
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_conin,8,3                      ## @conin
	.comm	_ST,8,3                         ## @ST
	.comm	_conout,8,3                     ## @conout
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_BS,8,3                         ## @BS
	.comm	_simple_input_ex_guid,4,2       ## @simple_input_ex_guid
	.comm	_coninex,8,3                    ## @coninex
	.comm	_IH,4,2                         ## @IH
	.comm	_EFI_OPEN_PROTOCOL_GET_PROTOCOL,4,2 ## @EFI_OPEN_PROTOCOL_GET_PROTOCOL
	.comm	_EFI_SUCCESS,8,3                ## @EFI_SUCCESS
	.no_dead_strip	_efi_cons_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function efi_cons_init
_efi_cons_init:                         ; @efi_cons_init
	.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
Lloh0:
	adrp	x8, _conin@GOTPAGE
Lloh1:
	ldr	x8, [x8, _conin@GOTPAGEOFF]
	ldr	x9, [x8]
	cbz	x9, LBB0_2
; %bb.1:
	mov	w0, #0
	b	LBB0_5
LBB0_2:
Lloh2:
	adrp	x19, _ST@GOTPAGE
Lloh3:
	ldr	x19, [x19, _ST@GOTPAGEOFF]
	ldr	x9, [x19]
Lloh4:
	adrp	x10, _conout@GOTPAGE
Lloh5:
	ldr	x10, [x10, _conout@GOTPAGEOFF]
	ldp	x9, x0, [x9, #8]
Lloh6:
	str	x0, [x10]
	str	x9, [x8]
	ldr	x8, [x0]
Lloh7:
	adrp	x9, _TRUE@GOTPAGE
Lloh8:
	ldr	x9, [x9, _TRUE@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x9]
	blr	x8
Lloh10:
	adrp	x8, _BS@GOTPAGE
Lloh11:
	ldr	x8, [x8, _BS@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldr	x9, [x19]
	ldr	w0, [x9]
Lloh13:
	adrp	x9, _IH@GOTPAGE
Lloh14:
	ldr	x9, [x9, _IH@GOTPAGEOFF]
Lloh15:
	ldr	w3, [x9]
Lloh16:
	adrp	x9, _EFI_OPEN_PROTOCOL_GET_PROTOCOL@GOTPAGE
Lloh17:
	ldr	x9, [x9, _EFI_OPEN_PROTOCOL_GET_PROTOCOL@GOTPAGEOFF]
Lloh18:
	ldr	w5, [x9]
Lloh19:
	adrp	x1, _simple_input_ex_guid@GOTPAGE
Lloh20:
	ldr	x1, [x1, _simple_input_ex_guid@GOTPAGEOFF]
Lloh21:
	adrp	x19, _coninex@GOTPAGE
Lloh22:
	ldr	x19, [x19, _coninex@GOTPAGEOFF]
	mov	x2, x19
	mov	x4, #0
	blr	x8
Lloh23:
	adrp	x8, _EFI_SUCCESS@GOTPAGE
Lloh24:
	ldr	x8, [x8, _EFI_SUCCESS@GOTPAGEOFF]
Lloh25:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_4
; %bb.3:
	str	xzr, [x19]
LBB0_4:
	bl	_efi_cons_update_mode
	cmp	x0, #0
	cset	w0, eq
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotStr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_conin,8,3                      ; @conin
	.comm	_ST,8,3                         ; @ST
	.comm	_conout,8,3                     ; @conout
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_BS,8,3                         ; @BS
	.comm	_simple_input_ex_guid,4,2       ; @simple_input_ex_guid
	.comm	_coninex,8,3                    ; @coninex
	.comm	_IH,4,2                         ; @IH
	.comm	_EFI_OPEN_PROTOCOL_GET_PROTOCOL,4,2 ; @EFI_OPEN_PROTOCOL_GET_PROTOCOL
	.comm	_EFI_SUCCESS,8,3                ; @EFI_SUCCESS
	.no_dead_strip	_efi_cons_init
.subsections_via_symbols
