	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function AT91F_DataFlashSendCommand
_AT91F_DataFlashSendCommand:            ## @AT91F_DataFlashSendCommand
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%ecx, %eax
	movl	%edx, %r8d
	movq	(%rdi), %r9
	movq	8(%rdi), %r10
	movb	4(%r10), %cl
	xorl	%edx, %edx
	divl	(%r10)
	shll	%cl, %eax
	addl	%edx, %eax
	movq	(%r9), %rcx
	movb	%sil, (%rcx)
	movq	8(%rdi), %rcx
	cmpl	$16384, 8(%rcx)                 ## imm = 0x4000
	jl	LBB0_2
## %bb.1:
	movl	%eax, %ecx
	shrl	$24, %ecx
	andb	$15, %cl
	movq	(%rdi), %rdx
	movq	(%rdx), %rdx
	movb	%cl, 1(%rdx)
	movl	%eax, %ecx
	shrl	$16, %ecx
	movq	(%rdi), %rdx
	movq	(%rdx), %rdx
	movb	%cl, 2(%rdx)
	movq	(%rdi), %rcx
	movq	(%rcx), %rcx
	movb	%ah, 3(%rcx)
	jmp	LBB0_3
LBB0_2:
	movl	%eax, %ecx
	shrl	$16, %ecx
	movq	(%rdi), %rdx
	movq	(%rdx), %rdx
	movb	%cl, 1(%rdx)
	movq	(%rdi), %rcx
	movq	(%rcx), %rcx
	movb	%ah, 2(%rcx)
	movq	(%rdi), %rcx
	movq	(%rcx), %rcx
	movb	%al, 3(%rcx)
	xorl	%eax, %eax
LBB0_3:
	movq	(%rdi), %rcx
	movq	(%rcx), %rcx
	movb	%al, 4(%rcx)
	movq	(%rdi), %rax
	movq	(%rax), %rax
	movb	$0, 5(%rax)
	movq	(%rdi), %rax
	movq	(%rax), %rax
	movb	$0, 6(%rax)
	movq	(%rdi), %rax
	movq	(%rax), %rax
	movb	$0, 7(%rax)
	movq	(%rdi), %rdi
	movq	(%rdi), %rax
	movq	%rax, 8(%rdi)
	movl	%r8d, 16(%rdi)
	movq	%rax, 24(%rdi)
	movl	%r8d, 32(%rdi)
	popq	%rbp
	jmp	_AT91F_SpiWrite                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_AT91F_DataFlashSendCommand
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function AT91F_DataFlashSendCommand
_AT91F_DataFlashSendCommand:            ; @AT91F_DataFlashSendCommand
	.cfi_startproc
; %bb.0:
	ldp	x9, x8, [x0]
	ldp	w10, w8, [x8]
	udiv	w11, w3, w10
	msub	w10, w11, w10, w3
	lsl	w8, w11, w8
	add	w8, w8, w10
	ldr	x9, [x9]
	strb	w1, [x9]
	ldr	x9, [x0, #8]
	ldr	w9, [x9, #8]
	cmp	w9, #4, lsl #12                 ; =16384
	b.lt	LBB0_2
; %bb.1:
	ubfx	w9, w8, #24, #4
	ldr	x10, [x0]
	ldr	x10, [x10]
	strb	w9, [x10, #1]
	lsr	w9, w8, #16
	ldr	x10, [x0]
	ldr	x10, [x10]
	strb	w9, [x10, #2]
	lsr	w9, w8, #8
	ldr	x10, [x0]
	ldr	x10, [x10]
	strb	w9, [x10, #3]
	b	LBB0_3
LBB0_2:
	lsr	w9, w8, #16
	ldr	x10, [x0]
	ldr	x10, [x10]
	strb	w9, [x10, #1]
	lsr	w9, w8, #8
	ldr	x10, [x0]
	ldr	x10, [x10]
	strb	w9, [x10, #2]
	ldr	x9, [x0]
	ldr	x9, [x9]
	strb	w8, [x9, #3]
	mov	w8, #0
LBB0_3:
	ldr	x9, [x0]
	ldr	x9, [x9]
	strb	w8, [x9, #4]
	ldr	x8, [x0]
	ldr	x8, [x8]
	strb	wzr, [x8, #5]
	ldr	x8, [x0]
	ldr	x8, [x8]
	strb	wzr, [x8, #6]
	ldr	x8, [x0]
	ldr	x8, [x8]
	strb	wzr, [x8, #7]
	ldr	x0, [x0]
	ldr	x8, [x0]
	str	x8, [x0, #8]
	str	w2, [x0, #16]
	str	x8, [x0, #24]
	str	w2, [x0, #32]
	b	_AT91F_SpiWrite
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_AT91F_DataFlashSendCommand
.subsections_via_symbols
