	.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	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_GPIOA@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rax, %r14
	movl	$5, %esi
	callq	_palReadPad
	movq	_PAL_HIGH@GOTPCREL(%rip), %rcx
	xorl	%ebx, %ebx
	cmpq	(%rcx), %rax
	movq	%rcx, %r15
	setne	%bl
	movl	(%r14), %edi
	movl	$15, %esi
	callq	_palReadPad
	xorl	%ecx, %ecx
	cmpq	(%r15), %rax
	setne	%cl
	leal	(%rbx,%rcx,2), %ebx
	movl	(%r14), %edi
	movl	$10, %esi
	callq	_palReadPad
	xorl	%ecx, %ecx
	cmpq	(%r15), %rax
	setne	%cl
	leal	(%rbx,%rcx,4), %ebx
	movl	(%r14), %edi
	movl	$9, %esi
	callq	_palReadPad
	xorl	%ecx, %ecx
	cmpq	(%r15), %rax
	setne	%cl
	leal	(%rbx,%rcx,8), %ebx
	movl	(%r14), %edi
	movl	$8, %esi
	callq	_palReadPad
	xorl	%r13d, %r13d
	cmpq	(%r15), %rax
	setne	%r13b
	shll	$4, %r13d
	orl	%ebx, %r13d
	movq	_GPIOB@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	movl	$15, %esi
	callq	_palReadPad
	xorl	%ebx, %ebx
	cmpq	(%r15), %rax
	setne	%bl
	shll	$5, %ebx
	movl	(%r12), %edi
	movl	$14, %esi
	callq	_palReadPad
	xorl	%r14d, %r14d
	cmpq	(%r15), %rax
	setne	%r14b
	shll	$6, %r14d
	orl	%ebx, %r14d
	movl	(%r12), %edi
	movl	$13, %esi
	callq	_palReadPad
	xorl	%r15d, %r15d
	movq	_PAL_HIGH@GOTPCREL(%rip), %rbx
	cmpq	(%rbx), %rax
	setne	%r15b
	shll	$7, %r15d
	orl	%r14d, %r15d
	movl	(%r12), %edi
	movl	$12, %esi
	callq	_palReadPad
	xorl	%r14d, %r14d
	cmpq	(%rbx), %rax
	setne	%r14b
	shll	$8, %r14d
	orl	%r15d, %r14d
	orl	%r13d, %r14d
	movl	(%r12), %edi
	movl	$11, %esi
	callq	_palReadPad
	xorl	%r15d, %r15d
	movq	%rbx, %r13
	cmpq	(%rbx), %rax
	setne	%r15b
	shll	$9, %r15d
	movl	(%r12), %edi
	movl	$10, %esi
	callq	_palReadPad
	xorl	%ebx, %ebx
	cmpq	(%r13), %rax
	setne	%bl
	shll	$10, %ebx
	orl	%r15d, %ebx
	movl	(%r12), %edi
	movl	$1, %esi
	callq	_palReadPad
	xorl	%r15d, %r15d
	cmpq	(%r13), %rax
	setne	%r15b
	shll	$11, %r15d
	orl	%ebx, %r15d
	movl	(%r12), %edi
	xorl	%esi, %esi
	callq	_palReadPad
	xorl	%r12d, %r12d
	cmpq	(%r13), %rax
	setne	%r12b
	shll	$12, %r12d
	orl	%r15d, %r12d
	movq	_GPIOA@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movl	$7, %esi
	callq	_palReadPad
	xorl	%ebx, %ebx
	cmpq	(%r13), %rax
	setne	%bl
	shll	$13, %ebx
	orl	%r12d, %ebx
	orl	%r14d, %ebx
	movl	(%r15), %edi
	movl	$6, %esi
	callq	_palReadPad
	xorl	%ecx, %ecx
	cmpq	(%r13), %rax
	setne	%cl
	shll	$14, %ecx
	orl	%ebx, %ecx
	movl	%ecx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GPIOA,4,2                      ## @GPIOA
	.comm	_PAL_HIGH,8,3                   ## @PAL_HIGH
	.comm	_GPIOB,4,2                      ## @GPIOB
	.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	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
