	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function do_8051_command
_do_8051_command:                       ## @do_8051_command
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r15
	movl	%edx, %ebx
	movq	%rsi, %r12
	movq	%rdi, %r13
	movq	_DC8051@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdx
	movl	%ebx, %ecx
	callq	_hfi1_cdbg
	leaq	4(%r13), %r14
	movq	%r14, %rdi
	callq	_mutex_lock
	cmpq	$0, 8(%r13)
	je	LBB0_3
## %bb.1:
	movq	_ENODEV@GOTPCREL(%rip), %rax
LBB0_2:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_22
LBB0_3:
	movl	(%r13), %eax
	testl	%eax, %eax
	je	LBB0_7
## %bb.4:
	cmpl	$2, %eax
	jl	LBB0_6
## %bb.5:
	leaq	L_.str.1(%rip), %rsi
	movq	%r13, %rdi
	movq	%r12, %rdx
	callq	_dd_dev_err
	movq	_ENXIO@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_6:
	movq	%r13, %rdi
	callq	__dc_shutdown
	movq	%r13, %rdi
	callq	__dc_start
LBB0_7:
	movq	_HCMD_WRITE_LCB_CSR@GOTPCREL(%rip), %rax
	cmpq	%r12, (%rax)
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	jne	LBB0_9
## %bb.8:
	movl	(%r15), %eax
	shll	$8, %eax
	orl	%eax, %ebx
	movq	_DC_DC8051_CFG_EXT_DEV_0@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	%r13, %rdi
	callq	_read_csr
	movl	(%r14), %esi
	movq	%r13, %rdi
	callq	_write_csr
LBB0_9:
	movq	_DC_DC8051_CFG_HOST_CMD_0_REQ_TYPE_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	andl	%r12d, %eax
	movq	_DC_DC8051_CFG_HOST_CMD_0_REQ_TYPE_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %eax
	movq	_DC_DC8051_CFG_HOST_CMD_0_REQ_DATA_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %ebx
	movq	_DC_DC8051_CFG_HOST_CMD_0_REQ_DATA_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %ebx
	orl	%eax, %ebx
	movq	_DC_DC8051_CFG_HOST_CMD_0@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	%r13, %rdi
	movl	%ebx, %edx
	callq	_write_csr
	movq	_DC_DC8051_CFG_HOST_CMD_0_REQ_NEW_SMASK@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movl	(%r14), %esi
	movq	%r13, %rdi
	movl	%ebx, %edx
	callq	_write_csr
	movq	_jiffies@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	_DC8051_COMMAND_TIMEOUT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_msecs_to_jiffies
	movq	%rax, %r15
	movq	_DC_DC8051_CFG_HOST_CMD_1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_read_csr
	movl	%eax, %ebx
	movq	_DC_DC8051_CFG_HOST_CMD_1_COMPLETED_SMASK@GOTPCREL(%rip), %r14
	testl	%eax, (%r14)
	jne	LBB0_17
## %bb.10:
	addq	-72(%rbp), %r15                 ## 8-byte Folded Reload
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rdi
	movq	%r15, %rsi
	callq	_time_after
	testq	%rax, %rax
	jne	LBB0_12
## %bb.15:                              ##   in Loop: Header=BB0_11 Depth=1
	movl	$2, %edi
	callq	_udelay
	movq	_DC_DC8051_CFG_HOST_CMD_1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_read_csr
	testl	%eax, (%r14)
	je	LBB0_11
## %bb.16:
	movl	%eax, %ebx
LBB0_17:
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	testq	%r14, %r14
	je	LBB0_20
## %bb.18:
	movq	_DC_DC8051_CFG_HOST_CMD_1_RSP_DATA_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	%ebx, %eax
	sarl	%cl, %eax
	movq	_DC_DC8051_CFG_HOST_CMD_1_RSP_DATA_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movl	%eax, (%r14)
	movq	_HCMD_READ_LCB_CSR@GOTPCREL(%rip), %rax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	cmpq	%rcx, (%rax)
	jne	LBB0_20
