	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__glfwPlatformCreateCursor      ## -- Begin function _glfwPlatformCreateCursor
	.p2align	4, 0x90
__glfwPlatformCreateCursor:             ## @_glfwPlatformCreateCursor
	.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
	movl	%ecx, %r14d
	movl	%edx, %r15d
	movq	%rsi, %rbx
	movq	%rdi, %r12
	xorl	%eax, %eax
	callq	_findValidPixelFormat
	movq	_mir_pixel_format_invalid@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movq	_GLFW_PLATFORM_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	__glfwInputError
	movq	_GL_FALSE@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_2:
	movl	%r14d, -56(%rbp)                ## 4-byte Spill
	movl	4(%rbx), %r14d
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movl	%r15d, -48(%rbp)                ## 4-byte Spill
	movl	(%rbx), %r15d
	movq	__glfw@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movq	_mir_buffer_usage_software@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
	movl	%r15d, %esi
	movl	%r14d, %edx
	movq	%rax, %rcx
	callq	_mir_connection_create_buffer_stream_sync
	movq	%rax, %r13
	movq	%rax, %rdi
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	movl	-56(%rbp), %edx                 ## 4-byte Reload
	callq	_mir_cursor_configuration_from_buffer_stream
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movl	%eax, 8(%r12)
	leaq	-80(%rbp), %rsi
	movq	%r13, -48(%rbp)                 ## 8-byte Spill
	movq	%r13, %rdi
	callq	_mir_buffer_stream_get_graphics_region
	testl	%r14d, %r14d
	jle	LBB0_5
## %bb.3:
	shll	$2, %r15d
	movslq	-72(%rbp), %r13
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %r12
	movq	-80(%rbp), %rbx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movl	%r15d, %edx
	callq	_memcpy
	addq	%r13, %rbx
	addq	%r13, %r12
	decl	%r14d
	jne	LBB0_4
LBB0_5:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, (%rax)
	movq	_GL_TRUE@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_mir_pixel_format_invalid,8,3   ## @mir_pixel_format_invalid
	.comm	_GLFW_PLATFORM_ERROR,4,2        ## @GLFW_PLATFORM_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Mir: Unable to find a correct pixel format"

	.comm	_GL_FALSE,4,2                   ## @GL_FALSE
	.comm	__glfw,4,2                      ## @_glfw
	.comm	_mir_buffer_usage_software,4,2  ## @mir_buffer_usage_software
	.comm	_GL_TRUE,4,2                    ## @GL_TRUE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__glfwPlatformCreateCursor      ; -- Begin function _glfwPlatformCreateCursor
	.p2align	2
__glfwPlatformCreateCursor:             ; @_glfwPlatformCreateCursor
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x23, x3
	mov	x24, x2
	mov	x21, x1
	mov	x19, x0
	bl	_findValidPixelFormat
Lloh0:
	adrp	x8, _mir_pixel_format_invalid@GOTPAGE
Lloh1:
	ldr	x8, [x8, _mir_pixel_format_invalid@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _GLFW_PLATFORM_ERROR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GLFW_PLATFORM_ERROR@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	bl	__glfwInputError
Lloh8:
	adrp	x8, _GL_FALSE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _GL_FALSE@GOTPAGEOFF]
	b	LBB0_6
LBB0_2:
	mov	x3, x0
	ldp	w25, w20, [x21]
Lloh10:
	adrp	x8, __glfw@GOTPAGE
Lloh11:
	ldr	x8, [x8, __glfw@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
Lloh13:
	adrp	x8, _mir_buffer_usage_software@GOTPAGE
Lloh14:
	ldr	x8, [x8, _mir_buffer_usage_software@GOTPAGEOFF]
Lloh15:
	ldr	w4, [x8]
	mov	x1, x25
	mov	x2, x20
	bl	_mir_connection_create_buffer_stream_sync
	mov	x22, x0
	mov	x1, x24
	mov	x2, x23
	bl	_mir_cursor_configuration_from_buffer_stream
	str	w0, [x19, #8]
	mov	x1, sp
	mov	x0, x22
	bl	_mir_buffer_stream_get_graphics_region
	cmp	w20, #1
	b.lt	LBB0_5
; %bb.3:
	mov	x24, #0
	lsl	w23, w25, #2
	ldrsw	x25, [sp, #8]
	ldr	x21, [x21, #8]
	ldr	x26, [sp]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, x26, x24
	add	x1, x21, x24
	mov	x2, x23
	bl	_memcpy
	add	x24, x24, x25
	subs	w20, w20, #1
	b.ne	LBB0_4
LBB0_5:
	str	x22, [x19]
Lloh16:
	adrp	x8, _GL_TRUE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _GL_TRUE@GOTPAGEOFF]
LBB0_6:
	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
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_mir_pixel_format_invalid,8,3   ; @mir_pixel_format_invalid
	.comm	_GLFW_PLATFORM_ERROR,4,2        ; @GLFW_PLATFORM_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Mir: Unable to find a correct pixel format"

	.comm	_GL_FALSE,4,2                   ; @GL_FALSE
	.comm	__glfw,4,2                      ; @_glfw
	.comm	_mir_buffer_usage_software,4,2  ; @mir_buffer_usage_software
	.comm	_GL_TRUE,4,2                    ; @GL_TRUE
.subsections_via_symbols
