	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function newdfa
_newdfa:                                ## @newdfa
	.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	%rcx, %r14
	movq	%rdx, %r12
	movq	%rsi, %r13
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	movslq	(%rsi), %rax
	movq	%rax, %r15
	addq	%rax, %r15
	movq	_UBITS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	addl	$-1, %eax
	setb	%bl
	addl	%ecx, %eax
	cltd
	idivl	%ecx
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	testq	%rsi, %rsi
	setne	%al
	andb	%bl, %al
	movzbl	%al, %edi
	callq	_assert
	movq	_FEWSTATES@GOTPCREL(%rip), %rax
	cmpq	%r15, (%rax)
	jb	LBB0_5
## %bb.1:
	movq	8(%r13), %rax
	movq	_FEWCOLORS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jbe	LBB0_2
LBB0_5:
	movl	$128, %edi
	callq	_MALLOC
	testq	%rax, %rax
	je	LBB0_4
## %bb.6:
	movq	%rax, %rbx
	leaq	(,%r15,4), %r14
	movq	%r14, %rdi
	callq	_MALLOC
	movq	%rax, 56(%rbx)
	movq	_WORK@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	%r15, %rdi
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movslq	-44(%rbp), %r12                 ## 4-byte Folded Reload
	imulq	%r12, %rdi
	shlq	$2, %rdi
	callq	_MALLOC
	movq	%rax, (%rbx)
	imulq	%r15, %r12
	leaq	(%rax,%r12,4), %rax
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movq	%rax, 8(%rbx)
	movq	8(%r13), %rdi
	imulq	%r15, %rdi
	shlq	$3, %rdi
	callq	_MALLOC
	movq	%rax, 120(%rbx)
	imulq	8(%r13), %r14
	movq	%r14, %rdi
	callq	_MALLOC
	movq	%rax, 112(%rbx)
	movl	$1, 16(%rbx)
	movq	%rbx, 24(%rbx)
	movq	56(%rbx), %rcx
	testq	%rcx, %rcx
	je	LBB0_10
## %bb.7:
	cmpq	$0, (%rbx)
	je	LBB0_10
## %bb.8:
	cmpq	$0, 120(%rbx)
	je	LBB0_10
## %bb.9:
	testq	%rax, %rax
	jne	LBB0_12
LBB0_10:
	movq	%rbx, %rdi
	callq	_freedfa
LBB0_4:
	movq	_REG_ESPACE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ERR
	xorl	%ebx, %ebx
	jmp	LBB0_13
LBB0_2:
	xorl	%edi, %edi
	cmpl	$1, -44(%rbp)                   ## 4-byte Folded Reload
	sete	%dil
	callq	_assert
	movq	%r14, %rax
	testq	%r14, %r14
	jne	LBB0_11
## %bb.3:
	movl	$160, %edi
	callq	_MALLOC
	testq	%rax, %rax
	je	LBB0_4
LBB0_11:
	leaq	32(%rax), %rbx
	xorl	%edx, %edx
	testq	%r14, %r14
	movq	24(%rax), %rcx
	movq	%rcx, 88(%rax)
	movq	(%rax), %rsi
	movq	%rsi, 32(%rax)
	leaq	(%rsi,%r15,4), %rsi
	movq	%rsi, 40(%rax)
	movups	8(%rax), %xmm0
	movups	%xmm0, 144(%rax)
	movl	$0, 48(%rax)
	cmoveq	%rax, %rdx
	movq	%rdx, 56(%rax)
