	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_send_keycode                   ## -- Begin function send_keycode
	.p2align	4, 0x90
_send_keycode:                          ## @send_keycode
	.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
	movl	%edi, %r15d
	xorl	%eax, %eax
	callq	_get_mods
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_KC_LSFT@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_MOD_BIT
	movl	%eax, %r12d
	movq	_KC_RSFT@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_MOD_BIT
	movl	%eax, %r13d
	orl	%r12d, %r13d
	movl	(%rbx), %edi
	callq	_MOD_BIT
	movl	%eax, %ebx
	movl	(%r14), %edi
	callq	_MOD_BIT
	orl	%eax, %ebx
	movl	%ebx, %edi
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	callq	_unregister_mods
	movl	%r15d, %edi
	testl	%ebx, %r13d
	je	LBB0_2
## %bb.1:
	callq	_SHIFTED_MODS
	movl	%eax, %edi
	callq	_register_mods
	movl	%r15d, %edi
	callq	_SHIFTED_KEY
	movl	%eax, %edi
	callq	_register_code
	movl	%r15d, %edi
	callq	_SHIFTED_KEY
	movl	%eax, %edi
	callq	_unregister_code
	movl	%r15d, %edi
	callq	_SHIFTED_MODS
	jmp	LBB0_3
LBB0_2:
	callq	_UNSHIFTED_MODS
	movl	%eax, %edi
	callq	_register_mods
	movl	%r15d, %edi
	callq	_UNSHIFTED_KEY
	movl	%eax, %edi
	callq	_register_code
	movl	%r15d, %edi
	callq	_UNSHIFTED_KEY
	movl	%eax, %edi
	callq	_unregister_code
	movl	%r15d, %edi
	callq	_UNSHIFTED_MODS
LBB0_3:
	movl	%eax, %edi
	callq	_unregister_mods
	xorl	%eax, %eax
	callq	_clear_mods
	movl	%ebx, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_register_mods                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_KC_LSFT,4,2                    ## @KC_LSFT
	.comm	_KC_RSFT,4,2                    ## @KC_RSFT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_send_keycode                   ; -- Begin function send_keycode
	.p2align	2
_send_keycode:                          ; @send_keycode
	.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, x0
	bl	_get_mods
	mov	x19, x0
Lloh0:
	adrp	x22, _KC_LSFT@GOTPAGE
Lloh1:
	ldr	x22, [x22, _KC_LSFT@GOTPAGEOFF]
	ldr	w0, [x22]
	bl	_MOD_BIT
	mov	x21, x0
Lloh2:
	adrp	x23, _KC_RSFT@GOTPAGE
Lloh3:
	ldr	x23, [x23, _KC_RSFT@GOTPAGEOFF]
	ldr	w0, [x23]
	bl	_MOD_BIT
	orr	w8, w0, w21
	and	w24, w8, w19
	ldr	w0, [x22]
	bl	_MOD_BIT
	mov	x21, x0
	ldr	w0, [x23]
	bl	_MOD_BIT
	orr	w0, w0, w21
	bl	_unregister_mods
	mov	x0, x20
	cbz	w24, LBB0_2
; %bb.1:
	bl	_SHIFTED_MODS
	bl	_register_mods
	mov	x0, x20
	bl	_SHIFTED_KEY
	bl	_register_code
	mov	x0, x20
	bl	_SHIFTED_KEY
	bl	_unregister_code
	mov	x0, x20
	bl	_SHIFTED_MODS
	b	LBB0_3
LBB0_2:
	bl	_UNSHIFTED_MODS
	bl	_register_mods
	mov	x0, x20
	bl	_UNSHIFTED_KEY
	bl	_register_code
	mov	x0, x20
	bl	_UNSHIFTED_KEY
	bl	_unregister_code
	mov	x0, x20
	bl	_UNSHIFTED_MODS
LBB0_3:
	bl	_unregister_mods
	bl	_clear_mods
	mov	x0, x19
	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_mods
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_KC_LSFT,4,2                    ; @KC_LSFT
	.comm	_KC_RSFT,4,2                    ; @KC_RSFT
.subsections_via_symbols
