	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function gl_read_depth_span_float
LCPI0_0:
	.long	0x3f800000                      ## float 1
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_gl_read_depth_span_float
	.p2align	4, 0x90
_gl_read_depth_span_float:              ## @gl_read_depth_span_float
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%r8, %rbx
	movq	%rsi, %r14
	movq	(%rdi), %rax
	cmpq	$0, (%rax)
	je	LBB0_1
## %bb.3:
	movq	_DEPTH_SCALE@GOTPCREL(%rip), %rax
	movss	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	divss	(%rax), %xmm0
	movss	%xmm0, -20(%rbp)                ## 4-byte Spill
	movl	%edx, %esi
	movl	%ecx, %edx
	callq	_Z_ADDRESS
	movss	-20(%rbp), %xmm1                ## 4-byte Reload
                                        ## xmm1 = mem[0],zero,zero,zero
	testq	%r14, %r14
	je	LBB0_11
## %bb.4:
	leaq	-1(%r14), %rdx
	movl	%r14d, %ecx
	andl	$3, %ecx
	cmpq	$3, %rdx
	jae	LBB0_6
## %bb.5:
	xorl	%edx, %edx
	jmp	LBB0_8
LBB0_1:
	testq	%r14, %r14
	je	LBB0_11
## %bb.2:
	shlq	$2, %r14
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	___bzero
	jmp	LBB0_11
LBB0_6:
	andq	$-4, %r14
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	xorps	%xmm0, %xmm0
	cvtsi2ssq	(%rax,%rdx,8), %xmm0
	mulss	%xmm1, %xmm0
	movss	%xmm0, (%rbx,%rdx,4)
	xorps	%xmm0, %xmm0
	cvtsi2ssq	8(%rax,%rdx,8), %xmm0
	mulss	%xmm1, %xmm0
	movss	%xmm0, 4(%rbx,%rdx,4)
	xorps	%xmm0, %xmm0
	cvtsi2ssq	16(%rax,%rdx,8), %xmm0
	mulss	%xmm1, %xmm0
	movss	%xmm0, 8(%rbx,%rdx,4)
	xorps	%xmm0, %xmm0
	cvtsi2ssq	24(%rax,%rdx,8), %xmm0
	mulss	%xmm1, %xmm0
	movss	%xmm0, 12(%rbx,%rdx,4)
	addq	$4, %rdx
	cmpq	%rdx, %r14
	jne	LBB0_7
LBB0_8:
	testq	%rcx, %rcx
	je	LBB0_11
## %bb.9:
	leaq	(%rbx,%rdx,4), %rsi
	leaq	(%rax,%rdx,8), %rax
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	xorps	%xmm0, %xmm0
	cvtsi2ssq	(%rax,%rdx,8), %xmm0
	mulss	%xmm1, %xmm0
	movss	%xmm0, (%rsi,%rdx,4)
	incq	%rdx
	cmpq	%rdx, %rcx
	jne	LBB0_10
LBB0_11:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	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_read_depth_span_float       ; -- Begin function gl_read_depth_span_float
	.p2align	2
_gl_read_depth_span_float:              ; @gl_read_depth_span_float
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [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 b8, -40
	.cfi_offset b9, -48
	mov	x19, x4
	mov	x20, x1
	ldr	x8, [x0]
	ldr	x8, [x8]
	cbz	x8, LBB0_4
; %bb.1:
Lloh0:
	adrp	x8, _DEPTH_SCALE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DEPTH_SCALE@GOTPAGEOFF]
Lloh2:
	ldr	s8, [x8]
	mov	x1, x2
	mov	x2, x3
	bl	_Z_ADDRESS
	cbz	x20, LBB0_11
; %bb.2:
	fmov	s0, #1.00000000
	fdiv	s0, s0, s8
	cmp	x20, #8
	b.hs	LBB0_6
; %bb.3:
	mov	x8, #0
	b	LBB0_9
LBB0_4:
	cbz	x20, LBB0_11
; %bb.5:
	lsl	x1, x20, #2
	mov	x0, x19
	bl	_bzero
	b	LBB0_11
LBB0_6:
	and	x8, x20, #0xfffffffffffffff8
	dup.2s	v1, v0[0]
	add	x9, x0, #32
	add	x10, x19, #16
	mov	x11, x8
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldp	q2, q3, [x9, #-32]
	ldp	q4, q5, [x9], #64
	scvtf.2d	v2, v2
	fcvtn	v2.2s, v2.2d
	scvtf.2d	v3, v3
	fcvtn	v3.2s, v3.2d
	scvtf.2d	v4, v4
	fcvtn	v4.2s, v4.2d
	scvtf.2d	v5, v5
	fcvtn	v5.2s, v5.2d
	fmul.2s	v2, v1, v2
	fmul.2s	v3, v1, v3
	fmul.2s	v4, v1, v4
	stp	d2, d3, [x10, #-16]
	fmul.2s	v2, v5, v0[0]
	stp	d4, d2, [x10], #32
	subs	x11, x11, #8
	b.ne	LBB0_7
; %bb.8:
	cmp	x8, x20
	b.eq	LBB0_11
LBB0_9:
	sub	x9, x20, x8
	add	x10, x19, x8, lsl #2
	add	x8, x0, x8, lsl #3
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x8], #8
	scvtf	s1, x11
	fmul	s1, s0, s1
	str	s1, [x10], #4
	subs	x9, x9, #1
	b.ne	LBB0_10
LBB0_11:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #48               ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DEPTH_SCALE,4,2                ; @DEPTH_SCALE
.subsections_via_symbols
