	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dw_mci_queue_request
_dw_mci_queue_request:                  ## @dw_mci_queue_request
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	8(%rsi), %rdi
	movq	(%rbx), %rdx
	leaq	L_.str(%rip), %rsi
	callq	_dev_vdbg
	movq	%r15, 16(%r14)
	movq	(%rbx), %rax
	movq	_STATE_WAITING_CMD11_DONE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movq	8(%r14), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_dev_warn
	movq	_STATE_IDLE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rbx)
LBB0_2:
	movq	_STATE_IDLE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.3:
	movq	_STATE_SENDING_CMD@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rbx)
	movq	%rbx, %rdi
	movq	%r14, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dw_mci_start_request           ## TAILCALL
LBB0_4:
	addq	$8, %rbx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_list_add_tail                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"queue request: state=%d\n"

	.comm	_STATE_WAITING_CMD11_DONE,8,3   ## @STATE_WAITING_CMD11_DONE
L_.str.1:                               ## @.str.1
	.asciz	"Voltage change didn't complete\n"

	.comm	_STATE_IDLE,8,3                 ## @STATE_IDLE
	.comm	_STATE_SENDING_CMD,8,3          ## @STATE_SENDING_CMD
	.no_dead_strip	_dw_mci_queue_request
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dw_mci_queue_request
_dw_mci_queue_request:                  ; @dw_mci_queue_request
	.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	x21, x2
	mov	x19, x1
	mov	x20, x0
	ldr	x0, [x1, #8]
	ldr	x2, [x20]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_vdbg
	str	x21, [x19, #16]
	ldr	x8, [x20]
Lloh2:
	adrp	x9, _STATE_WAITING_CMD11_DONE@GOTPAGE
Lloh3:
	ldr	x9, [x9, _STATE_WAITING_CMD11_DONE@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
Lloh5:
	adrp	x21, _STATE_IDLE@GOTPAGE
Lloh6:
	ldr	x21, [x21, _STATE_IDLE@GOTPAGEOFF]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	ldr	x0, [x19, #8]
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_dev_warn
	ldr	x8, [x21]
	str	x8, [x20]
LBB0_2:
	ldr	x9, [x21]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.3:
Lloh9:
	adrp	x8, _STATE_SENDING_CMD@GOTPAGE
Lloh10:
	ldr	x8, [x8, _STATE_SENDING_CMD@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	str	x8, [x20]
	mov	x0, x20
	mov	x1, x19
	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
	b	_dw_mci_start_request
LBB0_4:
	add	x1, x20, #8
	mov	x0, x19
	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
	b	_list_add_tail
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"queue request: state=%d\n"

	.comm	_STATE_WAITING_CMD11_DONE,8,3   ; @STATE_WAITING_CMD11_DONE
l_.str.1:                               ; @.str.1
	.asciz	"Voltage change didn't complete\n"

	.comm	_STATE_IDLE,8,3                 ; @STATE_IDLE
	.comm	_STATE_SENDING_CMD,8,3          ; @STATE_SENDING_CMD
	.no_dead_strip	_dw_mci_queue_request
.subsections_via_symbols
