	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gfx_ctx_wl_show_mouse
_gfx_ctx_wl_show_mouse:                 ## @gfx_ctx_wl_show_mouse
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movl	24(%rdi), %edi
	testl	%edi, %edi
	je	LBB0_5
## %bb.1:
	movl	%esi, %r14d
	testl	%esi, %esi
	je	LBB0_3
## %bb.2:
	movq	16(%rbx), %rax
	movq	(%rax), %rax
	movq	(%rax), %r15
	movl	4(%rbx), %esi
	movq	8(%rbx), %rdx
	movl	8(%r15), %r8d
	movl	12(%r15), %ecx
	callq	_wl_pointer_set_cursor
	movq	8(%rbx), %r12
	movq	%r15, %rdi
	callq	_wl_cursor_image_get_buffer
	movq	%r12, %rdi
	movl	%eax, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_wl_surface_attach
	movq	8(%rbx), %rdi
	movl	(%r15), %r8d
	movl	4(%r15), %ecx
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_wl_surface_damage
	movq	8(%rbx), %rdi
	callq	_wl_surface_commit
	jmp	LBB0_4
LBB0_3:
	movl	4(%rbx), %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_wl_pointer_set_cursor
LBB0_4:
	movl	%r14d, (%rbx)
LBB0_5:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_gfx_ctx_wl_show_mouse
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gfx_ctx_wl_show_mouse
_gfx_ctx_wl_show_mouse:                 ; @gfx_ctx_wl_show_mouse
	.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	x20, x0
	ldr	w0, [x0, #24]
	cbz	w0, LBB0_5
; %bb.1:
	mov	x19, x1
	cbz	w1, LBB0_3
; %bb.2:
	ldp	x2, x8, [x20, #8]
	ldr	x8, [x8]
	ldr	x21, [x8]
	ldr	w1, [x20, #4]
	ldp	w4, w3, [x21, #8]
	bl	_wl_pointer_set_cursor
	ldr	x22, [x20, #8]
	mov	x0, x21
	bl	_wl_cursor_image_get_buffer
	mov	x1, x0
	mov	x0, x22
	mov	w2, #0
	mov	w3, #0
	bl	_wl_surface_attach
	ldr	x0, [x20, #8]
	ldp	w4, w3, [x21]
	mov	w1, #0
	mov	w2, #0
	bl	_wl_surface_damage
	ldr	x0, [x20, #8]
	bl	_wl_surface_commit
	b	LBB0_4
LBB0_3:
	ldr	w1, [x20, #4]
	mov	x2, #0
	mov	w3, #0
	mov	w4, #0
	bl	_wl_pointer_set_cursor
LBB0_4:
	str	w19, [x20]
LBB0_5:
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_gfx_ctx_wl_show_mouse
.subsections_via_symbols
