	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gmc_v9_0_ecc_interrupt_state
_gmc_v9_0_ecc_interrupt_state:          ## @gmc_v9_0_ecc_interrupt_state
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpl	$129, %ecx
	je	LBB0_8
## %bb.1:
	cmpl	$128, %ecx
	jne	LBB0_14
## %bb.2:
	movq	_ecc_umc_mcumc_ctrl_addrs@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	callq	_ARRAY_SIZE
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %rax
	movq	(%rax,%rbx,8), %r15
	movq	%r15, %rdi
	callq	_RREG32
	orq	$127, %rax
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_WREG32
	incq	%rbx
	movq	(%r14), %rdi
	callq	_ARRAY_SIZE
	cmpq	%rax, %rbx
	jb	LBB0_4
LBB0_5:
	movq	_ecc_umc_mcumc_ctrl_mask_addrs@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	callq	_ARRAY_SIZE
	testq	%rax, %rax
	je	LBB0_14
## %bb.6:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %rax
	movq	(%rax,%rbx,8), %r15
	movq	%r15, %rdi
	callq	_RREG32
	orq	$127, %rax
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_WREG32
	incq	%rbx
	movq	(%r14), %rdi
	callq	_ARRAY_SIZE
	cmpq	%rax, %rbx
	jb	LBB0_7
	jmp	LBB0_14
LBB0_8:
	movq	_ecc_umc_mcumc_ctrl_addrs@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	callq	_ARRAY_SIZE
	testq	%rax, %rax
	je	LBB0_11
## %bb.9:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %rax
	movq	(%rax,%rbx,8), %r15
	movq	%r15, %rdi
	callq	_RREG32
	andq	$-128, %rax
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_WREG32
	incq	%rbx
	movq	(%r14), %rdi
	callq	_ARRAY_SIZE
	cmpq	%rax, %rbx
	jb	LBB0_10
LBB0_11:
	movq	_ecc_umc_mcumc_ctrl_mask_addrs@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	callq	_ARRAY_SIZE
	testq	%rax, %rax
	je	LBB0_14
## %bb.12:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %rax
	movq	(%rax,%rbx,8), %r15
	movq	%r15, %rdi
	callq	_RREG32
	andq	$-128, %rax
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_WREG32
	incq	%rbx
	movq	(%r14), %rdi
	callq	_ARRAY_SIZE
	cmpq	%rax, %rbx
	jb	LBB0_13
LBB0_14:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ecc_umc_mcumc_ctrl_addrs,8,3   ## @ecc_umc_mcumc_ctrl_addrs
	.comm	_ecc_umc_mcumc_ctrl_mask_addrs,8,3 ## @ecc_umc_mcumc_ctrl_mask_addrs
	.no_dead_strip	_gmc_v9_0_ecc_interrupt_state
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gmc_v9_0_ecc_interrupt_state
_gmc_v9_0_ecc_interrupt_state:          ; @gmc_v9_0_ecc_interrupt_state
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	cmp	w3, #129
	b.eq	LBB0_8
; %bb.1:
	cmp	w3, #128
	b.ne	LBB0_14
; %bb.2:
Lloh0:
	adrp	x20, _ecc_umc_mcumc_ctrl_addrs@GOTPAGE
Lloh1:
	ldr	x20, [x20, _ecc_umc_mcumc_ctrl_addrs@GOTPAGEOFF]
	ldr	x0, [x20]
	bl	_ARRAY_SIZE
	cbz	x0, LBB0_5
; %bb.3:
	mov	x21, #0
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20]
	ldr	x19, [x8, x21, lsl #3]
	mov	x0, x19
	bl	_RREG32
	orr	x1, x0, #0x7f
	mov	x0, x19
	bl	_WREG32
	add	x21, x21, #1
	ldr	x0, [x20]
	bl	_ARRAY_SIZE
	cmp	x21, x0
	b.lo	LBB0_4
LBB0_5:
Lloh2:
	adrp	x20, _ecc_umc_mcumc_ctrl_mask_addrs@GOTPAGE
Lloh3:
	ldr	x20, [x20, _ecc_umc_mcumc_ctrl_mask_addrs@GOTPAGEOFF]
	ldr	x0, [x20]
	bl	_ARRAY_SIZE
	cbz	x0, LBB0_14
; %bb.6:
	mov	x21, #0
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20]
	ldr	x19, [x8, x21, lsl #3]
	mov	x0, x19
	bl	_RREG32
	orr	x1, x0, #0x7f
	mov	x0, x19
	bl	_WREG32
	add	x21, x21, #1
	ldr	x0, [x20]
	bl	_ARRAY_SIZE
	cmp	x21, x0
	b.lo	LBB0_7
	b	LBB0_14
LBB0_8:
Lloh4:
	adrp	x20, _ecc_umc_mcumc_ctrl_addrs@GOTPAGE
Lloh5:
	ldr	x20, [x20, _ecc_umc_mcumc_ctrl_addrs@GOTPAGEOFF]
	ldr	x0, [x20]
	bl	_ARRAY_SIZE
	cbz	x0, LBB0_11
; %bb.9:
	mov	x21, #0
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20]
	ldr	x19, [x8, x21, lsl #3]
	mov	x0, x19
	bl	_RREG32
	and	x1, x0, #0xffffffffffffff80
	mov	x0, x19
	bl	_WREG32
	add	x21, x21, #1
	ldr	x0, [x20]
	bl	_ARRAY_SIZE
	cmp	x21, x0
	b.lo	LBB0_10
LBB0_11:
Lloh6:
	adrp	x20, _ecc_umc_mcumc_ctrl_mask_addrs@GOTPAGE
Lloh7:
	ldr	x20, [x20, _ecc_umc_mcumc_ctrl_mask_addrs@GOTPAGEOFF]
	ldr	x0, [x20]
	bl	_ARRAY_SIZE
	cbz	x0, LBB0_14
; %bb.12:
	mov	x21, #0
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20]
	ldr	x19, [x8, x21, lsl #3]
	mov	x0, x19
	bl	_RREG32
	and	x1, x0, #0xffffffffffffff80
	mov	x0, x19
	bl	_WREG32
	add	x21, x21, #1
	ldr	x0, [x20]
	bl	_ARRAY_SIZE
	cmp	x21, x0
	b.lo	LBB0_13
LBB0_14:
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_ecc_umc_mcumc_ctrl_addrs,8,3   ; @ecc_umc_mcumc_ctrl_addrs
	.comm	_ecc_umc_mcumc_ctrl_mask_addrs,8,3 ; @ecc_umc_mcumc_ctrl_mask_addrs
	.no_dead_strip	_gmc_v9_0_ecc_interrupt_state
.subsections_via_symbols
