	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AAS_CanMergePlaneFaces         ## -- Begin function AAS_CanMergePlaneFaces
	.p2align	4, 0x90
_AAS_CanMergePlaneFaces:                ## @AAS_CanMergePlaneFaces
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rcx
	testq	%rcx, %rcx
	je	LBB0_1
## %bb.2:
	xorl	%r11d, %r11d
                                        ## implicit-def: $r8d
	xorl	%r9d, %r9d
	xorl	%r10d, %r10d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	8(%rcx), %r9
	movl	4(%rcx), %r8d
	movq	%rdx, %r10
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	xorl	%eax, %eax
	cmpq	%rdi, %rdx
	setne	%al
	movq	24(%rcx), %rcx
	movq	(%rcx,%rax,8), %rcx
	movl	%r11d, %eax
	testq	%rcx, %rcx
	je	LBB0_10
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%rcx), %rdx
	movl	(%rcx), %eax
	xorl	%esi, %eax
	cmpl	$1, %eax
	ja	LBB0_9
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r10, %rax
	orq	%r9, %rax
	je	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	xorl	%eax, %eax
	cmpq	%rdx, %r10
	jne	LBB0_10
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpq	8(%rcx), %r9
	jne	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	$1, %r11d
	cmpl	4(%rcx), %r8d
	je	LBB0_9
LBB0_10:
	popq	%rbp
	retq
LBB0_1:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AAS_CanMergePlaneFaces         ; -- Begin function AAS_CanMergePlaneFaces
	.p2align	2
_AAS_CanMergePlaneFaces:                ; @AAS_CanMergePlaneFaces
	.cfi_startproc
; %bb.0:
	ldr	x9, [x0]
	cbz	x9, LBB0_10
; %bb.1:
	mov	w8, #0
	mov	x10, #0
	mov	x11, #0
                                        ; implicit-def: $w12
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x10, [x9, #8]
	ldr	w12, [x9, #4]
	mov	x11, x13
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	cmp	x13, x0
	cset	w13, ne
	ldr	x9, [x9, #24]
	ldr	x9, [x9, w13, uxtw #3]
	cbz	x9, LBB0_11
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x13, [x9, #16]
	ldr	w14, [x9]
	eor	w14, w14, w1
	cmp	w14, #1
	b.hi	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	orr	x14, x11, x10
	cbz	x14, LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	x11, x13
	b.ne	LBB0_10
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x9, #8]
	cmp	x10, x8
	b.ne	LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x9, #4]
	cmp	w12, w8
	b.ne	LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w8, #1
	b	LBB0_3
LBB0_10:
	mov	w0, #0
	ret
LBB0_11:
	mov	x0, x8
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
