	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gl_glsl_wrap_type
_gl_glsl_wrap_type:                     ## @gl_glsl_wrap_type
	.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
	movq	_RARCH_WRAP_BORDER@GOTPCREL(%rip), %rax
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.1:
	testl	%esi, %esi
	je	LBB0_3
## %bb.2:
	movq	(%rdi), %rax
	decl	%esi
	shlq	$2, %rsi
	addq	(%rax), %rsi
	movq	%rsi, %rax
LBB0_3:
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RARCH_WRAP_BORDER,4,2          ## @RARCH_WRAP_BORDER
	.no_dead_strip	_gl_glsl_wrap_type
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gl_glsl_wrap_type
_gl_glsl_wrap_type:                     ; @gl_glsl_wrap_type
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _RARCH_WRAP_BORDER@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RARCH_WRAP_BORDER@GOTPAGEOFF]
	cbz	x0, LBB0_3
; %bb.1:
	cbz	w1, LBB0_3
; %bb.2:
	ldr	x8, [x0]
	ldr	x8, [x8]
	sub	w9, w1, #1
	add	x8, x8, w9, uxtw #2
LBB0_3:
	ldr	w0, [x8]
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_RARCH_WRAP_BORDER,4,2          ; @RARCH_WRAP_BORDER
	.no_dead_strip	_gl_glsl_wrap_type
.subsections_via_symbols
