	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gl_clear_depth_buffer          ## -- Begin function gl_clear_depth_buffer
	.p2align	4, 0x90
_gl_clear_depth_buffer:                 ## @gl_clear_depth_buffer
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	16(%rdi), %rax
	cmpq	$0, (%rax)
	je	LBB0_18
## %bb.1:
	movq	%rdi, %r14
	movq	(%rdi), %rdx
	movq	(%rdx), %rax
	testq	%rax, %rax
	je	LBB0_18
## %bb.2:
	movslq	24(%r14), %rcx
	movq	_DEPTH_SCALE@GOTPCREL(%rip), %rsi
	movslq	(%rsi), %rbx
	imulq	%rcx, %rbx
	cmpq	$0, 8(%r14)
	je	LBB0_19
## %bb.3:
	movq	8(%rdx), %r15
	cmpq	16(%rdx), %r15
	jg	LBB0_18
## %bb.4:
	movabsq	$9223372036854775800, %r12      ## imm = 0x7FFFFFFFFFFFFFF8
	movq	%rbx, %xmm0
	pshufd	$68, %xmm0, %xmm0               ## xmm0 = xmm0[0,1,0,1]
	movdqa	%xmm0, -48(%rbp)                ## 16-byte Spill
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_5 Depth=1
	leaq	1(%r15), %rax
	movq	(%r14), %rdx
	cmpq	16(%rdx), %r15
	movq	%rax, %r15
	jge	LBB0_18
LBB0_5:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_9 Depth 2
                                        ##     Child Loop BB0_12 Depth 2
                                        ##     Child Loop BB0_16 Depth 2
	movq	24(%rdx), %rsi
	movq	%r14, %rdi
	movq	%r15, %rdx
	callq	_Z_ADDRESS
	movq	(%r14), %rdx
	movq	32(%rdx), %rcx
	subq	24(%rdx), %rcx
	incq	%rcx
	cmpq	$4, %rcx
	jb	LBB0_15
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	%rcx, %r8
	andq	$-4, %r8
	leaq	-4(%r8), %rdx
	movq	%rdx, %rdi
	shrq	$2, %rdi
	incq	%rdi
	movl	%edi, %esi
	andl	$7, %esi
	cmpq	$28, %rdx
	jae	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	xorl	%edx, %edx
	movdqa	-48(%rbp), %xmm0                ## 16-byte Reload
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=1
	andq	%r12, %rdi
	xorl	%edx, %edx
	movdqa	-48(%rbp), %xmm0                ## 16-byte Reload
	.p2align	4, 0x90
LBB0_9:                                 ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movdqu	%xmm0, (%rax,%rdx,8)
	movdqu	%xmm0, 16(%rax,%rdx,8)
	movdqu	%xmm0, 32(%rax,%rdx,8)
	movdqu	%xmm0, 48(%rax,%rdx,8)
	movdqu	%xmm0, 64(%rax,%rdx,8)
	movdqu	%xmm0, 80(%rax,%rdx,8)
	movdqu	%xmm0, 96(%rax,%rdx,8)
	movdqu	%xmm0, 112(%rax,%rdx,8)
	movdqu	%xmm0, 128(%rax,%rdx,8)
	movdqu	%xmm0, 144(%rax,%rdx,8)
	movdqu	%xmm0, 160(%rax,%rdx,8)
	movdqu	%xmm0, 176(%rax,%rdx,8)
	movdqu	%xmm0, 192(%rax,%rdx,8)
	movdqu	%xmm0, 208(%rax,%rdx,8)
	movdqu	%xmm0, 224(%rax,%rdx,8)
	movdqu	%xmm0, 240(%rax,%rdx,8)
	addq	$32, %rdx
	addq	$-8, %rdi
	jne	LBB0_9
LBB0_10:                                ##   in Loop: Header=BB0_5 Depth=1
	testq	%rsi, %rsi
	je	LBB0_13
## %bb.11:                              ##   in Loop: Header=BB0_5 Depth=1
	leaq	(%rax,%rdx,8), %rdx
	addq	$16, %rdx
	shlq	$5, %rsi
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_12:                                ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movdqu	%xmm0, -16(%rdx,%rdi)
	movdqu	%xmm0, (%rdx,%rdi)
	addq	$32, %rdi
	cmpq	%rdi, %rsi
	jne	LBB0_12
LBB0_13:                                ##   in Loop: Header=BB0_5 Depth=1
	cmpq	%r8, %rcx
	je	LBB0_17
