	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mod_tap_fn                     ## -- Begin function mod_tap_fn
	.p2align	4, 0x90
_mod_tap_fn:                            ## @mod_tap_fn
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %eax
	cmpl	$3, %eax
	je	LBB0_6
## %bb.1:
	cmpl	$2, %eax
	je	LBB0_4
## %bb.2:
	cmpl	$1, %eax
	jne	LBB0_7
## %bb.3:
	movq	_tap_dance_keys@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	8(%rdi), %rcx
	movq	_QK_TAP_DANCE@GOTPCREL(%rip), %rdx
	subq	(%rdx), %rcx
	movl	(%rax,%rcx,4), %edi
	callq	_MOD_BIT
	movl	%eax, %edi
	callq	_register_mods
	xorl	%eax, %eax
	popq	%rbp
	jmp	_send_keyboard_report           ## TAILCALL
LBB0_6:
	movq	__L2@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_layer_off
	movq	__L1@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_4:
	movq	__L2@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %edi
	popq	%rbp
	jmp	_layer_on                       ## TAILCALL
LBB0_7:
	popq	%rbp
	jmp	_reset_tap_dance                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_tap_dance_keys,8,3             ## @tap_dance_keys
	.comm	_QK_TAP_DANCE,8,3               ## @QK_TAP_DANCE
	.comm	__L2,4,2                        ## @_L2
	.comm	__L1,4,2                        ## @_L1
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mod_tap_fn                     ; -- Begin function mod_tap_fn
	.p2align	2
_mod_tap_fn:                            ; @mod_tap_fn
	.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
	ldr	w8, [x0]
	cmp	w8, #3
	b.eq	LBB0_4
; %bb.1:
	cmp	w8, #2
	b.eq	LBB0_5
; %bb.2:
	cmp	w8, #1
	b.ne	LBB0_7
; %bb.3:
Lloh0:
	adrp	x8, _tap_dance_keys@GOTPAGE
Lloh1:
	ldr	x8, [x8, _tap_dance_keys@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x9, [x0, #8]
Lloh3:
	adrp	x10, _QK_TAP_DANCE@GOTPAGE
Lloh4:
	ldr	x10, [x10, _QK_TAP_DANCE@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	sub	x9, x9, x10
	ldr	w0, [x8, x9, lsl #2]
	bl	_MOD_BIT
	bl	_register_mods
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_send_keyboard_report
LBB0_4:
Lloh6:
	adrp	x8, __L2@GOTPAGE
Lloh7:
	ldr	x8, [x8, __L2@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_layer_off
Lloh9:
	adrp	x8, __L1@GOTPAGE
Lloh10:
	ldr	x8, [x8, __L1@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
Lloh11:
	adrp	x8, __L2@GOTPAGE
Lloh12:
	ldr	x8, [x8, __L2@GOTPAGEOFF]
LBB0_6:
	ldr	w0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_layer_on
LBB0_7:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_reset_tap_dance
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_tap_dance_keys,8,3             ; @tap_dance_keys
	.comm	_QK_TAP_DANCE,8,3               ; @QK_TAP_DANCE
	.comm	__L2,4,2                        ; @_L2
	.comm	__L1,4,2                        ; @_L1
.subsections_via_symbols
