	.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, %r10
	movq	_QSORT_FOGNUM_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	%edi, %eax
	shrl	%cl, %eax
	andl	$31, %eax
	movl	%eax, (%r10)
	movq	_tr@GOTPCREL(%rip), %r10
	movq	_QSORT_SHADERNUM_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	%edi, %eax
	shrq	%cl, %rax
	movq	(%r10), %r10
	movq	_MAX_SHADERS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	decl	%ecx
	andl	%ecx, %eax
	movq	(%r10,%rax,8), %rax
	movq	%rax, (%rdx)
	movq	_QSORT_REFENTITYNUM_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	%edi, %eax
	shrl	%cl, %eax
	movq	_REFENTITYNUM_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movl	%eax, (%rsi)
	movq	_QSORT_PSHADOW_SHIFT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%ecx, %ecx
	btl	%eax, %edi
	setb	%cl
	movl	%ecx, (%r9)
	andl	$1, %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_REFENTITYNUM_SHIFT,4,2   ## @QSORT_REFENTITYNUM_SHIFT
	.comm	_REFENTITYNUM_MASK,4,2          ## @REFENTITYNUM_MASK
	.comm	_QSORT_PSHADOW_SHIFT,4,2        ## @QSORT_PSHADOW_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:
Lloh0:
	adrp	x8, _QSORT_FOGNUM_SHIFT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _QSORT_FOGNUM_SHIFT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	lsr	w8, w0, w8
	and	w8, w8, #0x1f
Lloh3:
	adrp	x9, _tr@GOTPAGE
Lloh4:
	ldr	x9, [x9, _tr@GOTPAGEOFF]
Lloh5:
	adrp	x10, _QSORT_SHADERNUM_SHIFT@GOTPAGE
Lloh6:
	ldr	x10, [x10, _QSORT_SHADERNUM_SHIFT@GOTPAGEOFF]
	str	w8, [x3]
Lloh7:
	ldr	w8, [x10]
	mov	w10, w0
	lsr	x8, x10, x8
Lloh8:
	adrp	x10, _MAX_SHADERS@GOTPAGE
Lloh9:
	ldr	x10, [x10, _MAX_SHADERS@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
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_REFENTITYNUM_SHIFT@GOTPAGE
Lloh13:
	ldr	x8, [x8, _QSORT_REFENTITYNUM_SHIFT@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
Lloh15:
	adrp	x9, _REFENTITYNUM_MASK@GOTPAGE
Lloh16:
	ldr	x9, [x9, _REFENTITYNUM_MASK@GOTPAGEOFF]
	lsr	w8, w0, w8
Lloh17:
	ldr	w9, [x9]
	and	w8, w8, w9
	str	w8, [x1]
Lloh18:
	adrp	x8, _QSORT_PSHADOW_SHIFT@GOTPAGE
Lloh19:
	ldr	x8, [x8, _QSORT_PSHADOW_SHIFT@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	lsr	w8, w0, w8
	and	w8, w8, #0x1
	str	w8, [x5]
	and	w8, w0, #0x1
	str	w8, [x4]
	ret
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh11
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh10
	.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_REFENTITYNUM_SHIFT,4,2   ; @QSORT_REFENTITYNUM_SHIFT
	.comm	_REFENTITYNUM_MASK,4,2          ; @REFENTITYNUM_MASK
	.comm	_QSORT_PSHADOW_SHIFT,4,2        ; @QSORT_PSHADOW_SHIFT
.subsections_via_symbols
