	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tap_dance_default_os_layer_switch ## -- Begin function tap_dance_default_os_layer_switch
	.p2align	4, 0x90
_tap_dance_default_os_layer_switch:     ## @tap_dance_default_os_layer_switch
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_keyboard_report@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %r12d
	movq	_KC_LSFT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_MOD_BIT
	movl	%eax, %r15d
	movq	_KC_RSFT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_MOD_BIT
	movl	%eax, %ebx
	orl	%r15d, %ebx
	xorl	%eax, %eax
	callq	_on_qwerty
	movl	(%r14), %edi
	testl	%r12d, %ebx
	je	LBB0_3
## %bb.1:
	testl	%eax, %eax
	je	LBB0_2
LBB0_5:
	callq	_switch_default_layer_on_bepo
	jmp	LBB0_6
LBB0_3:
	testl	%eax, %eax
	je	LBB0_5
LBB0_2:
	callq	_switch_default_layer_on_qwerty
LBB0_6:
	movq	%r14, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_reset_tap_dance                ## TAILCALL
	.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
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tap_dance_default_os_layer_switch ; -- Begin function tap_dance_default_os_layer_switch
	.p2align	2
_tap_dance_default_os_layer_switch:     ; @tap_dance_default_os_layer_switch
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _keyboard_report@GOTPAGE
Lloh1:
	ldr	x8, [x8, _keyboard_report@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	w21, [x8]
Lloh3:
	adrp	x8, _KC_LSFT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _KC_LSFT@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_MOD_BIT
	mov	x20, x0
Lloh6:
	adrp	x8, _KC_RSFT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _KC_RSFT@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_MOD_BIT
	orr	w8, w0, w20
	and	w20, w8, w21
	bl	_on_qwerty
	mov	x8, x0
	ldr	w0, [x19]
	cbz	w20, LBB0_3
; %bb.1:
	cbz	w8, LBB0_4
LBB0_2:
	bl	_switch_default_layer_on_bepo
	b	LBB0_5
LBB0_3:
	cbz	w8, LBB0_2
LBB0_4:
	bl	_switch_default_layer_on_qwerty
LBB0_5:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_reset_tap_dance
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.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
.subsections_via_symbols
