	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function gl_DepthRange
LCPI0_0:
	.quad	0x3ff0000000000000              ## double 1
LCPI0_1:
	.quad	0x3fe0000000000000              ## double 0.5
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_gl_DepthRange
	.p2align	4, 0x90
_gl_DepthRange:                         ## @gl_DepthRange
	.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
	subq	$24, %rsp
	.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_1
## %bb.2:
	movq	_GL_INVALID_OPERATION@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%rbx, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_gl_error                       ## TAILCALL
LBB0_1:
	movsd	LCPI0_0(%rip), %xmm1            ## xmm1 = mem[0],zero
	xorps	%xmm0, %xmm0
	movl	%r15d, %edi
	callq	_CLAMP
	xorps	%xmm0, %xmm0
	cvtsi2sd	%rax, %xmm0
	movapd	%xmm0, -48(%rbp)                ## 16-byte Spill
	xorpd	%xmm0, %xmm0
	movl	%r14d, %edi
	movsd	LCPI0_0(%rip), %xmm1            ## xmm1 = mem[0],zero
	callq	_CLAMP
	xorps	%xmm0, %xmm0
	cvtsi2sd	%rax, %xmm0
	movapd	-48(%rbp), %xmm1                ## 16-byte Reload
	movsd	%xmm1, (%rbx)
	movsd	%xmm0, 8(%rbx)
	movq	_DEPTH_SCALE@GOTPCREL(%rip), %rax
	subsd	%xmm1, %xmm0
	mulsd	LCPI0_1(%rip), %xmm0
	addsd	%xmm0, %xmm1
	movapd	%xmm1, %xmm2
	movddup	(%rax), %xmm1                   ## xmm1 = mem[0,0]
	unpcklpd	%xmm2, %xmm0                    ## xmm0 = xmm0[0],xmm2[0]
	mulpd	%xmm1, %xmm0
	movupd	%xmm0, 16(%rbx)
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GL_INVALID_OPERATION,4,2       ## @GL_INVALID_OPERATION
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"glDepthRange"

	.comm	_DEPTH_SCALE,8,3                ## @DEPTH_SCALE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gl_DepthRange                  ; -- Begin function gl_DepthRange
	.p2align	2
_gl_DepthRange:                         ; @gl_DepthRange
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [sp, #-64]!             ; 16-byte Folded Spill
	.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
	.cfi_offset b8, -56
	.cfi_offset b9, -64
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	bl	_INSIDE_BEGIN_END
	cbz	x0, LBB0_2
; %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
	mov	x0, x19
	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
	ldp	d9, d8, [sp], #64               ; 16-byte Folded Reload
	b	_gl_error
LBB0_2:
	movi	d0, #0000000000000000
	fmov	d1, #1.00000000
	mov	x0, x21
	bl	_CLAMP
	scvtf	d8, x0
	movi	d0, #0000000000000000
	fmov	d1, #1.00000000
	mov	x0, x20
	bl	_CLAMP
	scvtf	d0, x0
	str	d8, [x19]
	str	d0, [x19, #8]
Lloh5:
	adrp	x8, _DEPTH_SCALE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _DEPTH_SCALE@GOTPAGEOFF]
Lloh7:
	ldr	d1, [x8]
	fsub	d0, d0, d8
	fmov	d2, #0.50000000
	fmul	d0, d0, d2
	fmul	d2, d1, d0
	str	d2, [x19, #16]
	fadd	d0, d0, d8
	fmul	d0, d1, d0
	str	d0, [x19, #24]
	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
	ldp	d9, d8, [sp], #64               ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_GL_INVALID_OPERATION,4,2       ; @GL_INVALID_OPERATION
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"glDepthRange"

	.comm	_DEPTH_SCALE,8,3                ; @DEPTH_SCALE
.subsections_via_symbols
