	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_getchr                         ## -- Begin function getchr
	.p2align	4, 0x90
_getchr:                                ## @getchr
	.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	_cp@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rcx
	movq	_map@GOTPCREL(%rip), %r14
	movq	_BLANK@GOTPCREL(%rip), %r15
	movq	_NEWLINE@GOTPCREL(%rip), %r12
	movq	_limit@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_2 Depth 2
	movq	(%r14), %rsi
	movl	(%r15), %edi
	movq	(%rcx), %rax
	movl	(%rsi,%rax,4), %edx
	testl	%edx, %edi
	je	LBB0_4
	.p2align	4, 0x90
LBB0_2:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	8(%rcx), %rax
	addq	$8, %rcx
	movl	(%rsi,%rax,4), %edx
	testl	%edx, %edi
	jne	LBB0_2
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%rcx, (%rbx)
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	testl	%edx, (%r12)
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	addq	$8, %rcx
	movq	%rcx, (%rbx)
	xorl	%eax, %eax
	callq	_nextline
	movq	(%rbx), %rcx
	cmpq	(%r13), %rcx
	jne	LBB0_1
## %bb.6:
	movq	_EOI@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_7:
                                        ## kill: def $eax killed $eax killed $rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_map,8,3                        ## @map
	.comm	_cp,8,3                         ## @cp
	.comm	_BLANK,4,2                      ## @BLANK
	.comm	_NEWLINE,4,2                    ## @NEWLINE
	.comm	_limit,8,3                      ## @limit
	.comm	_EOI,4,2                        ## @EOI
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_getchr                         ; -- Begin function getchr
	.p2align	2
_getchr:                                ; @getchr
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
Lloh0:
	adrp	x19, _cp@GOTPAGE
Lloh1:
	ldr	x19, [x19, _cp@GOTPAGEOFF]
	ldr	x8, [x19]
Lloh2:
	adrp	x20, _map@GOTPAGE
Lloh3:
	ldr	x20, [x20, _map@GOTPAGEOFF]
Lloh4:
	adrp	x21, _BLANK@GOTPAGE
Lloh5:
	ldr	x21, [x21, _BLANK@GOTPAGEOFF]
Lloh6:
	adrp	x22, _NEWLINE@GOTPAGE
Lloh7:
	ldr	x22, [x22, _NEWLINE@GOTPAGEOFF]
Lloh8:
	adrp	x23, _limit@GOTPAGE
Lloh9:
	ldr	x23, [x23, _limit@GOTPAGEOFF]
LBB0_1:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_2 Depth 2
	ldr	x10, [x20]
	ldr	w11, [x21]
	ldr	x0, [x8]
	ldr	w9, [x10, x0, lsl #2]
	tst	w11, w9
	b.eq	LBB0_4
LBB0_2:                                 ;   Parent Loop BB0_1 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x0, [x8, #8]!
	ldr	w9, [x10, x0, lsl #2]
	tst	w11, w9
	b.ne	LBB0_2
; %bb.3:                                ;   in Loop: Header=BB0_1 Depth=1
	str	x8, [x19]
LBB0_4:                                 ;   in Loop: Header=BB0_1 Depth=1
	ldr	w10, [x22]
	tst	w10, w9
	b.eq	LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_1 Depth=1
	add	x8, x8, #8
	str	x8, [x19]
	bl	_nextline
	ldr	x8, [x19]
	ldr	x9, [x23]
	cmp	x8, x9
	b.ne	LBB0_1
; %bb.6:
Lloh10:
	adrp	x8, _EOI@GOTPAGE
Lloh11:
	ldr	x8, [x8, _EOI@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
LBB0_7:
                                        ; kill: def $w0 killed $w0 killed $x0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_map,8,3                        ; @map
	.comm	_cp,8,3                         ; @cp
	.comm	_BLANK,4,2                      ; @BLANK
	.comm	_NEWLINE,4,2                    ; @NEWLINE
	.comm	_limit,8,3                      ; @limit
	.comm	_EOI,4,2                        ; @EOI
.subsections_via_symbols
