	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function shader_glsl_get_shader_model
_shader_glsl_get_shader_model:          ## @shader_glsl_get_shader_model
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	(%rdi), %rbx
	movl	$1, %edi
	movl	$50, %esi
	callq	_MAKEDWORD_VERSION
	cmpq	%rax, %rbx
	jl	LBB0_17
## %bb.1:
	movq	8(%r14), %rcx
	movq	_WINED3D_GL_VERSION_3_2@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	$0, (%rcx,%rax,8)
	je	LBB0_17
## %bb.2:
	movq	_ARB_SAMPLER_OBJECTS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	$0, (%rcx,%rax,8)
	je	LBB0_17
## %bb.3:
	movq	_ARB_SHADER_BIT_ENCODING@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	$0, (%rcx,%rax,8)
	je	LBB0_17
## %bb.4:
	movq	_ARB_TEXTURE_SWIZZLE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	$0, (%rcx,%rax,8)
	je	LBB0_17
## %bb.5:
	movq	_ARB_COMPUTE_SHADER@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movl	$4, %eax
	cmpq	$0, (%rcx,%rdx,8)
	je	LBB0_20
## %bb.6:
	movq	_ARB_CULL_DISTANCE@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	cmpq	$0, (%rcx,%rdx,8)
	je	LBB0_20
## %bb.7:
	movq	_ARB_DERIVATIVE_CONTROL@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	cmpq	$0, (%rcx,%rdx,8)
	je	LBB0_20
## %bb.8:
	movq	_ARB_DRAW_INDIRECT@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	cmpq	$0, (%rcx,%rdx,8)
	je	LBB0_20
## %bb.9:
	movq	_ARB_GPU_SHADER5@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	cmpq	$0, (%rcx,%rdx,8)
	je	LBB0_20
## %bb.10:
	movq	_ARB_SHADER_ATOMIC_COUNTERS@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	cmpq	$0, (%rcx,%rdx,8)
	je	LBB0_20
## %bb.11:
	movq	_ARB_SHADER_IMAGE_LOAD_STORE@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	cmpq	$0, (%rcx,%rdx,8)
	je	LBB0_20
## %bb.12:
	movq	_ARB_SHADER_IMAGE_SIZE@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	cmpq	$0, (%rcx,%rdx,8)
	je	LBB0_20
## %bb.13:
	movq	_ARB_SHADING_LANGUAGE_PACKING@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	cmpq	$0, (%rcx,%rdx,8)
	je	LBB0_20
## %bb.14:
	movq	_ARB_TESSELLATION_SHADER@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	cmpq	$0, (%rcx,%rdx,8)
	je	LBB0_20
## %bb.15:
	movq	_ARB_TEXTURE_GATHER@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	cmpq	$0, (%rcx,%rdx,8)
	je	LBB0_20
## %bb.16:
	movq	_ARB_TRANSFORM_FEEDBACK3@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	$1, (%rcx,%rax,8)
	movl	$5, %eax
	jmp	LBB0_19
LBB0_17:
	movq	%r14, %rdi
	callq	_shader_glsl_has_core_grad
	movq	%rax, %rcx
	movl	$3, %eax
	testq	%rcx, %rcx
	jne	LBB0_20
## %bb.18:
	movq	8(%r14), %rax
	movq	_ARB_SHADER_TEXTURE_LOD@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	$1, (%rax,%rcx,8)
	movl	$3, %eax
LBB0_19:
	sbbl	$0, %eax
LBB0_20:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WINED3D_GL_VERSION_3_2,8,3     ## @WINED3D_GL_VERSION_3_2
	.comm	_ARB_SAMPLER_OBJECTS,8,3        ## @ARB_SAMPLER_OBJECTS
	.comm	_ARB_SHADER_BIT_ENCODING,8,3    ## @ARB_SHADER_BIT_ENCODING
	.comm	_ARB_TEXTURE_SWIZZLE,8,3        ## @ARB_TEXTURE_SWIZZLE
	.comm	_ARB_COMPUTE_SHADER,8,3         ## @ARB_COMPUTE_SHADER
	.comm	_ARB_CULL_DISTANCE,8,3          ## @ARB_CULL_DISTANCE
	.comm	_ARB_DERIVATIVE_CONTROL,8,3     ## @ARB_DERIVATIVE_CONTROL
	.comm	_ARB_DRAW_INDIRECT,8,3          ## @ARB_DRAW_INDIRECT
	.comm	_ARB_GPU_SHADER5,8,3            ## @ARB_GPU_SHADER5
	.comm	_ARB_SHADER_ATOMIC_COUNTERS,8,3 ## @ARB_SHADER_ATOMIC_COUNTERS
	.comm	_ARB_SHADER_IMAGE_LOAD_STORE,8,3 ## @ARB_SHADER_IMAGE_LOAD_STORE
	.comm	_ARB_SHADER_IMAGE_SIZE,8,3      ## @ARB_SHADER_IMAGE_SIZE
	.comm	_ARB_SHADING_LANGUAGE_PACKING,8,3 ## @ARB_SHADING_LANGUAGE_PACKING
	.comm	_ARB_TESSELLATION_SHADER,8,3    ## @ARB_TESSELLATION_SHADER
	.comm	_ARB_TEXTURE_GATHER,8,3         ## @ARB_TEXTURE_GATHER
	.comm	_ARB_TRANSFORM_FEEDBACK3,8,3    ## @ARB_TRANSFORM_FEEDBACK3
	.comm	_ARB_SHADER_TEXTURE_LOD,8,3     ## @ARB_SHADER_TEXTURE_LOD
	.no_dead_strip	_shader_glsl_get_shader_model
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function shader_glsl_get_shader_model
_shader_glsl_get_shader_model:          ; @shader_glsl_get_shader_model
	.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	x20, [x0]
	mov	w0, #1
	mov	w1, #50
	bl	_MAKEDWORD_VERSION
	cmp	x20, x0
	b.lt	LBB0_17
