	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gl_shader_driver_init
_gl_shader_driver_init:                 ## @gl_shader_driver_init
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_config_get_ptr
	movq	%rax, %r14
	movq	8(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	8(%rax), %rcx
	testq	%rcx, %rcx
	jne	LBB0_4
LBB0_2:
	movl	24(%rbx), %edi
	callq	_gl_shader_driver_set_backend
	movq	%rax, 8(%rbx)
	testq	%rax, %rax
	je	LBB0_10
## %bb.3:
	movq	8(%rax), %rcx
LBB0_4:
	movl	16(%rbx), %esi
	movl	20(%rbx), %edi
	callq	*%rcx
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	movq	%rax, %r15
	movl	(%r14), %edi
	leaq	L_.str(%rip), %rsi
	callq	_string_is_equal
	testq	%rax, %rax
	je	LBB0_9
## %bb.7:
	movq	8(%rbx), %rax
	cmpq	$0, (%rax)
	je	LBB0_9
## %bb.8:
	leaq	L_.str.1(%rip), %rdi
	callq	_RARCH_LOG
	movq	8(%rbx), %rax
	movq	%r15, %rdi
	callq	*(%rax)
LBB0_9:
	movq	%r15, (%rbx)
	movl	$1, %r15d
	jmp	LBB0_10
LBB0_5:
	xorl	%r15d, %r15d
LBB0_10:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"xmb"

L_.str.1:                               ## @.str.1
	.asciz	"Setting up menu pipeline shaders for XMB ... \n"

	.no_dead_strip	_gl_shader_driver_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gl_shader_driver_init
_gl_shader_driver_init:                 ; @gl_shader_driver_init
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
	bl	_config_get_ptr
	mov	x20, x0
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	x8, [x8, #8]
	cbnz	x8, LBB0_4
LBB0_2:
	ldr	w0, [x19, #24]
	bl	_gl_shader_driver_set_backend
	str	x0, [x19, #8]
	cbz	x0, LBB0_9
; %bb.3:
	ldr	x8, [x0, #8]
LBB0_4:
	ldp	w1, w0, [x19, #16]
	blr	x8
	cbz	x0, LBB0_9
; %bb.5:
	mov	x21, x0
	ldr	w0, [x20]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_string_is_equal
	cbz	x0, LBB0_8
; %bb.6:
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
	cbz	x8, LBB0_8
; %bb.7:
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_RARCH_LOG
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
	mov	x0, x21
	blr	x8
LBB0_8:
	str	x21, [x19]
	mov	w0, #1
LBB0_9:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"xmb"

l_.str.1:                               ; @.str.1
	.asciz	"Setting up menu pipeline shaders for XMB ... \n"

	.no_dead_strip	_gl_shader_driver_init
.subsections_via_symbols
