	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sky2_le_error
_sky2_le_error:                         ## @sky2_le_error
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rdi, %rbx
	movq	8(%rdi), %rax
	movl	%esi, %ecx
	movq	(%rax,%rcx,8), %r13
	movq	_PREF_UNIT_GET_IDX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rdx, %rdi
	callq	_Y2_QADDR
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_sky2_read16
	movq	%rax, %r15
	movq	(%rbx), %r12
	movl	(%r13), %r13d
	movq	_PREF_UNIT_PUT_IDX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_Y2_QADDR
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_sky2_read16
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	movl	%r13d, %edx
	movl	%r14d, %ecx
	movl	%r15d, %r8d
	movl	%eax, %r9d
	callq	_dev_err
	movq	_Q_CSR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_Q_ADDR
	movq	_BMU_CLR_IRQ_CHK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%rbx, %rdi
	movl	%eax, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_sky2_write32                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PREF_UNIT_GET_IDX,4,2          ## @PREF_UNIT_GET_IDX
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: descriptor error q=%#x get=%u put=%u\n"

	.comm	_PREF_UNIT_PUT_IDX,4,2          ## @PREF_UNIT_PUT_IDX
	.comm	_Q_CSR,4,2                      ## @Q_CSR
	.comm	_BMU_CLR_IRQ_CHK,4,2            ## @BMU_CLR_IRQ_CHK
	.no_dead_strip	_sky2_le_error
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sky2_le_error
_sky2_le_error:                         ; @sky2_le_error
	.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	x19, x2
	mov	x20, x0
	ldr	x8, [x0, #8]
	ldr	x23, [x8, w1, uxtw #3]
Lloh0:
	adrp	x8, _PREF_UNIT_GET_IDX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PREF_UNIT_GET_IDX@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x2
	bl	_Y2_QADDR
	mov	x1, x0
	mov	x0, x20
	bl	_sky2_read16
	mov	x21, x0
	ldr	x22, [x20]
	ldr	w23, [x23]
Lloh3:
	adrp	x8, _PREF_UNIT_PUT_IDX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PREF_UNIT_PUT_IDX@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_Y2_QADDR
	mov	x1, x0
	mov	x0, x20
	bl	_sky2_read16
	mov	x5, x0
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x22
	mov	x2, x23
	mov	x3, x19
	mov	x4, x21
                                        ; kill: def $w5 killed $w5 killed $x5
	bl	_dev_err
Lloh8:
	adrp	x8, _Q_CSR@GOTPAGE
Lloh9:
	ldr	x8, [x8, _Q_CSR@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_Q_ADDR
	mov	x1, x0
Lloh11:
	adrp	x8, _BMU_CLR_IRQ_CHK@GOTPAGE
Lloh12:
	ldr	x8, [x8, _BMU_CLR_IRQ_CHK@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	mov	x0, x20
	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	_sky2_write32
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PREF_UNIT_GET_IDX,4,2          ; @PREF_UNIT_GET_IDX
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: descriptor error q=%#x get=%u put=%u\n"

	.comm	_PREF_UNIT_PUT_IDX,4,2          ; @PREF_UNIT_PUT_IDX
	.comm	_Q_CSR,4,2                      ; @Q_CSR
	.comm	_BMU_CLR_IRQ_CHK,4,2            ; @BMU_CLR_IRQ_CHK
	.no_dead_strip	_sky2_le_error
.subsections_via_symbols
