	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_kwsprep                        ## -- Begin function kwsprep
	.p2align	4, 0x90
_kwsprep:                               ## @kwsprep
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_NCHAR@GOTPCREL(%rip), %r14
	movl	(%r14), %r12d
	movq	%r12, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r13
	leaq	(,%r12,8), %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	movl	(%rbx), %eax
	cmpl	$256, %eax                      ## imm = 0x100
	jge	LBB0_1
## %bb.3:
	testl	%r12d, %r12d
	jle	LBB0_20
## %bb.4:
	movb	%al, (%r13)
	cmpl	$1, %r12d
	je	LBB0_20
## %bb.5:
	leaq	-1(%r12), %rcx
	movl	$1, %eax
	cmpq	$8, %rcx
	jb	LBB0_16
## %bb.6:
	leaq	1(%r13), %rdx
	leaq	4(%rbx), %rsi
	cmpq	%rsi, %rdx
	jae	LBB0_8
## %bb.7:
	movq	%r13, %rdx
	addq	%r12, %rdx
	cmpq	%rbx, %rdx
	ja	LBB0_16
LBB0_8:
	movq	%rcx, %rax
	andq	$-8, %rax
	leaq	-8(%rax), %rsi
	movq	%rsi, %rdx
	shrq	$3, %rdx
	incq	%rdx
	testq	%rsi, %rsi
	je	LBB0_9
## %bb.10:
	movq	%rdx, %rdi
	andq	$-2, %rdi
	movd	(%rbx), %xmm0                   ## xmm0 = mem[0],zero,zero,zero
	punpcklbw	%xmm0, %xmm0            ## xmm0 = xmm0[0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7]
	pshuflw	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0,4,5,6,7]
	xorl	%esi, %esi
	punpckldq	%xmm0, %xmm0            ## xmm0 = xmm0[0,0,1,1]
	punpcklqdq	%xmm0, %xmm0            ## xmm0 = xmm0[0,0]
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movdqu	%xmm0, 1(%r13,%rsi)
	addq	$16, %rsi
	addq	$-2, %rdi
	jne	LBB0_11
	jmp	LBB0_12
LBB0_1:
	testl	%r12d, %r12d
	jle	LBB0_20
## %bb.2:
	movq	%r13, %rdi
	movl	$255, %esi
	movq	%r12, %rdx
	callq	_memset
LBB0_20:
	cmpl	$1, 4(%rbx)
	jne	LBB0_44
## %bb.21:
	cmpq	$0, 8(%rbx)
	je	LBB0_22
LBB0_44:
	movq	%r13, %r12
	movq	48(%rbx), %r13
	movq	%r13, -56(%rbp)
	testq	%r13, %r13
	jne	LBB0_46
## %bb.45:
	xorl	%eax, %eax
	jmp	LBB0_57
	.p2align	4, 0x90
LBB0_55:                                ##   in Loop: Header=BB0_46 Depth=1
	movq	32(%r13), %r13
	testq	%r13, %r13
	je	LBB0_56
LBB0_46:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_47 Depth 2
	movq	16(%r13), %rdi
	leaq	-56(%rbp), %rsi
	callq	_enqueue
	movl	(%rbx), %eax
	movl	%eax, (%r13)
	movl	%eax, 4(%r13)
	movq	8(%r13), %rsi
	movq	16(%r13), %rdi
	movq	%r12, %rdx
	callq	_treedelta
	movq	16(%r13), %rdi
	movq	48(%r13), %rsi
	movq	48(%rbx), %rdx
	callq	_treefails
	movq	48(%r13), %r14
	jmp	LBB0_47
	.p2align	4, 0x90
LBB0_54:                                ##   in Loop: Header=BB0_47 Depth=2
	movq	48(%r14), %r14
LBB0_47:                                ##   Parent Loop BB0_46 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	testq	%r14, %r14
	je	LBB0_55
## %bb.48:                              ##   in Loop: Header=BB0_47 Depth=2
	movq	16(%r14), %rdi
	movq	16(%r13), %rsi
	callq	_hasevery
	testl	%eax, %eax
	jne	LBB0_51
