	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_context_bind_texture           ## -- Begin function context_bind_texture
	.p2align	4, 0x90
_context_bind_texture:                  ## @context_bind_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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	24(%rdi), %r12
	movq	16(%rdi), %r13
	movq	(%rdi), %rcx
	movq	8(%rdi), %rax
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movq	(%rax,%rcx,8), %rbx
	testl	%edx, %edx
	je	LBB0_1
## %bb.2:
	movq	%rsi, %r14
	movl	%r14d, %edi
	movl	%edx, %esi
	callq	*(%r13)
	cmpq	%r14, %rbx
	jne	LBB0_4
	jmp	LBB0_20
LBB0_1:
	movl	$139, %r14d
	cmpq	%r14, %rbx
	je	LBB0_20
LBB0_4:
	leaq	-128(%rbx), %rax
	cmpq	$11, %rax
	ja	LBB0_18
## %bb.5:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_11:
	movl	24(%r12), %esi
	movl	$128, %edi
	callq	*(%r13)
	jmp	LBB0_19
LBB0_18:
	leaq	L_.str.1(%rip), %rdi
	movq	%rbx, %rsi
	callq	_ERR
	jmp	LBB0_19
LBB0_13:
	movl	16(%r12), %esi
	movl	$129, %edi
	callq	*(%r13)
	jmp	LBB0_19
LBB0_12:
	movl	20(%r12), %esi
	movl	$130, %edi
	callq	*(%r13)
	jmp	LBB0_19
LBB0_15:
	movl	8(%r12), %esi
	movl	$131, %edi
	callq	*(%r13)
	jmp	LBB0_19
LBB0_14:
	movl	12(%r12), %esi
	movl	$132, %edi
	callq	*(%r13)
	jmp	LBB0_19
LBB0_17:
	movl	(%r12), %esi
	movl	$133, %edi
	callq	*(%r13)
	jmp	LBB0_19
LBB0_16:
	movl	4(%r12), %esi
	movl	$134, %edi
	callq	*(%r13)
	jmp	LBB0_19
LBB0_10:
	movl	28(%r12), %esi
	movl	$135, %edi
	callq	*(%r13)
	jmp	LBB0_19
LBB0_9:
	movl	32(%r12), %esi
	movl	$136, %edi
	callq	*(%r13)
	jmp	LBB0_19
LBB0_8:
	movl	36(%r12), %esi
	movl	$137, %edi
	jmp	LBB0_7
LBB0_6:
	movl	40(%r12), %esi
	movl	$138, %edi
LBB0_7:
	callq	*(%r13)
	leaq	L_.str(%rip), %rdi
	callq	_checkGLcall
LBB0_19:
	movq	8(%r15), %rax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%r14, (%rax,%rcx,8)
LBB0_20:
	leaq	L_.str.2(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_checkGLcall                    ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_19, LBB0_19-LJTI0_0
LJTI0_0:
	.long	L0_0_set_11
	.long	L0_0_set_13
	.long	L0_0_set_12
	.long	L0_0_set_15
	.long	L0_0_set_14
	.long	L0_0_set_17
	.long	L0_0_set_16
	.long	L0_0_set_10
	.long	L0_0_set_9
	.long	L0_0_set_8
	.long	L0_0_set_6
	.long	L0_0_set_19
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"glBindTexture"

L_.str.1:                               ## @.str.1
	.asciz	"Unexpected texture target %#x.\n"

L_.str.2:                               ## @.str.2
	.asciz	"bind texture"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_context_bind_texture           ; -- Begin function context_bind_texture
	.p2align	2
_context_bind_texture:                  ; @context_bind_texture
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x0
	ldp	x24, x23, [x0, #16]
	ldp	x22, x8, [x0]
	ldr	x21, [x8, x22, lsl #3]
	cbz	w2, LBB0_2
; %bb.1:
	mov	x19, x1
	ldr	x8, [x24]
	mov	x0, x19
	mov	x1, x2
	blr	x8
	cmp	x21, x19
	b.ne	LBB0_3
	b	LBB0_19
LBB0_2:
	mov	w19, #139
	cmp	x21, x19
	b.eq	LBB0_19
LBB0_3:
	sub	x8, x21, #128
	cmp	x8, #11
	b.hi	LBB0_6
; %bb.4:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_5
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_5:
	ldr	x8, [x24]
	ldr	w1, [x23, #24]
	mov	w0, #128
	blr	x8
	b	LBB0_18
LBB0_6:
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x21
	bl	_ERR
	b	LBB0_18
LBB0_7:
	ldr	x8, [x24]
	ldr	w1, [x23, #16]
	mov	w0, #129
	blr	x8
	b	LBB0_18
LBB0_8:
	ldr	x8, [x24]
	ldr	w1, [x23, #20]
	mov	w0, #130
	blr	x8
	b	LBB0_18
LBB0_9:
	ldr	x8, [x24]
	ldr	w1, [x23, #8]
	mov	w0, #131
	blr	x8
	b	LBB0_18
LBB0_10:
	ldr	x8, [x24]
	ldr	w1, [x23, #12]
	mov	w0, #132
	blr	x8
	b	LBB0_18
LBB0_11:
	ldr	x8, [x24]
	ldr	w1, [x23]
	mov	w0, #133
	blr	x8
	b	LBB0_18
LBB0_12:
	ldr	x8, [x24]
	ldr	w1, [x23, #4]
	mov	w0, #134
	blr	x8
	b	LBB0_18
LBB0_13:
	ldr	x8, [x24]
	ldr	w1, [x23, #28]
	mov	w0, #135
	blr	x8
	b	LBB0_18
LBB0_14:
	ldr	x8, [x24]
	ldr	w1, [x23, #32]
	mov	w0, #136
	blr	x8
	b	LBB0_18
LBB0_15:
	ldr	x8, [x24]
	ldr	w1, [x23, #36]
	mov	w0, #137
	b	LBB0_17
LBB0_16:
	ldr	x8, [x24]
	ldr	w1, [x23, #40]
	mov	w0, #138
LBB0_17:
	blr	x8
Lloh4:
	adrp	x0, l_.str@PAGE
Lloh5:
	add	x0, x0, l_.str@PAGEOFF
	bl	_checkGLcall
LBB0_18:
	ldr	x8, [x20, #8]
	str	x19, [x8, x22, lsl #3]
LBB0_19:
Lloh6:
	adrp	x0, l_.str.2@PAGE
Lloh7:
	add	x0, x0, l_.str.2@PAGEOFF
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_checkGLcall
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_5-LBB0_5)>>2
	.byte	(LBB0_7-LBB0_5)>>2
	.byte	(LBB0_8-LBB0_5)>>2
	.byte	(LBB0_9-LBB0_5)>>2
	.byte	(LBB0_10-LBB0_5)>>2
	.byte	(LBB0_11-LBB0_5)>>2
	.byte	(LBB0_12-LBB0_5)>>2
	.byte	(LBB0_13-LBB0_5)>>2
	.byte	(LBB0_14-LBB0_5)>>2
	.byte	(LBB0_15-LBB0_5)>>2
	.byte	(LBB0_16-LBB0_5)>>2
	.byte	(LBB0_18-LBB0_5)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"glBindTexture"

l_.str.1:                               ; @.str.1
	.asciz	"Unexpected texture target %#x.\n"

l_.str.2:                               ; @.str.2
	.asciz	"bind texture"

.subsections_via_symbols
