	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_binding_from_xcb_event     ## -- Begin function get_binding_from_xcb_event
	.p2align	4, 0x90
_get_binding_from_xcb_event:            ## @get_binding_from_xcb_event
	.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), %rax
	movq	_XCB_KEY_RELEASE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	sete	%cl
	movq	_XCB_BUTTON_RELEASE@GOTPCREL(%rip), %rsi
	movq	_XCB_BUTTON_PRESS@GOTPCREL(%rip), %rbx
	movq	_B_MOUSE@GOTPCREL(%rip), %rdi
	movq	%rdi, %rdx
	cmpq	(%rbx), %rax
	je	LBB0_2
## %bb.1:
	movq	_B_KEYBOARD@GOTPCREL(%rip), %rdx
LBB0_2:
	cmpq	(%rsi), %rax
	sete	%bl
	cmoveq	%rdi, %rdx
	orb	%bl, %cl
	movzbl	%cl, %r15d
	movl	(%rdx), %r14d
	movq	%rax, %r12
	shrq	$32, %r12
	movq	_XCB_MOD_MASK_LOCK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	notl	%ebx
	andl	%eax, %ebx
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %esi
	callq	_DLOG
	andl	$-24577, %ebx                   ## imm = 0x9FFF
	leaq	L_.str.1(%rip), %rdi
	movl	%ebx, %esi
	callq	_DLOG
	movl	%ebx, %edi
	movl	%r15d, %esi
	movl	%r12d, %edx
	movl	%r14d, %ecx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_get_binding                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_XCB_KEY_RELEASE,8,3            ## @XCB_KEY_RELEASE
	.comm	_XCB_BUTTON_RELEASE,8,3         ## @XCB_BUTTON_RELEASE
	.comm	_XCB_BUTTON_PRESS,8,3           ## @XCB_BUTTON_PRESS
	.comm	_B_MOUSE,4,2                    ## @B_MOUSE
	.comm	_B_KEYBOARD,4,2                 ## @B_KEYBOARD
	.comm	_XCB_MOD_MASK_LOCK,4,2          ## @XCB_MOD_MASK_LOCK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"(removed capslock, state = 0x%x)\n"

	.comm	_I3_XKB_GROUP_MASK_1,4,2        ## @I3_XKB_GROUP_MASK_1
	.comm	_I3_XKB_GROUP_MASK_2,4,2        ## @I3_XKB_GROUP_MASK_2
	.comm	_I3_XKB_GROUP_MASK_3,4,2        ## @I3_XKB_GROUP_MASK_3
	.comm	_I3_XKB_GROUP_MASK_4,4,2        ## @I3_XKB_GROUP_MASK_4
L_.str.1:                               ## @.str.1
	.asciz	"(transformed keyboard group, state = 0x%x)\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_binding_from_xcb_event     ; -- Begin function get_binding_from_xcb_event
	.p2align	2
_get_binding_from_xcb_event:            ; @get_binding_from_xcb_event
	.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
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _XCB_KEY_RELEASE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _XCB_KEY_RELEASE@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w9, eq
Lloh3:
	adrp	x10, _XCB_BUTTON_RELEASE@GOTPAGE
Lloh4:
	ldr	x10, [x10, _XCB_BUTTON_RELEASE@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	cmp	x8, x10
	cset	w10, eq
	orr	w19, w9, w10
Lloh6:
	adrp	x9, _XCB_BUTTON_PRESS@GOTPAGE
Lloh7:
	ldr	x9, [x9, _XCB_BUTTON_PRESS@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w9, eq
	orr	w9, w10, w9
Lloh9:
	adrp	x10, _B_MOUSE@GOTPAGE
Lloh10:
	ldr	x10, [x10, _B_MOUSE@GOTPAGEOFF]
Lloh11:
	adrp	x11, _B_KEYBOARD@GOTPAGE
Lloh12:
	ldr	x11, [x11, _B_KEYBOARD@GOTPAGEOFF]
	cmp	w9, #0
	csel	x9, x10, x11, ne
	ldr	w20, [x9]
	lsr	x21, x8, #32
Lloh13:
	adrp	x9, _XCB_MOD_MASK_LOCK@GOTPAGE
Lloh14:
	ldr	x9, [x9, _XCB_MOD_MASK_LOCK@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	bic	w22, w8, w9
Lloh16:
	adrp	x0, l_.str@PAGE
Lloh17:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x22
	bl	_DLOG
	and	w22, w22, #0xffff9fff
Lloh18:
	adrp	x0, l_.str.1@PAGE
Lloh19:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x22
	bl	_DLOG
	mov	x0, x22
	mov	x1, x19
	mov	x2, x21
	mov	x3, x20
	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
	b	_get_binding
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_XCB_KEY_RELEASE,8,3            ; @XCB_KEY_RELEASE
	.comm	_XCB_BUTTON_RELEASE,8,3         ; @XCB_BUTTON_RELEASE
	.comm	_XCB_BUTTON_PRESS,8,3           ; @XCB_BUTTON_PRESS
	.comm	_B_MOUSE,4,2                    ; @B_MOUSE
	.comm	_B_KEYBOARD,4,2                 ; @B_KEYBOARD
	.comm	_XCB_MOD_MASK_LOCK,4,2          ; @XCB_MOD_MASK_LOCK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"(removed capslock, state = 0x%x)\n"

	.comm	_I3_XKB_GROUP_MASK_1,4,2        ; @I3_XKB_GROUP_MASK_1
	.comm	_I3_XKB_GROUP_MASK_2,4,2        ; @I3_XKB_GROUP_MASK_2
	.comm	_I3_XKB_GROUP_MASK_3,4,2        ; @I3_XKB_GROUP_MASK_3
	.comm	_I3_XKB_GROUP_MASK_4,4,2        ; @I3_XKB_GROUP_MASK_4
l_.str.1:                               ; @.str.1
	.asciz	"(transformed keyboard group, state = 0x%x)\n"

.subsections_via_symbols