## %bb.19:
	movq	_DC_DC8051_CFG_EXT_DEV_1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_read_csr
	movq	_DC_DC8051_CFG_EXT_DEV_1_REQ_DATA_SMASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movq	_DC_DC8051_CFG_EXT_DEV_1_REQ_DATA_SHIFT@GOTPCREL(%rip), %rdx
	movb	$48, %cl
	subb	(%rdx), %cl
	shll	%cl, %eax
	orl	%eax, (%r14)
LBB0_20:
	movq	_DC_DC8051_CFG_HOST_CMD_1_RETURN_CODE_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	sarl	%cl, %ebx
	movq	_DC_DC8051_CFG_HOST_CMD_1_RETURN_CODE_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %ebx
	movl	$0, (%r13)
	movq	_DC_DC8051_CFG_HOST_CMD_0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	xorl	%edx, %edx
	callq	_write_csr
LBB0_21:
	movq	-64(%rbp), %r14                 ## 8-byte Reload
LBB0_22:
	movq	%r14, %rdi
	callq	_mutex_unlock
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	incl	(%r13)
	leaq	L_.str.2(%rip), %rsi
	movq	%r13, %rdi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	callq	_dd_dev_err
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:
	movl	$0, (%rax)
LBB0_14:
	movq	_ETIMEDOUT@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_21
	.cfi_endproc
                                        ## -- End function
	.comm	_DC8051,4,2                     ## @DC8051
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"type %d, data 0x%012llx"

	.comm	_ENODEV,4,2                     ## @ENODEV
L_.str.1:                               ## @.str.1
	.asciz	"Previous 8051 host command timed out, skipping command %u\n"

	.comm	_ENXIO,4,2                      ## @ENXIO
	.comm	_HCMD_WRITE_LCB_CSR,8,3         ## @HCMD_WRITE_LCB_CSR
	.comm	_DC_DC8051_CFG_EXT_DEV_0,4,2    ## @DC_DC8051_CFG_EXT_DEV_0
	.comm	_DC_DC8051_CFG_EXT_DEV_0_COMPLETED_SMASK,4,2 ## @DC_DC8051_CFG_EXT_DEV_0_COMPLETED_SMASK
	.comm	_DC_DC8051_CFG_EXT_DEV_0_RETURN_CODE_SHIFT,4,2 ## @DC_DC8051_CFG_EXT_DEV_0_RETURN_CODE_SHIFT
	.comm	_DC_DC8051_CFG_EXT_DEV_0_RSP_DATA_SHIFT,4,2 ## @DC_DC8051_CFG_EXT_DEV_0_RSP_DATA_SHIFT
	.comm	_DC_DC8051_CFG_HOST_CMD_0_REQ_TYPE_MASK,4,2 ## @DC_DC8051_CFG_HOST_CMD_0_REQ_TYPE_MASK
	.comm	_DC_DC8051_CFG_HOST_CMD_0_REQ_TYPE_SHIFT,4,2 ## @DC_DC8051_CFG_HOST_CMD_0_REQ_TYPE_SHIFT
	.comm	_DC_DC8051_CFG_HOST_CMD_0_REQ_DATA_MASK,4,2 ## @DC_DC8051_CFG_HOST_CMD_0_REQ_DATA_MASK
	.comm	_DC_DC8051_CFG_HOST_CMD_0_REQ_DATA_SHIFT,4,2 ## @DC_DC8051_CFG_HOST_CMD_0_REQ_DATA_SHIFT
	.comm	_DC_DC8051_CFG_HOST_CMD_0,4,2   ## @DC_DC8051_CFG_HOST_CMD_0
	.comm	_DC_DC8051_CFG_HOST_CMD_0_REQ_NEW_SMASK,4,2 ## @DC_DC8051_CFG_HOST_CMD_0_REQ_NEW_SMASK
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_DC8051_COMMAND_TIMEOUT,4,2     ## @DC8051_COMMAND_TIMEOUT
	.comm	_DC_DC8051_CFG_HOST_CMD_1,4,2   ## @DC_DC8051_CFG_HOST_CMD_1
	.comm	_DC_DC8051_CFG_HOST_CMD_1_COMPLETED_SMASK,4,2 ## @DC_DC8051_CFG_HOST_CMD_1_COMPLETED_SMASK