## %bb.14:                              ##   in Loop: Header=BB0_5 Depth=1
	andl	$3, %ecx
	leaq	(%rax,%r8,8), %rax
LBB0_15:                                ##   in Loop: Header=BB0_5 Depth=1
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_16:                                ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%rbx, (%rax,%rdx,8)
	incq	%rdx
	cmpq	%rdx, %rcx
	jne	LBB0_16
	jmp	LBB0_17
LBB0_19:
	movq	48(%rdx), %rcx
	imulq	40(%rdx), %rcx
	cmpq	$16, %rcx
	jl	LBB0_20
	.p2align	4, 0x90
LBB0_33:                                ## =>This Inner Loop Header: Depth=1
	movq	%rcx, %rdx
	movq	%rbx, (%rax)
	movq	%rbx, 8(%rax)
	movq	%rbx, 16(%rax)
	movq	%rbx, 24(%rax)
	movq	%rbx, 32(%rax)
	movq	%rbx, 40(%rax)
	movq	%rbx, 48(%rax)
	movq	%rbx, 56(%rax)
	movq	%rbx, 64(%rax)
	movq	%rbx, 72(%rax)
	movq	%rbx, 80(%rax)
	movq	%rbx, 88(%rax)
	movq	%rbx, 96(%rax)
	movq	%rbx, 104(%rax)
	movq	%rbx, 112(%rax)
	movq	%rbx, 120(%rax)
	subq	$-128, %rax
	addq	$-16, %rcx
	cmpq	$31, %rdx
	ja	LBB0_33
LBB0_20:
	testq	%rcx, %rcx
	jle	LBB0_18
## %bb.21:
	cmpq	$4, %rcx
	jb	LBB0_31
## %bb.22:
	movq	%rcx, %r8
	andq	$-4, %r8
	movq	%rbx, %xmm0
	pshufd	$68, %xmm0, %xmm0               ## xmm0 = xmm0[0,1,0,1]
	leaq	-4(%r8), %rdx
	movq	%rdx, %rdi
	shrq	$2, %rdi
	incq	%rdi
	movl	%edi, %esi
	andl	$7, %esi
	cmpq	$28, %rdx
	jae	LBB0_24
## %bb.23:
	xorl	%edx, %edx
	jmp	LBB0_26
LBB0_24:
	andq	$-8, %rdi
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_25:                                ## =>This Inner Loop Header: Depth=1
	movdqu	%xmm0, (%rax,%rdx,8)
	movdqu	%xmm0, 16(%rax,%rdx,8)
	movdqu	%xmm0, 32(%rax,%rdx,8)
	movdqu	%xmm0, 48(%rax,%rdx,8)
	movdqu	%xmm0, 64(%rax,%rdx,8)
	movdqu	%xmm0, 80(%rax,%rdx,8)
	movdqu	%xmm0, 96(%rax,%rdx,8)
	movdqu	%xmm0, 112(%rax,%rdx,8)
	movdqu	%xmm0, 128(%rax,%rdx,8)
	movdqu	%xmm0, 144(%rax,%rdx,8)
	movdqu	%xmm0, 160(%rax,%rdx,8)
	movdqu	%xmm0, 176(%rax,%rdx,8)
	movdqu	%xmm0, 192(%rax,%rdx,8)
	movdqu	%xmm0, 208(%rax,%rdx,8)
	movdqu	%xmm0, 224(%rax,%rdx,8)
	movdqu	%xmm0, 240(%rax,%rdx,8)
	addq	$32, %rdx
	addq	$-8, %rdi
	jne	LBB0_25
LBB0_26:
	testq	%rsi, %rsi
	je	LBB0_29
## %bb.27:
	leaq	(%rax,%rdx,8), %rdx
	addq	$16, %rdx
	shlq	$5, %rsi
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_28:                                ## =>This Inner Loop Header: Depth=1
	movdqu	%xmm0, -16(%rdx,%rdi)
	movdqu	%xmm0, (%rdx,%rdi)
	addq	$32, %rdi
	cmpq	%rdi, %rsi
	jne	LBB0_28
LBB0_29:
	cmpq	%r8, %rcx
	je	LBB0_18
## %bb.30:
	andl	$3, %ecx
	leaq	(%rax,%r8,8), %rax
LBB0_31:
	incq	%rcx
	.p2align	4, 0x90
LBB0_32:                                ## =>This Inner Loop Header: Depth=1
	movq	%rbx, (%rax)
	addq	$8, %rax
	decq	%rcx
	cmpq	$1, %rcx
	ja	LBB0_32
