	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nvme_assign_write_stream
_nvme_assign_write_stream:              ## @nvme_assign_write_stream
	.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	%rsi, %r13
	movl	(%rsi), %ebx
	movq	_WRITE_LIFE_NOT_SET@GOTPCREL(%rip), %rax
	xorl	%r12d, %r12d
	cmpl	(%rax), %ebx
	je	LBB0_4
## %bb.1:
	movq	_WRITE_LIFE_NONE@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	je	LBB0_4
## %bb.2:
	movq	%rcx, %r14
	movq	%rdx, %r15
	decl	%ebx
	xorl	%eax, %eax
	cmpl	(%rdi), %ebx
	seta	%al
	movl	%eax, %edi
	callq	_WARN_ON_ONCE
	testq	%rax, %rax
	jne	LBB0_6
## %bb.3:
	movq	_NVME_RW_DTYPE_STREAMS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r15)
	movl	%ebx, %eax
	shll	$16, %eax
	orl	%eax, (%r14)
	movl	%ebx, %r12d
LBB0_4:
	movq	8(%r13), %rax
	movq	(%rax), %rdi
	callq	_ARRAY_SIZE
	cmpl	%eax, %r12d
	jae	LBB0_6
## %bb.5:
	movq	%r13, %rdi
	callq	_blk_rq_bytes
	sarl	$9, %eax
	movq	8(%r13), %rcx
	movq	(%rcx), %rcx
	movl	%r12d, %edx
	addl	%eax, (%rcx,%rdx,4)
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WRITE_LIFE_NOT_SET,4,2         ## @WRITE_LIFE_NOT_SET
	.comm	_WRITE_LIFE_NONE,4,2            ## @WRITE_LIFE_NONE
	.comm	_NVME_RW_DTYPE_STREAMS,4,2      ## @NVME_RW_DTYPE_STREAMS
	.no_dead_strip	_nvme_assign_write_stream
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nvme_assign_write_stream
_nvme_assign_write_stream:              ; @nvme_assign_write_stream
	.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	x19, x1
	ldr	w8, [x1]
Lloh0:
	adrp	x9, _WRITE_LIFE_NOT_SET@GOTPAGE
Lloh1:
	ldr	x9, [x9, _WRITE_LIFE_NOT_SET@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
Lloh3:
	adrp	x10, _WRITE_LIFE_NONE@GOTPAGE
Lloh4:
	ldr	x10, [x10, _WRITE_LIFE_NONE@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	cmp	w8, w9
	ccmp	w8, w10, #4, ne
	b.ne	LBB0_2
; %bb.1:
	mov	w22, #0
	b	LBB0_4
LBB0_2:
	mov	x20, x3
	mov	x21, x2
	sub	w22, w8, #1
	ldr	w8, [x0]
	cmp	w22, w8
	cset	w0, hi
	bl	_WARN_ON_ONCE
	cbnz	x0, LBB0_6
; %bb.3:
Lloh6:
	adrp	x8, _NVME_RW_DTYPE_STREAMS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _NVME_RW_DTYPE_STREAMS@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	ldr	w9, [x21]
	orr	w8, w9, w8
	str	w8, [x21]
	ldr	w8, [x20]
	orr	w8, w8, w22, lsl #16
	str	w8, [x20]
LBB0_4:
	ldr	x8, [x19, #8]
	ldr	x0, [x8]
	bl	_ARRAY_SIZE
	cmp	w22, w0
	b.hs	LBB0_6
; %bb.5:
	mov	x0, x19
	bl	_blk_rq_bytes
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
	mov	w9, w22
	lsl	x9, x9, #2
	ldr	w10, [x8, x9]
	add	w10, w10, w0, asr #9
	str	w10, [x8, x9]
LBB0_6:
	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
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_WRITE_LIFE_NOT_SET,4,2         ; @WRITE_LIFE_NOT_SET
	.comm	_WRITE_LIFE_NONE,4,2            ; @WRITE_LIFE_NONE
	.comm	_NVME_RW_DTYPE_STREAMS,4,2      ; @NVME_RW_DTYPE_STREAMS
	.no_dead_strip	_nvme_assign_write_stream
.subsections_via_symbols
