	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function setup_io_pins
_setup_io_pins:                         ## @setup_io_pins
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_DDRB@GOTPCREL(%rip), %rax
	orb	$14, (%rax)
	movq	_PORTB@GOTPCREL(%rip), %rax
	andb	$-15, (%rax)
	movq	_MATRIX_ROWS@GOTPCREL(%rip), %rax
	movq	(%rax), %r8
	testq	%r8, %r8
	je	LBB0_7
## %bb.1:
	movq	_row_bit@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_row_ddr@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	movq	_row_port@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r10
	cmpq	$1, %r8
	jne	LBB0_3
## %bb.2:
	xorl	%edi, %edi
	jmp	LBB0_5
LBB0_3:
	movq	%r8, %r9
	andq	$-2, %r9
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rax,%rdi,4), %edx
	notl	%edx
	movq	(%rsi,%rdi,8), %rcx
	andl	%edx, (%rcx)
	movl	(%rax,%rdi,4), %ecx
	notl	%ecx
	movq	(%r10,%rdi,8), %rdx
	andl	%ecx, (%rdx)
	movl	4(%rax,%rdi,4), %ecx
	notl	%ecx
	movq	8(%rsi,%rdi,8), %rdx
	andl	%ecx, (%rdx)
	movl	4(%rax,%rdi,4), %ecx
	notl	%ecx
	movq	8(%r10,%rdi,8), %rdx
	andl	%ecx, (%rdx)
	addq	$2, %rdi
	cmpq	%rdi, %r9
	jne	LBB0_4
LBB0_5:
	testb	$1, %r8b
	je	LBB0_7
## %bb.6:
	movl	(%rax,%rdi,4), %ecx
	notl	%ecx
	movq	(%rsi,%rdi,8), %rdx
	andl	%ecx, (%rdx)
	movl	(%rax,%rdi,4), %eax
	notl	%eax
	movq	(%r10,%rdi,8), %rcx
	andl	%eax, (%rcx)
LBB0_7:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DDRB,4,2                       ## @DDRB
	.comm	_PORTB,4,2                      ## @PORTB
	.comm	_MATRIX_ROWS,8,3                ## @MATRIX_ROWS
	.comm	_row_bit,8,3                    ## @row_bit
	.comm	_row_ddr,8,3                    ## @row_ddr
	.comm	_row_port,8,3                   ## @row_port
	.no_dead_strip	_setup_io_pins
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function setup_io_pins
_setup_io_pins:                         ; @setup_io_pins
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _DDRB@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DDRB@GOTPAGEOFF]
	ldr	w9, [x8]
	orr	w9, w9, #0xe
	str	w9, [x8]
Lloh2:
	adrp	x8, _PORTB@GOTPAGE
Lloh3:
	ldr	x8, [x8, _PORTB@GOTPAGEOFF]
	ldr	w9, [x8]
	and	w9, w9, #0xfffffff1
	str	w9, [x8]
Lloh4:
	adrp	x8, _MATRIX_ROWS@GOTPAGE
Lloh5:
	ldr	x8, [x8, _MATRIX_ROWS@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
	cbz	x8, LBB0_3
; %bb.1:
Lloh7:
	adrp	x9, _row_bit@GOTPAGE
Lloh8:
	ldr	x9, [x9, _row_bit@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
Lloh10:
	adrp	x10, _row_ddr@GOTPAGE
Lloh11:
	ldr	x10, [x10, _row_ddr@GOTPAGEOFF]
Lloh12:
	ldr	x10, [x10]
Lloh13:
	adrp	x11, _row_port@GOTPAGE
Lloh14:
	ldr	x11, [x11, _row_port@GOTPAGEOFF]
Lloh15:
	ldr	x11, [x11]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x12, [x10], #8
	ldr	w13, [x9]
	ldr	w14, [x12]
	bic	w13, w14, w13
	str	w13, [x12]
	ldr	w12, [x9], #4
	ldr	x13, [x11], #8
	ldr	w14, [x13]
	bic	w12, w14, w12
	str	w12, [x13]
	subs	x8, x8, #1
	b.ne	LBB0_2
LBB0_3:
	ret
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_DDRB,4,2                       ; @DDRB
	.comm	_PORTB,4,2                      ; @PORTB
	.comm	_MATRIX_ROWS,8,3                ; @MATRIX_ROWS
	.comm	_row_bit,8,3                    ; @row_bit
	.comm	_row_ddr,8,3                    ; @row_ddr
	.comm	_row_port,8,3                   ; @row_port
	.no_dead_strip	_setup_io_pins
.subsections_via_symbols
