	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nvme_trans_copy_to_user
_nvme_trans_copy_to_user:               ## @nvme_trans_copy_to_user
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rsi, %r15
	movq	_SNTI_TRANSLATION_SUCCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	cmpl	$0, (%rdi)
	jle	LBB0_8
## %bb.1:
	movl	%r14d, -44(%rbp)                ## 4-byte Spill
	xorl	%r13d, %r13d
	xorl	%r12d, %r12d
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%rdi), %rsi
	addq	%r13, %rsi
	leaq	-72(%rbp), %rdi
	movl	$16, %edx
	callq	_copy_from_user
	testq	%rax, %rax
	jne	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	-64(%rbp), %esi
	movq	%rbx, %rdi
	callq	_min
	movq	%rax, %r14
	movq	-72(%rbp), %rdi
	movq	%r15, %rsi
	movq	%rax, %rdx
	callq	_copy_to_user
	testq	%rax, %rax
	jne	LBB0_3
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	subq	%r14, %rbx
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	addq	%r14, %r15
	incq	%r12
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movslq	(%rdi), %rax
	addq	$16, %r13
	cmpq	%rax, %r12
	jl	LBB0_2
LBB0_7:
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	jmp	LBB0_9
LBB0_8:
	movq	8(%rdi), %rdi
	movq	%r15, %rsi
	movq	%rbx, %rdx
	callq	_copy_to_user
	movq	_EFAULT@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	subl	(%rcx), %edx
	testq	%rax, %rax
	cmovnel	%edx, %r14d
	jmp	LBB0_9
LBB0_3:
	movq	_EFAULT@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
LBB0_9:
	movl	%r14d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SNTI_TRANSLATION_SUCCESS,4,2   ## @SNTI_TRANSLATION_SUCCESS
	.comm	_EFAULT,4,2                     ## @EFAULT
	.no_dead_strip	_nvme_trans_copy_to_user
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nvme_trans_copy_to_user
_nvme_trans_copy_to_user:               ; @nvme_trans_copy_to_user
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
Lloh0:
	adrp	x8, _SNTI_TRANSLATION_SUCCESS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SNTI_TRANSLATION_SUCCESS@GOTPAGEOFF]
Lloh2:
	ldr	w19, [x8]
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.1:
	mov	x24, #0
	mov	x25, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22, #8]
	add	x1, x24, x8
	mov	x0, sp
	mov	w2, #16
	bl	_copy_from_user
	cbnz	x0, LBB0_7
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w1, [sp, #8]
	mov	x0, x20
	bl	_min
	mov	x23, x0
	ldr	x0, [sp]
	mov	x1, x21
	mov	x2, x23
	bl	_copy_to_user
	cbnz	x0, LBB0_7
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	subs	x20, x20, x23
	b.eq	LBB0_8
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x21, x21, x23
	add	x25, x25, #1
	ldrsw	x8, [x22]
	add	x24, x24, #16
	cmp	x25, x8
	b.lt	LBB0_2
	b	LBB0_8
LBB0_6:
	ldr	x0, [x22, #8]
	mov	x1, x21
	mov	x2, x20
	bl	_copy_to_user
Lloh3:
	adrp	x8, _EFAULT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EFAULT@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	x0, #0
	csneg	w19, w19, w8, eq
	b	LBB0_8
LBB0_7:
Lloh6:
	adrp	x8, _EFAULT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EFAULT@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w19, w8
LBB0_8:
	mov	x0, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_SNTI_TRANSLATION_SUCCESS,4,2   ; @SNTI_TRANSLATION_SUCCESS
	.comm	_EFAULT,4,2                     ; @EFAULT
	.no_dead_strip	_nvme_trans_copy_to_user
.subsections_via_symbols
