	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_input_init                     ## -- Begin function input_init
	.p2align	4, 0x90
_input_init:                            ## @input_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	cmpb	$0, _input_init.inited(%rip)
	je	LBB0_1
## %bb.4:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_1:
	movb	$1, _input_init.inited(%rip)
	callq	_main_init
	movq	_buffer@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_MAXLINE@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	leaq	4(%rax,%rcx,4), %rax
	movq	_cp@GOTPCREL(%rip), %r14
	movq	%rax, (%r14)
	movq	_limit@GOTPCREL(%rip), %rbx
	movq	%rax, (%rbx)
	movq	_bsize@GOTPCREL(%rip), %rax
	movl	$-1, (%rax)
	movq	_lineno@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_file@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	xorl	%eax, %eax
	callq	_fillbuf
	movq	(%rbx), %rax
	cmpq	%rax, (%r14)
	jb	LBB0_3
## %bb.2:
	movq	%rax, (%r14)
LBB0_3:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_nextline                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_input_init.inited,1,2 ## @input_init.inited
	.comm	_buffer,8,3                     ## @buffer
	.comm	_MAXLINE,4,2                    ## @MAXLINE
	.comm	_cp,8,3                         ## @cp
	.comm	_limit,8,3                      ## @limit
	.comm	_bsize,4,2                      ## @bsize
	.comm	_lineno,8,3                     ## @lineno
	.comm	_file,8,3                       ## @file
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_input_init                     ; -- Begin function input_init
	.p2align	2
_input_init:                            ; @input_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
	adrp	x8, _input_init.inited@PAGE
	ldrb	w9, [x8, _input_init.inited@PAGEOFF]
	tbz	w9, #0, LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_2:
	mov	w9, #1
	strb	w9, [x8, _input_init.inited@PAGEOFF]
	bl	_main_init
Lloh0:
	adrp	x8, _buffer@GOTPAGE
Lloh1:
	ldr	x8, [x8, _buffer@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _MAXLINE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MAXLINE@GOTPAGEOFF]
Lloh5:
	ldrsw	x9, [x9]
	add	x8, x8, x9, lsl #2
	add	x8, x8, #4
Lloh6:
	adrp	x19, _cp@GOTPAGE
Lloh7:
	ldr	x19, [x19, _cp@GOTPAGEOFF]
Lloh8:
	adrp	x20, _limit@GOTPAGE
Lloh9:
	ldr	x20, [x20, _limit@GOTPAGEOFF]
	str	x8, [x19]
	str	x8, [x20]
Lloh10:
	adrp	x8, _bsize@GOTPAGE
Lloh11:
	ldr	x8, [x8, _bsize@GOTPAGEOFF]
	mov	w9, #-1
Lloh12:
	str	w9, [x8]
Lloh13:
	adrp	x8, _lineno@GOTPAGE
Lloh14:
	ldr	x8, [x8, _lineno@GOTPAGEOFF]
Lloh15:
	str	xzr, [x8]
Lloh16:
	adrp	x8, _file@GOTPAGE
Lloh17:
	ldr	x8, [x8, _file@GOTPAGEOFF]
Lloh18:
	str	xzr, [x8]
	bl	_fillbuf
	ldr	x9, [x19]
	ldr	x8, [x20]
	cmp	x9, x8
	b.lo	LBB0_4
; %bb.3:
	str	x8, [x19]
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_nextline
	.loh AdrpLdrGotStr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotStr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotStr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_input_init.inited,1,2 ; @input_init.inited
	.comm	_buffer,8,3                     ; @buffer
	.comm	_MAXLINE,4,2                    ; @MAXLINE
	.comm	_cp,8,3                         ; @cp
	.comm	_limit,8,3                      ; @limit
	.comm	_bsize,4,2                      ; @bsize
	.comm	_lineno,8,3                     ; @lineno
	.comm	_file,8,3                       ; @file
.subsections_via_symbols
