	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mcde_enable_fifo
_mcde_enable_fifo:                      ## @mcde_enable_fifo
	.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, %r14
	cmpl	$129, %esi
	je	LBB0_1
## %bb.2:
	cmpl	$128, %esi
	jne	LBB0_5
## %bb.3:
	movq	_MCDE_CRB0@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_1:
	movq	_MCDE_CRA0@GOTPCREL(%rip), %rax
LBB0_4:
	movq	(%rax), %rbx
	movq	%r14, %rdi
	callq	_spin_lock
	movq	8(%r14), %rdi
	addq	%rbx, %rdi
	callq	_readl
	movq	_MCDE_CRX0_FLOEN@GOTPCREL(%rip), %rcx
	orq	(%rcx), %rax
	addq	8(%r14), %rbx
	movq	%rax, %rdi
	movq	%rbx, %rsi
	callq	_writel
	incl	4(%r14)
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_spin_unlock                    ## TAILCALL
LBB0_5:
	movl	16(%r14), %edi
	addb	$65, %sil
	movsbl	%sil, %edx
	leaq	L_.str(%rip), %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_dev_err                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MCDE_CRA0,8,3                  ## @MCDE_CRA0
	.comm	_MCDE_CRB0,8,3                  ## @MCDE_CRB0
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cannot enable FIFO %c\n"

	.comm	_MCDE_CRX0_FLOEN,8,3            ## @MCDE_CRX0_FLOEN
	.no_dead_strip	_mcde_enable_fifo
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mcde_enable_fifo
_mcde_enable_fifo:                      ; @mcde_enable_fifo
	.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
	cmp	w1, #129
	b.eq	LBB0_3
; %bb.1:
	cmp	w1, #128
	b.ne	LBB0_5
; %bb.2:
Lloh0:
	adrp	x8, _MCDE_CRB0@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MCDE_CRB0@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:
Lloh2:
	adrp	x8, _MCDE_CRA0@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MCDE_CRA0@GOTPAGEOFF]
LBB0_4:
	ldr	x20, [x8]
	mov	x0, x19
	bl	_spin_lock
	ldr	x8, [x19, #8]
	add	x0, x8, x20
	bl	_readl
Lloh4:
	adrp	x8, _MCDE_CRX0_FLOEN@GOTPAGE
Lloh5:
	ldr	x8, [x8, _MCDE_CRX0_FLOEN@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
	orr	x0, x8, x0
	ldr	x8, [x19, #8]
	add	x1, x8, x20
	bl	_writel
	ldr	w8, [x19, #4]
	add	w8, w8, #1
	str	w8, [x19, #4]
	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_5:
	ldr	w0, [x19, #16]
	add	w8, w1, #65
	sxtb	w2, w8
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	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_err
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_MCDE_CRA0,8,3                  ; @MCDE_CRA0
	.comm	_MCDE_CRB0,8,3                  ; @MCDE_CRB0
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cannot enable FIFO %c\n"

	.comm	_MCDE_CRX0_FLOEN,8,3            ; @MCDE_CRX0_FLOEN
	.no_dead_strip	_mcde_enable_fifo
.subsections_via_symbols
