	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xcb_set_root_cursor            ## -- Begin function xcb_set_root_cursor
	.p2align	4, 0x90
_xcb_set_root_cursor:                   ## @xcb_set_root_cursor
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %r14d
	movq	_conn@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	callq	_xcb_generate_id
	movl	%eax, %r15d
	movl	%eax, -36(%rbp)
	leaq	L_.str(%rip), %rdi
	xorl	%esi, %esi
	callq	_load_font
	movl	%eax, %ebx
	movl	%r14d, %edi
	callq	_xcursor_get_xcb_cursor
                                        ## kill: def $eax killed $eax def $rax
	movl	(%r12), %edi
	leal	1(%rax), %r9d
	movl	%r15d, %esi
	movl	%ebx, %edx
	movl	%ebx, %ecx
	movl	%eax, %r8d
	pushq	$65535                          ## imm = 0xFFFF
	pushq	$65535                          ## imm = 0xFFFF
	pushq	$65535                          ## imm = 0xFFFF
	pushq	$0
	pushq	$0
	pushq	$0
	callq	_xcb_create_glyph_cursor
	addq	$48, %rsp
	movl	(%r12), %edi
	movq	_root@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_XCB_CW_CURSOR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-36(%rbp), %rcx
	callq	_xcb_change_window_attributes
	movl	(%r12), %edi
	movl	-36(%rbp), %esi
	callq	_xcb_free_cursor
	movl	(%r12), %edi
	callq	_xcb_flush
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_conn,4,2                       ## @conn
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cursor"

	.comm	_root,4,2                       ## @root
	.comm	_XCB_CW_CURSOR,4,2              ## @XCB_CW_CURSOR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xcb_set_root_cursor            ; -- Begin function xcb_set_root_cursor
	.p2align	2
_xcb_set_root_cursor:                   ; @xcb_set_root_cursor
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
Lloh0:
	adrp	x22, _conn@GOTPAGE
Lloh1:
	ldr	x22, [x22, _conn@GOTPAGEOFF]
	ldr	w0, [x22]
	bl	_xcb_generate_id
	mov	x20, x0
	str	w0, [sp, #28]
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	mov	w1, #0
	bl	_load_font
	mov	x21, x0
	mov	x0, x19
	bl	_xcursor_get_xcb_cursor
	mov	x4, x0
	ldr	w0, [x22]
	add	w5, w4, #1
	mov	x8, #281470681808895
	mov	x9, #281470681743360
	stp	x9, x8, [sp]
	mov	x1, x20
	mov	x2, x21
	mov	x3, x21
	mov	w6, #0
	mov	w7, #0
	bl	_xcb_create_glyph_cursor
	ldr	w0, [x22]
Lloh4:
	adrp	x8, _root@GOTPAGE
Lloh5:
	ldr	x8, [x8, _root@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
Lloh7:
	adrp	x8, _XCB_CW_CURSOR@GOTPAGE
Lloh8:
	ldr	x8, [x8, _XCB_CW_CURSOR@GOTPAGEOFF]
Lloh9:
	ldr	w2, [x8]
	add	x3, sp, #28
	bl	_xcb_change_window_attributes
	ldr	w0, [x22]
	ldr	w1, [sp, #28]
	bl	_xcb_free_cursor
	ldr	w0, [x22]
	bl	_xcb_flush
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_conn,4,2                       ; @conn
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cursor"

	.comm	_root,4,2                       ; @root
	.comm	_XCB_CW_CURSOR,4,2              ; @XCB_CW_CURSOR
.subsections_via_symbols