## %bb.49:                              ##   in Loop: Header=BB0_47 Depth=2
	movq	8(%r13), %rax
	subq	8(%r14), %rax
	movslq	(%r14), %rcx
	cmpq	%rcx, %rax
	jge	LBB0_51
## %bb.50:                              ##   in Loop: Header=BB0_47 Depth=2
	movl	%eax, (%r14)
	.p2align	4, 0x90
LBB0_51:                                ##   in Loop: Header=BB0_47 Depth=2
	cmpq	$0, 40(%r13)
	je	LBB0_54
## %bb.52:                              ##   in Loop: Header=BB0_47 Depth=2
	movslq	4(%r14), %rcx
	movq	8(%r13), %rax
	subq	8(%r14), %rax
	cmpq	%rcx, %rax
	jge	LBB0_54
## %bb.53:                              ##   in Loop: Header=BB0_47 Depth=2
	movl	%eax, 4(%r14)
	jmp	LBB0_54
LBB0_56:
	movq	48(%rbx), %rax
	movq	_NCHAR@GOTPCREL(%rip), %r14
LBB0_57:
	movq	32(%rax), %rcx
	testq	%rcx, %rcx
	movq	%r12, %r13
	jne	LBB0_64
LBB0_58:
	movl	(%r14), %esi
	testl	%esi, %esi
	jle	LBB0_60
## %bb.59:
	shlq	$3, %rsi
	movq	%r15, %rdi
	callq	___bzero
	movq	48(%rbx), %rax
LBB0_60:
	movq	16(%rax), %rdi
	movq	%r15, %rsi
	callq	_treenext
	movq	8(%rbx), %rcx
	movl	(%r14), %r8d
	testq	%rcx, %rcx
	je	LBB0_69
## %bb.61:
	testl	%r8d, %r8d
	jle	LBB0_80
## %bb.62:
	leaq	-1(%r8), %rsi
	movl	%r8d, %edx
	andl	$3, %edx
	cmpq	$3, %rsi
	jae	LBB0_72
## %bb.63:
	xorl	%esi, %esi
	jmp	LBB0_74
	.p2align	4, 0x90
LBB0_68:                                ##   in Loop: Header=BB0_64 Depth=1
	movq	32(%rcx), %rcx
	testq	%rcx, %rcx
	je	LBB0_58
LBB0_64:                                ## =>This Inner Loop Header: Depth=1
	movslq	4(%rcx), %rdx
	movq	24(%rcx), %rsi
	movq	(%rsi), %rsi
	cmpq	%rdx, %rsi
	jge	LBB0_66
## %bb.65:                              ##   in Loop: Header=BB0_64 Depth=1
	movl	%esi, 4(%rcx)
	movl	%esi, %edx
LBB0_66:                                ##   in Loop: Header=BB0_64 Depth=1
	cmpl	%edx, (%rcx)
	jle	LBB0_68
## %bb.67:                              ##   in Loop: Header=BB0_64 Depth=1
	movl	%edx, (%rcx)
	jmp	LBB0_68
LBB0_69:
	testl	%r8d, %r8d
	jle	LBB0_80
## %bb.70:
	movq	%r8, %rdx
	decq	%rdx
	movl	%r8d, %ecx
	andl	$3, %ecx
	cmpq	$3, %rdx
	jae	LBB0_76
## %bb.71:
	xorl	%edx, %edx
	jmp	LBB0_78
LBB0_22:
	leaq	56(%rbx), %rdi
	movzbl	(%rbx), %esi
	callq	_obstack_alloc
	movq	%rax, 16(%rbx)
	movl	(%rbx), %r9d
	testl	%r9d, %r9d
	jle	LBB0_89
## %bb.23:
	leaq	48(%rbx), %rsi
	testb	$1, %r9b
	jne	LBB0_25
## %bb.24:
	movq	%r9, %rdx
	cmpl	$1, %r9d
	jne	LBB0_27
	jmp	LBB0_29
