	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_glfwCreateStandardCursor       ## -- Begin function glfwCreateStandardCursor
	.p2align	4, 0x90
_glfwCreateStandardCursor:              ## @glfwCreateStandardCursor
	.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
	movl	%edi, %ebx
	xorl	%edi, %edi
	callq	__GLFW_REQUIRE_INIT_OR_RETURN
	movq	_GLFW_ARROW_CURSOR@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	je	LBB0_7
## %bb.1:
	movq	_GLFW_IBEAM_CURSOR@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	je	LBB0_7
## %bb.2:
	movq	_GLFW_CROSSHAIR_CURSOR@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	je	LBB0_7
## %bb.3:
	movq	_GLFW_HAND_CURSOR@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	je	LBB0_7
## %bb.4:
	movq	_GLFW_HRESIZE_CURSOR@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	je	LBB0_7
## %bb.5:
	movq	_GLFW_VRESIZE_CURSOR@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	je	LBB0_7
## %bb.6:
	movq	_GLFW_INVALID_ENUM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edx
	callq	__glfwInputError
	jmp	LBB0_9
LBB0_7:
	movl	$1, %edi
	movl	$8, %esi
	callq	_calloc
	movq	%rax, %r14
	movq	__glfw@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	%rcx, (%r14)
	movq	%r14, (%rax)
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	__glfwPlatformCreateStandardCursor
	testl	%eax, %eax
	jne	LBB0_10
## %bb.8:
	movq	%r14, %rdi
	callq	_glfwDestroyCursor
LBB0_9:
	xorl	%r14d, %r14d
LBB0_10:
	movq	%r14, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GLFW_ARROW_CURSOR,4,2          ## @GLFW_ARROW_CURSOR
	.comm	_GLFW_IBEAM_CURSOR,4,2          ## @GLFW_IBEAM_CURSOR
	.comm	_GLFW_CROSSHAIR_CURSOR,4,2      ## @GLFW_CROSSHAIR_CURSOR
	.comm	_GLFW_HAND_CURSOR,4,2           ## @GLFW_HAND_CURSOR
	.comm	_GLFW_HRESIZE_CURSOR,4,2        ## @GLFW_HRESIZE_CURSOR
	.comm	_GLFW_VRESIZE_CURSOR,4,2        ## @GLFW_VRESIZE_CURSOR
	.comm	_GLFW_INVALID_ENUM,4,2          ## @GLFW_INVALID_ENUM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid standard cursor 0x%08X"

	.comm	__glfw,8,3                      ## @_glfw
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_glfwCreateStandardCursor       ; -- Begin function glfwCreateStandardCursor
	.p2align	2
_glfwCreateStandardCursor:              ; @glfwCreateStandardCursor
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	mov	x0, #0
	bl	__GLFW_REQUIRE_INIT_OR_RETURN
Lloh0:
	adrp	x8, _GLFW_ARROW_CURSOR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GLFW_ARROW_CURSOR@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _GLFW_IBEAM_CURSOR@GOTPAGE
Lloh4:
	ldr	x9, [x9, _GLFW_IBEAM_CURSOR@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
Lloh6:
	adrp	x10, _GLFW_CROSSHAIR_CURSOR@GOTPAGE
Lloh7:
	ldr	x10, [x10, _GLFW_CROSSHAIR_CURSOR@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
Lloh9:
	adrp	x11, _GLFW_HAND_CURSOR@GOTPAGE
Lloh10:
	ldr	x11, [x11, _GLFW_HAND_CURSOR@GOTPAGEOFF]
Lloh11:
	ldr	w11, [x11]
Lloh12:
	adrp	x12, _GLFW_HRESIZE_CURSOR@GOTPAGE
Lloh13:
	ldr	x12, [x12, _GLFW_HRESIZE_CURSOR@GOTPAGEOFF]
Lloh14:
	ldr	w12, [x12]
Lloh15:
	adrp	x13, _GLFW_VRESIZE_CURSOR@GOTPAGE
Lloh16:
	ldr	x13, [x13, _GLFW_VRESIZE_CURSOR@GOTPAGEOFF]
Lloh17:
	ldr	w13, [x13]
	cmp	w8, w19
	ccmp	w9, w19, #4, ne
	ccmp	w10, w19, #4, ne
	ccmp	w11, w19, #4, ne
	ccmp	w12, w19, #4, ne
	ccmp	w13, w19, #4, ne
	b.ne	LBB0_3
; %bb.1:
	mov	w0, #1
	mov	w1, #8
	bl	_calloc
	mov	x20, x0
Lloh18:
	adrp	x8, __glfw@GOTPAGE
Lloh19:
	ldr	x8, [x8, __glfw@GOTPAGEOFF]
	ldr	x9, [x8]
	str	x9, [x0]
	str	x0, [x8]
	mov	x1, x19
	bl	__glfwPlatformCreateStandardCursor
	cbnz	w0, LBB0_5
; %bb.2:
	mov	x0, x20
	bl	_glfwDestroyCursor
	b	LBB0_4
LBB0_3:
Lloh20:
	adrp	x8, _GLFW_INVALID_ENUM@GOTPAGE
Lloh21:
	ldr	x8, [x8, _GLFW_INVALID_ENUM@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
Lloh23:
	adrp	x1, l_.str@PAGE
Lloh24:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x19
	bl	__glfwInputError
LBB0_4:
	mov	x20, #0
LBB0_5:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_GLFW_ARROW_CURSOR,4,2          ; @GLFW_ARROW_CURSOR
	.comm	_GLFW_IBEAM_CURSOR,4,2          ; @GLFW_IBEAM_CURSOR
	.comm	_GLFW_CROSSHAIR_CURSOR,4,2      ; @GLFW_CROSSHAIR_CURSOR
	.comm	_GLFW_HAND_CURSOR,4,2           ; @GLFW_HAND_CURSOR
	.comm	_GLFW_HRESIZE_CURSOR,4,2        ; @GLFW_HRESIZE_CURSOR
	.comm	_GLFW_VRESIZE_CURSOR,4,2        ; @GLFW_VRESIZE_CURSOR
	.comm	_GLFW_INVALID_ENUM,4,2          ; @GLFW_INVALID_ENUM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid standard cursor 0x%08X"

	.comm	__glfw,8,3                      ; @_glfw
.subsections_via_symbols
