	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cypress_wait_for_mc_sequencer
_cypress_wait_for_mc_sequencer:         ## @cypress_wait_for_mc_sequencer
	.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	%esi, %r14d
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	_CHIP_CYPRESS@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	movq	_CHIP_HEMLOCK@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	_CHIP_CEDAR@GOTPCREL(%rip), %rsi
	xorl	%edi, %edi
	cmpq	(%rsi), %rax
	sete	%dil
	movl	$2, %esi
	subq	%rdi, %rsi
	cmpq	%rcx, %rax
	movl	$4, %edi
	cmoveq	%rdi, %rsi
	cmpq	%rdx, %rax
	cmoveq	%rdi, %rsi
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	xorl	%r15d, %r15d
	movq	_CG_SEQ_RESP_SHIFT@GOTPCREL(%rip), %r13
	cmpq	%rdx, %rax
	je	LBB0_3
	.p2align	4, 0x90
LBB0_2:
	cmpq	%rcx, %rax
	je	LBB0_3
## %bb.4:
	movq	_MC_CONFIG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%r15, %rdi
	callq	_MC_RD_ENABLE
	movq	_MC_RD_ENABLE_MASK@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	notl	%edx
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movl	%eax, %esi
	callq	_WREG32_P
	movq	_MC_CG_CONFIG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%r15, %rdi
	callq	_MC_RD_ENABLE
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_3:
	movq	_MC_CONFIG_MCD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%r15, %rdi
	callq	_MC_RD_ENABLE_MCD
	movq	_MC_RD_ENABLE_MCD_MASK@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	notl	%edx
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movl	%eax, %esi
	callq	_WREG32_P
	movq	_MC_CG_CONFIG_MCD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%r15, %rdi
	callq	_MC_RD_ENABLE_MCD
LBB0_5:
	movl	(%r12), %edx
	notl	%edx
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movl	%eax, %esi
	callq	_WREG32_P
	cmpq	$0, 8(%rbx)
	jle	LBB0_9
## %bb.6:
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	_MC_SEQ_CG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_RREG32
	movq	_CG_SEQ_RESP_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movzbl	(%r13), %ecx
	sarl	%cl, %eax
	cmpl	%r14d, %eax
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movl	$1, %edi
	callq	_udelay
	incq	%r12
	cmpq	8(%rbx), %r12
	jl	LBB0_7
LBB0_9:
	incq	%r15
	cmpq	-56(%rbp), %r15                 ## 8-byte Folded Reload
	je	LBB0_11
## %bb.10:
	movq	(%rbx), %rax
	movq	_CHIP_CYPRESS@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	movq	_CHIP_HEMLOCK@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	%rdx, %rax
	jne	LBB0_2
	jmp	LBB0_3
LBB0_11:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CHIP_CYPRESS,8,3               ## @CHIP_CYPRESS
	.comm	_CHIP_HEMLOCK,8,3               ## @CHIP_HEMLOCK
	.comm	_CHIP_CEDAR,8,3                 ## @CHIP_CEDAR
	.comm	_MC_CONFIG_MCD,4,2              ## @MC_CONFIG_MCD
	.comm	_MC_RD_ENABLE_MCD_MASK,4,2      ## @MC_RD_ENABLE_MCD_MASK
	.comm	_MC_CG_CONFIG_MCD,4,2           ## @MC_CG_CONFIG_MCD
	.comm	_MC_CONFIG,4,2                  ## @MC_CONFIG
	.comm	_MC_RD_ENABLE_MASK,4,2          ## @MC_RD_ENABLE_MASK
	.comm	_MC_CG_CONFIG,4,2               ## @MC_CG_CONFIG
	.comm	_MC_SEQ_CG,4,2                  ## @MC_SEQ_CG
	.comm	_CG_SEQ_RESP_MASK,4,2           ## @CG_SEQ_RESP_MASK
	.comm	_CG_SEQ_RESP_SHIFT,4,2          ## @CG_SEQ_RESP_SHIFT
	.no_dead_strip	_cypress_wait_for_mc_sequencer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cypress_wait_for_mc_sequencer
_cypress_wait_for_mc_sequencer:         ; @cypress_wait_for_mc_sequencer
	.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	x19, x1
	mov	x20, x0
	mov	x21, #0
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _CHIP_CYPRESS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _CHIP_CYPRESS@GOTPAGEOFF]
Lloh2:
	adrp	x11, _CHIP_HEMLOCK@GOTPAGE
Lloh3:
	ldr	x11, [x11, _CHIP_HEMLOCK@GOTPAGEOFF]
Lloh4:
	ldr	x10, [x9]
Lloh5:
	ldr	x9, [x11]
Lloh6:
	adrp	x11, _CHIP_CEDAR@GOTPAGE
Lloh7:
	ldr	x11, [x11, _CHIP_CEDAR@GOTPAGEOFF]
Lloh8:
	ldr	x11, [x11]
	cmp	x8, x11
	mov	w11, #1
	cinc	x11, x11, ne
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	mov	w12, #4
	csel	x25, x12, x11, eq
Lloh9:
	adrp	x27, _MC_RD_ENABLE_MCD_MASK@GOTPAGE
Lloh10:
	ldr	x27, [x27, _MC_RD_ENABLE_MCD_MASK@GOTPAGEOFF]
Lloh11:
	adrp	x26, _MC_SEQ_CG@GOTPAGE
