	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dir_check_shader
_dir_check_shader:                      ## @dir_check_shader
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_dir_shader_list@GOTPCREL(%rip), %r8
	movq	8(%r8), %rcx
	testq	%rcx, %rcx
	je	LBB0_10
## %bb.1:
	testl	%edi, %edi
	je	LBB0_4
## %bb.2:
	movl	(%r8), %eax
	cmpb	$1, _dir_check_shader.change_triggered(%rip)
	jne	LBB0_9
## %bb.3:
	incl	%eax
	cltd
	idivl	(%rcx)
	movl	%edx, %eax
	jmp	LBB0_8
LBB0_4:
	testl	%esi, %esi
	je	LBB0_10
## %bb.5:
	movl	(%r8), %eax
	testl	%eax, %eax
	jne	LBB0_7
## %bb.6:
	movl	(%rcx), %eax
LBB0_7:
	decl	%eax
LBB0_8:
	movl	%eax, (%r8)
LBB0_9:
	movb	$1, _dir_check_shader.change_triggered(%rip)
	movq	8(%rcx), %rcx
	cltq
	movl	(%rcx,%rax,4), %edi
	popq	%rbp
	jmp	_command_set_shader             ## TAILCALL
LBB0_10:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_dir_shader_list,4,2            ## @dir_shader_list
.zerofill __DATA,__bss,_dir_check_shader.change_triggered,1,2 ## @dir_check_shader.change_triggered
	.no_dead_strip	_dir_check_shader
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dir_check_shader
_dir_check_shader:                      ; @dir_check_shader
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x9, _dir_shader_list@GOTPAGE
Lloh1:
	ldr	x9, [x9, _dir_shader_list@GOTPAGEOFF]
	ldr	x8, [x9, #8]
	cbz	x8, LBB0_10
; %bb.1:
	adrp	x10, _dir_check_shader.change_triggered@PAGE
	cbz	w0, LBB0_4
; %bb.2:
	ldrb	w12, [x10, _dir_check_shader.change_triggered@PAGEOFF]
	ldr	w11, [x9]
	cmp	w12, #1
	b.ne	LBB0_9
; %bb.3:
	add	w11, w11, #1
	ldr	w12, [x8]
	sdiv	w13, w11, w12
	msub	w11, w13, w12, w11
	b	LBB0_8
LBB0_4:
	cbz	w1, LBB0_10
; %bb.5:
	ldr	w11, [x9]
	cbnz	w11, LBB0_7
; %bb.6:
	ldr	w11, [x8]
LBB0_7:
	sub	w11, w11, #1
LBB0_8:
	str	w11, [x9]
LBB0_9:
	mov	w9, #1
	strb	w9, [x10, _dir_check_shader.change_triggered@PAGEOFF]
	ldr	x8, [x8, #8]
	ldr	w0, [x8, w11, sxtw #2]
	b	_command_set_shader
LBB0_10:
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_dir_shader_list,4,2            ; @dir_shader_list
.zerofill __DATA,__bss,_dir_check_shader.change_triggered,1,2 ; @dir_check_shader.change_triggered
	.no_dead_strip	_dir_check_shader
.subsections_via_symbols
