	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__glfwPlatformCreateMutex       ## -- Begin function _glfwPlatformCreateMutex
	.p2align	4, 0x90
__glfwPlatformCreateMutex:              ## @_glfwPlatformCreateMutex
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	_GLFW_FALSE@GOTPCREL(%rip), %r14
	xorl	%edi, %edi
	cmpq	(%r14), %rax
	sete	%dil
	callq	_assert
	leaq	8(%rbx), %rdi
	xorl	%esi, %esi
	callq	_pthread_mutex_init
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_GLFW_PLATFORM_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	__glfwInputError
	movq	(%r14), %rax
	jmp	LBB0_3
LBB0_2:
	movq	_GLFW_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rbx)
LBB0_3:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GLFW_FALSE,8,3                 ## @GLFW_FALSE
	.comm	_GLFW_PLATFORM_ERROR,4,2        ## @GLFW_PLATFORM_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"POSIX: Failed to create mutex"

	.comm	_GLFW_TRUE,8,3                  ## @GLFW_TRUE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__glfwPlatformCreateMutex       ; -- Begin function _glfwPlatformCreateMutex
	.p2align	2
__glfwPlatformCreateMutex:              ; @_glfwPlatformCreateMutex
	.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
	mov	x20, x0
	ldr	x8, [x20], #8
Lloh0:
	adrp	x21, _GLFW_FALSE@GOTPAGE
Lloh1:
	ldr	x21, [x21, _GLFW_FALSE@GOTPAGEOFF]
	ldr	x9, [x21]
	cmp	x8, x9
	cset	w0, eq
	bl	_assert
	mov	x0, x20
	mov	x1, #0
	bl	_pthread_mutex_init
	cbz	x0, LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _GLFW_PLATFORM_ERROR@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GLFW_PLATFORM_ERROR@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	bl	__glfwInputError
	ldr	x0, [x21]
	b	LBB0_3
LBB0_2:
Lloh7:
	adrp	x8, _GLFW_TRUE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _GLFW_TRUE@GOTPAGEOFF]
Lloh9:
	ldr	x0, [x8]
	str	x0, [x19]
LBB0_3:
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_GLFW_FALSE,8,3                 ; @GLFW_FALSE
	.comm	_GLFW_PLATFORM_ERROR,4,2        ; @GLFW_PLATFORM_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"POSIX: Failed to create mutex"

	.comm	_GLFW_TRUE,8,3                  ; @GLFW_TRUE
.subsections_via_symbols
