	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	16(%rdi), %rax
	movslq	%esi, %rcx
	movq	(%rax,%rcx,8), %rax
	incl	(%rax)
	movq	(%rdi), %rax
	movq	_CHIP_ID_GENESIS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.6:
	movq	_TX_MFF_CTRL1@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%esi, %edi
	movl	%eax, %esi
	callq	_SK_REG
	movq	_MFF_CLR_PERR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%rbx, %rdi
	movl	%eax, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_skge_write16                   ## TAILCALL
LBB0_1:
	movq	_TX_GMF_CTRL_T@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%esi, %edi
	movl	%eax, %esi
	callq	_SK_REG
	movq	(%rbx), %rcx
	movq	_CHIP_ID_YUKON@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_4
## %bb.2:
	cmpq	$0, 8(%rbx)
	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	%rbx, %rdi
	movl	%eax, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_skge_write8                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CHIP_ID_GENESIS,8,3            ## @CHIP_ID_GENESIS
	.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	x19, x0
	ldr	x8, [x0, #16]
	ldr	x8, [x8, w1, sxtw #3]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _CHIP_ID_GENESIS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _CHIP_ID_GENESIS@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _TX_MFF_CTRL1@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TX_MFF_CTRL1@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	mov	x0, x1
	mov	x1, x8
	bl	_SK_REG
	mov	x1, x0
Lloh6:
	adrp	x8, _MFF_CLR_PERR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MFF_CLR_PERR@GOTPAGEOFF]
Lloh8:
	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:
Lloh9:
	adrp	x8, _TX_GMF_CTRL_T@GOTPAGE
Lloh10:
	ldr	x8, [x8, _TX_GMF_CTRL_T@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	mov	x0, x1
	mov	x1, x8
	bl	_SK_REG
	mov	x1, x0
	ldr	x8, [x19]
Lloh12:
	adrp	x9, _CHIP_ID_YUKON@GOTPAGE
Lloh13:
	ldr	x9, [x9, _CHIP_ID_YUKON@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.3:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_5
LBB0_4:
Lloh15:
	adrp	x8, _GMF_CLI_TX_PE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _GMF_CLI_TX_PE@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
Lloh17:
	adrp	x8, _GMF_CLI_TX_FC@GOTPAGE
Lloh18:
	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	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_CHIP_ID_GENESIS,8,3            ; @CHIP_ID_GENESIS
	.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
