	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_R_DecomposeSort                ## -- Begin function R_DecomposeSort
	.p2align	4, 0x90
_R_DecomposeSort:                       ## @R_DecomposeSort
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%rcx, %r9
	movq	_QSORT_FOGNUM_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	%edi, %eax
	shrl	%cl, %eax
	andl	$31, %eax
	movl	%eax, (%r9)
	movq	_tr@GOTPCREL(%rip), %r9
	movq	_QSORT_SHADERNUM_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	%edi, %eax
	shrq	%cl, %rax
	movq	(%r9), %r9
	movq	_MAX_SHADERS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	decl	%ecx
	andl	%ecx, %eax
	movq	(%r9,%rax,8), %rax
	movq	%rax, (%rdx)
	movq	_QSORT_ENTITYNUM_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	%edi, %eax
	shrl	%cl, %eax
	andl	$1023, %eax                     ## imm = 0x3FF
	movl	%eax, (%rsi)
	andl	$3, %edi
	movl	%edi, (%r8)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_QSORT_FOGNUM_SHIFT,4,2         ## @QSORT_FOGNUM_SHIFT
	.comm	_tr,8,3                         ## @tr
	.comm	_QSORT_SHADERNUM_SHIFT,4,2      ## @QSORT_SHADERNUM_SHIFT
	.comm	_MAX_SHADERS,4,2                ## @MAX_SHADERS
	.comm	_QSORT_ENTITYNUM_SHIFT,4,2      ## @QSORT_ENTITYNUM_SHIFT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_R_DecomposeSort                ; -- Begin function R_DecomposeSort
	.p2align	2
_R_DecomposeSort:                       ; @R_DecomposeSort
	.cfi_startproc
; %bb.0:
	mov	w8, w0
Lloh0:
	adrp	x9, _QSORT_FOGNUM_SHIFT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _QSORT_FOGNUM_SHIFT@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	lsr	w9, w0, w9
	and	w9, w9, #0x1f
	str	w9, [x3]
Lloh3:
	adrp	x9, _tr@GOTPAGE
Lloh4:
	ldr	x9, [x9, _tr@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
Lloh6:
	adrp	x10, _QSORT_SHADERNUM_SHIFT@GOTPAGE
Lloh7:
	ldr	x10, [x10, _QSORT_SHADERNUM_SHIFT@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	lsr	x8, x8, x10
Lloh9:
	adrp	x10, _MAX_SHADERS@GOTPAGE
Lloh10:
	ldr	x10, [x10, _MAX_SHADERS@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	sub	w10, w10, #1
	and	x8, x10, x8
	ldr	x8, [x9, x8, lsl #3]
	str	x8, [x2]
Lloh12:
	adrp	x8, _QSORT_ENTITYNUM_SHIFT@GOTPAGE
Lloh13:
	ldr	x8, [x8, _QSORT_ENTITYNUM_SHIFT@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	lsr	w8, w0, w8
	and	w8, w8, #0x3ff
	str	w8, [x1]
	and	w8, w0, #0x3
	str	w8, [x4]
	ret
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_QSORT_FOGNUM_SHIFT,4,2         ; @QSORT_FOGNUM_SHIFT
	.comm	_tr,8,3                         ; @tr
	.comm	_QSORT_SHADERNUM_SHIFT,4,2      ; @QSORT_SHADERNUM_SHIFT
	.comm	_MAX_SHADERS,4,2                ; @MAX_SHADERS
	.comm	_QSORT_ENTITYNUM_SHIFT,4,2      ; @QSORT_ENTITYNUM_SHIFT
.subsections_via_symbols
