	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function process_single_combo
_process_single_combo:                  ## @process_single_combo
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r14
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	(%rdi), %rbx
	movq	$-1, %r13
	xorl	%r12d, %r12d
	movq	_COMBO_END@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_pgm_read_word
	cmpq	%r14, %rax
	cmoveq	%r12, %r13
	incq	%r12
	addq	$8, %rbx
	cmpq	%rax, (%r15)
	jne	LBB0_1
## %bb.2:
	cmpl	$-1, %r13d
	je	LBB0_3
## %bb.4:
	movq	_is_active@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	cmpq	$0, (%rax)
	je	LBB0_8
## %bb.5:
	movq	%r13, %rdi
	callq	_KEY_STATE_DOWN
	testl	%r14d, %r14d
	je	LBB0_12
## %bb.6:
	movq	_ALL_COMBO_KEYS_ARE_DOWN@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_12
## %bb.7:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	8(%rax), %edi
	movl	$1, %esi
	callq	_send_combo
	movq	_drop_buffer@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	jmp	LBB0_12
LBB0_3:
	xorl	%r14d, %r14d
	jmp	LBB0_12
LBB0_8:
	movq	_ALL_COMBO_KEYS_ARE_DOWN@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_9
## %bb.10:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	8(%rax), %edi
	xorl	%esi, %esi
	callq	_send_combo
	jmp	LBB0_11
LBB0_9:
	xorl	%r14d, %r14d
LBB0_11:
	movq	%r13, %rdi
	callq	_KEY_STATE_UP
LBB0_12:
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_COMBO_END,8,3                  ## @COMBO_END
	.comm	_is_active,4,2                  ## @is_active
	.comm	_ALL_COMBO_KEYS_ARE_DOWN,8,3    ## @ALL_COMBO_KEYS_ARE_DOWN
	.comm	_drop_buffer,4,2                ## @drop_buffer
	.no_dead_strip	_process_single_combo
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function process_single_combo
_process_single_combo:                  ; @process_single_combo
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x22, x2
	mov	x21, x1
	mov	x20, x0
	mov	x24, #0
	ldr	x23, [x0]
	mov	x19, #-1
Lloh0:
	adrp	x25, _COMBO_END@GOTPAGE
Lloh1:
	ldr	x25, [x25, _COMBO_END@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x23
	bl	_pgm_read_word
	cmp	x0, x21
	csel	x19, x24, x19, eq
	ldr	x8, [x25]
	add	x24, x24, #1
	add	x23, x23, #8
	cmp	x8, x0
	b.ne	LBB0_1
; %bb.2:
	cmn	w19, #1
	b.eq	LBB0_6
; %bb.3:
Lloh2:
	adrp	x8, _is_active@GOTPAGE
Lloh3:
	ldr	x8, [x8, _is_active@GOTPAGEOFF]
Lloh4:
	ldr	w21, [x8]
	ldr	x8, [x22]
	cbz	x8, LBB0_7
; %bb.4:
	mov	x0, x19
	bl	_KEY_STATE_DOWN
Lloh5:
	adrp	x8, _ALL_COMBO_KEYS_ARE_DOWN@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ALL_COMBO_KEYS_ARE_DOWN@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	cmp	w21, #0
	ccmp	x8, #0, #4, ne
	b.eq	LBB0_11
; %bb.5:
	ldr	w0, [x20, #8]
	mov	w19, #1
	mov	w1, #1
	bl	_send_combo
Lloh8:
	adrp	x8, _drop_buffer@GOTPAGE
Lloh9:
	ldr	x8, [x8, _drop_buffer@GOTPAGEOFF]
Lloh10:
	str	w19, [x8]
	b	LBB0_11
LBB0_6:
	mov	w21, #0
	b	LBB0_11
LBB0_7:
Lloh11:
	adrp	x8, _ALL_COMBO_KEYS_ARE_DOWN@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ALL_COMBO_KEYS_ARE_DOWN@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	cbz	x8, LBB0_9
; %bb.8:
	ldr	w0, [x20, #8]
	mov	w1, #0
	bl	_send_combo
	b	LBB0_10
LBB0_9:
	mov	w21, #0
LBB0_10:
	mov	x0, x19
	bl	_KEY_STATE_UP
LBB0_11:
	mov	x0, x21
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotStr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_COMBO_END,8,3                  ; @COMBO_END
	.comm	_is_active,4,2                  ; @is_active
	.comm	_ALL_COMBO_KEYS_ARE_DOWN,8,3    ; @ALL_COMBO_KEYS_ARE_DOWN
	.comm	_drop_buffer,4,2                ; @drop_buffer
	.no_dead_strip	_process_single_combo
.subsections_via_symbols
