	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_glfwGetOSMesaDepthBuffer       ## -- Begin function glfwGetOSMesaDepthBuffer
	.p2align	4, 0x90
_glfwGetOSMesaDepthBuffer:              ## @glfwGetOSMesaDepthBuffer
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, -64(%rbp)                  ## 8-byte Spill
	movq	%rcx, %r15
	movq	%rdx, %r12
	movq	%rsi, %r13
	movq	%rdi, %rbx
	xorl	%edi, %edi
	testq	%rbx, %rbx
	setne	%dil
	callq	_assert
	movq	_GLFW_FALSE@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	__GLFW_REQUIRE_INIT_OR_RETURN
	movl	(%rbx), %edi
	leaq	-52(%rbp), %rsi
	leaq	-48(%rbp), %rdx
	leaq	-44(%rbp), %rcx
	leaq	-72(%rbp), %r8
	callq	_OSMesaGetDepthBuffer
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	testq	%r13, %r13
	je	LBB0_4
## %bb.3:
	movl	-52(%rbp), %eax
	movl	%eax, (%r13)
LBB0_4:
	testq	%r12, %r12
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	je	LBB0_6
## %bb.5:
	movl	-48(%rbp), %eax
	movl	%eax, (%r12)
LBB0_6:
	testq	%r15, %r15
	je	LBB0_8
## %bb.7:
	movl	-44(%rbp), %eax
	movl	%eax, (%r15)
LBB0_8:
	movq	_GLFW_TRUE@GOTPCREL(%rip), %r14
	testq	%rcx, %rcx
	je	LBB0_10
## %bb.9:
	movq	-72(%rbp), %rax
	movq	%rax, (%rcx)
	jmp	LBB0_10
LBB0_1:
	movq	_GLFW_PLATFORM_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	__glfwInputError
LBB0_10:
	movl	(%r14), %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GLFW_FALSE,4,2                 ## @GLFW_FALSE
	.comm	_GLFW_PLATFORM_ERROR,4,2        ## @GLFW_PLATFORM_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"OSMesa: Failed to retrieve depth buffer"

	.comm	_GLFW_TRUE,4,2                  ## @GLFW_TRUE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_glfwGetOSMesaDepthBuffer       ; -- Begin function glfwGetOSMesaDepthBuffer
	.p2align	2
_glfwGetOSMesaDepthBuffer:              ; @glfwGetOSMesaDepthBuffer
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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 w23, -56
	.cfi_offset w24, -64
	mov	x19, x4
	mov	x20, x3
	mov	x21, x2
	mov	x22, x1
	mov	x23, x0
	cmp	x0, #0
	cset	w0, ne
	bl	_assert
Lloh0:
	adrp	x8, _GLFW_FALSE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GLFW_FALSE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	__GLFW_REQUIRE_INIT_OR_RETURN
	ldr	w0, [x23]
	add	x1, sp, #20
	add	x2, sp, #16
	add	x3, sp, #12
	add	x4, sp, #24
	bl	_OSMesaGetDepthBuffer
	cbz	w0, LBB0_10
; %bb.1:
	cbz	x22, LBB0_3
; %bb.2:
	ldr	w8, [sp, #20]
	str	w8, [x22]
LBB0_3:
	cbz	x21, LBB0_5
; %bb.4:
	ldr	w8, [sp, #16]
	str	w8, [x21]
LBB0_5:
	cbz	x20, LBB0_7
; %bb.6:
	ldr	w8, [sp, #12]
	str	w8, [x20]
LBB0_7:
	cbz	x19, LBB0_9
; %bb.8:
	ldr	x8, [sp, #24]
	str	x8, [x19]
LBB0_9:
Lloh3:
	adrp	x8, _GLFW_TRUE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GLFW_TRUE@GOTPAGEOFF]
	b	LBB0_11
LBB0_10:
Lloh5:
	adrp	x8, _GLFW_PLATFORM_ERROR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _GLFW_PLATFORM_ERROR@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	bl	__glfwInputError
Lloh10:
	adrp	x8, _GLFW_FALSE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _GLFW_FALSE@GOTPAGEOFF]
LBB0_11:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_GLFW_FALSE,4,2                 ; @GLFW_FALSE
	.comm	_GLFW_PLATFORM_ERROR,4,2        ; @GLFW_PLATFORM_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"OSMesa: Failed to retrieve depth buffer"

	.comm	_GLFW_TRUE,4,2                  ; @GLFW_TRUE
.subsections_via_symbols
