	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function adc084s021_adc_conversion
_adc084s021_adc_conversion:             ## @adc084s021_adc_conversion
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, %r14
	movl	12(%rdi), %edi
	movl	16(%r14), %r15d
	leaq	8(%r14), %rsi
	callq	_spi_sync
	testl	%eax, %eax
	js	LBB0_17
## %bb.1:
	cmpl	$4, %r15d
	jl	LBB0_17
## %bb.2:
	shrl	%r15d
	movq	(%r14), %rcx
	decl	%r15d
	cmpl	$8, %r15d
	jb	LBB0_3
## %bb.4:
	movq	%r12, %rdx
	subq	%rcx, %rdx
	addq	$-4, %rdx
	cmpq	$32, %rdx
	jae	LBB0_6
LBB0_3:
	xorl	%edx, %edx
LBB0_13:
	movq	%rdx, %r8
	notq	%r8
	addq	%r15, %r8
	movq	%r15, %rdi
	andq	$3, %rdi
	je	LBB0_18
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	leaq	1(%rdx), %rsi
	movl	4(%rcx,%rdx,4), %ebx
	movl	%ebx, (%r12,%rdx,4)
	movq	%rsi, %rdx
	decq	%rdi
	jne	LBB0_14
## %bb.15:
	cmpq	$3, %r8
	jb	LBB0_17
	jmp	LBB0_16
LBB0_18:
	movq	%rdx, %rsi
	cmpq	$3, %r8
	jb	LBB0_17
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movl	4(%rcx,%rsi,4), %edx
	movl	%edx, (%r12,%rsi,4)
	movl	8(%rcx,%rsi,4), %edx
	movl	%edx, 4(%r12,%rsi,4)
	movl	12(%rcx,%rsi,4), %edx
	movl	%edx, 8(%r12,%rsi,4)
	movl	16(%rcx,%rsi,4), %edx
	movl	%edx, 12(%r12,%rsi,4)
	leaq	4(%rsi), %rdx
	movq	%rdx, %rsi
	cmpq	%rdx, %r15
	jne	LBB0_16
	jmp	LBB0_17
LBB0_6:
	movl	%r15d, %edx
	andl	$-8, %edx
	leaq	-8(%rdx), %rdi
	movq	%rdi, %rsi
	shrq	$3, %rsi
	incq	%rsi
	movl	%esi, %r8d
	andl	$3, %r8d
	cmpq	$24, %rdi
	jae	LBB0_8
## %bb.7:
	xorl	%edi, %edi
	jmp	LBB0_10
LBB0_8:
	andq	$-4, %rsi
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movups	4(%rcx,%rdi,4), %xmm0
	movups	20(%rcx,%rdi,4), %xmm1
	movups	%xmm0, (%r12,%rdi,4)
	movups	%xmm1, 16(%r12,%rdi,4)
	movups	36(%rcx,%rdi,4), %xmm0
	movups	52(%rcx,%rdi,4), %xmm1
	movups	%xmm0, 32(%r12,%rdi,4)
	movups	%xmm1, 48(%r12,%rdi,4)
	movups	68(%rcx,%rdi,4), %xmm0
	movups	84(%rcx,%rdi,4), %xmm1
	movups	%xmm0, 64(%r12,%rdi,4)
	movups	%xmm1, 80(%r12,%rdi,4)
	movups	100(%rcx,%rdi,4), %xmm0
	movups	116(%rcx,%rdi,4), %xmm1
	movups	%xmm0, 96(%r12,%rdi,4)
	movups	%xmm1, 112(%r12,%rdi,4)
	addq	$32, %rdi
	addq	$-4, %rsi
	jne	LBB0_9
LBB0_10:
	testq	%r8, %r8
	je	LBB0_12
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	leaq	(,%rdi,4), %rsi
	orq	$4, %rsi
	movups	(%rcx,%rsi), %xmm0
	movups	16(%rcx,%rsi), %xmm1
	movups	%xmm0, (%r12,%rdi,4)
	movups	%xmm1, 16(%r12,%rdi,4)
	addq	$8, %rdi
	decq	%r8
	jne	LBB0_11
LBB0_12:
	cmpq	%r15, %rdx
	jne	LBB0_13
LBB0_17:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_adc084s021_adc_conversion
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function adc084s021_adc_conversion
_adc084s021_adc_conversion:             ; @adc084s021_adc_conversion
	.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
	mov	x19, x1
	mov	x20, x0
	ldp	w0, w21, [x0, #12]
	add	x1, x20, #8
	bl	_spi_sync
	tbnz	w0, #31, LBB0_7
; %bb.1:
	cmp	w21, #4
	b.lt	LBB0_7
; %bb.2:
	lsr	w9, w21, #1
	ldr	x8, [x20]
	sub	w9, w9, #1
	cmp	w9, #16
	b.lo	LBB0_4
; %bb.3:
	sub	x10, x19, x8
	sub	x10, x10, #4
	cmp	x10, #64
	b.hs	LBB0_8
LBB0_4:
	mov	x10, #0
LBB0_5:
	lsl	x12, x10, #2
	add	x11, x19, x12
	sub	x9, x9, x10
	add	x8, x12, x8
	add	x8, x8, #4
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x8], #4
	str	w10, [x11], #4
	subs	x9, x9, #1
	b.ne	LBB0_6
LBB0_7:
	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
LBB0_8:
	and	x10, x9, #0xfffffff0
	add	x11, x19, #32
	add	x12, x8, #36
	mov	x13, x10
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldp	q0, q1, [x12, #-32]
	ldp	q2, q3, [x12], #64
	stp	q0, q1, [x11, #-32]
	stp	q2, q3, [x11], #64
	subs	x13, x13, #16
	b.ne	LBB0_9
; %bb.10:
	cmp	x10, x9
	b.eq	LBB0_7
	b	LBB0_5
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_adc084s021_adc_conversion
.subsections_via_symbols