L_.str.2:                               ## @.str.2
	.asciz	"8051 host command %u timeout\n"

	.comm	_ETIMEDOUT,4,2                  ## @ETIMEDOUT
	.comm	_DC_DC8051_CFG_HOST_CMD_1_RSP_DATA_SHIFT,4,2 ## @DC_DC8051_CFG_HOST_CMD_1_RSP_DATA_SHIFT
	.comm	_DC_DC8051_CFG_HOST_CMD_1_RSP_DATA_MASK,4,2 ## @DC_DC8051_CFG_HOST_CMD_1_RSP_DATA_MASK
	.comm	_HCMD_READ_LCB_CSR,8,3          ## @HCMD_READ_LCB_CSR
	.comm	_DC_DC8051_CFG_EXT_DEV_1,4,2    ## @DC_DC8051_CFG_EXT_DEV_1
	.comm	_DC_DC8051_CFG_EXT_DEV_1_REQ_DATA_SMASK,4,2 ## @DC_DC8051_CFG_EXT_DEV_1_REQ_DATA_SMASK
	.comm	_DC_DC8051_CFG_EXT_DEV_1_REQ_DATA_SHIFT,4,2 ## @DC_DC8051_CFG_EXT_DEV_1_REQ_DATA_SHIFT
	.comm	_DC_DC8051_CFG_HOST_CMD_1_RETURN_CODE_SHIFT,4,2 ## @DC_DC8051_CFG_HOST_CMD_1_RETURN_CODE_SHIFT
	.comm	_DC_DC8051_CFG_HOST_CMD_1_RETURN_CODE_MASK,4,2 ## @DC_DC8051_CFG_HOST_CMD_1_RETURN_CODE_MASK
	.no_dead_strip	_do_8051_command
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function do_8051_command
_do_8051_command:                       ; @do_8051_command
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x3
	mov	x23, x2
	mov	x22, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _DC8051@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DC8051@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x22
	mov	x3, x23
	bl	_hfi1_cdbg
	add	x19, x20, #4
	mov	x0, x19
	bl	_mutex_lock
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_3
; %bb.1:
Lloh5:
	adrp	x8, _ENODEV@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
LBB0_2:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_18
LBB0_3:
	ldr	w8, [x20]
	cbz	w8, LBB0_7
; %bb.4:
	cmp	w8, #2
	b.lt	LBB0_6
; %bb.5:
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	mov	x2, x22
	bl	_dd_dev_err
Lloh9:
	adrp	x8, _ENXIO@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ENXIO@GOTPAGEOFF]
	b	LBB0_2
LBB0_6:
	mov	x0, x20
	bl	__dc_shutdown
	mov	x0, x20
	bl	__dc_start
LBB0_7:
Lloh11:
	adrp	x8, _HCMD_WRITE_LCB_CSR@GOTPAGE
