	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gl_clear_alpha_buffers         ## -- Begin function gl_clear_alpha_buffers
	.p2align	4, 0x90
_gl_clear_alpha_buffers:                ## @gl_clear_alpha_buffers
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	32(%rdi), %rax
	movq	_GL_FRONT@GOTPCREL(%rip), %rcx
	movq	_GL_FRONT_AND_BACK@GOTPCREL(%rip), %r15
	cmpq	(%rcx), %rax
	je	LBB0_2
## %bb.1:
	cmpq	(%r15), %rax
	jne	LBB0_13
LBB0_2:
	movq	24(%rbx), %rcx
	cmpq	$0, 16(%rcx)
	je	LBB0_13
## %bb.3:
	movq	(%rbx), %rax
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_13
## %bb.4:
	movq	40(%rbx), %rdx
	movl	(%rcx), %r14d
	imull	12(%rdx), %r14d
	cmpq	$0, 16(%rbx)
	je	LBB0_12
## %bb.5:
	cmpl	$0, 8(%rbx)
	jle	LBB0_13
## %bb.6:
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_9 Depth 2
	movl	28(%rax), %edi
	movl	16(%rax), %esi
	addl	%r12d, %esi
	callq	_ALPHA_ADDR
	cmpl	$0, 12(%rbx)
	jle	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_9:                                 ##   Parent Loop BB0_7 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%r14d, (%rax,%rcx,4)
	incq	%rcx
	cmpl	12(%rbx), %ecx
	jl	LBB0_9
LBB0_10:                                ##   in Loop: Header=BB0_7 Depth=1
	incl	%r12d
	cmpl	8(%rbx), %r12d
	jge	LBB0_13
## %bb.11:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	(%rbx), %rax
	jmp	LBB0_7
LBB0_12:
	movl	24(%rax), %edx
	imull	20(%rax), %edx
	movl	%r14d, %esi
	callq	_MEMSET
LBB0_13:
	movq	32(%rbx), %rax
	movq	_GL_BACK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_15
## %bb.14:
	cmpq	(%r15), %rax
	jne	LBB0_26
LBB0_15:
	movq	24(%rbx), %rcx
	cmpq	$0, 8(%rcx)
	je	LBB0_26
