	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function read_cols
_read_cols:                             ## @read_cols
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_IC2@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	movq	_PCA9555_PORT0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_pca9555_readPins
	movl	%eax, %ebx
	movl	(%r14), %edi
	movq	_PCA9555_PORT1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_pca9555_readPins
	movq	_PORT0_COLS_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %ebx
	shll	$3, %ebx
	movq	_PORT1_COLS_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	orl	%ebx, %eax
	notl	%eax
	movq	_COLS_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IC2,4,2                        ## @IC2
	.comm	_PCA9555_PORT0,4,2              ## @PCA9555_PORT0
	.comm	_PCA9555_PORT1,4,2              ## @PCA9555_PORT1
	.comm	_PORT0_COLS_MASK,4,2            ## @PORT0_COLS_MASK
	.comm	_PORT1_COLS_MASK,4,2            ## @PORT1_COLS_MASK
	.comm	_COLS_MASK,4,2                  ## @COLS_MASK
	.no_dead_strip	_read_cols
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function read_cols
_read_cols:                             ; @read_cols
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x20, _IC2@GOTPAGE
Lloh1:
	ldr	x20, [x20, _IC2@GOTPAGEOFF]
	ldr	w0, [x20]
Lloh2:
	adrp	x8, _PCA9555_PORT0@GOTPAGE
Lloh3:
	ldr	x8, [x8, _PCA9555_PORT0@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	bl	_pca9555_readPins
	mov	x19, x0
	ldr	w0, [x20]
Lloh5:
	adrp	x8, _PCA9555_PORT1@GOTPAGE
Lloh6:
	ldr	x8, [x8, _PCA9555_PORT1@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	bl	_pca9555_readPins
Lloh8:
	adrp	x8, _PORT0_COLS_MASK@GOTPAGE
Lloh9:
	ldr	x8, [x8, _PORT0_COLS_MASK@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	and	w8, w8, w19
Lloh11:
	adrp	x9, _PORT1_COLS_MASK@GOTPAGE
Lloh12:
	ldr	x9, [x9, _PORT1_COLS_MASK@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	and	w9, w9, w0
	orr	w8, w9, w8, lsl #3
Lloh14:
	adrp	x9, _COLS_MASK@GOTPAGE
Lloh15:
	ldr	x9, [x9, _COLS_MASK@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	bic	w0, w9, w8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_IC2,4,2                        ; @IC2
	.comm	_PCA9555_PORT0,4,2              ; @PCA9555_PORT0
	.comm	_PCA9555_PORT1,4,2              ; @PCA9555_PORT1
	.comm	_PORT0_COLS_MASK,4,2            ; @PORT0_COLS_MASK
	.comm	_PORT1_COLS_MASK,4,2            ; @PORT1_COLS_MASK
	.comm	_COLS_MASK,4,2                  ; @COLS_MASK
	.no_dead_strip	_read_cols
.subsections_via_symbols
