	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pointer_handle_button
_pointer_handle_button:                 ## @pointer_handle_button
	.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	_WL_POINTER_BUTTON_STATE_PRESSED@GOTPCREL(%rip), %rcx
	movq	_BTN_LEFT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	%r9, (%rcx)
	jne	LBB0_10
## %bb.1:
	cmpq	%r8, %rax
	jne	LBB0_6
## %bb.2:
	movq	%rdx, %r14
	movl	$1, (%rbx)
	movl	12(%rbx), %edi
	movq	_KEY_LEFTALT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_BIT_GET
	testq	%rax, %rax
	je	LBB0_16
## %bb.3:
	movq	32(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.17:
	movl	16(%rbx), %esi
	movq	%r14, %rdx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_xdg_toplevel_move              ## TAILCALL
LBB0_10:
	cmpq	%r8, %rax
	jne	LBB0_12
## %bb.11:
	movl	$0, (%rbx)
	jmp	LBB0_16
LBB0_6:
	movq	_BTN_RIGHT@GOTPCREL(%rip), %rax
	cmpq	%r8, (%rax)
	jne	LBB0_8
## %bb.7:
	movl	$1, 4(%rbx)
	jmp	LBB0_16
LBB0_12:
	movq	_BTN_RIGHT@GOTPCREL(%rip), %rax
	cmpq	%r8, (%rax)
	jne	LBB0_14
## %bb.13:
	movl	$0, 4(%rbx)
	jmp	LBB0_16
LBB0_8:
	movq	_BTN_MIDDLE@GOTPCREL(%rip), %rax
	cmpq	%r8, (%rax)
	jne	LBB0_16
## %bb.9:
	movl	$1, 8(%rbx)
	jmp	LBB0_16
LBB0_14:
	movq	_BTN_MIDDLE@GOTPCREL(%rip), %rax
	cmpq	%r8, (%rax)
	jne	LBB0_16
## %bb.15:
	movl	$0, 8(%rbx)
	jmp	LBB0_16
LBB0_4:
	movq	24(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_16
## %bb.5:
	movl	16(%rbx), %esi
	movq	%r14, %rdx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_zxdg_toplevel_v6_move          ## TAILCALL
LBB0_16:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WL_POINTER_BUTTON_STATE_PRESSED,8,3 ## @WL_POINTER_BUTTON_STATE_PRESSED
	.comm	_BTN_LEFT,8,3                   ## @BTN_LEFT
	.comm	_KEY_LEFTALT,4,2                ## @KEY_LEFTALT
	.comm	_BTN_RIGHT,8,3                  ## @BTN_RIGHT
	.comm	_BTN_MIDDLE,8,3                 ## @BTN_MIDDLE
	.no_dead_strip	_pointer_handle_button
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pointer_handle_button
_pointer_handle_button:                 ; @pointer_handle_button
	.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
Lloh0:
	adrp	x8, _WL_POINTER_BUTTON_STATE_PRESSED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WL_POINTER_BUTTON_STATE_PRESSED@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x8]
Lloh3:
	adrp	x8, _BTN_LEFT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BTN_LEFT@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x9, x5
	b.ne	LBB0_5
; %bb.1:
	cmp	x8, x4
	b.ne	LBB0_7
; %bb.2:
	mov	x20, x2
	mov	w8, #1
	str	w8, [x19]
	ldr	w0, [x19, #12]
Lloh6:
	adrp	x8, _KEY_LEFTALT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _KEY_LEFTALT@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_BIT_GET
	cbz	x0, LBB0_17
; %bb.3:
	ldr	x0, [x19, #32]
	cbz	x0, LBB0_15
; %bb.4:
	ldr	w1, [x19, #16]
	mov	x2, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_xdg_toplevel_move
LBB0_5:
	cmp	x8, x4
	b.ne	LBB0_9
; %bb.6:
	str	wzr, [x19]
	b	LBB0_17
LBB0_7:
Lloh9:
	adrp	x8, _BTN_RIGHT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _BTN_RIGHT@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	cmp	x8, x4
	b.ne	LBB0_11
; %bb.8:
	mov	w8, #1
	str	w8, [x19, #4]
	b	LBB0_17
LBB0_9:
Lloh12:
	adrp	x8, _BTN_RIGHT@GOTPAGE
Lloh13:
	ldr	x8, [x8, _BTN_RIGHT@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	cmp	x8, x4
	b.ne	LBB0_13
; %bb.10:
	str	wzr, [x19, #4]
	b	LBB0_17
LBB0_11:
Lloh15:
	adrp	x8, _BTN_MIDDLE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _BTN_MIDDLE@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
	cmp	x8, x4
	b.ne	LBB0_17
; %bb.12:
	mov	w8, #1
	str	w8, [x19, #8]
	b	LBB0_17
LBB0_13:
Lloh18:
	adrp	x8, _BTN_MIDDLE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _BTN_MIDDLE@GOTPAGEOFF]
Lloh20:
	ldr	x8, [x8]
	cmp	x8, x4
	b.ne	LBB0_17
; %bb.14:
	str	wzr, [x19, #8]
	b	LBB0_17
LBB0_15:
	ldr	x0, [x19, #24]
	cbz	x0, LBB0_17
; %bb.16:
	ldr	w1, [x19, #16]
	mov	x2, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_zxdg_toplevel_v6_move
LBB0_17:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_WL_POINTER_BUTTON_STATE_PRESSED,8,3 ; @WL_POINTER_BUTTON_STATE_PRESSED
	.comm	_BTN_LEFT,8,3                   ; @BTN_LEFT
	.comm	_KEY_LEFTALT,4,2                ; @KEY_LEFTALT
	.comm	_BTN_RIGHT,8,3                  ; @BTN_RIGHT
	.comm	_BTN_MIDDLE,8,3                 ; @BTN_MIDDLE
	.no_dead_strip	_pointer_handle_button
.subsections_via_symbols