LBB0_72:
	andl	$-4, %r8d
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_73:                                ## =>This Inner Loop Header: Depth=1
	movzbl	(%rcx,%rsi), %edi
	movq	(%r15,%rdi,8), %rdi
	movq	40(%rbx), %rax
	movq	%rdi, (%rax,%rsi,8)
	movzbl	1(%rcx,%rsi), %eax
	movq	(%r15,%rax,8), %rax
	movq	40(%rbx), %rdi
	movq	%rax, 8(%rdi,%rsi,8)
	movzbl	2(%rcx,%rsi), %eax
	movq	(%r15,%rax,8), %rax
	movq	40(%rbx), %rdi
	movq	%rax, 16(%rdi,%rsi,8)
	movzbl	3(%rcx,%rsi), %eax
	movq	(%r15,%rax,8), %rax
	movq	40(%rbx), %rdi
	movq	%rax, 24(%rdi,%rsi,8)
	addq	$4, %rsi
	cmpq	%rsi, %r8
	jne	LBB0_73
LBB0_74:
	testq	%rdx, %rdx
	je	LBB0_80
	.p2align	4, 0x90
LBB0_75:                                ## =>This Inner Loop Header: Depth=1
	movzbl	(%rcx,%rsi), %eax
	movq	(%r15,%rax,8), %rax
	movq	40(%rbx), %rdi
	movq	%rax, (%rdi,%rsi,8)
	incq	%rsi
	decq	%rdx
	jne	LBB0_75
	jmp	LBB0_80
LBB0_76:
	andl	$-4, %r8d
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_77:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r15,%rdx,8), %rax
	movq	40(%rbx), %rsi
	movq	%rax, (%rsi,%rdx,8)
	movq	8(%r15,%rdx,8), %rax
	movq	40(%rbx), %rsi
	movq	%rax, 8(%rsi,%rdx,8)
	movq	16(%r15,%rdx,8), %rax
	movq	40(%rbx), %rsi
	movq	%rax, 16(%rsi,%rdx,8)
	movq	24(%r15,%rdx,8), %rax
	movq	40(%rbx), %rsi
	movq	%rax, 24(%rsi,%rdx,8)
	addq	$4, %rdx
	cmpq	%rdx, %r8
	jne	LBB0_77
LBB0_78:
	testq	%rcx, %rcx
	je	LBB0_80
	.p2align	4, 0x90
LBB0_79:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r15,%rdx,8), %rax
	movq	40(%rbx), %rsi
	movq	%rax, (%rsi,%rdx,8)
	incq	%rdx
	decq	%rcx
	jne	LBB0_79
	jmp	LBB0_80
LBB0_89:
	movl	%r9d, 24(%rbx)
	jmp	LBB0_80
LBB0_25:
	leaq	-1(%r9), %rdx
	movq	(%rsi), %rsi
	movq	16(%rsi), %rsi
	movq	(%rsi), %r8
	movl	%edx, %edi
	movq	%r8, (%rax,%rdi,8)
	addq	$8, %rsi
	cmpl	$1, %r9d
	je	LBB0_29
LBB0_27:
	addq	$-2, %rdx
	.p2align	4, 0x90
LBB0_28:                                ## =>This Inner Loop Header: Depth=1
	leaq	1(%rdx), %r8
	movq	(%rsi), %rsi
	movq	16(%rsi), %rsi
	movq	(%rsi), %rcx
	movl	%r8d, %edi
	movq	%rcx, (%rax,%rdi,8)
	movq	8(%rsi), %rcx
	movq	16(%rcx), %rsi
	movq	(%rsi), %rcx
	movl	%edx, %edi
	movq	%rcx, (%rax,%rdi,8)
	addq	$8, %rsi
	addq	$-2, %rdx
	cmpq	$1, %r8
	ja	LBB0_28
LBB0_29:
	decb	%r9b
	movzbl	(%rax), %eax
	movb	%r9b, (%r13,%rax)
	movl	(%rbx), %eax
	cmpl	$2, %eax
	jl	LBB0_32