LBB0_12:
	movq	_REG_SMALL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	andl	(%rdx), %eax
	movl	$7, %eax
	cmovel	%r15d, %eax
	movl	%eax, 32(%rbx)
	movq	$0, 104(%rbx)
	movl	(%r13), %eax
	movl	%eax, 36(%rbx)
	movq	8(%r13), %rax
	movq	%rax, 40(%rbx)
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 48(%rbx)
	movq	%r13, 96(%rbx)
	movq	%r12, 88(%rbx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 72(%rbx)
	movq	%rcx, 64(%rbx)
LBB0_13:
	movq	%rbx, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_UBITS,4,2                      ## @UBITS
	.comm	_FEWSTATES,8,3                  ## @FEWSTATES
	.comm	_FEWCOLORS,8,3                  ## @FEWCOLORS
	.comm	_REG_ESPACE,4,2                 ## @REG_ESPACE
	.comm	_WORK,8,3                       ## @WORK
	.comm	_REG_SMALL,4,2                  ## @REG_SMALL
	.no_dead_strip	_newdfa
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function newdfa
_newdfa:                                ; @newdfa
	.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
	mov	x23, x3
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	ldrsw	x8, [x1]
	lsl	x25, x8, #1
Lloh0:
	adrp	x9, _UBITS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _UBITS@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	subs	w8, w8, #1
	cset	w10, hs
	add	w8, w8, w9
	sdiv	w24, w8, w9
	cmp	x1, #0
	cset	w8, ne
	and	w0, w8, w10
	bl	_assert
Lloh3:
	adrp	x8, _FEWSTATES@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FEWSTATES@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x8, x25
	b.lo	LBB0_2
; %bb.1:
	ldr	x8, [x20, #8]
Lloh6:
	adrp	x9, _FEWCOLORS@GOTPAGE
Lloh7:
	ldr	x9, [x9, _FEWCOLORS@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ls	LBB0_10
LBB0_2:
	mov	w0, #128
	bl	_MALLOC
	mov	x22, x0
	cbz	x0, LBB0_9
; %bb.3:
	lsl	x23, x25, #2
	mov	x0, x23
	bl	_MALLOC
Lloh9:
	adrp	x8, _WORK@GOTPAGE
Lloh10:
	ldr	x8, [x8, _WORK@GOTPAGEOFF]
	str	x0, [x22, #56]
Lloh11:
	ldr	x8, [x8]
	add	x8, x8, x25
	sxtw	x26, w24
	mul	x8, x26, x8
	lsl	x0, x8, #2
	bl	_MALLOC
	mul	x8, x26, x25
	add	x8, x0, x8, lsl #2
	stp	x0, x8, [x22]
	ldr	x8, [x20, #8]
	mul	x8, x25, x8
	lsl	x0, x8, #3
	bl	_MALLOC
	str	x0, [x22, #120]
	ldr	x8, [x20, #8]
	mul	x0, x23, x8
	bl	_MALLOC
	str	x0, [x22, #112]
	mov	w8, #1
	str	w8, [x22, #16]
	str	x22, [x22, #24]
	ldr	x8, [x22, #56]
	cbz	x8, LBB0_7
; %bb.4:
	ldr	x9, [x22]
	cbz	x9, LBB0_7
; %bb.5:
	ldr	x9, [x22, #120]
	cbz	x9, LBB0_7
; %bb.6:
	cbnz	x0, LBB0_13
LBB0_7:
	mov	x0, x22
	bl	_freedfa
LBB0_8:
Lloh12:
	adrp	x8, _REG_ESPACE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _REG_ESPACE@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	bl	_ERR
	mov	x22, #0
	b	LBB0_14
LBB0_9:
Lloh15:
	adrp	x8, _REG_ESPACE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _REG_ESPACE@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	bl	_ERR
	b	LBB0_14
LBB0_10:
	cmp	w24, #1
	cset	w0, eq
	bl	_assert
	mov	x0, x23
	cbnz	x23, LBB0_12
; %bb.11:
	mov	w0, #160
	bl	_MALLOC
	cbz	x0, LBB0_8
LBB0_12:
	mov	x22, x0
	ldp	x8, x9, [x0]
	str	x8, [x22, #32]!
	add	x8, x8, x25, lsl #2
	str	x8, [x0, #40]
	ldp	x10, x8, [x0, #16]
	str	x8, [x0, #88]
	stp	x9, x10, [x0, #144]
	str	wzr, [x0, #48]
	cmp	x23, #0
	csel	x9, x0, xzr, eq
	str	x9, [x0, #56]
LBB0_13:
	ldr	w9, [x21]
Lloh18:
	adrp	x10, _REG_SMALL@GOTPAGE
Lloh19:
	ldr	x10, [x10, _REG_SMALL@GOTPAGEOFF]
Lloh20:
	ldr	w10, [x10]
	tst	w10, w9
	mov	w9, #7
	csel	w9, w25, w9, eq
	ldr	w10, [x20]
	stp	w9, w10, [x22, #32]
	ldr	x9, [x20, #8]
	str	x9, [x22, #40]
	str	w24, [x22, #48]
	stp	x20, xzr, [x22, #96]
	stp	xzr, x19, [x22, #80]
	stp	x8, xzr, [x22, #64]
LBB0_14:
	mov	x0, x22
	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
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_UBITS,4,2                      ; @UBITS
	.comm	_FEWSTATES,8,3                  ; @FEWSTATES
	.comm	_FEWCOLORS,8,3                  ; @FEWCOLORS
	.comm	_REG_ESPACE,4,2                 ; @REG_ESPACE
	.comm	_WORK,8,3                       ; @WORK
	.comm	_REG_SMALL,4,2                  ; @REG_SMALL
	.no_dead_strip	_newdfa
.subsections_via_symbols
