	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gl_cg_shader_scale
_gl_cg_shader_scale:                    ## @gl_cg_shader_scale
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $esi killed $esi def $rsi
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.1:
	testl	%esi, %esi
	je	LBB0_3
## %bb.2:
	movq	(%rdi), %rax
	movq	(%rax), %rax
	decl	%esi
	movl	(%rax,%rsi,4), %eax
	movl	%eax, (%rdx)
	popq	%rbp
	retq
LBB0_3:
	movl	$0, (%rdx)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_gl_cg_shader_scale
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gl_cg_shader_scale
_gl_cg_shader_scale:                    ; @gl_cg_shader_scale
	.cfi_startproc
; %bb.0:
	cbz	x0, LBB0_3
; %bb.1:
	cbz	w1, LBB0_3
; %bb.2:
	ldr	x8, [x0]
	ldr	x8, [x8]
	sub	w9, w1, #1
	ldr	w8, [x8, w9, uxtw #2]
	str	w8, [x2]
	ret
LBB0_3:
	str	wzr, [x2]
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_gl_cg_shader_scale
.subsections_via_symbols
