	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function AT91F_PageErase
_AT91F_PageErase:                       ## @AT91F_PageErase
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%esi, %ecx
	movq	8(%rdi), %rax
	movq	$0, (%rax)
	movq	(%rdi), %rax
	xorl	%edx, %edx
	cmpl	$16384, (%rax)                  ## imm = 0x4000
	setge	%dl
	orl	$4, %edx
	movq	_DB_PAGE_ERASE@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	imull	4(%rax), %ecx
	popq	%rbp
	jmp	_AT91F_DataFlashSendCommand     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DB_PAGE_ERASE,4,2              ## @DB_PAGE_ERASE
	.no_dead_strip	_AT91F_PageErase
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function AT91F_PageErase
_AT91F_PageErase:                       ; @AT91F_PageErase
	.cfi_startproc
; %bb.0:
	ldp	x9, x8, [x0]
	str	xzr, [x8]
	ldp	w8, w9, [x9]
	cmp	w8, #4, lsl #12                 ; =16384
	mov	w8, #4
	cinc	w2, w8, ge
Lloh0:
	adrp	x8, _DB_PAGE_ERASE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DB_PAGE_ERASE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	mul	w3, w9, w1
	mov	x1, x8
	b	_AT91F_DataFlashSendCommand
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DB_PAGE_ERASE,4,2              ; @DB_PAGE_ERASE
	.no_dead_strip	_AT91F_PageErase
.subsections_via_symbols
