	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_shiftIn                        ## -- Begin function shiftIn
	.p2align	4, 0x90
_shiftIn:                               ## @shiftIn
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r12d
	movl	%edx, -48(%rbp)                 ## 4-byte Spill
	movl	%esi, %r14d
	movl	%edi, %r13d
	movq	_HIGH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edi
	callq	_digitalWrite
	movq	_LSBFIRST@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movl	%r13d, %edi
	movl	%r13d, -52(%rbp)                ## 4-byte Spill
	callq	_digitalRead
	xorl	%edx, %edx
	cmpl	%r12d, %r15d
	movl	$7, %ecx
	cmovel	%edx, %ecx
	movl	%eax, %ebx
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %ebx
	movq	_LOW@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edi
	callq	_digitalWrite
	movq	_HIGH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edi
	callq	_digitalWrite
	movq	_LSBFIRST@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movl	%r13d, %edi
	callq	_digitalRead
	movl	%eax, %r12d
	xorl	%eax, %eax
	movl	-48(%rbp), %r13d                ## 4-byte Reload
	cmpl	%r13d, %r15d
	setne	%al
	leal	(%rax,%rax,4), %ecx
	incl	%ecx
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %r12d
	orl	%ebx, %r12d
	movq	_LOW@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edi
	callq	_digitalWrite
	movq	_HIGH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edi
	callq	_digitalWrite
	movq	_LSBFIRST@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	-52(%rbp), %r15d                ## 4-byte Reload
	movl	%r15d, %edi
	callq	_digitalRead
	movl	%eax, %ebx
	xorl	%eax, %eax
	cmpl	%r13d, -44(%rbp)                ## 4-byte Folded Reload
	setne	%al
	leal	(%rax,%rax,2), %ecx
	addl	$2, %ecx
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %ebx
	movq	_LOW@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edi
	callq	_digitalWrite
	movq	_HIGH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edi
	callq	_digitalWrite
	movq	_LSBFIRST@GOTPCREL(%rip), %rax
	cmpl	%r13d, (%rax)
	sete	-44(%rbp)                       ## 1-byte Folded Spill
	movl	%r15d, %edi
	callq	_digitalRead
	movl	%eax, %r13d
	movb	$4, %cl
	subb	-44(%rbp), %cl                  ## 1-byte Folded Reload
	shll	%cl, %r13d
	orl	%ebx, %r13d
	orl	%r12d, %r13d
	movq	_LOW@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edi
	callq	_digitalWrite
	movq	_HIGH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edi
	callq	_digitalWrite
	movq	_LSBFIRST@GOTPCREL(%rip), %rcx
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	cmpl	%eax, (%rcx)
	sete	%bl
	movl	%r15d, %r12d
	movl	%r15d, %edi
	callq	_digitalRead
	movl	%eax, %r15d
	addb	$3, %bl
	movl	%ebx, %ecx
	shll	%cl, %r15d
	movq	_LOW@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edi
	callq	_digitalWrite
	movq	_HIGH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edi
	callq	_digitalWrite
	movq	_LSBFIRST@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	%r12d, %edi
	callq	_digitalRead
	movl	%eax, %r12d
	xorl	%eax, %eax
	movl	-48(%rbp), %ebx                 ## 4-byte Reload
	cmpl	%ebx, -44(%rbp)                 ## 4-byte Folded Reload
	sete	%al
	leal	(%rax,%rax,2), %ecx
	addl	$2, %ecx
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %r12d
	orl	%r15d, %r12d
	movq	_LOW@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edi
	callq	_digitalWrite
	movq	_HIGH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edi
	callq	_digitalWrite
	movq	_LSBFIRST@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	callq	_digitalRead
	movl	%eax, %r15d
	xorl	%eax, %eax
	cmpl	%ebx, -44(%rbp)                 ## 4-byte Folded Reload
	sete	%al
	leal	(%rax,%rax,4), %ecx
	incl	%ecx
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %r15d
	orl	%r12d, %r15d
	orl	%r13d, %r15d
	movq	_LOW@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movl	%r14d, %edi
	callq	_digitalWrite
	movq	_HIGH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edi
	callq	_digitalWrite
	movq	_LSBFIRST@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	callq	_digitalRead
	cmpl	-48(%rbp), %ebx                 ## 4-byte Folded Reload
	movl	$0, %ecx
	movl	$7, %edx
	cmovel	%edx, %ecx
	movl	%eax, %ebx
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %ebx
	orl	%r15d, %ebx
	movl	(%r12), %esi
	movl	%r14d, %edi
	callq	_digitalWrite
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HIGH,4,2                       ## @HIGH
	.comm	_LSBFIRST,4,2                   ## @LSBFIRST
	.comm	_LOW,4,2                        ## @LOW
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_shiftIn                        ; -- Begin function shiftIn
	.p2align	2
