	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fn_enter
_fn_enter:                              ## @fn_enter
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	_diacr@GOTPCREL(%rip), %r14
	movq	(%r14), %rsi
	testq	%rsi, %rsi
	je	LBB0_6
## %bb.1:
	movq	_kbd@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	movq	_VC_UNICODE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.2:
	movq	%rbx, %rdi
	callq	_to_utf8
	jmp	LBB0_5
LBB0_3:
	movq	%rsi, %rdi
	callq	_conv_uni_to_8bit
	cmpl	$-1, %eax
	je	LBB0_5
## %bb.4:
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_put_queue
LBB0_5:
	movq	$0, (%r14)
LBB0_6:
	movq	%rbx, %rdi
	movl	$13, %esi
	callq	_put_queue
	movq	_kbd@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	_VC_CRLF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_vc_kbd_mode
	testq	%rax, %rax
	je	LBB0_7
## %bb.8:
	movq	%rbx, %rdi
	movl	$10, %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_put_queue                      ## TAILCALL
LBB0_7:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_diacr,8,3                      ## @diacr
	.comm	_kbd,8,3                        ## @kbd
	.comm	_VC_UNICODE,8,3                 ## @VC_UNICODE
	.comm	_VC_CRLF,4,2                    ## @VC_CRLF
	.no_dead_strip	_fn_enter
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fn_enter
_fn_enter:                              ; @fn_enter
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
Lloh0:
	adrp	x21, _diacr@GOTPAGE
Lloh1:
	ldr	x21, [x21, _diacr@GOTPAGEOFF]
	ldr	x1, [x21]
Lloh2:
	adrp	x20, _kbd@GOTPAGE
Lloh3:
	ldr	x20, [x20, _kbd@GOTPAGEOFF]
	cbz	x1, LBB0_6
; %bb.1:
	ldr	x8, [x20]
	ldr	x8, [x8]
Lloh4:
	adrp	x9, _VC_UNICODE@GOTPAGE
Lloh5:
	ldr	x9, [x9, _VC_UNICODE@GOTPAGEOFF]
Lloh6:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.2:
	mov	x0, x19
	bl	_to_utf8
	b	LBB0_5
LBB0_3:
	mov	x0, x1
	bl	_conv_uni_to_8bit
	cmn	w0, #1
	b.eq	LBB0_5
; %bb.4:
	mov	x1, x0
	mov	x0, x19
	bl	_put_queue
LBB0_5:
	str	xzr, [x21]
LBB0_6:
	mov	x0, x19
	mov	w1, #13
	bl	_put_queue
	ldr	x0, [x20]
Lloh7:
	adrp	x8, _VC_CRLF@GOTPAGE
Lloh8:
	ldr	x8, [x8, _VC_CRLF@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	bl	_vc_kbd_mode
	cbz	x0, LBB0_8
; %bb.7:
	mov	x0, x19
	mov	w1, #10
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_put_queue
LBB0_8:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_diacr,8,3                      ; @diacr
	.comm	_kbd,8,3                        ; @kbd
	.comm	_VC_UNICODE,8,3                 ; @VC_UNICODE
	.comm	_VC_CRLF,4,2                    ; @VC_CRLF
	.no_dead_strip	_fn_enter
.subsections_via_symbols
