	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_configure_binding              ## -- Begin function configure_binding
	.p2align	4, 0x90
_configure_binding:                     ## @configure_binding
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -64(%rbp)                  ## 8-byte Spill
	movq	%r8, -56(%rbp)                  ## 8-byte Spill
	movq	%rcx, %r15
	movq	%rdx, %r14
	movq	%rsi, %r13
	movq	%rdi, %r12
	movl	$1, %edi
	movl	$56, %esi
	callq	_scalloc
	movq	%rax, %rbx
	leaq	L_.str(%rip), %rdi
	movq	%rax, %rsi
	movq	%r12, %rdx
	movq	%r13, -48(%rbp)                 ## 8-byte Spill
	movq	%r13, %rcx
	movq	%r14, %r13
	movq	%r14, %r8
	movq	%r15, %r9
	callq	_DLOG
	testq	%r15, %r15
	jne	LBB0_1
## %bb.2:
	movq	_B_UPON_KEYPRESS@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_B_UPON_KEYRELEASE@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	movl	%eax, 52(%rbx)
	xorl	%eax, %eax
	cmpq	$0, -56(%rbp)                   ## 8-byte Folded Reload
	setne	%al
	movl	%eax, 48(%rbx)
	xorl	%eax, %eax
	cmpq	$0, -64(%rbp)                   ## 8-byte Folded Reload
	setne	%al
	movl	%eax, 44(%rbx)
	xorl	%eax, %eax
	cmpq	$0, 16(%rbp)
	setne	%al
	movl	%eax, 40(%rbx)
	leaq	L_.str.1(%rip), %rsi
	movq	%r12, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_4
## %bb.8:
	leaq	-72(%rbp), %rsi
	movq	%r13, %rdi
	movl	$10, %edx
	callq	_parse_long
	testl	%eax, %eax
	je	LBB0_9
## %bb.10:
	movq	-72(%rbp), %rax
	movq	%rax, (%rbx)
	movq	_B_KEYBOARD@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 24(%rbx)
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_11
LBB0_4:
	leaq	L_.str.2(%rip), %rsi
	movq	%r13, %rdi
	movl	$6, %edx
	callq	_strncasecmp
	testq	%rax, %rax
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	jne	LBB0_5
## %bb.6:
	movq	_B_MOUSE@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_9:
	leaq	L_.str.3(%rip), %rdi
	movq	%r13, %rsi
	xorl	%eax, %eax
	callq	_ELOG
	movq	%rbx, %rdi
	callq	_FREE
	xorl	%ebx, %ebx
	jmp	LBB0_14
LBB0_5:
	movq	_B_KEYBOARD@GOTPCREL(%rip), %rax
LBB0_7:
	movq	(%rax), %rax
	movq	%rax, 24(%rbx)
	movq	%r13, %rdi
	callq	_sstrdup
	movq	%rax, 32(%rbx)
LBB0_11:
	movl	40(%rbp), %r15d
	movq	32(%rbp), %r12
	movq	24(%rbp), %rdi
	callq	_sstrdup
	movq	%rax, 16(%rbx)
	movq	%r14, %rdi
	callq	_event_state_from_str
	movl	%eax, 8(%rbx)
	sarl	$16, %eax
	movq	_I3_XKB_GROUP_MASK_1@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	testl	%eax, (%rcx)
	setne	%dl
	movq	_I3_XKB_GROUP_MASK_2@GOTPCREL(%rip), %rcx
	leal	1(%rdx), %esi
	testl	%eax, (%rcx)
	cmovel	%edx, %esi
	movq	_I3_XKB_GROUP_MASK_3@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%eax, %ecx
	cmpl	$1, %ecx
	sbbl	$-1, %esi
	movq	_I3_XKB_GROUP_MASK_4@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	cmpl	$1, %eax
	sbbl	$-1, %esi
	cmpl	$2, %esi
	jb	LBB0_13
## %bb.12:
	leaq	L_.str.4(%rip), %rdi
	xorl	%eax, %eax
	callq	_ELOG
LBB0_13:
	movq	%r12, %rdi
	movl	%r15d, %esi
	callq	_mode_from_name
	movl	(%rax), %edi
	movq	_bindings@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rsi
	callq	_TAILQ_INSERT_TAIL
	movq	%rbx, %rdi
	addq	$12, %rdi
	callq	_TAILQ_INIT
LBB0_14:
	movq	%rbx, %rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Binding %p bindtype %s, modifiers %s, input code %s, release %s\n"

	.comm	_B_UPON_KEYRELEASE,4,2          ## @B_UPON_KEYRELEASE
	.comm	_B_UPON_KEYPRESS,4,2            ## @B_UPON_KEYPRESS
L_.str.1:                               ## @.str.1
	.asciz	"bindsym"

L_.str.2:                               ## @.str.2
	.asciz	"button"

	.comm	_B_MOUSE,8,3                    ## @B_MOUSE
	.comm	_B_KEYBOARD,8,3                 ## @B_KEYBOARD
L_.str.3:                               ## @.str.3
	.asciz	"Could not parse \"%s\" as an input code, ignoring this binding.\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.4:                               ## @.str.4
	.asciz	"Keybinding has more than one Group specified, but your X server is always in precisely one group. The keybinding can never trigger.\n"

	.comm	_bindings,4,2                   ## @bindings
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_configure_binding              ; -- Begin function configure_binding
	.p2align	2
_configure_binding:                     ; @configure_binding
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x7
	mov	x23, x6
	mov	x24, x5
	mov	x25, x4
	mov	x26, x3
	mov	x22, x2
	mov	x20, x1
	mov	x27, x0
	mov	w0, #1
	mov	w1, #56
	bl	_scalloc
	mov	x19, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	mov	x2, x27
	mov	x3, x20
	mov	x4, x22
	mov	x5, x26
	bl	_DLOG
