	.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	_DDRD@GOTPCREL(%rip), %rax
	orb	$80, (%rax)
	movq	_PORTD@GOTPCREL(%rip), %rax
	andb	$-81, (%rax)
	movq	_DDRE@GOTPCREL(%rip), %rax
	orb	$4, (%rax)
	movq	_PORTE@GOTPCREL(%rip), %rax
	andb	$-5, (%rax)
	movq	_DDRB@GOTPCREL(%rip), %rax
	movq	_PORTB@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orb	$12, (%rax)
	andl	$-13, %edx
	orl	$4, %edx
	movl	%edx, (%rcx)
	xorl	%eax, %eax
	popq	%rbp
	jmp	_matrix_init_user               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DDRD,4,2                       ## @DDRD
	.comm	_PORTD,4,2                      ## @PORTD
	.comm	_DDRE,4,2                       ## @DDRE
	.comm	_PORTE,4,2                      ## @PORTE
	.comm	_DDRB,4,2                       ## @DDRB
	.comm	_PORTB,4,2                      ## @PORTB
.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:
Lloh0:
	adrp	x8, _DDRD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DDRD@GOTPAGEOFF]
	ldr	w9, [x8]
Lloh2:
	adrp	x10, _PORTD@GOTPAGE
Lloh3:
	ldr	x10, [x10, _PORTD@GOTPAGEOFF]
	ldr	w11, [x10]
	mov	w12, #80
	orr	w9, w9, w12
	str	w9, [x8]
	mov	w8, #-81
	and	w8, w11, w8
	str	w8, [x10]
Lloh4:
	adrp	x8, _DDRE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _DDRE@GOTPAGEOFF]
	ldr	w9, [x8]
	orr	w9, w9, #0x4
	str	w9, [x8]
Lloh6:
	adrp	x8, _PORTE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PORTE@GOTPAGEOFF]
	ldr	w9, [x8]
	and	w9, w9, #0xfffffffb
	str	w9, [x8]
Lloh8:
	adrp	x8, _DDRB@GOTPAGE
Lloh9:
	ldr	x8, [x8, _DDRB@GOTPAGEOFF]
	ldr	w9, [x8]
Lloh10:
	adrp	x10, _PORTB@GOTPAGE
Lloh11:
	ldr	x10, [x10, _PORTB@GOTPAGEOFF]
	ldr	w11, [x10]
	orr	w9, w9, #0xc
	str	w9, [x8]
	and	w8, w11, #0xfffffff3
	orr	w8, w8, #0x4
	str	w8, [x10]
	b	_matrix_init_user
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_DDRD,4,2                       ; @DDRD
	.comm	_PORTD,4,2                      ; @PORTD
	.comm	_DDRE,4,2                       ; @DDRE
	.comm	_PORTE,4,2                      ; @PORTE
	.comm	_DDRB,4,2                       ; @DDRB
	.comm	_PORTB,4,2                      ; @PORTB
.subsections_via_symbols
