	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gl2_renderchain_bind_prev_texture
_gl2_renderchain_bind_prev_texture:     ## @gl2_renderchain_bind_prev_texture
	.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	%rdx, %r15
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	40(%rdi), %rsi
	leaq	4(%rsi), %rdi
	movl	(%rbx), %eax
	leal	-4(,%rax,4), %edx
	callq	_memmove
	movq	40(%rbx), %rdi
	movq	%r15, %rsi
	movl	$4, %edx
	callq	_memcpy
	cmpq	$0, 32(%rbx)
	je	LBB0_2
## %bb.1:
	movq	24(%rbx), %rax
	movq	8(%rbx), %rcx
	movq	16(%rbx), %rdx
	movq	8(%r14), %rsi
	movq	(%rsi,%rcx,8), %rdi
	movq	%rdi, 24(%rbx)
	movq	(%r14), %rdi
	movq	(%rdi,%rcx,8), %rdi
	movq	%rdi, 16(%rbx)
	movq	%rax, (%rsi,%rcx,8)
	movq	(%r14), %rax
	movq	%rdx, (%rax,%rcx,8)
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_gl2_renderchain_bind_prev_texture
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gl2_renderchain_bind_prev_texture
_gl2_renderchain_bind_prev_texture:     ; @gl2_renderchain_bind_prev_texture
	.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	x21, x2
	mov	x19, x1
	mov	x20, x0
	ldr	x1, [x0, #40]
	add	x0, x1, #4
	ldr	w8, [x20]
	lsl	w8, w8, #2
	sub	w2, w8, #4
	bl	_memmove
	ldr	x0, [x20, #40]
	mov	x1, x21
	mov	w2, #4
	bl	_memcpy
	ldr	x8, [x20, #32]
	cbz	x8, LBB0_2
; %bb.1:
	ldp	x9, x8, [x20, #16]
	ldr	x10, [x20, #8]
	lsl	x10, x10, #3
	ldp	x12, x11, [x19]
	ldr	x13, [x11, x10]
	str	x13, [x20, #24]
	ldr	x12, [x12, x10]
	str	x12, [x20, #16]
	str	x8, [x11, x10]
	ldr	x8, [x19]
	str	x9, [x8, x10]
LBB0_2:
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_gl2_renderchain_bind_prev_texture
.subsections_via_symbols
