	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function a5xx_zap_shader_init
_a5xx_zap_shader_init:                  ## @a5xx_zap_shader_init
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpl	$0, _a5xx_zap_shader_init.loaded(%rip)
	je	LBB0_1
## %bb.2:
	popq	%rbp
	jmp	_a5xx_zap_shader_resume         ## TAILCALL
LBB0_1:
	movq	_GPU_PAS_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_adreno_zap_shader_load
	xorl	%ecx, %ecx
	testl	%eax, %eax
	sete	%cl
	movl	%ecx, _a5xx_zap_shader_init.loaded(%rip)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_a5xx_zap_shader_init.loaded,4,2 ## @a5xx_zap_shader_init.loaded
	.comm	_GPU_PAS_ID,4,2                 ## @GPU_PAS_ID
	.no_dead_strip	_a5xx_zap_shader_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function a5xx_zap_shader_init
_a5xx_zap_shader_init:                  ; @a5xx_zap_shader_init
	.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
	adrp	x19, _a5xx_zap_shader_init.loaded@PAGE
	ldr	w8, [x19, _a5xx_zap_shader_init.loaded@PAGEOFF]
	cbz	w8, LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_a5xx_zap_shader_resume
LBB0_2:
Lloh0:
	adrp	x8, _GPU_PAS_ID@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GPU_PAS_ID@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_adreno_zap_shader_load
	cmp	w0, #0
	cset	w8, eq
	str	w8, [x19, _a5xx_zap_shader_init.loaded@PAGEOFF]
	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
.zerofill __DATA,__bss,_a5xx_zap_shader_init.loaded,4,2 ; @a5xx_zap_shader_init.loaded
	.comm	_GPU_PAS_ID,4,2                 ; @GPU_PAS_ID
	.no_dead_strip	_a5xx_zap_shader_init
.subsections_via_symbols
