	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xgbe_disable_ecc_sec
_xgbe_disable_ecc_sec:                  ## @xgbe_disable_ecc_sec
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	%rdi, %r15
	movq	_XP_ECC_IER@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	callq	_XP_IOREAD
	movl	%eax, %r14d
	addl	$-128, %ebx
	cmpl	$2, %ebx
	ja	LBB0_2
## %bb.1:
	movslq	%ebx, %rax
	leaq	l_switch.table.xgbe_disable_ecc_sec(%rip), %rcx
	movq	(%rcx,%rax,8), %rax
	movl	(%r12), %esi
	movl	(%rax), %edx
	movl	%r14d, %edi
	xorl	%ecx, %ecx
	callq	_XP_SET_BITS
LBB0_2:
	movl	(%r12), %esi
	movq	%r15, %rdi
	movl	%r14d, %edx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_XP_IOWRITE                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_XP_ECC_IER,4,2                 ## @XP_ECC_IER
	.comm	_TX_SEC,4,2                     ## @TX_SEC
	.comm	_RX_SEC,4,2                     ## @RX_SEC
	.comm	_DESC_SEC,4,2                   ## @DESC_SEC
	.no_dead_strip	_xgbe_disable_ecc_sec
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.xgbe_disable_ecc_sec
l_switch.table.xgbe_disable_ecc_sec:
	.quad	_TX_SEC
	.quad	_RX_SEC
	.quad	_DESC_SEC

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xgbe_disable_ecc_sec
_xgbe_disable_ecc_sec:                  ; @xgbe_disable_ecc_sec
	.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
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x22, _XP_ECC_IER@GOTPAGE
Lloh1:
	ldr	x22, [x22, _XP_ECC_IER@GOTPAGEOFF]
	ldr	w1, [x22]
	bl	_XP_IOREAD
	mov	x20, x0
	sub	w8, w21, #128
	cmp	w8, #2
	b.hi	LBB0_2
; %bb.1:
Lloh2:
	adrp	x9, l_switch.table.xgbe_disable_ecc_sec@PAGE
Lloh3:
	add	x9, x9, l_switch.table.xgbe_disable_ecc_sec@PAGEOFF
	ldr	x8, [x9, w8, sxtw #3]
	ldr	w1, [x22]
	ldr	w2, [x8]
	mov	x0, x20
	mov	w3, #0
	bl	_XP_SET_BITS
LBB0_2:
	ldr	w1, [x22]
	mov	x0, x19
	mov	x2, x20
	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
	b	_XP_IOWRITE
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_XP_ECC_IER,4,2                 ; @XP_ECC_IER
	.comm	_TX_SEC,4,2                     ; @TX_SEC
	.comm	_RX_SEC,4,2                     ; @RX_SEC
	.comm	_DESC_SEC,4,2                   ; @DESC_SEC
	.no_dead_strip	_xgbe_disable_ecc_sec
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.xgbe_disable_ecc_sec
l_switch.table.xgbe_disable_ecc_sec:
	.quad	_TX_SEC
	.quad	_RX_SEC
	.quad	_DESC_SEC

.subsections_via_symbols
