	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_action_pseudo_lut              ## -- Begin function action_pseudo_lut
	.p2align	4, 0x90
_action_pseudo_lut:                     ## @action_pseudo_lut
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movl	%esi, %eax
	movq	%rdi, %rbx
	movl	8(%rdi), %esi
	movl	%eax, %edi
	callq	_keymap_key_to_keycode
	movl	%eax, %r15d
	movq	_keyboard_report@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %r14d
	movq	_KC_LSFT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_MOD_BIT
	movl	%eax, %r12d
	movq	_KC_RSFT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_MOD_BIT
	cmpq	$0, (%rbx)
	je	LBB0_14
## %bb.1:
	movl	%eax, %r13d
	orl	%r12d, %r13d
	andl	%r14d, %r13d
	xorl	%eax, %eax
	callq	_IS_COMMAND
	testq	%rax, %rax
	je	LBB0_6
## %bb.2:
	testl	%r13d, %r13d
	je	LBB0_4
## %bb.3:
	movl	%r15d, %edi
	callq	_add_shift_bit
LBB0_4:
	movl	%r15d, %edi
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_register_code                  ## TAILCALL
LBB0_14:
	movl	%r15d, %edi
	callq	_get_shift_bit
	testq	%rax, %rax
	je	LBB0_15
## %bb.16:
	movl	%r15d, %edi
	callq	_del_shift_bit
	movl	$1, %edx
	jmp	LBB0_17
LBB0_6:
	testl	%r13d, %r13d
	je	LBB0_11
## %bb.7:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%r15d, %esi
	movl	$1, %edx
	callq	_convert_keycode
	movl	%eax, %r14d
	leaq	L_.str(%rip), %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_dprintf
	movl	%r15d, %edi
	callq	_add_shift_bit
	movl	%r14d, %edi
	callq	_IS_LSFT
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movq	_QK_LSFT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%r14d, %edi
	jmp	LBB0_5
LBB0_15:
	xorl	%edx, %edx
LBB0_17:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%r15d, %esi
	callq	_convert_keycode
	movl	%eax, %ebx
	leaq	L_.str.1(%rip), %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_dprintf
	movl	%ebx, %edi
	callq	_IS_LSFT
	testq	%rax, %rax
	je	LBB0_19
## %bb.18:
	movq	_QK_LSFT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%ebx, %edi
	jmp	LBB0_20
LBB0_19:
	movl	%ebx, %edi
LBB0_20:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_unregister_code                ## TAILCALL
LBB0_11:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%r15d, %esi
	xorl	%edx, %edx
	callq	_convert_keycode
	movl	%eax, %ebx
	leaq	L_.str(%rip), %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_dprintf
	movl	%ebx, %edi
	callq	_IS_LSFT
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:
	movq	_KC_LSFT@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	callq	_MOD_BIT
	movl	%eax, %edi
	callq	_add_weak_mods
	xorl	%eax, %eax
	callq	_send_keyboard_report
	movq	_QK_LSFT@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	xorl	%ebx, %edi
	callq	_register_code
	movl	(%r14), %edi
	xorl	%ebx, %edi
	callq	_unregister_code
	movl	(%r15), %edi
	callq	_MOD_BIT
	movl	%eax, %edi
	callq	_del_weak_mods
	jmp	LBB0_10
LBB0_9:
	movl	%r13d, %edi
	callq	_del_mods
	xorl	%eax, %eax
	callq	_send_keyboard_report
	movl	%r14d, %edi
	callq	_register_code
	movl	%r13d, %edi
	callq	_add_mods
LBB0_10:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_send_keyboard_report           ## TAILCALL
LBB0_13:
	movl	%ebx, %edi
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.comm	_keyboard_report,8,3            ## @keyboard_report
	.comm	_KC_LSFT,4,2                    ## @KC_LSFT
	.comm	_KC_RSFT,4,2                    ## @KC_RSFT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"pressed: %02X, converted: %04X\n"

	.comm	_QK_LSFT,4,2                    ## @QK_LSFT
L_.str.1:                               ## @.str.1
	.asciz	"released: %02X, converted: %04X\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_action_pseudo_lut              ; -- Begin function action_pseudo_lut
	.p2align	2
