	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cqhci_prep_task_desc
_cqhci_prep_task_desc:                  ## @cqhci_prep_task_desc
	.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	%edx, %r12d
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	8(%rdi), %rax
	movl	(%rax), %r15d
	movl	$1, %edi
	callq	_CQHCI_VALID
	movl	%eax, %r13d
	movl	$1, %edi
	callq	_CQHCI_END
	movl	%eax, %r14d
	orl	%r13d, %r14d
	movl	%r12d, %edi
	callq	_CQHCI_INT
	movl	%eax, %r12d
	movl	$5, %edi
	callq	_CQHCI_ACT
	movl	%eax, %ebx
	orl	%r12d, %ebx
	orl	%r14d, %ebx
	movq	_MMC_DATA_FORCED_PRG@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	movl	(%rax), %eax
	andl	%r15d, %eax
	setne	%dil
	callq	_CQHCI_FORCED_PROG
	movl	%eax, %r12d
	orl	%ebx, %r12d
	movq	_MMC_DATA_DAT_TAG@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	movl	(%rax), %eax
	andl	%r15d, %eax
	setne	%dil
	callq	_CQHCI_DATA_TAG
	movl	%eax, %r14d
	movq	_MMC_DATA_READ@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	movl	(%rax), %eax
	andl	%r15d, %eax
	setne	%dil
	callq	_CQHCI_DATA_DIR
	movl	%eax, %r13d
	orl	%r14d, %r13d
	orl	%r12d, %r13d
	movq	_MMC_DATA_PRIO@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	movl	(%rax), %eax
	andl	%r15d, %eax
	setne	%dil
	callq	_CQHCI_PRIORITY
	movl	%eax, %r14d
	movq	_MMC_DATA_QBR@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	movl	(%rax), %eax
	andl	%r15d, %eax
	setne	%dil
	callq	_CQHCI_QBAR
	movl	%eax, %r12d
	orl	%r14d, %r12d
	movq	_MMC_DATA_REL_WR@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	andl	(%rax), %r15d
	setne	%dil
	callq	_CQHCI_REL_WRITE
	movl	%eax, %ebx
	orl	%r12d, %ebx
	orl	%r13d, %ebx
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	movq	8(%r15), %rax
	movl	16(%rax), %edi
	callq	_CQHCI_BLK_COUNT
	movl	%eax, %r14d
	movq	8(%r15), %rax
	movl	8(%rax), %edi
	callq	_CQHCI_BLK_ADDR
	orl	%r14d, %eax
	orl	%ebx, %eax
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movl	%eax, (%rbx)
	movl	4(%r15), %edi
	callq	_mmc_hostname
	movl	(%r15), %edx
	movslq	(%rbx), %rcx
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_pr_debug                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MMC_DATA_FORCED_PRG,4,2        ## @MMC_DATA_FORCED_PRG
	.comm	_MMC_DATA_DAT_TAG,4,2           ## @MMC_DATA_DAT_TAG
	.comm	_MMC_DATA_READ,4,2              ## @MMC_DATA_READ
	.comm	_MMC_DATA_PRIO,4,2              ## @MMC_DATA_PRIO
	.comm	_MMC_DATA_QBR,4,2               ## @MMC_DATA_QBR
	.comm	_MMC_DATA_REL_WR,4,2            ## @MMC_DATA_REL_WR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: cqhci: tag %d task descriptor 0x016%llx\n"

	.no_dead_strip	_cqhci_prep_task_desc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cqhci_prep_task_desc
_cqhci_prep_task_desc:                  ; @cqhci_prep_task_desc
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x21, x2
	mov	x19, x1
	mov	x20, x0
	ldr	x8, [x0, #8]
	ldr	w23, [x8]
	mov	w0, #1
	bl	_CQHCI_VALID
	mov	x22, x0
	mov	w0, #1
	bl	_CQHCI_END
	orr	w22, w0, w22
	mov	x0, x21
	bl	_CQHCI_INT
	orr	w21, w22, w0
	mov	w0, #5
	bl	_CQHCI_ACT
	orr	w21, w21, w0
Lloh0:
	adrp	x8, _MMC_DATA_FORCED_PRG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MMC_DATA_FORCED_PRG@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w23
	cset	w0, ne
	bl	_CQHCI_FORCED_PROG
	orr	w21, w21, w0
Lloh3:
	adrp	x8, _MMC_DATA_DAT_TAG@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MMC_DATA_DAT_TAG@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w23
	cset	w0, ne
	bl	_CQHCI_DATA_TAG
	orr	w21, w21, w0
Lloh6:
	adrp	x8, _MMC_DATA_READ@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MMC_DATA_READ@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	tst	w8, w23
	cset	w0, ne
	bl	_CQHCI_DATA_DIR
	orr	w21, w21, w0
Lloh9:
	adrp	x8, _MMC_DATA_PRIO@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MMC_DATA_PRIO@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	tst	w8, w23
	cset	w0, ne
	bl	_CQHCI_PRIORITY
	orr	w21, w21, w0
Lloh12:
	adrp	x8, _MMC_DATA_QBR@GOTPAGE
Lloh13:
	ldr	x8, [x8, _MMC_DATA_QBR@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	tst	w8, w23
	cset	w0, ne
	bl	_CQHCI_QBAR
	orr	w21, w21, w0
Lloh15:
	adrp	x8, _MMC_DATA_REL_WR@GOTPAGE
Lloh16:
	ldr	x8, [x8, _MMC_DATA_REL_WR@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	tst	w8, w23
	cset	w0, ne
	bl	_CQHCI_REL_WRITE
	orr	w21, w21, w0
	ldr	x8, [x20, #8]
	ldr	w0, [x8, #16]
	bl	_CQHCI_BLK_COUNT
	orr	w21, w21, w0
	ldr	x8, [x20, #8]
	ldr	w0, [x8, #8]
	bl	_CQHCI_BLK_ADDR
	orr	w8, w21, w0
	str	w8, [x19]
	ldr	w0, [x20, #4]
	bl	_mmc_hostname
	mov	x1, x0
	ldr	w2, [x20]
	ldrsw	x3, [x19]
Lloh18:
	adrp	x0, l_.str@PAGE
Lloh19:
	add	x0, x0, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_pr_debug
	.loh AdrpAdd	Lloh18, Lloh19
	.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	_MMC_DATA_FORCED_PRG,4,2        ; @MMC_DATA_FORCED_PRG
	.comm	_MMC_DATA_DAT_TAG,4,2           ; @MMC_DATA_DAT_TAG
	.comm	_MMC_DATA_READ,4,2              ; @MMC_DATA_READ
	.comm	_MMC_DATA_PRIO,4,2              ; @MMC_DATA_PRIO
	.comm	_MMC_DATA_QBR,4,2               ; @MMC_DATA_QBR
	.comm	_MMC_DATA_REL_WR,4,2            ; @MMC_DATA_REL_WR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: cqhci: tag %d task descriptor 0x016%llx\n"

	.no_dead_strip	_cqhci_prep_task_desc
.subsections_via_symbols