LBB0_18:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DEPTH_SCALE,4,2                ## @DEPTH_SCALE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gl_clear_depth_buffer          ; -- Begin function gl_clear_depth_buffer
	.p2align	2
_gl_clear_depth_buffer:                 ; @gl_clear_depth_buffer
	.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
	ldr	x8, [x0, #16]
	ldr	x8, [x8]
	cbz	x8, LBB0_22
; %bb.1:
	mov	x19, x0
	ldr	x9, [x0]
	ldr	x8, [x9]
	cbz	x8, LBB0_22
; %bb.2:
	ldrsw	x10, [x19, #24]
Lloh0:
	adrp	x11, _DEPTH_SCALE@GOTPAGE
Lloh1:
	ldr	x11, [x11, _DEPTH_SCALE@GOTPAGEOFF]
Lloh2:
	ldrsw	x11, [x11]
	mul	x21, x11, x10
	ldr	x10, [x19, #8]
	cbz	x10, LBB0_12
; %bb.3:
	ldp	x20, x8, [x9, #8]
	cmp	x20, x8
	b.gt	LBB0_22
; %bb.4:
	dup.2d	v0, x21
	str	q0, [sp]                        ; 16-byte Folded Spill
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x8, x20, #1
	ldr	x9, [x19]
	ldr	x10, [x9, #16]
	cmp	x20, x10
	mov	x20, x8
	b.ge	LBB0_22
LBB0_6:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_9 Depth 2
                                        ;     Child Loop BB0_11 Depth 2
	ldr	x1, [x9, #24]
	mov	x0, x19
	mov	x2, x20
	bl	_Z_ADDRESS
	ldr	x8, [x19]
	ldp	x8, x9, [x8, #24]
	sub	x8, x9, x8
	add	x10, x8, #1
	cmp	x10, #8
	b.hs	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x8, x0
	mov	x9, x10
	b	LBB0_11
LBB0_8:                                 ;   in Loop: Header=BB0_6 Depth=1
	and	x11, x10, #0xfffffffffffffff8
	add	x8, x0, x11, lsl #3
	and	x9, x10, #0x7
	add	x12, x0, #32
	mov	x13, x11
	ldr	q0, [sp]                        ; 16-byte Folded Reload
LBB0_9:                                 ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	stp	q0, q0, [x12, #-32]
	stp	q0, q0, [x12], #64
	subs	x13, x13, #8
	b.ne	LBB0_9
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=1
	cmp	x10, x11
	b.eq	LBB0_5
LBB0_11:                                ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	str	x21, [x8], #8
	subs	x9, x9, #1
	b.ne	LBB0_11
	b	LBB0_5
LBB0_12:
	ldp	x10, x9, [x9, #40]
	mul	x9, x9, x10
	cmp	x9, #16
	b.lt	LBB0_14
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	mov	x10, x9
	stp	x21, x21, [x8]
	stp	x21, x21, [x8, #16]
	stp	x21, x21, [x8, #32]
	stp	x21, x21, [x8, #48]
	stp	x21, x21, [x8, #64]
	stp	x21, x21, [x8, #80]
	stp	x21, x21, [x8, #96]
	stp	x21, x21, [x8, #112]
	add	x8, x8, #128
	sub	x9, x9, #16
	cmp	x10, #31
	b.hi	LBB0_13
LBB0_14:
	cmp	x9, #1
	b.lt	LBB0_22
; %bb.15:
	cmp	x9, #8
	b.hs	LBB0_17
; %bb.16:
	mov	x11, x9
	mov	x10, x8
	b	LBB0_20
LBB0_17:
	and	x12, x9, #0xfffffffffffffff8
	and	x11, x9, #0x7
	add	x10, x8, x12, lsl #3
	dup.2d	v0, x21
	add	x8, x8, #32
	mov	x13, x12
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	stp	q0, q0, [x8, #-32]
	stp	q0, q0, [x8], #64
	subs	x13, x13, #8
	b.ne	LBB0_18
; %bb.19:
	cmp	x9, x12
	b.eq	LBB0_22
LBB0_20:
	add	x8, x11, #1
LBB0_21:                                ; =>This Inner Loop Header: Depth=1
	str	x21, [x10], #8
	sub	x8, x8, #1
	cmp	x8, #1
	b.hi	LBB0_21
LBB0_22:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DEPTH_SCALE,4,2                ; @DEPTH_SCALE
.subsections_via_symbols
