	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AAS_RemoveFaceFromArea         ## -- Begin function AAS_RemoveFaceFromArea
	.p2align	4, 0x90
_AAS_RemoveFaceFromArea:                ## @AAS_RemoveFaceFromArea
	.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	%rsi, %r14
	movq	%rdi, %rbx
	movq	16(%rdi), %rcx
	movq	%rsi, %rax
	cmpq	%rsi, %rcx
	je	LBB0_3
## %bb.1:
	movq	%rcx, %rax
	cmpq	%r14, 24(%rbx)
	je	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rdi
	callq	_Error
	movq	16(%rbx), %rax
LBB0_3:
	xorl	%ecx, %ecx
	cmpq	%r14, %rax
	setne	%cl
	movq	8(%rbx), %rdx
	movq	(%rdx,%rcx,8), %rdx
	testq	%rdx, %rdx
	je	LBB0_5
## %bb.4:
	movq	(%rdx), %rsi
	xorl	%edi, %edi
	cmpq	%r14, 8(%rdx)
	setne	%dil
	movq	(%rbx), %rdx
	movq	(%rdx,%rcx,8), %rdx
	movq	%rdx, (%rsi,%rdi,8)
	movq	(%rbx), %rdx
	jmp	LBB0_6
LBB0_5:
	movq	(%rbx), %rdx
	movq	(%rdx,%rcx,8), %rsi
	movq	%rsi, (%r14)
LBB0_6:
	movq	(%rdx,%rcx,8), %rdx
	testq	%rdx, %rdx
	je	LBB0_8
## %bb.7:
	movq	(%rdx), %rsi
	xorl	%edi, %edi
	cmpq	%r14, 8(%rdx)
	setne	%dil
	movq	8(%rbx), %rdx
	movq	(%rdx,%rcx,8), %rdx
	movq	%rdx, (%rsi,%rdi,8)
LBB0_8:
	xorl	%edx, %edx
	cmpq	%r14, %rax
	setne	%dl
	movq	$0, 16(%rbx,%rdx,8)
	movq	8(%rbx), %rax
	movq	$0, (%rax,%rcx,8)
	movq	(%rbx), %rax
	movq	$0, (%rax,%rcx,8)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"AAS_RemoveFaceFromArea: face not part of the area"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AAS_RemoveFaceFromArea         ; -- Begin function AAS_RemoveFaceFromArea
	.p2align	2
_AAS_RemoveFaceFromArea:                ; @AAS_RemoveFaceFromArea
	.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
	mov	x20, x1
	mov	x19, x0
	ldr	x9, [x0, #16]
	mov	x8, x1
	cmp	x9, x1
	b.eq	LBB0_4
; %bb.1:
	ldr	x8, [x19, #24]
	cmp	x8, x20
	b.eq	LBB0_3
; %bb.2:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_Error
	ldr	x8, [x19, #16]
	b	LBB0_4
LBB0_3:
	mov	x8, x9
LBB0_4:
	cmp	x8, x20
	cset	w9, ne
	ldr	x10, [x19, #8]
	ldr	x10, [x10, w9, uxtw #3]
	cbz	x10, LBB0_8
; %bb.5:
	ldp	x10, x11, [x10]
	cmp	x11, x20
	cset	w11, ne
	ldr	x12, [x19]
	ldr	x12, [x12, x9, lsl #3]
	str	x12, [x10, w11, uxtw #3]
	ldr	x10, [x19]
	ldr	x10, [x10, x9, lsl #3]
	cbz	x10, LBB0_7
LBB0_6:
	ldp	x10, x11, [x10]
	cmp	x11, x20
	cset	w11, ne
	ldr	x12, [x19, #8]
	ldr	x12, [x12, x9, lsl #3]
	str	x12, [x10, w11, uxtw #3]
LBB0_7:
	mov	w10, #16
	mov	w11, #24
	cmp	x8, x20
	csel	x8, x11, x10, ne
	str	xzr, [x19, x8]
	ldr	x8, [x19, #8]
	lsl	x9, x9, #3
	str	xzr, [x8, x9]
	ldr	x8, [x19]
	str	xzr, [x8, x9]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_8:
	ldr	x10, [x19]
	ldr	x11, [x10, x9, lsl #3]
	str	x11, [x20]
	ldr	x10, [x10, x9, lsl #3]
	cbnz	x10, LBB0_6
	b	LBB0_7
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"AAS_RemoveFaceFromArea: face not part of the area"

.subsections_via_symbols
