	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function input
_input:                                 ## @input
	.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	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAXLINELEN@GOTPCREL(%rip), %r13
	movl	(%r13), %r15d
	movq	%r15, %rax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	movq	_list@GOTPCREL(%rip), %rbx
	cmpq	$0, (%rbx)
	jne	LBB0_3
## %bb.1:
	movq	_DEFNUM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%edi, _input.maxentry(%rip)
	movl	$8, %esi
	callq	_calloc
	movq	%rax, (%rbx)
	testq	%rax, %rax
	jne	LBB0_3
## %bb.2:
	movl	$1, %edi
	xorl	%esi, %esi
	callq	_err
	movl	(%r13), %r15d
LBB0_3:
	movq	%r12, %rdi
	movl	%r15d, %esi
	movq	%r14, %rdx
	callq	_fgetws
	testq	%rax, %rax
	je	LBB0_13
## %bb.4:
	movq	_entries@GOTPCREL(%rip), %r15
	jmp	LBB0_5
LBB0_20:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	%r12, %rdi
	callq	_wcslen
                                        ## kill: def $eax killed $eax def $rax
	leal	4(,%rax,4), %edi
	callq	_malloc
	movq	(%rbx), %rcx
	movslq	(%r15), %rdx
	movq	%rax, (%rcx,%rdx,8)
	movq	(%rbx), %rax
	movq	(%rax,%rdx,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_21
LBB0_22:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	%r12, %rsi
	callq	_wcscpy
	incl	(%r15)
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	(%r13), %esi
	movq	%r12, %rdi
	movq	%r14, %rdx
	callq	_fgetws
	testq	%rax, %rax
	je	LBB0_13
LBB0_5:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_7 Depth 2
	movl	(%r12), %edi
	testl	%edi, %edi
	je	LBB0_12
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	%r12, %rbx
	.p2align	4, 0x90
LBB0_7:                                 ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	callq	_iswspace
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=2
	movl	4(%rbx), %edi
	addq	$4, %rbx
	testl	%edi, %edi
	jne	LBB0_7
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	cmpl	$0, (%rbx)
	je	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	%rbx, %rdi
	movl	$10, %esi
	callq	_wcschr
	testq	%rax, %rax
	je	LBB0_11
## %bb.15:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	$0, (%rax)
	movq	%r12, %rdi
	callq	_width
	movq	_maxlength@GOTPCREL(%rip), %rcx
	cmpl	%eax, (%rcx)
	movq	_list@GOTPCREL(%rip), %rbx
	jge	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	_maxlength@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
LBB0_17:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	(%r15), %esi
	cmpl	_input.maxentry(%rip), %esi
	jne	LBB0_20
## %bb.18:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	_DEFNUM@GOTPCREL(%rip), %rax
	addl	(%rax), %esi
	movl	%esi, _input.maxentry(%rip)
	movq	(%rbx), %rdi
	shll	$3, %esi
	callq	_realloc
	movq	%rax, (%rbx)
	testq	%rax, %rax
	jne	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	$1, %edi
	xorl	%esi, %esi
	callq	_err
	jmp	LBB0_20
LBB0_11:                                ##   in Loop: Header=BB0_5 Depth=1
	leaq	L_.str(%rip), %rdi
	callq	_warnx
	movq	_eval@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	jmp	LBB0_12
LBB0_21:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	$1, %edi
	xorl	%esi, %esi
	callq	_err
	movq	(%rbx), %rax
	movslq	(%r15), %rcx
	movq	(%rax,%rcx,8), %rdi
	jmp	LBB0_22
LBB0_13:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_14
## %bb.23:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_input.maxentry,4,2 ## @input.maxentry
	.comm	_MAXLINELEN,4,2                 ## @MAXLINELEN
	.comm	_list,8,3                       ## @list
	.comm	_DEFNUM,4,2                     ## @DEFNUM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"line too long"

	.comm	_eval,4,2                       ## @eval
	.comm	_maxlength,4,2                  ## @maxlength
	.comm	_entries,4,2                    ## @entries
	.no_dead_strip	_input
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function input
_input:                                 ; @input
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #16
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x23, _MAXLINELEN@GOTPAGE
Lloh4:
	ldr	x23, [x23, _MAXLINELEN@GOTPAGEOFF]
	ldr	w21, [x23]
	lsl	x8, x21, #2
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x20, x9, x8
	mov	sp, x20
Lloh7:
	adrp	x24, _list@GOTPAGE
Lloh8:
	ldr	x24, [x24, _list@GOTPAGEOFF]
	ldr	x8, [x24]
Lloh9:
	adrp	x9, _DEFNUM@GOTPAGE
Lloh10:
	ldr	x9, [x9, _DEFNUM@GOTPAGEOFF]
	adrp	x26, _input.maxentry@PAGE
	cbz	x8, LBB0_2
; %bb.1:
	mov	x28, x9
	b	LBB0_4
LBB0_2:
	mov	x28, x9
	ldr	w0, [x9]
	str	w0, [x26, _input.maxentry@PAGEOFF]
	mov	w1, #8
	bl	_calloc
	str	x0, [x24]
	cbnz	x0, LBB0_4
; %bb.3:
	mov	w0, #1
	mov	x1, #0
	bl	_err
	ldr	w21, [x23]
LBB0_4:
	mov	x0, x20
	mov	x1, x21
	mov	x2, x19
	bl	_fgetws
	cbz	x0, LBB0_22
; %bb.5:
Lloh11:
	adrp	x25, _maxlength@GOTPAGE
Lloh12:
	ldr	x25, [x25, _maxlength@GOTPAGEOFF]
Lloh13:
	adrp	x21, l_.str@PAGE
Lloh14:
	add	x21, x21, l_.str@PAGEOFF
Lloh15:
	adrp	x27, _entries@GOTPAGE
Lloh16:
	ldr	x27, [x27, _entries@GOTPAGEOFF]
	b	LBB0_9
LBB0_6:                                 ;   in Loop: Header=BB0_9 Depth=1
	mov	x0, x20
	bl	_wcslen
	lsl	w8, w0, #2
	add	w0, w8, #4
	bl	_malloc
	ldr	x8, [x24]
	ldrsw	x9, [x27]
	lsl	x9, x9, #3
	str	x0, [x8, x9]
	ldr	x8, [x24]
	ldr	x0, [x8, x9]
	cbz	x0, LBB0_21
LBB0_7:                                 ;   in Loop: Header=BB0_9 Depth=1
	mov	x1, x20
	bl	_wcscpy
	ldr	w8, [x27]
	add	w8, w8, #1
	str	w8, [x27]
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	ldr	w1, [x23]
	mov	x0, x20
	mov	x2, x19
	bl	_fgetws
	cbz	x0, LBB0_22
LBB0_9:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_11 Depth 2
	ldr	w0, [x20]
	cbz	w0, LBB0_8
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x22, x20
LBB0_11:                                ;   Parent Loop BB0_9 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	bl	_iswspace
	cbz	x0, LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=2
	ldr	w0, [x22, #4]!
	cbnz	w0, LBB0_11
	b	LBB0_8
LBB0_13:                                ;   in Loop: Header=BB0_9 Depth=1
	ldr	w8, [x22]
	cbz	w8, LBB0_8
; %bb.14:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x0, x22
	mov	w1, #10
	bl	_wcschr
	cbz	x0, LBB0_20
; %bb.15:                               ;   in Loop: Header=BB0_9 Depth=1
	str	wzr, [x0]
	mov	x0, x20
	bl	_width
	ldr	w8, [x25]
	cmp	w8, w0
	b.ge	LBB0_17
; %bb.16:                               ;   in Loop: Header=BB0_9 Depth=1
	str	w0, [x25]
LBB0_17:                                ;   in Loop: Header=BB0_9 Depth=1
	ldr	w8, [x27]
	ldr	w9, [x26, _input.maxentry@PAGEOFF]
	cmp	w8, w9
	b.ne	LBB0_6
; %bb.18:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	w9, [x28]
	add	w8, w9, w8
	str	w8, [x26, _input.maxentry@PAGEOFF]
	ldr	x0, [x24]
	lsl	w1, w8, #3
	bl	_realloc
	str	x0, [x24]
	cbnz	x0, LBB0_6
; %bb.19:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	w0, #1
	mov	x1, #0
	bl	_err
	b	LBB0_6
LBB0_20:                                ;   in Loop: Header=BB0_9 Depth=1
	mov	x0, x21
	bl	_warnx
Lloh17:
	adrp	x8, _eval@GOTPAGE
Lloh18:
	ldr	x8, [x8, _eval@GOTPAGEOFF]
	mov	w9, #1
Lloh19:
	str	w9, [x8]
	b	LBB0_8
LBB0_21:                                ;   in Loop: Header=BB0_9 Depth=1
	mov	w0, #1
	mov	x1, #0
	bl	_err
	ldr	x8, [x24]
	ldrsw	x9, [x27]
	ldr	x0, [x8, x9, lsl #3]
	b	LBB0_7
LBB0_22:
	ldur	x8, [x29, #-88]
Lloh20:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh21:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_24
; %bb.23:
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_24:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotStr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_input.maxentry,4,2 ; @input.maxentry
	.comm	_MAXLINELEN,4,2                 ; @MAXLINELEN
	.comm	_list,8,3                       ; @list
	.comm	_DEFNUM,4,2                     ; @DEFNUM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"line too long"

	.comm	_eval,4,2                       ; @eval
	.comm	_maxlength,4,2                  ; @maxlength
	.comm	_entries,4,2                    ; @entries
	.no_dead_strip	_input
.subsections_via_symbols
