	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function binding_in_current_group
_binding_in_current_group:              ## @binding_in_current_group
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movswl	2(%rdi), %ecx
	movq	_I3_XKB_GROUP_MASK_ANY@GOTPCREL(%rip), %rdx
	movl	$1, %eax
	cmpl	(%rdx), %ecx
	jne	LBB0_1
## %bb.9:
	popq	%rbp
	retq
LBB0_1:
	movq	_xkb_current_group@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leal	-128(%rsi), %eax
	cmpl	$3, %eax
	ja	LBB0_8
## %bb.2:
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rax,4), %rax
	addq	%rdx, %rax
	jmpq	*%rax
LBB0_7:
	movq	_I3_XKB_GROUP_MASK_4@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_8:
	leaq	L_.str(%rip), %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_ELOG
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_6:
	movq	_I3_XKB_GROUP_MASK_3@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_5:
	movq	_I3_XKB_GROUP_MASK_2@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_3:
	movq	_I3_XKB_GROUP_MASK_1@GOTPCREL(%rip), %rax
LBB0_4:
	andl	(%rax), %ecx
	movl	%ecx, %eax
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
LJTI0_0:
	.long	L0_0_set_7
	.long	L0_0_set_6
	.long	L0_0_set_5
	.long	L0_0_set_3
	.end_data_region
                                        ## -- End function
	.comm	_I3_XKB_GROUP_MASK_ANY,4,2      ## @I3_XKB_GROUP_MASK_ANY
	.comm	_xkb_current_group,4,2          ## @xkb_current_group
	.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
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"BUG: xkb_current_group (= %d) outside of [XCB_XKB_GROUP_1..XCB_XKB_GROUP_4]\n"

	.no_dead_strip	_binding_in_current_group
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function binding_in_current_group
_binding_in_current_group:              ; @binding_in_current_group
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldrsh	w8, [x0, #2]
Lloh0:
	adrp	x9, _I3_XKB_GROUP_MASK_ANY@GOTPAGE
Lloh1:
	ldr	x9, [x9, _I3_XKB_GROUP_MASK_ANY@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_2
; %bb.1:
	mov	w0, #1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_2:
Lloh3:
	adrp	x9, _xkb_current_group@GOTPAGE
Lloh4:
	ldr	x9, [x9, _xkb_current_group@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x9]
	sub	w9, w1, #128
	cmp	w9, #3
	b.hi	LBB0_5
; %bb.3:
Lloh6:
	adrp	x10, lJTI0_0@PAGE
Lloh7:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_4
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_4:
Lloh8:
	adrp	x9, _I3_XKB_GROUP_MASK_4@GOTPAGE
Lloh9:
	ldr	x9, [x9, _I3_XKB_GROUP_MASK_4@GOTPAGEOFF]
	b	LBB0_9
LBB0_5:
Lloh10:
	adrp	x0, l_.str@PAGE
Lloh11:
	add	x0, x0, l_.str@PAGEOFF
	bl	_ELOG
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_6:
Lloh12:
	adrp	x9, _I3_XKB_GROUP_MASK_3@GOTPAGE
Lloh13:
	ldr	x9, [x9, _I3_XKB_GROUP_MASK_3@GOTPAGEOFF]
	b	LBB0_9
LBB0_7:
Lloh14:
	adrp	x9, _I3_XKB_GROUP_MASK_2@GOTPAGE
Lloh15:
	ldr	x9, [x9, _I3_XKB_GROUP_MASK_2@GOTPAGEOFF]
	b	LBB0_9
LBB0_8:
Lloh16:
	adrp	x9, _I3_XKB_GROUP_MASK_1@GOTPAGE
Lloh17:
	ldr	x9, [x9, _I3_XKB_GROUP_MASK_1@GOTPAGEOFF]
LBB0_9:
	ldr	w9, [x9]
	and	w0, w9, w8
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_6-LBB0_4)>>2
	.byte	(LBB0_7-LBB0_4)>>2
	.byte	(LBB0_8-LBB0_4)>>2
                                        ; -- End function
	.comm	_I3_XKB_GROUP_MASK_ANY,4,2      ; @I3_XKB_GROUP_MASK_ANY
	.comm	_xkb_current_group,4,2          ; @xkb_current_group
	.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
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"BUG: xkb_current_group (= %d) outside of [XCB_XKB_GROUP_1..XCB_XKB_GROUP_4]\n"

	.no_dead_strip	_binding_in_current_group
.subsections_via_symbols
