	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function creg_cmd_timed_out
_creg_cmd_timed_out:                    ## @creg_cmd_timed_out
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	callq	_spin_lock
	movq	24(%rbx), %r14
	movq	$0, 24(%rbx)
	movq	%rbx, %rdi
	callq	_spin_unlock
	testq	%r14, %r14
	je	LBB0_4
## %bb.1:
	movq	(%r14), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	_ETIMEDOUT@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	subl	(%rcx), %edx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	*%rax
LBB0_3:
	movq	_creg_cmd_pool@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_kmem_cache_free
	movq	%rbx, %rdi
	callq	_spin_lock
	movq	$0, 8(%rbx)
	movq	%rbx, %rdi
	callq	_creg_kick_queue
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_spin_unlock                    ## TAILCALL
LBB0_4:
	incl	16(%rbx)
	movq	%rbx, %rdi
	callq	_CARD_TO_DEV
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_dev_warn                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"No active command associated with timeout!\n"

	.comm	_ETIMEDOUT,4,2                  ## @ETIMEDOUT
	.comm	_creg_cmd_pool,4,2              ## @creg_cmd_pool
	.no_dead_strip	_creg_cmd_timed_out
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function creg_cmd_timed_out
_creg_cmd_timed_out:                    ; @creg_cmd_timed_out
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_spin_lock
	ldr	x20, [x19, #24]
	str	xzr, [x19, #24]
	mov	x0, x19
	bl	_spin_unlock
	cbz	x20, LBB0_4
; %bb.1:
	ldr	x8, [x20]
	cbz	x8, LBB0_3
; %bb.2:
Lloh0:
	adrp	x9, _ETIMEDOUT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ETIMEDOUT@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	neg	w2, w9
	mov	x0, x19
	mov	x1, x20
	blr	x8
LBB0_3:
Lloh3:
	adrp	x8, _creg_cmd_pool@GOTPAGE
Lloh4:
	ldr	x8, [x8, _creg_cmd_pool@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_kmem_cache_free
	mov	x0, x19
	bl	_spin_lock
	str	xzr, [x19, #8]
	mov	x0, x19
	bl	_creg_kick_queue
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_spin_unlock
LBB0_4:
	ldr	w8, [x19, #16]
	add	w8, w8, #1
	str	w8, [x19, #16]
	mov	x0, x19
	bl	_CARD_TO_DEV
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_dev_warn
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"No active command associated with timeout!\n"

	.comm	_ETIMEDOUT,4,2                  ; @ETIMEDOUT
	.comm	_creg_cmd_pool,4,2              ; @creg_cmd_pool
	.no_dead_strip	_creg_cmd_timed_out
.subsections_via_symbols