_action_pseudo_lut:                     ; @action_pseudo_lut
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x20, x2
	mov	x8, x1
	mov	x22, x0
	ldr	w1, [x0, #8]
	mov	x0, x8
	bl	_keymap_key_to_keycode
	mov	x19, x0
Lloh0:
	adrp	x8, _keyboard_report@GOTPAGE
Lloh1:
	ldr	x8, [x8, _keyboard_report@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	w24, [x8]
Lloh3:
	adrp	x23, _KC_LSFT@GOTPAGE
Lloh4:
	ldr	x23, [x23, _KC_LSFT@GOTPAGEOFF]
	ldr	w0, [x23]
	bl	_MOD_BIT
	mov	x21, x0
Lloh5:
	adrp	x8, _KC_RSFT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _KC_RSFT@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	bl	_MOD_BIT
	ldr	x8, [x22]
	cbz	x8, LBB0_6
; %bb.1:
	orr	w8, w0, w21
	and	w21, w8, w24
	bl	_IS_COMMAND
	cbz	x0, LBB0_8
; %bb.2:
	cbz	w21, LBB0_4
; %bb.3:
	mov	x0, x19
	bl	_add_shift_bit
LBB0_4:
	mov	x0, x19
LBB0_5:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_register_code
LBB0_6:
	mov	x0, x19
	bl	_get_shift_bit
	cbz	x0, LBB0_11
; %bb.7:
	mov	x0, x19
	bl	_del_shift_bit
	mov	w2, #1
	b	LBB0_12
LBB0_8:
	mov	x0, x20
	mov	x1, x19
	cbz	w21, LBB0_16
; %bb.9:
	mov	w2, #1
	bl	_convert_keycode
	mov	x20, x0
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	mov	x2, x20
	bl	_dprintf
	mov	x0, x19
	bl	_add_shift_bit
	mov	x0, x20
	bl	_IS_LSFT
	cbz	x0, LBB0_18
; %bb.10:
Lloh10:
	adrp	x8, _QK_LSFT@GOTPAGE
Lloh11:
	ldr	x8, [x8, _QK_LSFT@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	eor	w0, w8, w20
	b	LBB0_5
LBB0_11:
	mov	w2, #0
LBB0_12:
	mov	x0, x20
	mov	x1, x19
	bl	_convert_keycode
	mov	x20, x0
Lloh13:
	adrp	x0, l_.str.1@PAGE
Lloh14:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x19
	mov	x2, x20
	bl	_dprintf
	mov	x0, x20
	bl	_IS_LSFT
	cbz	x0, LBB0_14
; %bb.13:
Lloh15:
	adrp	x8, _QK_LSFT@GOTPAGE
Lloh16:
	ldr	x8, [x8, _QK_LSFT@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	eor	w0, w8, w20
	b	LBB0_15
LBB0_14:
	mov	x0, x20
LBB0_15:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_unregister_code
LBB0_16:
	mov	w2, #0
	bl	_convert_keycode
	mov	x20, x0
Lloh18:
	adrp	x0, l_.str@PAGE
Lloh19:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	mov	x2, x20
	bl	_dprintf
	mov	x0, x20
	bl	_IS_LSFT
	cbz	x0, LBB0_20
; %bb.17:
	ldr	w0, [x23]
	bl	_MOD_BIT
	bl	_add_weak_mods
	bl	_send_keyboard_report
Lloh20:
	adrp	x19, _QK_LSFT@GOTPAGE
Lloh21:
	ldr	x19, [x19, _QK_LSFT@GOTPAGEOFF]
	ldr	w8, [x19]
	eor	w0, w8, w20
	bl	_register_code
	ldr	w8, [x19]
	eor	w0, w8, w20
	bl	_unregister_code
	ldr	w0, [x23]
	bl	_MOD_BIT
	bl	_del_weak_mods
	b	LBB0_19
LBB0_18:
	mov	x0, x21
	bl	_del_mods
	bl	_send_keyboard_report
	mov	x0, x20
	bl	_register_code
	mov	x0, x21
	bl	_add_mods
LBB0_19:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_send_keyboard_report
LBB0_20:
	mov	x0, x20
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_keyboard_report,8,3            ; @keyboard_report
	.comm	_KC_LSFT,4,2                    ; @KC_LSFT
	.comm	_KC_RSFT,4,2                    ; @KC_RSFT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"pressed: %02X, converted: %04X\n"

	.comm	_QK_LSFT,4,2                    ; @QK_LSFT
l_.str.1:                               ; @.str.1
	.asciz	"released: %02X, converted: %04X\n"

.subsections_via_symbols