## %bb.30:
	movl	$1, %ecx
	movb	$-2, %dl
	.p2align	4, 0x90
LBB0_31:                                ## =>This Inner Loop Header: Depth=1
	movq	16(%rbx), %rsi
	addb	%dl, %al
	movzbl	(%rsi,%rcx,8), %esi
	incq	%rcx
	movb	%al, (%r13,%rsi)
	movslq	(%rbx), %rax
	decb	%dl
	cmpq	%rax, %rcx
	jl	LBB0_31
LBB0_32:
	movl	%eax, 24(%rbx)
	cmpl	$2, %eax
	jl	LBB0_80
## %bb.33:
	leal	-1(%rax), %r8d
	movq	16(%rbx), %rcx
	movq	(%rcx,%r8,8), %r10
	cmpl	$1, %r8d
	jne	LBB0_35
## %bb.34:
	xorl	%edi, %edi
LBB0_41:
	testb	$1, %r8b
	je	LBB0_80
## %bb.42:
	cmpq	%r10, (%rcx,%rdi,8)
	jne	LBB0_80
## %bb.43:
	notl	%edi
	addl	%edi, %eax
	movl	%eax, 24(%rbx)
LBB0_80:
	movq	8(%rbx), %rax
	movl	(%r14), %ecx
	testq	%rax, %rax
	je	LBB0_84
## %bb.81:
	testl	%ecx, %ecx
	jle	LBB0_87
## %bb.82:
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_83:                                ## =>This Inner Loop Header: Depth=1
	movzbl	(%rax,%rcx), %edx
	movzbl	(%r13,%rdx), %edx
	movq	32(%rbx), %rsi
	movb	%dl, (%rsi,%rcx)
	incq	%rcx
	movslq	(%r14), %rdx
	cmpq	%rdx, %rcx
	jl	LBB0_83
	jmp	LBB0_87
LBB0_84:
	testl	%ecx, %ecx
	jle	LBB0_87
## %bb.85:
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_86:                                ## =>This Inner Loop Header: Depth=1
	movzbl	(%r13,%rax), %ecx
	movq	32(%rbx), %rdx
	movb	%cl, (%rdx,%rax)
	incq	%rax
	movslq	(%r14), %rcx
	cmpq	%rcx, %rax
	jl	LBB0_86
LBB0_87:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_90
## %bb.88:
	xorl	%eax, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_35:
	movl	%r8d, %r9d
	andl	$-2, %r9d
	leal	-2(%rax), %esi
	xorl	%edi, %edi
	jmp	LBB0_36
	.p2align	4, 0x90
LBB0_40:                                ##   in Loop: Header=BB0_36 Depth=1
	addq	$2, %rdi
	addl	$-2, %esi
	cmpq	%rdi, %r9
	je	LBB0_41
LBB0_36:                                ## =>This Inner Loop Header: Depth=1
	cmpq	%r10, (%rcx,%rdi,8)
	jne	LBB0_38
## %bb.37:                              ##   in Loop: Header=BB0_36 Depth=1
	leal	1(%rsi), %edx
	movl	%edx, 24(%rbx)
LBB0_38:                                ##   in Loop: Header=BB0_36 Depth=1
	cmpq	%r10, 8(%rcx,%rdi,8)
	jne	LBB0_40
## %bb.39:                              ##   in Loop: Header=BB0_36 Depth=1
	movl	%esi, 24(%rbx)
	jmp	LBB0_40
LBB0_9:
	xorl	%esi, %esi
LBB0_12:
	testb	$1, %dl
	je	LBB0_14
## %bb.13:
	orq	$1, %rsi
	movd	(%rbx), %xmm0                   ## xmm0 = mem[0],zero,zero,zero
	punpcklbw	%xmm0, %xmm0            ## xmm0 = xmm0[0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7]
	pshuflw	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0,4,5,6,7]
	movd	%xmm0, (%r13,%rsi)
	movd	%xmm0, 4(%r13,%rsi)
