	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_getcharacter                   ## -- Begin function getcharacter
	.p2align	4, 0x90
_getcharacter:                          ## @getcharacter
	.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
	movq	%rsi, %r14
	movq	_encoding_size@GOTPCREL(%rip), %r15
	cmpl	$0, (%r15)
	jle	LBB0_4
## %bb.1:
	movq	%rdi, %r12
	xorl	%ebx, %ebx
	movq	_EOF@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	callq	_getc
	cmpl	(%r13), %eax
	je	LBB0_8
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movb	%al, -44(%rbp,%rbx)
	incq	%rbx
	movslq	(%r15), %rax
	cmpq	%rax, %rbx
	jl	LBB0_2
LBB0_4:
	movq	_encoding@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	$-128, %eax
	cmpl	$5, %eax
	ja	LBB0_8
## %bb.5:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_6:
	movsbq	-44(%rbp), %rax
	jmp	LBB0_15
LBB0_8:
	movl	$-1, %eax
	jmp	LBB0_16
LBB0_9:
	movsbq	-44(%rbp), %rax
	movsbq	-43(%rbp), %rcx
	shlq	$8, %rcx
	orq	%rax, %rcx
	movsbq	-42(%rbp), %rdx
	shlq	$16, %rdx
	movsbq	-41(%rbp), %rax
	shlq	$24, %rax
	jmp	LBB0_11
LBB0_10:
	movsbq	-44(%rbp), %rax
	shlq	$24, %rax
	movsbq	-43(%rbp), %rcx
	shlq	$16, %rcx
	orq	%rax, %rcx
	movsbq	-42(%rbp), %rdx
	shlq	$8, %rdx
	movsbq	-41(%rbp), %rax
LBB0_11:
	orq	%rdx, %rax
	jmp	LBB0_14
LBB0_12:
	movsbq	-44(%rbp), %rcx
	movsbq	-43(%rbp), %rax
	shlq	$8, %rax
	jmp	LBB0_14
LBB0_13:
	movsbq	-44(%rbp), %rcx
	shlq	$8, %rcx
	movsbq	-43(%rbp), %rax
LBB0_14:
	orq	%rcx, %rax
LBB0_15:
	movq	%rax, (%r14)
	xorl	%eax, %eax
LBB0_16:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
LJTI0_0:
	.long	L0_0_set_6
	.long	L0_0_set_6
	.long	L0_0_set_9
	.long	L0_0_set_10
	.long	L0_0_set_12
	.long	L0_0_set_13
	.end_data_region
                                        ## -- End function
	.comm	_encoding_size,4,2              ## @encoding_size
	.comm	_EOF,4,2                        ## @EOF
	.comm	_encoding,4,2                   ## @encoding
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_getcharacter                   ; -- Begin function getcharacter
	.p2align	2
_getcharacter:                          ; @getcharacter
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x19, x1
Lloh0:
	adrp	x21, _encoding_size@GOTPAGE
Lloh1:
	ldr	x21, [x21, _encoding_size@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_4
; %bb.1:
	mov	x20, x0
	mov	x22, #0
Lloh2:
	adrp	x23, _EOF@GOTPAGE
Lloh3:
	ldr	x23, [x23, _EOF@GOTPAGEOFF]
	add	x24, sp, #12
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_getc
	ldr	w8, [x23]
	cmp	w0, w8
	b.eq	LBB0_7
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	strb	w0, [x24, x22]
	add	x22, x22, #1
	ldrsw	x8, [x21]
	cmp	x22, x8
	b.lt	LBB0_2
LBB0_4:
Lloh4:
	adrp	x8, _encoding@GOTPAGE
Lloh5:
	ldr	x8, [x8, _encoding@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	sub	w8, w8, #128
	cmp	w8, #5
	b.hi	LBB0_7
; %bb.5:
Lloh7:
	adrp	x9, lJTI0_0@PAGE
Lloh8:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_6
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_6:
	ldrsb	x8, [sp, #12]
	b	LBB0_12
LBB0_7:
	mov	w0, #-1
	b	LBB0_13
LBB0_8:
	ldrsb	x8, [sp, #12]
	ldrsb	x9, [sp, #13]
	orr	x8, x8, x9, lsl #8
	ldrsb	x9, [sp, #14]
	orr	x8, x8, x9, lsl #16
	ldrsb	x9, [sp, #15]
	orr	x8, x8, x9, lsl #24
	b	LBB0_12
LBB0_9:
	ldrsb	x8, [sp, #12]
	ldrsb	x9, [sp, #13]
	lsl	x9, x9, #16
	orr	x8, x9, x8, lsl #24
	ldrsb	x9, [sp, #14]
	orr	x8, x8, x9, lsl #8
	ldrsb	x9, [sp, #15]
	orr	x8, x8, x9
	b	LBB0_12
LBB0_10:
	ldrsb	x8, [sp, #12]
	ldrsb	x9, [sp, #13]
	orr	x8, x8, x9, lsl #8
	b	LBB0_12
LBB0_11:
	ldrsb	x8, [sp, #12]
	ldrsb	x9, [sp, #13]
	orr	x8, x9, x8, lsl #8
LBB0_12:
	mov	w0, #0
	str	x8, [x19]
LBB0_13:
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_6-LBB0_6)>>2
	.byte	(LBB0_6-LBB0_6)>>2
	.byte	(LBB0_8-LBB0_6)>>2
	.byte	(LBB0_9-LBB0_6)>>2
	.byte	(LBB0_10-LBB0_6)>>2
	.byte	(LBB0_11-LBB0_6)>>2
                                        ; -- End function
	.comm	_encoding_size,4,2              ; @encoding_size
	.comm	_EOF,4,2                        ; @EOF
	.comm	_encoding,4,2                   ; @encoding
.subsections_via_symbols
