	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_khrn_error_assist              ## -- Begin function khrn_error_assist
	.p2align	4, 0x90
_khrn_error_assist:                     ## @khrn_error_assist
	.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	_khrn_options@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_11
## %bb.1:
	movl	%edi, %ebx
	movq	_GL_NO_ERROR@GOTPCREL(%rip), %rax
	cmpl	%edi, (%rax)
	je	LBB0_11
## %bb.2:
	movq	%rsi, %r14
	movq	_stderr@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	leal	-128(%rbx), %eax
	cmpl	$3, %eax
	ja	LBB0_9
## %bb.3:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_8:
	movl	(%r15), %edi
	leaq	L_.str.4(%rip), %rsi
	jmp	LBB0_5
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movl	(%r15), %edi
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_5
LBB0_7:
	movl	(%r15), %edi
	leaq	L_.str.3(%rip), %rsi
	jmp	LBB0_5
LBB0_4:
	movl	(%r15), %edi
	leaq	L_.str.1(%rip), %rsi
LBB0_5:
	movq	%r14, %rdx
	xorl	%eax, %eax
	callq	_fprintf
LBB0_10:
	movl	(%r15), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_fflush                         ## TAILCALL
LBB0_9:
	movl	(%r15), %edi
	leaq	L_.str.5(%rip), %rsi
	movl	%ebx, %edx
	movq	%r14, %rcx
	xorl	%eax, %eax
	callq	_fprintf
	jmp	LBB0_10
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
LJTI0_0:
	.long	L0_0_set_8
	.long	L0_0_set_6
	.long	L0_0_set_7
	.long	L0_0_set_4
	.end_data_region
                                        ## -- End function
	.comm	_khrn_options,8,3               ## @khrn_options
	.comm	_GL_NO_ERROR,4,2                ## @GL_NO_ERROR
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"V3D ERROR ASSIST : "

L_.str.1:                               ## @.str.1
	.asciz	"GL_INVALID_ENUM in %s\n"

L_.str.2:                               ## @.str.2
	.asciz	"GL_INVALID_VALUE in %s\n"

L_.str.3:                               ## @.str.3
	.asciz	"GL_INVALID_OPERATION in %s\n"

L_.str.4:                               ## @.str.4
	.asciz	"GL_OUT_OF_MEMORY in %s\n"

L_.str.5:                               ## @.str.5
	.asciz	"ERROR CODE %d in %s\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_khrn_error_assist              ; -- Begin function khrn_error_assist
	.p2align	2
_khrn_error_assist:                     ; @khrn_error_assist
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
Lloh0:
	adrp	x8, _khrn_options@GOTPAGE
Lloh1:
	ldr	x8, [x8, _khrn_options@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _GL_NO_ERROR@GOTPAGE
Lloh4:
	ldr	x9, [x9, _GL_NO_ERROR@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	x8, #0
	ccmp	w9, w0, #4, ne
	b.ne	LBB0_2
; %bb.1:
	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
	add	sp, sp, #64
	ret
LBB0_2:
	mov	x19, x1
	mov	x20, x0
Lloh6:
	adrp	x21, _stderr@GOTPAGE
Lloh7:
	ldr	x21, [x21, _stderr@GOTPAGEOFF]
	ldr	w0, [x21]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf
	sub	w8, w20, #128
	cmp	w8, #3
	b.hi	LBB0_5
; %bb.3:
Lloh10:
	adrp	x9, lJTI0_0@PAGE
Lloh11:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_4
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_4:
	ldr	w0, [x21]
	str	x19, [sp]
Lloh12:
	adrp	x1, l_.str.4@PAGE
Lloh13:
	add	x1, x1, l_.str.4@PAGEOFF
	b	LBB0_9
LBB0_5:
	ldr	w0, [x21]
	stp	x20, x19, [sp]
Lloh14:
	adrp	x1, l_.str.5@PAGE
Lloh15:
	add	x1, x1, l_.str.5@PAGEOFF
	b	LBB0_9
LBB0_6:
	ldr	w0, [x21]
	str	x19, [sp]
Lloh16:
	adrp	x1, l_.str.2@PAGE
Lloh17:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_9
LBB0_7:
	ldr	w0, [x21]
	str	x19, [sp]
Lloh18:
	adrp	x1, l_.str.3@PAGE
Lloh19:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_9
LBB0_8:
	ldr	w0, [x21]
	str	x19, [sp]
Lloh20:
	adrp	x1, l_.str.1@PAGE
Lloh21:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_9:
	bl	_fprintf
	ldr	w0, [x21]
	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
	add	sp, sp, #64
	b	_fflush
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_6-LBB0_4)>>2
	.byte	(LBB0_7-LBB0_4)>>2
	.byte	(LBB0_8-LBB0_4)>>2
                                        ; -- End function
	.comm	_khrn_options,8,3               ; @khrn_options
	.comm	_GL_NO_ERROR,4,2                ; @GL_NO_ERROR
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"V3D ERROR ASSIST : "

l_.str.1:                               ; @.str.1
	.asciz	"GL_INVALID_ENUM in %s\n"

l_.str.2:                               ; @.str.2
	.asciz	"GL_INVALID_VALUE in %s\n"

l_.str.3:                               ; @.str.3
	.asciz	"GL_INVALID_OPERATION in %s\n"

l_.str.4:                               ; @.str.4
	.asciz	"GL_OUT_OF_MEMORY in %s\n"

l_.str.5:                               ; @.str.5
	.asciz	"ERROR CODE %d in %s\n"

.subsections_via_symbols