## %bb.16:
	movq	(%rbx), %rax
	movq	8(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_26
## %bb.17:
	movq	40(%rbx), %rdx
	movl	(%rcx), %r14d
	imull	12(%rdx), %r14d
	cmpq	$0, 16(%rbx)
	je	LBB0_25
## %bb.18:
	cmpl	$0, 8(%rbx)
	jle	LBB0_26
## %bb.19:
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_20:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_22 Depth 2
	movl	28(%rax), %edi
	movl	16(%rax), %esi
	addl	%r15d, %esi
	callq	_ALPHA_ADDR
	cmpl	$0, 12(%rbx)
	jle	LBB0_23
## %bb.21:                              ##   in Loop: Header=BB0_20 Depth=1
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_22:                                ##   Parent Loop BB0_20 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%r14d, (%rax,%rcx,4)
	incq	%rcx
	cmpl	12(%rbx), %ecx
	jl	LBB0_22
LBB0_23:                                ##   in Loop: Header=BB0_20 Depth=1
	incl	%r15d
	cmpl	8(%rbx), %r15d
	jge	LBB0_26
## %bb.24:                              ##   in Loop: Header=BB0_20 Depth=1
	movq	(%rbx), %rax
	jmp	LBB0_20
LBB0_26:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_25:
	movl	24(%rax), %edx
	imull	20(%rax), %edx
	movl	%r14d, %esi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_MEMSET                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_GL_FRONT,8,3                   ## @GL_FRONT
	.comm	_GL_FRONT_AND_BACK,8,3          ## @GL_FRONT_AND_BACK
	.comm	_GL_BACK,8,3                    ## @GL_BACK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gl_clear_alpha_buffers         ; -- Begin function gl_clear_alpha_buffers
	.p2align	2
_gl_clear_alpha_buffers:                ; @gl_clear_alpha_buffers
	.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	x19, x0
	ldr	x8, [x0, #32]
Lloh0:
	adrp	x9, _GL_FRONT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _GL_FRONT@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x21, _GL_FRONT_AND_BACK@GOTPAGE
Lloh4:
	ldr	x21, [x21, _GL_FRONT_AND_BACK@GOTPAGEOFF]
	ldr	x10, [x21]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_12
; %bb.1:
	ldr	x9, [x19, #24]
	ldr	x8, [x9, #16]
	cbz	x8, LBB0_12
; %bb.2:
	ldr	x8, [x19]
	ldr	x0, [x8]
	cbz	x0, LBB0_12
; %bb.3:
	ldr	x10, [x19, #40]
	ldr	w10, [x10, #12]
	ldr	w9, [x9]
	mul	w20, w9, w10
	ldr	x9, [x19, #16]
	cbz	x9, LBB0_11
; %bb.4:
	ldr	w9, [x19, #8]
	cmp	w9, #1
	b.lt	LBB0_12
; %bb.5:
	mov	w22, #0
LBB0_6:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
	ldr	w0, [x8, #28]
	ldr	w8, [x8, #16]
	add	w1, w8, w22
	bl	_ALPHA_ADDR
	ldr	w8, [x19, #12]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x8, #0
LBB0_8:                                 ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	str	w20, [x0, x8, lsl #2]
	ldr	w9, [x19, #12]
	add	x8, x8, #1
	cmp	w8, w9
	b.lt	LBB0_8
LBB0_9:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	w22, w22, #1
	ldr	w8, [x19, #8]
	cmp	w22, w8
	b.ge	LBB0_12
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x19]
	b	LBB0_6
LBB0_11:
	ldp	w9, w8, [x8, #20]
	mul	w2, w8, w9
	mov	x1, x20
	bl	_MEMSET
LBB0_12:
	ldr	x8, [x19, #32]
Lloh5:
	adrp	x9, _GL_BACK@GOTPAGE
Lloh6:
	ldr	x9, [x9, _GL_BACK@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	ldr	x10, [x21]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_23
; %bb.13:
	ldr	x9, [x19, #24]
	ldr	x8, [x9, #8]
	cbz	x8, LBB0_23
; %bb.14:
	ldr	x8, [x19]
	ldr	x0, [x8, #8]
	cbz	x0, LBB0_23
; %bb.15:
	ldr	x10, [x19, #40]
	ldr	w10, [x10, #12]
	ldr	w9, [x9]
	mul	w20, w9, w10
	ldr	x9, [x19, #16]
	cbz	x9, LBB0_24
; %bb.16:
	ldr	w9, [x19, #8]
	cmp	w9, #1
	b.lt	LBB0_23
; %bb.17:
	mov	w21, #0
LBB0_18:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_20 Depth 2
	ldr	w0, [x8, #28]
	ldr	w8, [x8, #16]
	add	w1, w8, w21
	bl	_ALPHA_ADDR
	ldr	w8, [x19, #12]
	cmp	w8, #1
	b.lt	LBB0_21
; %bb.19:                               ;   in Loop: Header=BB0_18 Depth=1
	mov	x8, #0
LBB0_20:                                ;   Parent Loop BB0_18 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	str	w20, [x0, x8, lsl #2]
	ldr	w9, [x19, #12]
	add	x8, x8, #1
	cmp	w8, w9
	b.lt	LBB0_20
LBB0_21:                                ;   in Loop: Header=BB0_18 Depth=1
	add	w21, w21, #1
	ldr	w8, [x19, #8]
	cmp	w21, w8
	b.ge	LBB0_23
; %bb.22:                               ;   in Loop: Header=BB0_18 Depth=1
	ldr	x8, [x19]
	b	LBB0_18
LBB0_23:
	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_24:
	ldp	w9, w8, [x8, #20]
	mul	w2, w8, w9
	mov	x1, x20
	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	_MEMSET
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_GL_FRONT,8,3                   ; @GL_FRONT
	.comm	_GL_FRONT_AND_BACK,8,3          ; @GL_FRONT_AND_BACK
	.comm	_GL_BACK,8,3                    ; @GL_BACK
.subsections_via_symbols