Lloh2:
	adrp	x8, _B_UPON_KEYRELEASE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _B_UPON_KEYRELEASE@GOTPAGEOFF]
Lloh4:
	adrp	x9, _B_UPON_KEYPRESS@GOTPAGE
Lloh5:
	ldr	x9, [x9, _B_UPON_KEYPRESS@GOTPAGEOFF]
	cmp	x26, #0
	csel	x8, x9, x8, eq
	ldr	w8, [x8]
	cmp	x25, #0
	cset	w9, ne
	stp	w9, w8, [x19, #48]
	cmp	x24, #0
	cset	w8, ne
	cmp	x23, #0
	cset	w9, ne
	stp	w9, w8, [x19, #40]
Lloh6:
	adrp	x1, l_.str.1@PAGE
Lloh7:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x27
	bl	_strcmp
	cbz	x0, LBB0_3
; %bb.1:
	add	x1, sp, #8
	mov	x0, x22
	mov	w2, #10
	bl	_parse_long
	cbz	w0, LBB0_7
; %bb.2:
	ldr	x8, [sp, #8]
	str	x8, [x19]
Lloh8:
	adrp	x8, _B_KEYBOARD@GOTPAGE
Lloh9:
	ldr	x8, [x8, _B_KEYBOARD@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	str	x8, [x19, #24]
	b	LBB0_4
LBB0_3:
Lloh11:
	adrp	x1, l_.str.2@PAGE
Lloh12:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x22
	mov	w2, #6
	bl	_strncasecmp
Lloh13:
	adrp	x8, _B_MOUSE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _B_MOUSE@GOTPAGEOFF]
Lloh15:
	adrp	x9, _B_KEYBOARD@GOTPAGE
Lloh16:
	ldr	x9, [x9, _B_KEYBOARD@GOTPAGEOFF]
	cmp	x0, #0
	csel	x8, x8, x9, eq
	ldr	x8, [x8]
	str	x8, [x19, #24]
	mov	x0, x22
	bl	_sstrdup
	str	x0, [x19, #32]
LBB0_4:
	ldr	w22, [x29, #24]
	ldr	x23, [x29, #16]
	mov	x0, x21
	bl	_sstrdup
	str	x0, [x19, #16]
	mov	x0, x20
	bl	_event_state_from_str
	str	w0, [x19, #8]
	asr	w8, w0, #16
Lloh17:
	adrp	x9, _I3_XKB_GROUP_MASK_1@GOTPAGE
Lloh18:
	ldr	x9, [x9, _I3_XKB_GROUP_MASK_1@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w9, ne
Lloh20:
	adrp	x10, _I3_XKB_GROUP_MASK_2@GOTPAGE
Lloh21:
	ldr	x10, [x10, _I3_XKB_GROUP_MASK_2@GOTPAGEOFF]
Lloh22:
	ldr	w10, [x10]
	mov	w11, #1
	cinc	w11, w11, ne
	tst	w10, w8
	csel	w9, w9, w11, eq
Lloh23:
	adrp	x10, _I3_XKB_GROUP_MASK_3@GOTPAGE
Lloh24:
	ldr	x10, [x10, _I3_XKB_GROUP_MASK_3@GOTPAGEOFF]
Lloh25:
	ldr	w10, [x10]
	tst	w10, w8
	cinc	w9, w9, ne
Lloh26:
	adrp	x10, _I3_XKB_GROUP_MASK_4@GOTPAGE
Lloh27:
	ldr	x10, [x10, _I3_XKB_GROUP_MASK_4@GOTPAGEOFF]
Lloh28:
	ldr	w10, [x10]
	tst	w10, w8
	cinc	w8, w9, ne
	cmp	w8, #2
	b.lo	LBB0_6
; %bb.5:
Lloh29:
	adrp	x0, l_.str.4@PAGE
Lloh30:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_ELOG
LBB0_6:
	mov	x0, x23
	mov	x1, x22
	bl	_mode_from_name
	ldr	w0, [x0]
Lloh31:
	adrp	x8, _bindings@GOTPAGE
Lloh32:
	ldr	x8, [x8, _bindings@GOTPAGEOFF]
Lloh33:
	ldr	w2, [x8]
	mov	x1, x19
	bl	_TAILQ_INSERT_TAIL
	add	x0, x19, #12
	bl	_TAILQ_INIT
	b	LBB0_8
LBB0_7:
	str	x22, [sp]
Lloh34:
	adrp	x0, l_.str.3@PAGE
Lloh35:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_ELOG
	mov	x0, x19
	bl	_FREE
	mov	x19, #0
LBB0_8:
	mov	x0, x19
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpAdd	Lloh34, Lloh35
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Binding %p bindtype %s, modifiers %s, input code %s, release %s\n"

	.comm	_B_UPON_KEYRELEASE,4,2          ; @B_UPON_KEYRELEASE
	.comm	_B_UPON_KEYPRESS,4,2            ; @B_UPON_KEYPRESS
l_.str.1:                               ; @.str.1
	.asciz	"bindsym"

l_.str.2:                               ; @.str.2
	.asciz	"button"

	.comm	_B_MOUSE,8,3                    ; @B_MOUSE
	.comm	_B_KEYBOARD,8,3                 ; @B_KEYBOARD
l_.str.3:                               ; @.str.3
	.asciz	"Could not parse \"%s\" as an input code, ignoring this binding.\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.4:                               ; @.str.4
	.asciz	"Keybinding has more than one Group specified, but your X server is always in precisely one group. The keybinding can never trigger.\n"

	.comm	_bindings,4,2                   ; @bindings
.subsections_via_symbols
