	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function srp_check_mapping
_srp_check_mapping:                     ## @srp_check_mapping
	.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
	movq	%rdx, %r14
	movq	%rdi, %r15
	movq	(%rsi), %rax
	movq	(%rax), %rax
	movq	(%rax), %r13
	cmpl	$0, (%rdi)
	jle	LBB0_7
## %bb.1:
	xorl	%ebx, %ebx
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r14), %rax
	movl	(%rax,%rbx,4), %edi
	callq	_be32_to_cpu
	addq	%rax, %r12
	incq	%rbx
	movslq	(%r15), %rax
	cmpq	%rax, %rbx
	jl	LBB0_2
## %bb.3:
	cmpq	$0, 8(%r13)
	je	LBB0_8
LBB0_4:
	movl	4(%r15), %eax
	testl	%eax, %eax
	jle	LBB0_19
## %bb.5:
	movq	16(%r14), %rcx
	leal	-1(%rax), %edx
	cmpl	$3, %edx
	jae	LBB0_13
## %bb.6:
	xorl	%ebx, %ebx
	jmp	LBB0_15
LBB0_7:
	xorl	%r12d, %r12d
	cmpq	$0, 8(%r13)
	jne	LBB0_4
LBB0_8:
	cmpq	$0, (%r13)
	je	LBB0_19
## %bb.9:
	cmpl	$0, 4(%r15)
	jle	LBB0_19
## %bb.10:
	xorl	%r13d, %r13d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%r14), %rax
	movl	(%rax,%r13,4), %edi
	callq	_be32_to_cpu
	addq	%rax, %rbx
	incq	%r13
	movslq	4(%r15), %rax
	cmpq	%rax, %r13
	jl	LBB0_11
	jmp	LBB0_20
LBB0_19:
	xorl	%ebx, %ebx
	jmp	LBB0_20
LBB0_13:
	movl	%eax, %edx
	andl	$-4, %edx
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rcx), %rsi
	movq	8(%rcx), %rdi
	movq	(%rsi), %rsi
	addq	(%rsi), %rbx
	movq	(%rdi), %rsi
	addq	(%rsi), %rbx
	movq	16(%rcx), %rsi
	movq	(%rsi), %rsi
	addq	(%rsi), %rbx
	movq	24(%rcx), %rsi
	movq	(%rsi), %rsi
	addq	(%rsi), %rbx
	addq	$32, %rcx
	addl	$-4, %edx
	jne	LBB0_14
LBB0_15:
	testb	$3, %al
	je	LBB0_20
## %bb.16:
	andl	$3, %eax
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rcx,%rdx,8), %rsi
	movq	(%rsi), %rsi
	addq	(%rsi), %rbx
	incq	%rdx
	cmpl	%edx, %eax
	jne	LBB0_17
LBB0_20:
	movl	(%r14), %edi
	callq	_scsi_bufflen
	cmpq	%rax, %r12
	jne	LBB0_22
## %bb.21:
	movl	(%r14), %edi
	callq	_scsi_bufflen
	cmpq	%rax, %rbx
	jle	LBB0_23
LBB0_22:
	movl	(%r14), %edi
	callq	_scsi_bufflen
	movl	(%r15), %r8d
	movl	4(%r15), %r9d
	leaq	L_.str(%rip), %rdi
	movq	%rax, %rsi
	movq	%r12, %rdx
	movq	%rbx, %rcx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_pr_err                         ## TAILCALL
LBB0_23:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Inconsistent: scsi len %d <> desc len %lld <> mr len %lld; ndesc %d; nmdesc = %d\n"

	.no_dead_strip	_srp_check_mapping
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function srp_check_mapping
_srp_check_mapping:                     ; @srp_check_mapping
	.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	x20, x2
	mov	x19, x0
	ldr	x8, [x1]
	ldr	x8, [x8]
	ldr	x22, [x8]
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.1:
	mov	x23, #0
	mov	x21, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #8]
	ldr	w0, [x8, x23, lsl #2]
	bl	_be32_to_cpu
	add	x21, x0, x21
	add	x23, x23, #1
	ldrsw	x8, [x19]
	cmp	x23, x8
	b.lt	LBB0_2
; %bb.3:
	ldr	x8, [x22, #8]
	cbz	x8, LBB0_8
LBB0_4:
	ldr	w9, [x19, #4]
	subs	w8, w9, #1
	b.lt	LBB0_12
; %bb.5:
	ldr	x16, [x20, #16]
	cmp	w8, #3
	b.hs	LBB0_13
; %bb.6:
	mov	w10, #0
	mov	x22, #0
	mov	x8, x16
	b	LBB0_16
LBB0_7:
	mov	x21, #0
	ldr	x8, [x22, #8]
	cbnz	x8, LBB0_4
LBB0_8:
	ldr	x8, [x22]
	cbz	x8, LBB0_12
; %bb.9:
	ldr	w8, [x19, #4]
	cmp	w8, #1
	b.lt	LBB0_12
; %bb.10:
	mov	x23, #0
	mov	x22, #0
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #8]
	ldr	w0, [x8, x23, lsl #2]
	bl	_be32_to_cpu
	add	x22, x0, x22
	add	x23, x23, #1
	ldrsw	x8, [x19, #4]
	cmp	x23, x8
	b.lt	LBB0_11
	b	LBB0_18
LBB0_12:
	mov	x22, #0
	b	LBB0_18
LBB0_13:
	mov	x14, #0
	mov	x15, #0
	mov	x13, #0
	mov	x12, #0
	add	x11, x8, #1
	and	x10, x11, #0x1fffffffc
	add	x8, x16, x10, lsl #3
	add	x16, x16, #16
	mov	x17, x10
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	ldp	x0, x1, [x16, #-16]
	ldp	x2, x3, [x16], #32
	ldr	x0, [x0]
	ldr	x1, [x1]
	ldr	x2, [x2]
	ldr	x3, [x3]
	ldr	x0, [x0]
	ldr	x1, [x1]
	ldr	x2, [x2]
	add	x14, x0, x14
	add	x15, x1, x15
	ldr	x0, [x3]
	add	x13, x2, x13
	add	x12, x0, x12
	subs	x17, x17, #4
	b.ne	LBB0_14
; %bb.15:
	add	x14, x15, x14
	add	x13, x13, x14
	add	x22, x12, x13
	cmp	x11, x10
	b.eq	LBB0_18
LBB0_16:
	sub	w9, w9, w10
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x8], #8
	ldr	x10, [x10]
	ldr	x10, [x10]
	add	x22, x10, x22
	subs	w9, w9, #1
	b.ne	LBB0_17
LBB0_18:
	ldr	w0, [x20]
	bl	_scsi_bufflen
	cmp	x21, x0
	b.ne	LBB0_20
; %bb.19:
	ldr	w0, [x20]
	bl	_scsi_bufflen
	cmp	x22, x0
	b.le	LBB0_21
LBB0_20:
	ldr	w0, [x20]
	bl	_scsi_bufflen
	mov	x1, x0
	ldp	w4, w5, [x19]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x2, x21
	mov	x3, x22
	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
	b	_pr_err
LBB0_21:
	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
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Inconsistent: scsi len %d <> desc len %lld <> mr len %lld; ndesc %d; nmdesc = %d\n"

	.no_dead_strip	_srp_check_mapping
.subsections_via_symbols