Lloh12:
	ldr	x8, [x8, _HCMD_WRITE_LCB_CSR@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	cmp	x8, x22
	b.ne	LBB0_9
; %bb.8:
	ldr	w8, [x21]
	orr	w23, w23, w8, lsl #8
Lloh14:
	adrp	x24, _DC_DC8051_CFG_EXT_DEV_0@GOTPAGE
Lloh15:
	ldr	x24, [x24, _DC_DC8051_CFG_EXT_DEV_0@GOTPAGEOFF]
	ldr	w1, [x24]
	mov	x0, x20
	bl	_read_csr
	ldr	w1, [x24]
	mov	x0, x20
	bl	_write_csr
LBB0_9:
Lloh16:
	adrp	x8, _DC_DC8051_CFG_HOST_CMD_0_REQ_TYPE_MASK@GOTPAGE
Lloh17:
	ldr	x8, [x8, _DC_DC8051_CFG_HOST_CMD_0_REQ_TYPE_MASK@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	and	w8, w8, w22
Lloh19:
	adrp	x9, _DC_DC8051_CFG_HOST_CMD_0_REQ_TYPE_SHIFT@GOTPAGE
Lloh20:
	ldr	x9, [x9, _DC_DC8051_CFG_HOST_CMD_0_REQ_TYPE_SHIFT@GOTPAGEOFF]
Lloh21:
	ldr	w9, [x9]
	lsl	w8, w8, w9
Lloh22:
	adrp	x9, _DC_DC8051_CFG_HOST_CMD_0_REQ_DATA_MASK@GOTPAGE
Lloh23:
	ldr	x9, [x9, _DC_DC8051_CFG_HOST_CMD_0_REQ_DATA_MASK@GOTPAGEOFF]
Lloh24:
	ldr	w9, [x9]
	and	w9, w9, w23
Lloh25:
	adrp	x10, _DC_DC8051_CFG_HOST_CMD_0_REQ_DATA_SHIFT@GOTPAGE
Lloh26:
	ldr	x10, [x10, _DC_DC8051_CFG_HOST_CMD_0_REQ_DATA_SHIFT@GOTPAGEOFF]
Lloh27:
	ldr	w10, [x10]
	lsl	w9, w9, w10
	orr	w23, w9, w8
Lloh28:
	adrp	x24, _DC_DC8051_CFG_HOST_CMD_0@GOTPAGE
Lloh29:
	ldr	x24, [x24, _DC_DC8051_CFG_HOST_CMD_0@GOTPAGEOFF]
	ldr	w1, [x24]
	mov	x0, x20
	mov	x2, x23
	bl	_write_csr
Lloh30:
	adrp	x8, _DC_DC8051_CFG_HOST_CMD_0_REQ_NEW_SMASK@GOTPAGE
Lloh31:
	ldr	x8, [x8, _DC_DC8051_CFG_HOST_CMD_0_REQ_NEW_SMASK@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
	orr	w2, w8, w23
	ldr	w1, [x24]
	mov	x0, x20
	bl	_write_csr
Lloh33:
	adrp	x26, _jiffies@GOTPAGE
Lloh34:
	ldr	x26, [x26, _jiffies@GOTPAGEOFF]
	ldr	x25, [x26]
Lloh35:
	adrp	x8, _DC8051_COMMAND_TIMEOUT@GOTPAGE
Lloh36:
	ldr	x8, [x8, _DC8051_COMMAND_TIMEOUT@GOTPAGEOFF]
Lloh37:
	ldr	w0, [x8]
	bl	_msecs_to_jiffies
	mov	x24, x0
Lloh38:
	adrp	x27, _DC_DC8051_CFG_HOST_CMD_1@GOTPAGE
Lloh39:
	ldr	x27, [x27, _DC_DC8051_CFG_HOST_CMD_1@GOTPAGEOFF]
	ldr	w1, [x27]
	mov	x0, x20
	bl	_read_csr
	mov	x23, x0
Lloh40:
	adrp	x28, _DC_DC8051_CFG_HOST_CMD_1_COMPLETED_SMASK@GOTPAGE
Lloh41:
	ldr	x28, [x28, _DC_DC8051_CFG_HOST_CMD_1_COMPLETED_SMASK@GOTPAGEOFF]
	ldr	w8, [x28]
	tst	w8, w0
	b.eq	LBB0_13
; %bb.10:
	cbz	x21, LBB0_17
LBB0_11:
Lloh42:
	adrp	x8, _DC_DC8051_CFG_HOST_CMD_1_RSP_DATA_SHIFT@GOTPAGE
Lloh43:
	ldr	x8, [x8, _DC_DC8051_CFG_HOST_CMD_1_RSP_DATA_SHIFT@GOTPAGEOFF]
Lloh44:
	ldr	w8, [x8]
	asr	w8, w23, w8
Lloh45:
	adrp	x9, _DC_DC8051_CFG_HOST_CMD_1_RSP_DATA_MASK@GOTPAGE
Lloh46:
	ldr	x9, [x9, _DC_DC8051_CFG_HOST_CMD_1_RSP_DATA_MASK@GOTPAGEOFF]
Lloh47:
	ldr	w9, [x9]
	and	w8, w8, w9
	str	w8, [x21]
Lloh48:
	adrp	x8, _HCMD_READ_LCB_CSR@GOTPAGE
Lloh49:
	ldr	x8, [x8, _HCMD_READ_LCB_CSR@GOTPAGEOFF]
Lloh50:
	ldr	x8, [x8]
	cmp	x8, x22
	b.ne	LBB0_17
; %bb.12:
Lloh51:
	adrp	x8, _DC_DC8051_CFG_EXT_DEV_1@GOTPAGE
Lloh52:
	ldr	x8, [x8, _DC_DC8051_CFG_EXT_DEV_1@GOTPAGEOFF]
Lloh53:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_read_csr
Lloh54:
	adrp	x8, _DC_DC8051_CFG_EXT_DEV_1_REQ_DATA_SMASK@GOTPAGE
Lloh55:
	ldr	x8, [x8, _DC_DC8051_CFG_EXT_DEV_1_REQ_DATA_SMASK@GOTPAGEOFF]
Lloh56:
	ldr	w8, [x8]
	and	w8, w8, w0
Lloh57:
	adrp	x9, _DC_DC8051_CFG_EXT_DEV_1_REQ_DATA_SHIFT@GOTPAGE
Lloh58:
	ldr	x9, [x9, _DC_DC8051_CFG_EXT_DEV_1_REQ_DATA_SHIFT@GOTPAGEOFF]
Lloh59:
	ldr	w9, [x9]
	mov	w10, #48
	sub	w9, w10, w9
	lsl	w8, w8, w9
	ldr	w9, [x21]
	orr	w8, w8, w9
	str	w8, [x21]
	b	LBB0_17
LBB0_13:
	add	x24, x24, x25
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x26]
	mov	x1, x24
	bl	_time_after
	cbnz	x0, LBB0_19
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=1
	mov	w0, #2
	bl	_udelay
	ldr	w1, [x27]
	mov	x0, x20
	bl	_read_csr
	ldr	w8, [x28]
	tst	w8, w0
	b.eq	LBB0_14
; %bb.16:
	mov	x23, x0
	cbnz	x21, LBB0_11
LBB0_17:
Lloh60:
	adrp	x8, _DC_DC8051_CFG_HOST_CMD_1_RETURN_CODE_SHIFT@GOTPAGE
Lloh61:
	ldr	x8, [x8, _DC_DC8051_CFG_HOST_CMD_1_RETURN_CODE_SHIFT@GOTPAGEOFF]
Lloh62:
	ldr	w8, [x8]
	asr	w8, w23, w8
Lloh63:
	adrp	x9, _DC_DC8051_CFG_HOST_CMD_1_RETURN_CODE_MASK@GOTPAGE
Lloh64:
	ldr	x9, [x9, _DC_DC8051_CFG_HOST_CMD_1_RETURN_CODE_MASK@GOTPAGEOFF]
Lloh65:
	ldr	w9, [x9]
	and	w21, w8, w9
	str	wzr, [x20]
Lloh66:
	adrp	x8, _DC_DC8051_CFG_HOST_CMD_0@GOTPAGE
Lloh67:
	ldr	x8, [x8, _DC_DC8051_CFG_HOST_CMD_0@GOTPAGEOFF]
Lloh68:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #0
	bl	_write_csr
LBB0_18:
	mov	x0, x19
	bl	_mutex_unlock
	mov	x0, x21
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_19:
	ldr	w8, [x20]
	add	w8, w8, #1
	str	w8, [x20]
Lloh69:
	adrp	x1, l_.str.2@PAGE
Lloh70:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	mov	x2, x22
	bl	_dd_dev_err
	cbz	x21, LBB0_21
; %bb.20:
	str	wzr, [x21]
LBB0_21:
Lloh71:
	adrp	x8, _ETIMEDOUT@GOTPAGE
Lloh72:
	ldr	x8, [x8, _ETIMEDOUT@GOTPAGEOFF]
	b	LBB0_2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh40, Lloh41
	.loh AdrpLdrGot	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpAdd	Lloh69, Lloh70
	.loh AdrpLdrGot	Lloh71, Lloh72
	.cfi_endproc
                                        ; -- End function
	.comm	_DC8051,4,2                     ; @DC8051
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"type %d, data 0x%012llx"

	.comm	_ENODEV,4,2                     ; @ENODEV
l_.str.1:                               ; @.str.1
	.asciz	"Previous 8051 host command timed out, skipping command %u\n"

	.comm	_ENXIO,4,2                      ; @ENXIO
	.comm	_HCMD_WRITE_LCB_CSR,8,3         ; @HCMD_WRITE_LCB_CSR
	.comm	_DC_DC8051_CFG_EXT_DEV_0,4,2    ; @DC_DC8051_CFG_EXT_DEV_0
	.comm	_DC_DC8051_CFG_EXT_DEV_0_COMPLETED_SMASK,4,2 ; @DC_DC8051_CFG_EXT_DEV_0_COMPLETED_SMASK
	.comm	_DC_DC8051_CFG_EXT_DEV_0_RETURN_CODE_SHIFT,4,2 ; @DC_DC8051_CFG_EXT_DEV_0_RETURN_CODE_SHIFT
	.comm	_DC_DC8051_CFG_EXT_DEV_0_RSP_DATA_SHIFT,4,2 ; @DC_DC8051_CFG_EXT_DEV_0_RSP_DATA_SHIFT
	.comm	_DC_DC8051_CFG_HOST_CMD_0_REQ_TYPE_MASK,4,2 ; @DC_DC8051_CFG_HOST_CMD_0_REQ_TYPE_MASK
	.comm	_DC_DC8051_CFG_HOST_CMD_0_REQ_TYPE_SHIFT,4,2 ; @DC_DC8051_CFG_HOST_CMD_0_REQ_TYPE_SHIFT
	.comm	_DC_DC8051_CFG_HOST_CMD_0_REQ_DATA_MASK,4,2 ; @DC_DC8051_CFG_HOST_CMD_0_REQ_DATA_MASK
	.comm	_DC_DC8051_CFG_HOST_CMD_0_REQ_DATA_SHIFT,4,2 ; @DC_DC8051_CFG_HOST_CMD_0_REQ_DATA_SHIFT
	.comm	_DC_DC8051_CFG_HOST_CMD_0,4,2   ; @DC_DC8051_CFG_HOST_CMD_0
	.comm	_DC_DC8051_CFG_HOST_CMD_0_REQ_NEW_SMASK,4,2 ; @DC_DC8051_CFG_HOST_CMD_0_REQ_NEW_SMASK
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_DC8051_COMMAND_TIMEOUT,4,2     ; @DC8051_COMMAND_TIMEOUT
	.comm	_DC_DC8051_CFG_HOST_CMD_1,4,2   ; @DC_DC8051_CFG_HOST_CMD_1
	.comm	_DC_DC8051_CFG_HOST_CMD_1_COMPLETED_SMASK,4,2 ; @DC_DC8051_CFG_HOST_CMD_1_COMPLETED_SMASK
l_.str.2:                               ; @.str.2
	.asciz	"8051 host command %u timeout\n"

	.comm	_ETIMEDOUT,4,2                  ; @ETIMEDOUT
	.comm	_DC_DC8051_CFG_HOST_CMD_1_RSP_DATA_SHIFT,4,2 ; @DC_DC8051_CFG_HOST_CMD_1_RSP_DATA_SHIFT
	.comm	_DC_DC8051_CFG_HOST_CMD_1_RSP_DATA_MASK,4,2 ; @DC_DC8051_CFG_HOST_CMD_1_RSP_DATA_MASK
	.comm	_HCMD_READ_LCB_CSR,8,3          ; @HCMD_READ_LCB_CSR
	.comm	_DC_DC8051_CFG_EXT_DEV_1,4,2    ; @DC_DC8051_CFG_EXT_DEV_1
	.comm	_DC_DC8051_CFG_EXT_DEV_1_REQ_DATA_SMASK,4,2 ; @DC_DC8051_CFG_EXT_DEV_1_REQ_DATA_SMASK
	.comm	_DC_DC8051_CFG_EXT_DEV_1_REQ_DATA_SHIFT,4,2 ; @DC_DC8051_CFG_EXT_DEV_1_REQ_DATA_SHIFT
	.comm	_DC_DC8051_CFG_HOST_CMD_1_RETURN_CODE_SHIFT,4,2 ; @DC_DC8051_CFG_HOST_CMD_1_RETURN_CODE_SHIFT
	.comm	_DC_DC8051_CFG_HOST_CMD_1_RETURN_CODE_MASK,4,2 ; @DC_DC8051_CFG_HOST_CMD_1_RETURN_CODE_MASK
	.no_dead_strip	_do_8051_command
.subsections_via_symbols
