	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tessNewTess                    ## -- Begin function tessNewTess
	.p2align	4, 0x90
_tessNewTess:                           ## @tessNewTess
	.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
	movq	%rdi, %r14
	testq	%rdi, %rdi
	jne	LBB0_2
## %bb.1:
	movq	_defaulAlloc@GOTPCREL(%rip), %r14
LBB0_2:
	movl	20(%r14), %edi
	movl	$120, %esi
	callq	*24(%r14)
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	%rax, %rbx
	movq	%rax, %rdi
	addq	$40, %rdi
	movups	(%r14), %xmm0
	movups	16(%r14), %xmm1
	movups	%xmm0, 40(%rax)
	movups	%xmm1, 56(%rax)
	cmpl	$0, 40(%rax)
	je	LBB0_5
## %bb.6:
	cmpl	$0, 44(%rbx)
	je	LBB0_7
LBB0_8:
	cmpl	$0, 48(%rbx)
	je	LBB0_9
LBB0_10:
	cmpl	$0, 52(%rbx)
	je	LBB0_11
LBB0_12:
	movl	56(%rbx), %ecx
	testl	%ecx, %ecx
	jne	LBB0_14
## %bb.13:
	movl	$256, 56(%rbx)                  ## imm = 0x100
	movl	$256, %ecx                      ## imm = 0x100
LBB0_14:
	movq	112(%rbx), %rax
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rax)
	movq	$0, 16(%rax)
	movq	104(%rbx), %rax
	movups	%xmm0, (%rax)
	movq	96(%rbx), %rax
	movups	%xmm0, (%rax)
	movq	_TESS_WINDING_ODD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 88(%rbx)
	movq	_noCombine@GOTPCREL(%rip), %rax
	movq	%rax, 80(%rbx)
	movl	$16, %eax
	cmpl	$16, %ecx
	jl	LBB0_16
## %bb.15:
	movl	$4096, %eax                     ## imm = 0x1000
	cmpl	$4097, %ecx                     ## imm = 0x1001
	jb	LBB0_17
LBB0_16:
	movl	%eax, 56(%rbx)
	movl	%eax, %ecx
LBB0_17:
	leaq	L_.str(%rip), %rsi
	movl	$4, %edx
	callq	_createBucketAlloc
	movl	%eax, 72(%rbx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rbx)
	movups	%xmm0, 16(%rbx)
	movq	$0, 32(%rbx)
	jmp	LBB0_18
LBB0_3:
	xorl	%ebx, %ebx
LBB0_18:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_5:
	movl	$512, (%rdi)                    ## imm = 0x200
	cmpl	$0, 44(%rbx)
	jne	LBB0_8
LBB0_7:
	movl	$512, 44(%rbx)                  ## imm = 0x200
	cmpl	$0, 48(%rbx)
	jne	LBB0_10
LBB0_9:
	movl	$256, 48(%rbx)                  ## imm = 0x100
	cmpl	$0, 52(%rbx)
	jne	LBB0_12
LBB0_11:
	movl	$512, 52(%rbx)                  ## imm = 0x200
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.comm	_defaulAlloc,32,3               ## @defaulAlloc
	.comm	_TESS_WINDING_ODD,4,2           ## @TESS_WINDING_ODD
	.comm	_noCombine,4,2                  ## @noCombine
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Regions"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tessNewTess                    ; -- Begin function tessNewTess
	.p2align	2
_tessNewTess:                           ; @tessNewTess
	.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
Lloh0:
	adrp	x8, _defaulAlloc@GOTPAGE
Lloh1:
	ldr	x8, [x8, _defaulAlloc@GOTPAGEOFF]
	cmp	x0, #0
	csel	x20, x8, x0, eq
	ldr	x8, [x20, #24]
	ldr	w0, [x20, #20]
	mov	w1, #120
	blr	x8
	mov	x19, x0
	cbz	x0, LBB0_13
; %bb.1:
	add	x0, x19, #40
	ldp	q1, q0, [x20]
	stur	q1, [x19, #40]
	stur	q0, [x19, #56]
	ldr	w8, [x19, #40]
	cbz	w8, LBB0_14
; %bb.2:
	ldr	w8, [x19, #44]
	cbz	w8, LBB0_15
LBB0_3:
	ldr	w8, [x19, #48]
	cbz	w8, LBB0_16
LBB0_4:
	ldr	w8, [x19, #52]
	cbz	w8, LBB0_17
LBB0_5:
	ldr	w3, [x19, #56]
	cbnz	w3, LBB0_7
LBB0_6:
	mov	w3, #256
	str	w3, [x19, #56]
LBB0_7:
	ldr	x8, [x19, #112]
	stp	xzr, xzr, [x8]
	str	xzr, [x8, #16]
	ldr	x8, [x19, #104]
	stp	xzr, xzr, [x8]
	ldr	x8, [x19, #96]
	stp	xzr, xzr, [x8]
Lloh2:
	adrp	x8, _TESS_WINDING_ODD@GOTPAGE
Lloh3:
	ldr	x8, [x8, _TESS_WINDING_ODD@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	str	w8, [x19, #88]
Lloh5:
	adrp	x8, _noCombine@GOTPAGE
Lloh6:
	ldr	x8, [x8, _noCombine@GOTPAGEOFF]
	str	x8, [x19, #80]
	cmp	w3, #16
	b.ge	LBB0_9
; %bb.8:
	mov	w3, #16
	b	LBB0_11
LBB0_9:
	cmp	w3, #1, lsl #12                 ; =4096
	b.ls	LBB0_12
; %bb.10:
	mov	w3, #4096
LBB0_11:
	str	w3, [x19, #56]
LBB0_12:
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	mov	w2, #4
	bl	_createBucketAlloc
	str	w0, [x19, #72]
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [x19]
	str	xzr, [x19, #32]
LBB0_13:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_14:
	mov	w8, #512
	str	w8, [x0]
	ldr	w8, [x19, #44]
	cbnz	w8, LBB0_3
LBB0_15:
	mov	w8, #512
	str	w8, [x19, #44]
	ldr	w8, [x19, #48]
	cbnz	w8, LBB0_4
LBB0_16:
	mov	w8, #256
	str	w8, [x19, #48]
	ldr	w8, [x19, #52]
	cbnz	w8, LBB0_5
LBB0_17:
	mov	w8, #512
	str	w8, [x19, #52]
	ldr	w3, [x19, #56]
	cbnz	w3, LBB0_7
	b	LBB0_6
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_defaulAlloc,32,3               ; @defaulAlloc
	.comm	_TESS_WINDING_ODD,4,2           ; @TESS_WINDING_ODD
	.comm	_noCombine,4,2                  ; @noCombine
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Regions"

.subsections_via_symbols
