	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_efi_cons_putchar               ## -- Begin function efi_cons_putchar
	.p2align	4, 0x90
_efi_cons_putchar:                      ## @efi_cons_putchar
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	movb	%dil, -1(%rbp)
	movq	_mode@GOTPCREL(%rip), %rax
	movq	_RB_SERIAL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_1
## %bb.3:
	movzbl	%dil, %edi
	addq	$16, %rsp
	popq	%rbp
	jmp	_input_byte                     ## TAILCALL
LBB0_1:
	movq	_buffer@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_2
## %bb.4:
	movq	_teken@GOTPCREL(%rip), %rdi
	leaq	-1(%rbp), %rsi
	movl	$1, %edx
	callq	_teken_input
	addq	$16, %rsp
	popq	%rbp
	retq
LBB0_2:
	addq	$16, %rsp
	popq	%rbp
	jmp	_efi_cons_efiputchar            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_mode,4,2                       ## @mode
	.comm	_RB_SERIAL,4,2                  ## @RB_SERIAL
	.comm	_buffer,8,3                     ## @buffer
	.comm	_teken,4,2                      ## @teken
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_efi_cons_putchar               ; -- Begin function efi_cons_putchar
	.p2align	2
_efi_cons_putchar:                      ; @efi_cons_putchar
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.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
Lloh0:
	adrp	x8, _mode@GOTPAGE
Lloh1:
	ldr	x8, [x8, _mode@GOTPAGEOFF]
	sturb	w0, [x29, #-1]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _RB_SERIAL@GOTPAGE
Lloh4:
	ldr	x9, [x9, _RB_SERIAL@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	and	w0, w0, #0xff
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	b	_input_byte
LBB0_2:
Lloh6:
	adrp	x8, _buffer@GOTPAGE
Lloh7:
	ldr	x8, [x8, _buffer@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cbz	x8, LBB0_4
; %bb.3:
Lloh9:
	adrp	x0, _teken@GOTPAGE
Lloh10:
	ldr	x0, [x0, _teken@GOTPAGEOFF]
	sub	x1, x29, #1
	mov	w2, #1
	bl	_teken_input
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	b	_efi_cons_efiputchar
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_mode,4,2                       ; @mode
	.comm	_RB_SERIAL,4,2                  ; @RB_SERIAL
	.comm	_buffer,8,3                     ; @buffer
	.comm	_teken,4,2                      ; @teken
.subsections_via_symbols
