	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nvme_toggle_streams
_nvme_toggle_streams:                   ## @nvme_toggle_streams
	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	%rdi, %r15
	leaq	-48(%rbp), %r14
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_memset
	movq	_nvme_admin_directive_send@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -28(%rbp)
	movq	_NVME_NSID_ALL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_le32
	movl	%eax, -32(%rbp)
	movq	_NVME_DIR_SND_ID_OP_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -36(%rbp)
	movq	_NVME_DIR_IDENTIFY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -40(%rbp)
	movq	_NVME_DIR_STREAMS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)
	testl	%ebx, %ebx
	je	LBB0_2
## %bb.1:
	movq	_NVME_DIR_ENDIR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_2:
	movl	%ebx, -48(%rbp)
	movl	(%r15), %edi
	movq	%r14, %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_nvme_submit_sync_cmd
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_nvme_admin_directive_send,4,2  ## @nvme_admin_directive_send
	.comm	_NVME_NSID_ALL,4,2              ## @NVME_NSID_ALL
	.comm	_NVME_DIR_SND_ID_OP_ENABLE,4,2  ## @NVME_DIR_SND_ID_OP_ENABLE
	.comm	_NVME_DIR_IDENTIFY,4,2          ## @NVME_DIR_IDENTIFY
	.comm	_NVME_DIR_STREAMS,4,2           ## @NVME_DIR_STREAMS
	.comm	_NVME_DIR_ENDIR,4,2             ## @NVME_DIR_ENDIR
	.no_dead_strip	_nvme_toggle_streams
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nvme_toggle_streams
_nvme_toggle_streams:                   ; @nvme_toggle_streams
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
	mov	x19, x1
	mov	x20, x0
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #24
	bl	_memset
Lloh0:
	adrp	x8, _nvme_admin_directive_send@GOTPAGE
Lloh1:
	ldr	x8, [x8, _nvme_admin_directive_send@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #28]
Lloh3:
	adrp	x8, _NVME_NSID_ALL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NVME_NSID_ALL@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_cpu_to_le32
Lloh6:
	adrp	x8, _NVME_DIR_SND_ID_OP_ENABLE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _NVME_DIR_SND_ID_OP_ENABLE@GOTPAGEOFF]
	str	w0, [sp, #24]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _NVME_DIR_IDENTIFY@GOTPAGE
Lloh10:
	ldr	x9, [x9, _NVME_DIR_IDENTIFY@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	stp	w9, w8, [sp, #16]
Lloh12:
	adrp	x8, _NVME_DIR_STREAMS@GOTPAGE
Lloh13:
	ldr	x8, [x8, _NVME_DIR_STREAMS@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
Lloh15:
	adrp	x9, _NVME_DIR_ENDIR@GOTPAGE
Lloh16:
	ldr	x9, [x9, _NVME_DIR_ENDIR@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	cmp	w19, #0
	csel	w9, wzr, w9, eq
	stp	w9, w8, [sp, #8]
	ldr	w0, [x20]
	add	x1, sp, #8
	mov	x2, #0
	mov	w3, #0
	bl	_nvme_submit_sync_cmd
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_nvme_admin_directive_send,4,2  ; @nvme_admin_directive_send
	.comm	_NVME_NSID_ALL,4,2              ; @NVME_NSID_ALL
	.comm	_NVME_DIR_SND_ID_OP_ENABLE,4,2  ; @NVME_DIR_SND_ID_OP_ENABLE
	.comm	_NVME_DIR_IDENTIFY,4,2          ; @NVME_DIR_IDENTIFY
	.comm	_NVME_DIR_STREAMS,4,2           ; @NVME_DIR_STREAMS
	.comm	_NVME_DIR_ENDIR,4,2             ; @NVME_DIR_ENDIR
	.no_dead_strip	_nvme_toggle_streams
.subsections_via_symbols