Lloh0:
	adrp	x19, _GPIOA@GOTPAGE
Lloh1:
	ldr	x19, [x19, _GPIOA@GOTPAGEOFF]
	ldr	w0, [x19]
	mov	w1, #5
	bl	_palReadPad
Lloh2:
	adrp	x20, _PAL_HIGH@GOTPAGE
Lloh3:
	ldr	x20, [x20, _PAL_HIGH@GOTPAGEOFF]
	ldr	x8, [x20]
	cmp	x0, x8
	cset	w22, ne
	ldr	w0, [x19]
	mov	w1, #15
	bl	_palReadPad
	ldr	x8, [x20]
	cmp	x0, x8
	cset	w8, ne
	bfi	w22, w8, #1, #1
	ldr	w0, [x19]
	mov	w1, #10
	bl	_palReadPad
	ldr	x8, [x20]
	cmp	x0, x8
	cset	w8, ne
	bfi	w22, w8, #2, #1
	ldr	w0, [x19]
	mov	w1, #9
	bl	_palReadPad
	ldr	x8, [x20]
	cmp	x0, x8
	cset	w8, ne
	bfi	w22, w8, #3, #1
	ldr	w0, [x19]
	mov	w1, #8
	bl	_palReadPad
	ldr	x8, [x20]
	cmp	x0, x8
	cset	w8, ne
	bfi	w22, w8, #4, #1
Lloh4:
	adrp	x21, _GPIOB@GOTPAGE
Lloh5:
	ldr	x21, [x21, _GPIOB@GOTPAGEOFF]
	ldr	w0, [x21]
	mov	w1, #15
	bl	_palReadPad
	ldr	x8, [x20]
	cmp	x0, x8
	cset	w8, ne
	bfi	w22, w8, #5, #1
	ldr	w0, [x21]
	mov	w1, #14
	bl	_palReadPad
	ldr	x8, [x20]
	cmp	x0, x8
	cset	w8, ne
	orr	w22, w22, w8, lsl #6
	ldr	w0, [x21]
	mov	w1, #13
	bl	_palReadPad
	ldr	x8, [x20]
	cmp	x0, x8
	cset	w8, ne
	orr	w22, w22, w8, lsl #7
	ldr	w0, [x21]
	mov	w1, #12
	bl	_palReadPad
	ldr	x8, [x20]
	cmp	x0, x8
	cset	w8, ne
	orr	w22, w22, w8, lsl #8
	ldr	w0, [x21]
	mov	w1, #11
	bl	_palReadPad
	ldr	x8, [x20]
	cmp	x0, x8
	cset	w8, ne
	orr	w22, w22, w8, lsl #9
	ldr	w0, [x21]
	mov	w1, #10
	bl	_palReadPad
	ldr	x8, [x20]
	cmp	x0, x8
	cset	w8, ne
	orr	w22, w22, w8, lsl #10
	ldr	w0, [x21]
	mov	w1, #1
	bl	_palReadPad
	ldr	x8, [x20]
	cmp	x0, x8
	cset	w8, ne
	orr	w22, w22, w8, lsl #11
	ldr	w0, [x21]
	mov	w1, #0
	bl	_palReadPad
	ldr	x8, [x20]
	cmp	x0, x8
	cset	w8, ne
	orr	w21, w22, w8, lsl #12
	ldr	w0, [x19]
	mov	w1, #7
	bl	_palReadPad
	ldr	x8, [x20]
	cmp	x0, x8
	cset	w8, ne
	orr	w21, w21, w8, lsl #13
	ldr	w0, [x19]
	mov	w1, #6
	bl	_palReadPad
	ldr	x8, [x20]
	cmp	x0, x8
	cset	w8, ne
	orr	w0, w21, w8, lsl #14
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_GPIOA,4,2                      ; @GPIOA
	.comm	_PAL_HIGH,8,3                   ; @PAL_HIGH
	.comm	_GPIOB,4,2                      ; @GPIOB
	.no_dead_strip	_read_cols
.subsections_via_symbols
