	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gl_BlendFunc                   ## -- Begin function gl_BlendFunc
	.p2align	4, 0x90
_gl_BlendFunc:                          ## @gl_BlendFunc
	.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
	movl	%edx, %r14d
	movl	%esi, %r15d
	movq	%rdi, %rbx
	callq	_INSIDE_BEGIN_END
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	_GL_INVALID_OPERATION@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
LBB0_2:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_gl_error                       ## TAILCALL
LBB0_3:
	leal	-128(%r15), %eax
	cmpl	$10, %eax
	ja	LBB0_10
## %bb.4:
	movl	$2029, %ecx                     ## imm = 0x7ED
	btl	%eax, %ecx
	jae	LBB0_10
## %bb.5:
	movl	%r15d, 4(%rbx)
	leal	-128(%r14), %eax
	cmpl	$10, %eax
	ja	LBB0_8
## %bb.6:
	movl	$1467, %ecx                     ## imm = 0x5BB
	btl	%eax, %ecx
	jae	LBB0_8
## %bb.7:
	movl	%r14d, 8(%rbx)
LBB0_9:
	movq	_NEW_RASTER_OPS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movq	_GL_INVALID_ENUM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	jmp	LBB0_2
LBB0_8:
	movq	_GL_INVALID_ENUM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.2(%rip), %rdx
	movq	%rbx, %rdi
	callq	_gl_error
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_GL_INVALID_OPERATION,4,2       ## @GL_INVALID_OPERATION
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"glBlendFunc"

	.comm	_GL_INVALID_ENUM,4,2            ## @GL_INVALID_ENUM
L_.str.1:                               ## @.str.1
	.asciz	"glBlendFunc(sfactor)"

L_.str.2:                               ## @.str.2
	.asciz	"glBlendFunc(dfactor)"

	.comm	_NEW_RASTER_OPS,4,2             ## @NEW_RASTER_OPS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gl_BlendFunc                   ; -- Begin function gl_BlendFunc
	.p2align	2
_gl_BlendFunc:                          ; @gl_BlendFunc
	.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	x20, x2
	mov	x21, x1
	mov	x19, x0
	bl	_INSIDE_BEGIN_END
	cbz	x0, LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _GL_INVALID_OPERATION@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GL_INVALID_OPERATION@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
LBB0_2:
	mov	x0, x19
	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
	b	_gl_error
LBB0_3:
	sub	w8, w21, #128
	cmp	w8, #10
	b.hi	LBB0_9
; %bb.4:
	mov	w9, #1
	lsl	w8, w9, w8
	mov	w9, #2029
	tst	w8, w9
	b.eq	LBB0_9
; %bb.5:
	str	w21, [x19, #4]
	sub	w8, w20, #128
	cmp	w8, #10
	b.hi	LBB0_10
; %bb.6:
	mov	w9, #1
	lsl	w8, w9, w8
	mov	w9, #1467
	tst	w8, w9
	b.eq	LBB0_10
; %bb.7:
	str	w20, [x19, #8]
LBB0_8:
Lloh5:
	adrp	x8, _NEW_RASTER_OPS@GOTPAGE
Lloh6:
	ldr	x8, [x8, _NEW_RASTER_OPS@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
	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
LBB0_9:
Lloh8:
	adrp	x8, _GL_INVALID_ENUM@GOTPAGE
Lloh9:
	ldr	x8, [x8, _GL_INVALID_ENUM@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
Lloh11:
	adrp	x2, l_.str.1@PAGE
Lloh12:
	add	x2, x2, l_.str.1@PAGEOFF
	b	LBB0_2
LBB0_10:
Lloh13:
	adrp	x8, _GL_INVALID_ENUM@GOTPAGE
Lloh14:
	ldr	x8, [x8, _GL_INVALID_ENUM@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
Lloh16:
	adrp	x2, l_.str.2@PAGE
Lloh17:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_gl_error
	b	LBB0_8
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_GL_INVALID_OPERATION,4,2       ; @GL_INVALID_OPERATION
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"glBlendFunc"

	.comm	_GL_INVALID_ENUM,4,2            ; @GL_INVALID_ENUM
l_.str.1:                               ; @.str.1
	.asciz	"glBlendFunc(sfactor)"

l_.str.2:                               ; @.str.2
	.asciz	"glBlendFunc(dfactor)"

	.comm	_NEW_RASTER_OPS,4,2             ; @NEW_RASTER_OPS
.subsections_via_symbols
