	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_set_japanese_mode              ## -- Begin function set_japanese_mode
	.p2align	4, 0x90
_set_japanese_mode:                     ## @set_japanese_mode
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_edvorakjp_state@GOTPCREL(%rip), %rax
	movl	%edi, (%rax)
	movq	_edvorakjp_config@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	testl	%edi, %edi
	je	LBB0_4
## %bb.1:
	testq	%rax, %rax
	je	LBB0_6
## %bb.2:
	movq	_X_LANG1@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_4:
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	_X_LANG2@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %edi
	callq	_SS_TAP
	jmp	LBB0_7
LBB0_6:
	leaq	L_.str(%rip), %rdi
	callq	_SS_LALT
LBB0_7:
	movl	%eax, %edi
	popq	%rbp
	jmp	_SEND_STRING                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_edvorakjp_state,4,2            ## @edvorakjp_state
	.comm	_edvorakjp_config,8,3           ## @edvorakjp_config
	.comm	_X_LANG1,4,2                    ## @X_LANG1
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"`"

	.comm	_X_LANG2,4,2                    ## @X_LANG2
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_set_japanese_mode              ; -- Begin function set_japanese_mode
	.p2align	2
_set_japanese_mode:                     ; @set_japanese_mode
	.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
Lloh0:
	adrp	x8, _edvorakjp_state@GOTPAGE
Lloh1:
	ldr	x8, [x8, _edvorakjp_state@GOTPAGEOFF]
Lloh2:
	str	w0, [x8]
Lloh3:
	adrp	x8, _edvorakjp_config@GOTPAGE
Lloh4:
	ldr	x8, [x8, _edvorakjp_config@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cbz	w0, LBB0_3
; %bb.1:
	cbz	x8, LBB0_6
; %bb.2:
Lloh6:
	adrp	x8, _X_LANG1@GOTPAGE
Lloh7:
	ldr	x8, [x8, _X_LANG1@GOTPAGEOFF]
	b	LBB0_5
LBB0_3:
	cbz	x8, LBB0_6
; %bb.4:
Lloh8:
	adrp	x8, _X_LANG2@GOTPAGE
Lloh9:
	ldr	x8, [x8, _X_LANG2@GOTPAGEOFF]
LBB0_5:
	ldr	w0, [x8]
	bl	_SS_TAP
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_SEND_STRING
LBB0_6:
Lloh10:
	adrp	x0, l_.str@PAGE
Lloh11:
	add	x0, x0, l_.str@PAGEOFF
	bl	_SS_LALT
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_SEND_STRING
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotStr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_edvorakjp_state,4,2            ; @edvorakjp_state
	.comm	_edvorakjp_config,8,3           ; @edvorakjp_config
	.comm	_X_LANG1,4,2                    ; @X_LANG1
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"`"

	.comm	_X_LANG2,4,2                    ; @X_LANG2
.subsections_via_symbols
