	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_G_TestEntityPosition           ## -- Begin function G_TestEntityPosition
	.p2align	4, 0x90
_G_TestEntityPosition:                  ## @G_TestEntityPosition
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$32, %rsp
	movl	(%rdi), %eax
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movq	_MASK_SOLID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_2:
	movq	24(%rdi), %rcx
	testq	%rcx, %rcx
	je	LBB0_4
## %bb.3:
	movl	(%rcx), %esi
	movl	16(%rdi), %edx
	movl	4(%rdi), %r9d
	jmp	LBB0_5
LBB0_4:
	movl	4(%rdi), %r9d
	movl	8(%rdi), %esi
	movl	16(%rdi), %edx
LBB0_5:
	movl	12(%rdi), %ecx
	movl	%eax, (%rsp)
	leaq	-16(%rbp), %rdi
	movl	%esi, %r8d
	callq	_trap_Trace
	movq	-16(%rbp), %rax
	movq	_g_entities@GOTPCREL(%rip), %rcx
	shlq	$5, %rax
	addq	(%rcx), %rax
	movq	-8(%rbp), %rcx
	testq	%rcx, %rcx
	cmoveq	%rcx, %rax
	addq	$32, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MASK_SOLID,4,2                 ## @MASK_SOLID
	.comm	_g_entities,8,3                 ## @g_entities
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_G_TestEntityPosition           ; -- Begin function G_TestEntityPosition
	.p2align	2
_G_TestEntityPosition:                  ; @G_TestEntityPosition
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.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
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _MASK_SOLID@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MASK_SOLID@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w8, #0
	csel	w6, w9, w8, eq
	ldr	x8, [x0, #24]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	w1, [x8]
	ldp	w3, w2, [x0, #12]
	b	LBB0_3
LBB0_2:
	ldp	w3, w2, [x0, #12]
	ldr	w1, [x0, #8]
LBB0_3:
	ldr	w5, [x0, #4]
	mov	x0, sp
	mov	x4, x1
	bl	_trap_Trace
Lloh3:
	adrp	x8, _g_entities@GOTPAGE
Lloh4:
	ldr	x8, [x8, _g_entities@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	ldp	x10, x9, [sp]
	add	x8, x8, x10, lsl #5
	cmp	x9, #0
	csel	x0, xzr, x8, eq
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_MASK_SOLID,4,2                 ; @MASK_SOLID
	.comm	_g_entities,8,3                 ; @g_entities
.subsections_via_symbols