_shiftIn:                               ; @shiftIn
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x2
	mov	x19, x1
	mov	x21, x0
Lloh0:
	adrp	x22, _HIGH@GOTPAGE
Lloh1:
	ldr	x22, [x22, _HIGH@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x19
	bl	_digitalWrite
Lloh2:
	adrp	x23, _LSBFIRST@GOTPAGE
Lloh3:
	ldr	x23, [x23, _LSBFIRST@GOTPAGEOFF]
	ldr	w25, [x23]
	mov	x0, x21
	bl	_digitalRead
	mov	w8, #7
	cmp	w25, w20
	csel	w8, wzr, w8, eq
	lsl	w27, w0, w8
Lloh4:
	adrp	x25, _LOW@GOTPAGE
Lloh5:
	ldr	x25, [x25, _LOW@GOTPAGEOFF]
	ldr	w1, [x25]
	mov	x0, x19
	bl	_digitalWrite
	ldr	w1, [x22]
	mov	x0, x19
	bl	_digitalWrite
	ldr	w26, [x23]
	mov	x0, x21
	bl	_digitalRead
	cmp	w26, w20
	mov	w8, #6
	csinc	w8, w8, wzr, ne
	lsl	w8, w0, w8
	orr	w24, w8, w27
	ldr	w1, [x25]
	mov	x0, x19
	bl	_digitalWrite
	ldr	w1, [x22]
	mov	x0, x19
	bl	_digitalWrite
	ldr	w26, [x23]
	mov	x0, x21
	bl	_digitalRead
	mov	w8, #5
	mov	w28, #2
	cmp	w26, w20
	csel	w8, w28, w8, eq
	lsl	w8, w0, w8
	orr	w24, w8, w24
	ldr	w1, [x25]
	mov	x0, x19
	bl	_digitalWrite
	ldr	w1, [x22]
	mov	x0, x19
	bl	_digitalWrite
	ldr	w26, [x23]
	mov	x0, x21
	bl	_digitalRead
	cmp	w26, w20
	mov	w26, #3
	cinc	w8, w26, ne
	lsl	w8, w0, w8
	orr	w24, w8, w24
	ldr	w1, [x25]
	mov	x0, x19
	bl	_digitalWrite
	ldr	w1, [x22]
	mov	x0, x19
	bl	_digitalWrite
	ldr	w27, [x23]
	mov	x0, x21
	bl	_digitalRead
	cmp	w27, w20
	cinc	w8, w26, eq
	lsl	w8, w0, w8
	orr	w24, w8, w24
	ldr	w1, [x25]
	mov	x0, x19
	bl	_digitalWrite
	ldr	w1, [x22]
	mov	x0, x19
	bl	_digitalWrite
	ldr	w26, [x23]
	mov	x0, x21
	bl	_digitalRead
	cmp	w26, w20
	mov	w8, #5
	csel	w8, w8, w28, eq
	lsl	w8, w0, w8
	orr	w24, w8, w24
	ldr	w1, [x25]
	mov	x0, x19
	bl	_digitalWrite
	ldr	w1, [x22]
	mov	x0, x19
	bl	_digitalWrite
	ldr	w26, [x23]
	mov	x0, x21
	bl	_digitalRead
	cmp	w26, w20
	mov	w8, #6
	csinc	w8, w8, wzr, eq
	lsl	w8, w0, w8
	orr	w24, w8, w24
	ldr	w1, [x25]
	mov	x0, x19
	bl	_digitalWrite
	ldr	w1, [x22]
	mov	x0, x19
	bl	_digitalWrite
	ldr	w22, [x23]
	mov	x0, x21
	bl	_digitalRead
	cmp	w22, w20
	mov	w8, #7
	csel	w8, w8, wzr, eq
	lsl	w8, w0, w8
	orr	w20, w8, w24
	ldr	w1, [x25]
	mov	x0, x19
	bl	_digitalWrite
	mov	x0, x20
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_HIGH,4,2                       ; @HIGH
	.comm	_LSBFIRST,4,2                   ; @LSBFIRST
	.comm	_LOW,4,2                        ; @LOW
.subsections_via_symbols