; %bb.1:
	ldr	x8, [x19, #8]
Lloh0:
	adrp	x9, _WINED3D_GL_VERSION_3_2@GOTPAGE
Lloh1:
	ldr	x9, [x9, _WINED3D_GL_VERSION_3_2@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	ldr	x9, [x8, x9, lsl #3]
	cbz	x9, LBB0_17
; %bb.2:
Lloh3:
	adrp	x9, _ARB_SAMPLER_OBJECTS@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ARB_SAMPLER_OBJECTS@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	ldr	x9, [x8, x9, lsl #3]
	cbz	x9, LBB0_17
; %bb.3:
Lloh6:
	adrp	x9, _ARB_SHADER_BIT_ENCODING@GOTPAGE
Lloh7:
	ldr	x9, [x9, _ARB_SHADER_BIT_ENCODING@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	ldr	x9, [x8, x9, lsl #3]
	cbz	x9, LBB0_17
; %bb.4:
Lloh9:
	adrp	x9, _ARB_TEXTURE_SWIZZLE@GOTPAGE
Lloh10:
	ldr	x9, [x9, _ARB_TEXTURE_SWIZZLE@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	ldr	x9, [x8, x9, lsl #3]
	cbz	x9, LBB0_17
; %bb.5:
Lloh12:
	adrp	x9, _ARB_COMPUTE_SHADER@GOTPAGE
Lloh13:
	ldr	x9, [x9, _ARB_COMPUTE_SHADER@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	ldr	x9, [x8, x9, lsl #3]
	cbz	x9, LBB0_21
; %bb.6:
Lloh15:
	adrp	x9, _ARB_CULL_DISTANCE@GOTPAGE
Lloh16:
	ldr	x9, [x9, _ARB_CULL_DISTANCE@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	ldr	x9, [x8, x9, lsl #3]
	cbz	x9, LBB0_21
; %bb.7:
Lloh18:
	adrp	x9, _ARB_DERIVATIVE_CONTROL@GOTPAGE
Lloh19:
	ldr	x9, [x9, _ARB_DERIVATIVE_CONTROL@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	ldr	x9, [x8, x9, lsl #3]
	cbz	x9, LBB0_21
; %bb.8:
Lloh21:
	adrp	x9, _ARB_DRAW_INDIRECT@GOTPAGE
Lloh22:
	ldr	x9, [x9, _ARB_DRAW_INDIRECT@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x9]
	ldr	x9, [x8, x9, lsl #3]
	cbz	x9, LBB0_21
; %bb.9:
Lloh24:
	adrp	x9, _ARB_GPU_SHADER5@GOTPAGE
Lloh25:
	ldr	x9, [x9, _ARB_GPU_SHADER5@GOTPAGEOFF]
Lloh26:
	ldr	x9, [x9]
	ldr	x9, [x8, x9, lsl #3]
	cbz	x9, LBB0_21
; %bb.10:
Lloh27:
	adrp	x9, _ARB_SHADER_ATOMIC_COUNTERS@GOTPAGE
Lloh28:
	ldr	x9, [x9, _ARB_SHADER_ATOMIC_COUNTERS@GOTPAGEOFF]
Lloh29:
	ldr	x9, [x9]
	ldr	x9, [x8, x9, lsl #3]
	cbz	x9, LBB0_21
; %bb.11:
Lloh30:
	adrp	x9, _ARB_SHADER_IMAGE_LOAD_STORE@GOTPAGE
Lloh31:
	ldr	x9, [x9, _ARB_SHADER_IMAGE_LOAD_STORE@GOTPAGEOFF]
Lloh32:
	ldr	x9, [x9]
	ldr	x9, [x8, x9, lsl #3]
	cbz	x9, LBB0_21
; %bb.12:
Lloh33:
	adrp	x9, _ARB_SHADER_IMAGE_SIZE@GOTPAGE
Lloh34:
	ldr	x9, [x9, _ARB_SHADER_IMAGE_SIZE@GOTPAGEOFF]
Lloh35:
	ldr	x9, [x9]
	ldr	x9, [x8, x9, lsl #3]
	cbz	x9, LBB0_21
; %bb.13:
Lloh36:
	adrp	x9, _ARB_SHADING_LANGUAGE_PACKING@GOTPAGE
Lloh37:
	ldr	x9, [x9, _ARB_SHADING_LANGUAGE_PACKING@GOTPAGEOFF]
Lloh38:
	ldr	x9, [x9]
	ldr	x9, [x8, x9, lsl #3]
	cbz	x9, LBB0_21
; %bb.14:
Lloh39:
	adrp	x9, _ARB_TESSELLATION_SHADER@GOTPAGE
Lloh40:
	ldr	x9, [x9, _ARB_TESSELLATION_SHADER@GOTPAGEOFF]
Lloh41:
	ldr	x9, [x9]
	ldr	x9, [x8, x9, lsl #3]
	cbz	x9, LBB0_21
; %bb.15:
Lloh42:
	adrp	x9, _ARB_TEXTURE_GATHER@GOTPAGE
Lloh43:
	ldr	x9, [x9, _ARB_TEXTURE_GATHER@GOTPAGEOFF]
Lloh44:
	ldr	x9, [x9]
	ldr	x9, [x8, x9, lsl #3]
	mov	w0, #4
	cbz	x9, LBB0_20
; %bb.16:
Lloh45:
	adrp	x9, _ARB_TRANSFORM_FEEDBACK3@GOTPAGE
Lloh46:
	ldr	x9, [x9, _ARB_TRANSFORM_FEEDBACK3@GOTPAGEOFF]
Lloh47:
	ldr	x9, [x9]
	ldr	x8, [x8, x9, lsl #3]
	cmp	x8, #0
	cinc	w0, w0, ne
	b	LBB0_20
LBB0_17:
	mov	x0, x19
	bl	_shader_glsl_has_core_grad
	cbz	x0, LBB0_19
; %bb.18:
	mov	w0, #3
	b	LBB0_20
LBB0_19:
	ldr	x8, [x19, #8]
Lloh48:
	adrp	x9, _ARB_SHADER_TEXTURE_LOD@GOTPAGE
Lloh49:
	ldr	x9, [x9, _ARB_SHADER_TEXTURE_LOD@GOTPAGEOFF]
Lloh50:
	ldr	x9, [x9]
	ldr	x8, [x8, x9, lsl #3]
	cmp	x8, #0
	mov	w8, #2
	cinc	w0, w8, ne
LBB0_20:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_21:
	mov	w0, #4
	b	LBB0_20
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.cfi_endproc
                                        ; -- End function
	.comm	_WINED3D_GL_VERSION_3_2,8,3     ; @WINED3D_GL_VERSION_3_2
	.comm	_ARB_SAMPLER_OBJECTS,8,3        ; @ARB_SAMPLER_OBJECTS
	.comm	_ARB_SHADER_BIT_ENCODING,8,3    ; @ARB_SHADER_BIT_ENCODING
	.comm	_ARB_TEXTURE_SWIZZLE,8,3        ; @ARB_TEXTURE_SWIZZLE
	.comm	_ARB_COMPUTE_SHADER,8,3         ; @ARB_COMPUTE_SHADER
	.comm	_ARB_CULL_DISTANCE,8,3          ; @ARB_CULL_DISTANCE
	.comm	_ARB_DERIVATIVE_CONTROL,8,3     ; @ARB_DERIVATIVE_CONTROL
	.comm	_ARB_DRAW_INDIRECT,8,3          ; @ARB_DRAW_INDIRECT
	.comm	_ARB_GPU_SHADER5,8,3            ; @ARB_GPU_SHADER5
	.comm	_ARB_SHADER_ATOMIC_COUNTERS,8,3 ; @ARB_SHADER_ATOMIC_COUNTERS
	.comm	_ARB_SHADER_IMAGE_LOAD_STORE,8,3 ; @ARB_SHADER_IMAGE_LOAD_STORE
	.comm	_ARB_SHADER_IMAGE_SIZE,8,3      ; @ARB_SHADER_IMAGE_SIZE
	.comm	_ARB_SHADING_LANGUAGE_PACKING,8,3 ; @ARB_SHADING_LANGUAGE_PACKING
	.comm	_ARB_TESSELLATION_SHADER,8,3    ; @ARB_TESSELLATION_SHADER
	.comm	_ARB_TEXTURE_GATHER,8,3         ; @ARB_TEXTURE_GATHER
	.comm	_ARB_TRANSFORM_FEEDBACK3,8,3    ; @ARB_TRANSFORM_FEEDBACK3
	.comm	_ARB_SHADER_TEXTURE_LOD,8,3     ; @ARB_SHADER_TEXTURE_LOD
	.no_dead_strip	_shader_glsl_get_shader_model
.subsections_via_symbols
