	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nand_subop_get_data_len        ## -- Begin function nand_subop_get_data_len
	.p2align	4, 0x90
_nand_subop_get_data_len:               ## @nand_subop_get_data_len
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	callq	_nand_subop_instr_is_valid
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movl	%r14d, %edi
	shlq	$2, %rdi
	addq	8(%rbx), %rdi
	callq	_nand_instr_is_data
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	jmp	LBB0_3
LBB0_1:
	movl	$1, %edi
LBB0_3:
	callq	_WARN_ON
	xorl	%ecx, %ecx
	testq	%rax, %rax
	jne	LBB0_8
## %bb.4:
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_nand_subop_get_data_start_off
	movl	(%rbx), %ecx
	decl	%ecx
	cmpl	%r14d, %ecx
	jne	LBB0_6
## %bb.5:
	movl	4(%rbx), %ecx
	testl	%ecx, %ecx
	jne	LBB0_7
LBB0_6:
	movq	8(%rbx), %rcx
	movl	%r14d, %edx
	movl	(%rcx,%rdx,4), %ecx
LBB0_7:
	subl	%eax, %ecx
LBB0_8:
	movl	%ecx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nand_subop_get_data_len        ; -- Begin function nand_subop_get_data_len
	.p2align	2
_nand_subop_get_data_len:               ; @nand_subop_get_data_len
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
	bl	_nand_subop_instr_is_valid
	cbz	w0, LBB0_3
; %bb.1:
	ldr	x8, [x20, #8]
	add	x0, x8, w19, uxtw #2
	bl	_nand_instr_is_data
	cmp	w0, #0
	cset	w0, eq
	bl	_WARN_ON
	cbz	x0, LBB0_4
LBB0_2:
	mov	w0, #0
	b	LBB0_8
LBB0_3:
	mov	w0, #1
	bl	_WARN_ON
	cbnz	x0, LBB0_2
LBB0_4:
	mov	x0, x20
	mov	x1, x19
	bl	_nand_subop_get_data_start_off
	ldr	w8, [x20]
	sub	w8, w8, #1
	cmp	w8, w19
	b.ne	LBB0_6
; %bb.5:
	ldr	w8, [x20, #4]
	cbnz	w8, LBB0_7
LBB0_6:
	ldr	x8, [x20, #8]
	ldr	w8, [x8, w19, uxtw #2]
LBB0_7:
	sub	w0, w8, w0
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
