	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function deplete
_deplete:                               ## @deplete
	.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
	movl	%esi, %r14d
	movq	%rdi, %r15
	movq	(%rdi), %rbx
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	callq	*16(%rbx)
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	*8(%rbx)
	movq	_NAND_CMD_DEPLETE1@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	%r15, %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	*(%rbx)
	movq	_NAND_CMD_DEPLETE2@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	%r15, %rdi
	movl	$-1, %edx
	movl	$-1, %ecx
	callq	*(%rbx)
	movl	(%r14), %esi
	movq	%r15, %rdi
	xorl	%edx, %edx
	movl	$4, %ecx
	callq	*(%rbx)
	movq	(%rbx), %rax
	movl	(%r12), %esi
	movq	%r15, %rdi
	movl	$-1, %edx
	movl	$-1, %ecx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_NAND_CMD_DEPLETE1,4,2          ## @NAND_CMD_DEPLETE1
	.comm	_NAND_CMD_DEPLETE2,4,2          ## @NAND_CMD_DEPLETE2
	.no_dead_strip	_deplete
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function deplete
_deplete:                               ; @deplete
	.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	x20, x1
	mov	x19, x0
	ldr	x21, [x0]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21, #16]
	mov	x0, x19
	blr	x8
	cbz	w0, LBB0_1
; %bb.2:
	ldr	x8, [x21, #8]
	mov	x0, x19
	mov	x1, x20
	blr	x8
	ldr	x8, [x21]
Lloh0:
	adrp	x20, _NAND_CMD_DEPLETE1@GOTPAGE
Lloh1:
	ldr	x20, [x20, _NAND_CMD_DEPLETE1@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #0
	mov	w3, #0
	blr	x8
	ldr	x8, [x21]
Lloh2:
	adrp	x22, _NAND_CMD_DEPLETE2@GOTPAGE
Lloh3:
	ldr	x22, [x22, _NAND_CMD_DEPLETE2@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x19
	mov	w2, #-1
	mov	w3, #-1
	blr	x8
	ldr	x8, [x21]
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #0
	mov	w3, #4
	blr	x8
	ldr	x4, [x21]
	ldr	w1, [x22]
	mov	x0, x19
	mov	w2, #-1
	mov	w3, #-1
	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
	br	x4
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_NAND_CMD_DEPLETE1,4,2          ; @NAND_CMD_DEPLETE1
	.comm	_NAND_CMD_DEPLETE2,4,2          ; @NAND_CMD_DEPLETE2
	.no_dead_strip	_deplete
.subsections_via_symbols
