	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function check_instruction_reads
_check_instruction_reads:               ## @check_instruction_reads
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	(%rsi), %rax
	movq	24(%rsi), %rcx
	movl	(%rcx,%rax,4), %ebx
	movq	_QPU_RADDR_A@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_QPU_GET_FIELD
	movq	%rax, %r13
	movq	_QPU_RADDR_B@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_QPU_GET_FIELD
	movq	%rax, %r12
	movq	_QPU_SIG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_QPU_GET_FIELD
	movq	_QPU_R_UNIF@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	%rcx, %r13
	je	LBB0_3
## %bb.1:
	cmpq	%rcx, %r12
	jne	LBB0_5
## %bb.2:
	movq	_QPU_SIG_SMALL_IMM@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_5
LBB0_3:
	addl	$4, (%r14)
	cmpq	$0, 16(%r15)
	je	LBB0_5
## %bb.4:
	leaq	L_.str(%rip), %rdi
	callq	_DRM_DEBUG
	xorl	%ecx, %ecx
	jmp	LBB0_9
LBB0_5:
	andq	$-16, %r13
	cmpq	$16, %r13
	je	LBB0_8
## %bb.6:
	andq	$-16, %r12
	movl	$1, %ecx
	cmpq	$16, %r12
	jne	LBB0_9
## %bb.7:
	movq	_QPU_SIG_SMALL_IMM@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	je	LBB0_9
LBB0_8:
	movl	$1, 8(%r15)
	movl	$1, %ecx
LBB0_9:
	movl	%ecx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_QPU_RADDR_A,4,2                ## @QPU_RADDR_A
	.comm	_QPU_RADDR_B,4,2                ## @QPU_RADDR_B
	.comm	_QPU_SIG,4,2                    ## @QPU_SIG
	.comm	_QPU_R_UNIF,8,3                 ## @QPU_R_UNIF
	.comm	_QPU_SIG_SMALL_IMM,8,3          ## @QPU_SIG_SMALL_IMM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Uniform read with undefined uniform address\n"

	.no_dead_strip	_check_instruction_reads
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function check_instruction_reads
_check_instruction_reads:               ; @check_instruction_reads
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x1
	mov	x20, x0
	ldr	x8, [x1, #24]
	ldr	x9, [x1]
	ldr	w23, [x8, x9, lsl #2]
Lloh0:
	adrp	x8, _QPU_RADDR_A@GOTPAGE
Lloh1:
	ldr	x8, [x8, _QPU_RADDR_A@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x23
	bl	_QPU_GET_FIELD
	mov	x21, x0
Lloh3:
	adrp	x8, _QPU_RADDR_B@GOTPAGE
Lloh4:
	ldr	x8, [x8, _QPU_RADDR_B@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x23
	bl	_QPU_GET_FIELD
	mov	x22, x0
Lloh6:
	adrp	x8, _QPU_SIG@GOTPAGE
Lloh7:
	ldr	x8, [x8, _QPU_SIG@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x23
	bl	_QPU_GET_FIELD
Lloh9:
	adrp	x8, _QPU_R_UNIF@GOTPAGE
Lloh10:
	ldr	x8, [x8, _QPU_R_UNIF@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	cmp	x21, x8
	b.eq	LBB0_2
; %bb.1:
Lloh12:
	adrp	x9, _QPU_SIG_SMALL_IMM@GOTPAGE
Lloh13:
	ldr	x9, [x9, _QPU_SIG_SMALL_IMM@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x22, x8
	ccmp	x0, x9, #4, eq
	b.eq	LBB0_4
LBB0_2:
	ldr	w8, [x20]
	add	w8, w8, #4
	str	w8, [x20]
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_4
; %bb.3:
Lloh15:
	adrp	x0, l_.str@PAGE
Lloh16:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DRM_DEBUG
	mov	w0, #0
	b	LBB0_8
LBB0_4:
	and	x8, x21, #0xfffffffffffffff0
	cmp	x8, #16
	b.eq	LBB0_7
; %bb.5:
	and	x8, x22, #0xfffffffffffffff0
Lloh17:
	adrp	x9, _QPU_SIG_SMALL_IMM@GOTPAGE
Lloh18:
	ldr	x9, [x9, _QPU_SIG_SMALL_IMM@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	cmp	x8, #16
	ccmp	x0, x9, #4, eq
	b.ne	LBB0_7
; %bb.6:
	mov	w0, #1
	b	LBB0_8
LBB0_7:
	mov	w0, #1
	str	w0, [x19, #8]
LBB0_8:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_QPU_RADDR_A,4,2                ; @QPU_RADDR_A
	.comm	_QPU_RADDR_B,4,2                ; @QPU_RADDR_B
	.comm	_QPU_SIG,4,2                    ; @QPU_SIG
	.comm	_QPU_R_UNIF,8,3                 ; @QPU_R_UNIF
	.comm	_QPU_SIG_SMALL_IMM,8,3          ; @QPU_SIG_SMALL_IMM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Uniform read with undefined uniform address\n"

	.no_dead_strip	_check_instruction_reads
.subsections_via_symbols
