	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xgbe_create_mdio_sca
_xgbe_create_mdio_sca:                  ## @xgbe_create_mdio_sca
	.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
	movl	%esi, %ecx
	movl	%edi, %r14d
	movq	_MII_ADDR_C45@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%esi, %eax
	movl	%esi, %ebx
	sarl	$16, %ebx
	testl	%eax, %eax
	cmovel	%eax, %ebx
	movq	_MAC_MDIOSCAR@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	_RA@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%edi, %edi
	callq	_XGMAC_SET_BITS
	movl	(%r15), %esi
	movq	_PA@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%edi, %edi
	movl	%r14d, %ecx
	callq	_XGMAC_SET_BITS
	movl	(%r15), %esi
	movq	_DA@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%edi, %edi
	movl	%ebx, %ecx
	callq	_XGMAC_SET_BITS
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MII_ADDR_C45,4,2               ## @MII_ADDR_C45
	.comm	_MAC_MDIOSCAR,4,2               ## @MAC_MDIOSCAR
	.comm	_RA,4,2                         ## @RA
	.comm	_PA,4,2                         ## @PA
	.comm	_DA,4,2                         ## @DA
	.no_dead_strip	_xgbe_create_mdio_sca
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xgbe_create_mdio_sca
_xgbe_create_mdio_sca:                  ; @xgbe_create_mdio_sca
	.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	x3, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _MII_ADDR_C45@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MII_ADDR_C45@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	asr	w9, w1, #16
	tst	w8, w1
	csel	w20, wzr, w9, eq
Lloh3:
	adrp	x21, _MAC_MDIOSCAR@GOTPAGE
Lloh4:
	ldr	x21, [x21, _MAC_MDIOSCAR@GOTPAGEOFF]
	ldr	w1, [x21]
Lloh5:
	adrp	x8, _RA@GOTPAGE
Lloh6:
	ldr	x8, [x8, _RA@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	mov	w0, #0
	bl	_XGMAC_SET_BITS
	ldr	w1, [x21]
Lloh8:
	adrp	x8, _PA@GOTPAGE
Lloh9:
	ldr	x8, [x8, _PA@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	mov	w0, #0
	mov	x3, x19
	bl	_XGMAC_SET_BITS
	ldr	w1, [x21]
Lloh11:
	adrp	x8, _DA@GOTPAGE
Lloh12:
	ldr	x8, [x8, _DA@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	mov	w0, #0
	mov	x3, x20
	bl	_XGMAC_SET_BITS
	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 AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MII_ADDR_C45,4,2               ; @MII_ADDR_C45
	.comm	_MAC_MDIOSCAR,4,2               ; @MAC_MDIOSCAR
	.comm	_RA,4,2                         ; @RA
	.comm	_PA,4,2                         ; @PA
	.comm	_DA,4,2                         ; @DA
	.no_dead_strip	_xgbe_create_mdio_sca
.subsections_via_symbols
