	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AAS_CheckAreaSharedFaces       ## -- Begin function AAS_CheckAreaSharedFaces
	.p2align	4, 0x90
_AAS_CheckAreaSharedFaces:              ## @AAS_CheckAreaSharedFaces
	.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
	cmpq	$0, 16(%rdi)
	jne	LBB0_13
## %bb.1:
	movq	%rsi, %r12
	cmpq	$0, 16(%rsi)
	je	LBB0_2
LBB0_13:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	%rdi, %r14
	movq	8(%rdi), %rdx
	testq	%rdx, %rdx
	je	LBB0_13
## %bb.3:
	xorl	%eax, %eax
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%rdx), %rsi
	xorl	%edi, %edi
	cmpq	%r14, %rsi
	setne	%dil
	cmpq	%r12, (%rdx)
	sete	%r8b
	cmpq	%r12, %rsi
	sete	%bl
	orb	%r8b, %bl
	movzbl	%bl, %esi
	addl	%esi, %ecx
	testb	%sil, %sil
	cmovneq	%rdx, %rax
	movq	24(%rdx), %rdx
	movq	(%rdx,%rdi,8), %rdx
	testq	%rdx, %rdx
	jne	LBB0_4
## %bb.5:
	testq	%rax, %rax
	je	LBB0_13
## %bb.6:
	cmpl	$2, %ecx
	jb	LBB0_13
## %bb.7:
	movl	(%r14), %esi
	movl	(%r12), %edx
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_Log_Write
	movq	8(%r14), %rbx
	testq	%rbx, %rbx
	je	LBB0_13
## %bb.8:
	leaq	L_.str.1(%rip), %r15
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_9 Depth=1
	movl	16(%rbx), %edx
	movl	20(%rbx), %esi
	movl	(%r13), %ecx
	movl	(%rax), %r8d
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_Log_Write
LBB0_12:                                ##   in Loop: Header=BB0_9 Depth=1
	xorl	%eax, %eax
	cmpq	%r14, %r13
	setne	%al
	movq	24(%rbx), %rcx
	movq	(%rcx,%rax,8), %rbx
	testq	%rbx, %rbx
	je	LBB0_13
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rax
	movq	8(%rbx), %r13
	cmpq	%r12, %rax
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	cmpq	%r12, %r13
	jne	LBB0_12
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"---- tmp area %d and %d have %d shared faces\r\n"

L_.str.1:                               ## @.str.1
	.asciz	"face %d, planenum = %d, face->frontarea = %d face->backarea = %d\r\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AAS_CheckAreaSharedFaces       ; -- Begin function AAS_CheckAreaSharedFaces
	.p2align	2
_AAS_CheckAreaSharedFaces:              ; @AAS_CheckAreaSharedFaces
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	ldr	x8, [x0, #16]
	cbnz	x8, LBB0_2
; %bb.1:
	mov	x19, x1
	ldr	x8, [x1, #16]
	cbz	x8, LBB0_3
LBB0_2:
	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
	add	sp, sp, #80
	ret
LBB0_3:
	mov	x20, x0
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_2
; %bb.4:
	mov	x9, #0
	mov	w3, #0
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldp	x11, x10, [x8]
	cmp	x10, x20
	cset	w12, ne
	cmp	x11, x19
	ccmp	x10, x19, #4, ne
	cinc	w3, w3, eq
	csel	x9, x8, x9, eq
	ldr	x8, [x8, #24]
	ldr	x8, [x8, w12, uxtw #3]
	cbnz	x8, LBB0_5
; %bb.6:
	cmp	x9, #0
	ccmp	w3, #2, #0, ne
	b.lo	LBB0_2
; %bb.7:
	ldr	w1, [x20]
	ldr	w2, [x19]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_Log_Write
	ldr	x22, [x20, #8]
	cbz	x22, LBB0_2
; %bb.8:
Lloh2:
	adrp	x21, l_.str.1@PAGE
Lloh3:
	add	x21, x21, l_.str.1@PAGEOFF
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	cmp	x23, x20
	cset	w8, ne
	ldr	x9, [x22, #24]
	ldr	x22, [x9, w8, uxtw #3]
	cbz	x22, LBB0_2
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldp	x8, x23, [x22]
	cmp	x8, x19
	ccmp	x23, x19, #4, ne
	b.ne	LBB0_9
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	ldp	w2, w1, [x22, #16]
	ldr	w3, [x23]
	ldr	w8, [x8]
	str	x8, [sp]
	mov	x0, x21
	bl	_Log_Write
	b	LBB0_9
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"---- tmp area %d and %d have %d shared faces\r\n"

l_.str.1:                               ; @.str.1
	.asciz	"face %d, planenum = %d, face->frontarea = %d face->backarea = %d\r\n"

.subsections_via_symbols