LBB0_14:
	cmpq	%rax, %rcx
	je	LBB0_20
## %bb.15:
	orq	$1, %rax
LBB0_16:
	movl	%r12d, %edx
	subl	%eax, %edx
	movq	%rax, %rsi
	notq	%rsi
	addq	%r12, %rsi
	andq	$3, %rdx
	je	LBB0_18
	.p2align	4, 0x90
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movzbl	(%rbx), %ecx
	movb	%cl, (%r13,%rax)
	incq	%rax
	decq	%rdx
	jne	LBB0_17
LBB0_18:
	cmpq	$3, %rsi
	jb	LBB0_20
	.p2align	4, 0x90
LBB0_19:                                ## =>This Inner Loop Header: Depth=1
	movzbl	(%rbx), %ecx
	movb	%cl, (%r13,%rax)
	movzbl	(%rbx), %ecx
	movb	%cl, 1(%r13,%rax)
	movzbl	(%rbx), %ecx
	movb	%cl, 2(%r13,%rax)
	movzbl	(%rbx), %ecx
	movb	%cl, 3(%r13,%rax)
	addq	$4, %rax
	cmpq	%rax, %r12
	jne	LBB0_19
	jmp	LBB0_20
LBB0_90:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_NCHAR,4,2                      ## @NCHAR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_kwsprep                        ; -- Begin function kwsprep
	.p2align	2
_kwsprep:                               ; @kwsprep
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	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, #-72]
Lloh3:
	adrp	x22, _NCHAR@GOTPAGE
Lloh4:
	ldr	x22, [x22, _NCHAR@GOTPAGEOFF]
	ldr	w2, [x22]
	mov	x9, x2
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x2, #15
	and	x9, x9, #0x1fffffff0
	sub	x20, x8, x9
	mov	sp, x20
	lsl	x8, x2, #3
	mov	x9, x8
Lloh7:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh8:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0xffffffff0
	sub	x21, x9, x8
	mov	sp, x21
	ldr	w8, [x0]
	cmp	w8, #256
	b.ge	LBB0_7
; %bb.1:
	cmp	w2, #1
	b.lt	LBB0_12
; %bb.2:
	strb	w8, [x20]
	cmp	w2, #1
	b.eq	LBB0_12
; %bb.3:
	sub	x8, x2, #1
	cmp	x8, #8
	b.lo	LBB0_9
; %bb.4:
	add	x9, x20, #1
	add	x10, x20, x2
	add	x11, x19, #4
	cmp	x9, x11
	ccmp	x10, x19, #0, lo
	b.hi	LBB0_9
; %bb.5:
	cmp	x8, #64
	b.hs	LBB0_75
; %bb.6:
	mov	x10, #0
	b	LBB0_79
LBB0_7:
	cmp	w2, #1
	b.lt	LBB0_12
; %bb.8:
	mov	x0, x20
	mov	w1, #255
	bl	_memset
	b	LBB0_12
LBB0_9:
	mov	w9, #1
LBB0_10:
	sub	x8, x2, x9
	add	x9, x20, x9
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x19]
	strb	w10, [x9], #1
	subs	x8, x8, #1
	b.ne	LBB0_11
