	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function alloc_cmdid
_alloc_cmdid:                           ## @alloc_cmdid
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r12d
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, %rbx
	movl	(%rdi), %r15d
	decl	%r15d
	callq	_nvme_cmd_info
	movq	%rax, %r13
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	4(%rbx), %edi
	movl	%r15d, %esi
	callq	_find_first_zero_bit
	cmpl	%r15d, %eax
	jge	LBB0_2
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	%eax, %r14d
	movl	4(%rbx), %esi
	movl	%eax, %edi
	callq	_test_and_set_bit
	testq	%rax, %rax
	jne	LBB0_1
## %bb.4:
	movslq	%r14d, %rax
	leaq	(%rax,%rax,2), %rax
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, 16(%r13,%rax,8)
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, 8(%r13,%rax,8)
	movq	_jiffies@GOTPCREL(%rip), %rcx
	addl	(%rcx), %r12d
	movl	%r12d, (%r13,%rax,8)
	jmp	LBB0_5
LBB0_2:
	movq	_EBUSY@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
LBB0_5:
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EBUSY,4,2                      ## @EBUSY
	.comm	_jiffies,4,2                    ## @jiffies
	.no_dead_strip	_alloc_cmdid
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function alloc_cmdid
_alloc_cmdid:                           ; @alloc_cmdid
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x19, x3
	mov	x21, x2
	mov	x20, x1
	mov	x22, x0
	ldr	w8, [x0]
	sub	w24, w8, #1
	bl	_nvme_cmd_info
	mov	x25, x0
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x22, #4]
	mov	x1, x24
	bl	_find_first_zero_bit
	cmp	w0, w24
	b.ge	LBB0_4
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x23, x0
	ldr	w1, [x22, #4]
	bl	_test_and_set_bit
	cbnz	x0, LBB0_1
; %bb.3:
	mov	w8, #24
	smaddl	x8, w23, w8, x25
	str	w21, [x8, #16]
	str	x20, [x8, #8]
Lloh0:
	adrp	x9, _jiffies@GOTPAGE
Lloh1:
	ldr	x9, [x9, _jiffies@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	add	w9, w9, w19
	str	w9, [x8]
	b	LBB0_5
LBB0_4:
Lloh3:
	adrp	x8, _EBUSY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w23, w8
LBB0_5:
	mov	x0, x23
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_EBUSY,4,2                      ; @EBUSY
	.comm	_jiffies,4,2                    ; @jiffies
	.no_dead_strip	_alloc_cmdid
.subsections_via_symbols
