	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function multi_erase_cmd
_multi_erase_cmd:                       ## @multi_erase_cmd
	.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
	movl	%esi, %ebx
	movq	%rdi, %r14
	movq	(%rdi), %r13
	movq	_NAND_CMD_ERASE1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rax, %r12
	leal	1(%rbx), %r15d
	movl	$-1, %edx
	movl	%ebx, %ecx
	callq	*(%r13)
	movl	(%r12), %esi
	leal	2(%rbx), %r12d
	movq	%r14, %rdi
	movl	$-1, %edx
	movl	%r15d, %ecx
	callq	*(%r13)
	movq	_NAND_CMD_ERASE1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	addl	$3, %ebx
	movq	%r14, %rdi
	movl	$-1, %edx
	movl	%r12d, %ecx
	callq	*(%r13)
	movq	_NAND_CMD_ERASE1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$-1, %edx
	movl	%ebx, %ecx
	callq	*(%r13)
	movq	(%r13), %rax
	movq	_NAND_CMD_ERASE2@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	%r14, %rdi
	movl	$-1, %edx
	movl	$-1, %ecx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_NAND_CMD_ERASE1,4,2            ## @NAND_CMD_ERASE1
	.comm	_NAND_CMD_ERASE2,4,2            ## @NAND_CMD_ERASE2
	.no_dead_strip	_multi_erase_cmd
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function multi_erase_cmd
_multi_erase_cmd:                       ; @multi_erase_cmd
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x1
	mov	x20, x0
	ldr	x23, [x0]
	ldr	x8, [x23]
Lloh0:
	adrp	x24, _NAND_CMD_ERASE1@GOTPAGE
Lloh1:
	ldr	x24, [x24, _NAND_CMD_ERASE1@GOTPAGEOFF]
	ldr	w1, [x24]
	add	w21, w19, #1
	mov	w2, #-1
	mov	x3, x19
	blr	x8
	ldr	x8, [x23]
	ldr	w1, [x24]
	add	w22, w19, #2
	mov	x0, x20
	mov	w2, #-1
	mov	x3, x21
	blr	x8
	ldr	x8, [x23]
	ldr	w1, [x24]
	add	w19, w19, #3
	mov	x0, x20
	mov	w2, #-1
	mov	x3, x22
	blr	x8
	ldr	x8, [x23]
	ldr	w1, [x24]
	mov	x0, x20
	mov	w2, #-1
	mov	x3, x19
	blr	x8
Lloh2:
	adrp	x8, _NAND_CMD_ERASE2@GOTPAGE
Lloh3:
	ldr	x8, [x8, _NAND_CMD_ERASE2@GOTPAGEOFF]
	ldr	x4, [x23]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #-1
	mov	w3, #-1
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	br	x4
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_NAND_CMD_ERASE1,4,2            ; @NAND_CMD_ERASE1
	.comm	_NAND_CMD_ERASE2,4,2            ; @NAND_CMD_ERASE2
	.no_dead_strip	_multi_erase_cmd
.subsections_via_symbols
