	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_GLSL_DeleteGPUShader           ## -- Begin function GLSL_DeleteGPUShader
	.p2align	4, 0x90
_GLSL_DeleteGPUShader:                  ## @GLSL_DeleteGPUShader
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	8(%rdi), %rdi
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.1:
	movq	24(%rbx), %rsi
	testq	%rsi, %rsi
	je	LBB0_3
## %bb.2:
	callq	_qglDetachShader
	movq	24(%rbx), %rdi
	callq	_qglDeleteShader
LBB0_3:
	movq	16(%rbx), %rsi
	testq	%rsi, %rsi
	je	LBB0_5
## %bb.4:
	movq	8(%rbx), %rdi
	callq	_qglDetachShader
	movq	16(%rbx), %rdi
	callq	_qglDeleteShader
LBB0_5:
	movq	8(%rbx), %rdi
	callq	_qglDeleteProgram
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.6:
	movq	_ri@GOTPCREL(%rip), %rax
	callq	*(%rax)
LBB0_7:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$32, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_Com_Memset                     ## TAILCALL
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ri,8,3                         ## @ri
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_GLSL_DeleteGPUShader           ; -- Begin function GLSL_DeleteGPUShader
	.p2align	2
_GLSL_DeleteGPUShader:                  ; @GLSL_DeleteGPUShader
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x0, [x0, #8]
	cbz	x0, LBB0_8
; %bb.1:
	ldr	x1, [x19, #24]
	cbz	x1, LBB0_3
; %bb.2:
	bl	_qglDetachShader
	ldr	x0, [x19, #24]
	bl	_qglDeleteShader
LBB0_3:
	ldr	x1, [x19, #16]
	cbz	x1, LBB0_5
; %bb.4:
	ldr	x0, [x19, #8]
	bl	_qglDetachShader
	ldr	x0, [x19, #16]
	bl	_qglDeleteShader
LBB0_5:
	ldr	x0, [x19, #8]
	bl	_qglDeleteProgram
	ldr	x0, [x19]
	cbz	x0, LBB0_7
; %bb.6:
Lloh0:
	adrp	x8, _ri@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ri@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	blr	x8
LBB0_7:
	mov	x0, x19
	mov	w1, #0
	mov	w2, #32
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_Com_Memset
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ri,8,3                         ; @ri
.subsections_via_symbols
