	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_matrix_init_kb                 ## -- Begin function matrix_init_kb
	.p2align	4, 0x90
_matrix_init_kb:                        ## @matrix_init_kb
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_STENO_MODE_GEMINI@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_steno_set_mode
	movq	_DDRC@GOTPCREL(%rip), %rax
	andb	$127, (%rax)
	movq	_DDRD@GOTPCREL(%rip), %rax
	andb	$15, (%rax)
	movq	_DDRE@GOTPCREL(%rip), %rax
	andb	$-65, (%rax)
	movq	_PORTC@GOTPCREL(%rip), %rax
	orb	$-128, (%rax)
	movq	_PORTD@GOTPCREL(%rip), %rax
	orb	$-16, (%rax)
	movq	_PORTE@GOTPCREL(%rip), %rax
	orb	$64, (%rax)
	xorl	%eax, %eax
	popq	%rbp
	jmp	_matrix_init_user               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_STENO_MODE_GEMINI,4,2          ## @STENO_MODE_GEMINI
	.comm	_DDRC,4,2                       ## @DDRC
	.comm	_DDRD,4,2                       ## @DDRD
	.comm	_DDRE,4,2                       ## @DDRE
	.comm	_PORTC,4,2                      ## @PORTC
	.comm	_PORTD,4,2                      ## @PORTD
	.comm	_PORTE,4,2                      ## @PORTE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_matrix_init_kb                 ; -- Begin function matrix_init_kb
	.p2align	2
_matrix_init_kb:                        ; @matrix_init_kb
	.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, _STENO_MODE_GEMINI@GOTPAGE
Lloh1:
	ldr	x8, [x8, _STENO_MODE_GEMINI@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_steno_set_mode
Lloh3:
	adrp	x8, _DDRC@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DDRC@GOTPAGEOFF]
	ldr	w9, [x8]
	and	w9, w9, #0xffffff7f
Lloh5:
	adrp	x10, _DDRD@GOTPAGE
Lloh6:
	ldr	x10, [x10, _DDRD@GOTPAGEOFF]
	str	w9, [x8]
	ldr	w8, [x10]
	and	w8, w8, #0xffffff0f
	str	w8, [x10]
Lloh7:
	adrp	x8, _DDRE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _DDRE@GOTPAGEOFF]
	ldr	w9, [x8]
	and	w9, w9, #0xffffffbf
	str	w9, [x8]
Lloh9:
	adrp	x8, _PORTC@GOTPAGE
Lloh10:
	ldr	x8, [x8, _PORTC@GOTPAGEOFF]
	ldr	w9, [x8]
	orr	w9, w9, #0x80
	str	w9, [x8]
Lloh11:
	adrp	x8, _PORTD@GOTPAGE
Lloh12:
	ldr	x8, [x8, _PORTD@GOTPAGEOFF]
	ldr	w9, [x8]
	orr	w9, w9, #0xf0
	str	w9, [x8]
Lloh13:
	adrp	x8, _PORTE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _PORTE@GOTPAGEOFF]
	ldr	w9, [x8]
	orr	w9, w9, #0x40
	str	w9, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_matrix_init_user
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_STENO_MODE_GEMINI,4,2          ; @STENO_MODE_GEMINI
	.comm	_DDRC,4,2                       ; @DDRC
	.comm	_DDRD,4,2                       ; @DDRD
	.comm	_DDRE,4,2                       ; @DDRE
	.comm	_PORTC,4,2                      ; @PORTC
	.comm	_PORTD,4,2                      ; @PORTD
	.comm	_PORTE,4,2                      ; @PORTE
.subsections_via_symbols