Lloh12:
	ldr	x26, [x26, _MC_SEQ_CG@GOTPAGEOFF]
Lloh13:
	adrp	x28, _CG_SEQ_RESP_MASK@GOTPAGE
Lloh14:
	ldr	x28, [x28, _CG_SEQ_RESP_MASK@GOTPAGEOFF]
Lloh15:
	adrp	x23, _CG_SEQ_RESP_SHIFT@GOTPAGE
Lloh16:
	ldr	x23, [x23, _CG_SEQ_RESP_SHIFT@GOTPAGEOFF]
Lloh17:
	adrp	x24, _MC_RD_ENABLE_MASK@GOTPAGE
Lloh18:
	ldr	x24, [x24, _MC_RD_ENABLE_MASK@GOTPAGEOFF]
	cmp	x8, x10
	b.eq	LBB0_3
LBB0_1:
	cmp	x8, x9
	b.eq	LBB0_3
; %bb.2:
Lloh19:
	adrp	x8, _MC_CONFIG@GOTPAGE
Lloh20:
	ldr	x8, [x8, _MC_CONFIG@GOTPAGEOFF]
Lloh21:
	ldr	w22, [x8]
	mov	x0, x21
	bl	_MC_RD_ENABLE
	mov	x1, x0
	ldr	w8, [x24]
	mvn	w2, w8
	mov	x0, x22
	bl	_WREG32_P
Lloh22:
	adrp	x8, _MC_CG_CONFIG@GOTPAGE
Lloh23:
	ldr	x8, [x8, _MC_CG_CONFIG@GOTPAGEOFF]
Lloh24:
	ldr	w22, [x8]
	mov	x0, x21
	bl	_MC_RD_ENABLE
	mov	x1, x0
	ldr	w8, [x24]
	b	LBB0_4
LBB0_3:
Lloh25:
	adrp	x8, _MC_CONFIG_MCD@GOTPAGE
Lloh26:
	ldr	x8, [x8, _MC_CONFIG_MCD@GOTPAGEOFF]
Lloh27:
	ldr	w22, [x8]
	mov	x0, x21
	bl	_MC_RD_ENABLE_MCD
	mov	x1, x0
	ldr	w8, [x27]
	mvn	w2, w8
	mov	x0, x22
	bl	_WREG32_P
Lloh28:
	adrp	x8, _MC_CG_CONFIG_MCD@GOTPAGE
Lloh29:
	ldr	x8, [x8, _MC_CG_CONFIG_MCD@GOTPAGEOFF]
Lloh30:
	ldr	w22, [x8]
	mov	x0, x21
	bl	_MC_RD_ENABLE_MCD
	mov	x1, x0
	ldr	w8, [x27]
LBB0_4:
	mvn	w2, w8
	mov	x0, x22
	bl	_WREG32_P
	ldr	x8, [x20, #8]
	cmp	x8, #1
	b.lt	LBB0_8
; %bb.5:
	mov	x22, #0
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x26]
	bl	_RREG32
	ldr	w8, [x28]
	and	w8, w8, w0
	ldr	w9, [x23]
	asr	w8, w8, w9
	cmp	w8, w19
	b.eq	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	w0, #1
	bl	_udelay
	add	x22, x22, #1
	ldr	x8, [x20, #8]
	cmp	x22, x8
	b.lt	LBB0_6
LBB0_8:
	add	x21, x21, #1
	cmp	x21, x25
	b.eq	LBB0_10
; %bb.9:
	ldr	x8, [x20]
Lloh31:
	adrp	x9, _CHIP_CYPRESS@GOTPAGE
Lloh32:
	ldr	x9, [x9, _CHIP_CYPRESS@GOTPAGEOFF]
Lloh33:
	ldr	x10, [x9]
Lloh34:
	adrp	x9, _CHIP_HEMLOCK@GOTPAGE
Lloh35:
	ldr	x9, [x9, _CHIP_HEMLOCK@GOTPAGEOFF]
Lloh36:
	ldr	x9, [x9]
	cmp	x8, x10
	b.ne	LBB0_1
	b	LBB0_3
LBB0_10:
	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
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.cfi_endproc
                                        ; -- End function
	.comm	_CHIP_CYPRESS,8,3               ; @CHIP_CYPRESS
	.comm	_CHIP_HEMLOCK,8,3               ; @CHIP_HEMLOCK
	.comm	_CHIP_CEDAR,8,3                 ; @CHIP_CEDAR
	.comm	_MC_CONFIG_MCD,4,2              ; @MC_CONFIG_MCD
	.comm	_MC_RD_ENABLE_MCD_MASK,4,2      ; @MC_RD_ENABLE_MCD_MASK
	.comm	_MC_CG_CONFIG_MCD,4,2           ; @MC_CG_CONFIG_MCD
	.comm	_MC_CONFIG,4,2                  ; @MC_CONFIG
	.comm	_MC_RD_ENABLE_MASK,4,2          ; @MC_RD_ENABLE_MASK
	.comm	_MC_CG_CONFIG,4,2               ; @MC_CG_CONFIG
	.comm	_MC_SEQ_CG,4,2                  ; @MC_SEQ_CG
	.comm	_CG_SEQ_RESP_MASK,4,2           ; @CG_SEQ_RESP_MASK
	.comm	_CG_SEQ_RESP_SHIFT,4,2          ; @CG_SEQ_RESP_SHIFT
	.no_dead_strip	_cypress_wait_for_mc_sequencer
.subsections_via_symbols