LBB0_12:
	ldr	w8, [x19, #4]
	cmp	w8, #1
	b.ne	LBB0_14
; %bb.13:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_40
LBB0_14:
	ldr	x23, [x19, #48]
	stur	x23, [x29, #-80]
	cbnz	x23, LBB0_17
; %bb.15:
	mov	x8, #0
	ldr	x9, [x8, #32]
	cbnz	x9, LBB0_33
	b	LBB0_26
LBB0_16:                                ;   in Loop: Header=BB0_17 Depth=1
	ldr	x23, [x23, #32]
	cbz	x23, LBB0_25
LBB0_17:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_19 Depth 2
	ldr	x0, [x23, #16]
	sub	x1, x29, #80
	bl	_enqueue
	ldr	w8, [x19]
	stp	w8, w8, [x23]
	ldp	x1, x0, [x23, #8]
	mov	x2, x20
	bl	_treedelta
	ldr	x0, [x23, #16]
	ldr	x1, [x23, #48]
	ldr	x2, [x19, #48]
	bl	_treefails
	ldr	x24, [x23, #48]
	cbnz	x24, LBB0_19
	b	LBB0_16
LBB0_18:                                ;   in Loop: Header=BB0_19 Depth=2
	ldr	x24, [x24, #48]
	cbz	x24, LBB0_16
LBB0_19:                                ;   Parent Loop BB0_17 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x0, [x24, #16]
	ldr	x1, [x23, #16]
	bl	_hasevery
	cbnz	w0, LBB0_22
; %bb.20:                               ;   in Loop: Header=BB0_19 Depth=2
	ldr	x8, [x23, #8]
	ldr	x9, [x24, #8]
	ldrsw	x10, [x24]
	sub	x8, x8, x9
	cmp	x8, x10
	b.ge	LBB0_22
; %bb.21:                               ;   in Loop: Header=BB0_19 Depth=2
	str	w8, [x24]
LBB0_22:                                ;   in Loop: Header=BB0_19 Depth=2
	ldr	x8, [x23, #40]
	cbz	x8, LBB0_18
; %bb.23:                               ;   in Loop: Header=BB0_19 Depth=2
	ldrsw	x9, [x24, #4]
	ldr	x8, [x23, #8]
	ldr	x10, [x24, #8]
	sub	x8, x8, x10
	cmp	x8, x9
	b.ge	LBB0_18
; %bb.24:                               ;   in Loop: Header=BB0_19 Depth=2
	str	w8, [x24, #4]
	b	LBB0_18
LBB0_25:
	ldr	x8, [x19, #48]
	ldr	x9, [x8, #32]
	cbnz	x9, LBB0_33
LBB0_26:
	ldr	w9, [x22]
	cmp	w9, #1
	b.lt	LBB0_28
; %bb.27:
	lsl	x1, x9, #3
	mov	x0, x21
	bl	_bzero
	ldr	x8, [x19, #48]
LBB0_28:
	ldr	x0, [x8, #16]
	mov	x1, x21
	bl	_treenext
	ldr	x9, [x19, #8]
	ldr	w8, [x22]
	cmp	w8, #1
	cbz	x9, LBB0_37
; %bb.29:
	b.lt	LBB0_61
; %bb.30:
	mov	x10, #0
LBB0_31:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w11, [x9, x10]
	ldr	x11, [x21, x11, lsl #3]
	ldr	x12, [x19, #40]
	str	x11, [x12, x10, lsl #3]
	add	x10, x10, #1
	cmp	x8, x10
	b.ne	LBB0_31
	b	LBB0_61
LBB0_32:                                ;   in Loop: Header=BB0_33 Depth=1
	ldr	x9, [x9, #32]
	cbz	x9, LBB0_26
LBB0_33:                                ; =>This Inner Loop Header: Depth=1
	ldrsw	x10, [x9, #4]
	ldr	x11, [x9, #24]
	ldr	x11, [x11]
	cmp	x11, x10
	b.ge	LBB0_35
; %bb.34:                               ;   in Loop: Header=BB0_33 Depth=1
	str	w11, [x9, #4]
	mov	x10, x11
LBB0_35:                                ;   in Loop: Header=BB0_33 Depth=1
	ldr	w11, [x9]
	cmp	w11, w10
	b.le	LBB0_32
; %bb.36:                               ;   in Loop: Header=BB0_33 Depth=1
	str	w10, [x9]
	b	LBB0_32
LBB0_37:
	b.lt	LBB0_61
; %bb.38:
	mov	x9, #0
	lsl	x8, x8, #3
LBB0_39:                                ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x21, x9]
	ldr	x11, [x19, #40]
	str	x10, [x11, x9]
	add	x9, x9, #8
	cmp	x8, x9
	b.ne	LBB0_39
	b	LBB0_61
LBB0_40:
	add	x0, x19, #56
	ldrb	w1, [x19]
	bl	_obstack_alloc
	str	x0, [x19, #16]
	ldr	w10, [x19]
	subs	w8, w10, #1
	b.lt	LBB0_60
; %bb.41:
	add	x9, x19, #48
	add	x10, x10, #1
LBB0_42:                                ; =>This Inner Loop Header: Depth=1
	sub	w11, w10, #2
	ldr	x9, [x9]
	ldr	x9, [x9, #16]
	ldr	x12, [x9], #8
	str	x12, [x0, w11, uxtw #3]
	sub	x10, x10, #1
	cmp	x10, #1
	b.hi	LBB0_42
; %bb.43:
	ldrb	w9, [x0]
	strb	w8, [x20, x9]
	ldr	w8, [x19]
	cmp	w8, #2
	b.lt	LBB0_46
; %bb.44:
	mov	w9, #-2
	mov	w10, #1
LBB0_45:                                ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x19, #16]
	lsl	x12, x10, #3
	add	x13, x10, #1
	add	w8, w8, w9
	ldrb	w10, [x11, x12]
	strb	w8, [x20, x10]
	ldrsw	x8, [x19]
	sub	w9, w9, #1
	mov	x10, x13
	cmp	x13, x8
	b.lt	LBB0_45
LBB0_46:
	str	w8, [x19, #24]
	cmp	w8, #2
	b.lt	LBB0_61
; %bb.47:
	sub	w10, w8, #1
	ldr	x11, [x19, #16]
	ldr	x9, [x11, w10, uxtw #3]
	cmp	w10, #8
	b.lo	LBB0_70
; %bb.48:
	add	x12, x19, #24
	add	x13, x19, #28
	add	x14, x11, x10, lsl #3
	cmp	x12, x14
	ccmp	x11, x13, #2, lo
	b.lo	LBB0_70
; %bb.49:
	mov	x13, #0
	and	x12, x10, #0xfffffff8
	dup.2d	v0, x9
	add	x14, x11, #32
	mov	w15, #-2
	mov	w16, #-3
	mov	w17, #-4
	mov	w0, #-5
	mov	w1, #-6
	mov	w2, #-7
	mov	w3, #-8
	b	LBB0_52
LBB0_50:                                ;   in Loop: Header=BB0_52 Depth=1
	tst	w23, #0x1
	cinc	w23, w15, eq
	tst	w24, #0x1
	csel	w23, w16, w23, ne
	tst	w7, #0x1
	csel	w7, w17, w23, ne
	tst	w21, #0x1
	csel	w7, w0, w7, ne
	tst	w5, #0x1
	csel	w5, w1, w7, ne
	tst	w6, #0x1
	csel	w5, w2, w5, ne
	tst	w4, #0x1
	csel	w4, w3, w5, ne
	eor	w4, w4, w13
	add	w4, w8, w4
	str	w4, [x19, #24]
LBB0_51:                                ;   in Loop: Header=BB0_52 Depth=1
	add	x13, x13, #8
	add	x14, x14, #64
	cmp	x12, x13
	b.eq	LBB0_82
LBB0_52:                                ; =>This Inner Loop Header: Depth=1
	ldp	q1, q2, [x14, #-32]
	ldp	q3, q4, [x14]
	cmeq.2d	v1, v1, v0
	xtn.2s	v1, v1
	cmeq.2d	v2, v2, v0
	xtn.2s	v2, v2
	cmeq.2d	v3, v3, v0
	xtn.2s	v3, v3
	cmeq.2d	v4, v4, v0
	xtn.2s	v4, v4
	mov.s	w23, v1[1]
	fmov	w25, s1
	mov.s	w7, v2[1]
	fmov	w24, s2
	mov.s	w5, v3[1]
	fmov	w21, s3
	mov.s	w4, v4[1]
	fmov	w6, s4
	tbnz	w25, #0, LBB0_50
; %bb.53:                               ;   in Loop: Header=BB0_52 Depth=1
	tbnz	w23, #0, LBB0_50
; %bb.54:                               ;   in Loop: Header=BB0_52 Depth=1
	tbnz	w24, #0, LBB0_50
; %bb.55:                               ;   in Loop: Header=BB0_52 Depth=1
	tbnz	w7, #0, LBB0_50
; %bb.56:                               ;   in Loop: Header=BB0_52 Depth=1
	tbnz	w21, #0, LBB0_50
; %bb.57:                               ;   in Loop: Header=BB0_52 Depth=1
	tbnz	w5, #0, LBB0_50
; %bb.58:                               ;   in Loop: Header=BB0_52 Depth=1
	tbnz	w6, #0, LBB0_50
; %bb.59:                               ;   in Loop: Header=BB0_52 Depth=1
	tbz	w4, #0, LBB0_51
	b	LBB0_50
LBB0_60:
	str	w10, [x19, #24]
LBB0_61:
	ldr	x8, [x19, #8]
	ldr	w9, [x22]
	cmp	w9, #1
	cbz	x8, LBB0_65
; %bb.62:
	b.lt	LBB0_68
; %bb.63:
	mov	x9, #0
LBB0_64:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w10, [x8, x9]
	ldrb	w10, [x20, x10]
	ldr	x11, [x19, #32]
	strb	w10, [x11, x9]
	add	x9, x9, #1
	ldrsw	x10, [x22]
	cmp	x9, x10
	b.lt	LBB0_64
	b	LBB0_68
LBB0_65:
	b.lt	LBB0_68
; %bb.66:
	mov	x8, #0
LBB0_67:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w9, [x20, x8]
	ldr	x10, [x19, #32]
	strb	w9, [x10, x8]
	add	x8, x8, #1
	ldrsw	x9, [x22]
	cmp	x8, x9
	b.lt	LBB0_67
LBB0_68:
	ldur	x8, [x29, #-72]
Lloh9:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh10:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_84
; %bb.69:
	mov	x0, #0
	sub	sp, x29, #64
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_70:
	mov	x12, #0
LBB0_71:
	add	x8, x11, x12, lsl #3
	sub	x10, x10, x12
	b	LBB0_73
LBB0_72:                                ;   in Loop: Header=BB0_73 Depth=1
	add	x8, x8, #8
	subs	x10, x10, #1
	b.eq	LBB0_61
LBB0_73:                                ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x8]
	cmp	x11, x9
	b.ne	LBB0_72
; %bb.74:                               ;   in Loop: Header=BB0_73 Depth=1
	str	w10, [x19, #24]
	b	LBB0_72
LBB0_75:
	and	x10, x8, #0xffffffffffffffc0
	ld1r.16b	{ v0 }, [x19]
	add	x9, x20, #33
	mov	x11, x10
LBB0_76:                                ; =>This Inner Loop Header: Depth=1
	stp	q0, q0, [x9, #-32]
	stp	q0, q0, [x9], #64
	subs	x11, x11, #64
	b.ne	LBB0_76
; %bb.77:
	cmp	x8, x10
	b.eq	LBB0_12
; %bb.78:
	tst	x8, #0x38
	b.eq	LBB0_83
LBB0_79:
	and	x11, x8, #0xfffffffffffffff8
	orr	x9, x11, #0x1
	add	x12, x10, x20
	add	x12, x12, #1
	sub	x10, x10, x11
LBB0_80:                                ; =>This Inner Loop Header: Depth=1
	ld1r.8b	{ v0 }, [x19]
	str	d0, [x12], #8
	adds	x10, x10, #8
	b.ne	LBB0_80
; %bb.81:
	cmp	x8, x11
	b.ne	LBB0_10
	b	LBB0_12
LBB0_82:
	cmp	x12, x10
	b.eq	LBB0_61
	b	LBB0_71
LBB0_83:
	orr	x9, x10, #0x1
	b	LBB0_10
LBB0_84:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_NCHAR,4,2                      ; @NCHAR
.subsections_via_symbols
