	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function skge_mac_parity
_skge_mac_parity:                       ## @skge_mac_parity
	.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
	movl	%esi, %ebx
	movq	%rdi, %r14
	movq	16(%rdi), %rax
	movslq	%esi, %rcx
	movq	(%rax,%rcx,8), %rax
	incl	(%rax)
	callq	_is_genesis
	testq	%rax, %rax
	je	LBB0_1
## %bb.6:
	movq	_TX_MFF_CTRL1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_SK_REG
	movq	_MFF_CLR_PERR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%r14, %rdi
	movl	%eax, %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_skge_write16                   ## TAILCALL
LBB0_1:
	movq	_TX_GMF_CTRL_T@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_SK_REG
	movq	(%r14), %rcx
	movq	_CHIP_ID_YUKON@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_4
## %bb.2:
	cmpq	$0, 8(%r14)
	je	LBB0_3
LBB0_4:
	movq	_GMF_CLI_TX_PE@GOTPCREL(%rip), %rcx
	jmp	LBB0_5
LBB0_3:
	movq	_GMF_CLI_TX_FC@GOTPCREL(%rip), %rcx
LBB0_5:
	movl	(%rcx), %edx
	movq	%r14, %rdi
	movl	%eax, %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_skge_write8                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_TX_MFF_CTRL1,4,2               ## @TX_MFF_CTRL1
	.comm	_MFF_CLR_PERR,4,2               ## @MFF_CLR_PERR
	.comm	_TX_GMF_CTRL_T,4,2              ## @TX_GMF_CTRL_T
	.comm	_CHIP_ID_YUKON,8,3              ## @CHIP_ID_YUKON
	.comm	_GMF_CLI_TX_FC,4,2              ## @GMF_CLI_TX_FC
	.comm	_GMF_CLI_TX_PE,4,2              ## @GMF_CLI_TX_PE
	.no_dead_strip	_skge_mac_parity
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function skge_mac_parity
_skge_mac_parity:                       ; @skge_mac_parity
	.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	x20, x1
	mov	x19, x0
	ldr	x8, [x0, #16]
	ldr	x8, [x8, w1, sxtw #3]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
	bl	_is_genesis
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _TX_MFF_CTRL1@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TX_MFF_CTRL1@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_SK_REG
	mov	x1, x0
Lloh3:
	adrp	x8, _MFF_CLR_PERR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MFF_CLR_PERR@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_skge_write16
LBB0_2:
Lloh6:
	adrp	x8, _TX_GMF_CTRL_T@GOTPAGE
Lloh7:
	ldr	x8, [x8, _TX_GMF_CTRL_T@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_SK_REG
	mov	x1, x0
	ldr	x8, [x19]
Lloh9:
	adrp	x9, _CHIP_ID_YUKON@GOTPAGE
Lloh10:
	ldr	x9, [x9, _CHIP_ID_YUKON@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.3:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_5
LBB0_4:
Lloh12:
	adrp	x8, _GMF_CLI_TX_PE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _GMF_CLI_TX_PE@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
Lloh14:
	adrp	x8, _GMF_CLI_TX_FC@GOTPAGE
Lloh15:
	ldr	x8, [x8, _GMF_CLI_TX_FC@GOTPAGEOFF]
LBB0_6:
	ldr	w2, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_skge_write8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_TX_MFF_CTRL1,4,2               ; @TX_MFF_CTRL1
	.comm	_MFF_CLR_PERR,4,2               ; @MFF_CLR_PERR
	.comm	_TX_GMF_CTRL_T,4,2              ; @TX_GMF_CTRL_T
	.comm	_CHIP_ID_YUKON,8,3              ; @CHIP_ID_YUKON
	.comm	_GMF_CLI_TX_FC,4,2              ; @GMF_CLI_TX_FC
	.comm	_GMF_CLI_TX_PE,4,2              ; @GMF_CLI_TX_PE
	.no_dead_strip	_skge_mac_parity
.subsections_via_symbols
