	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function slic_configure_mac
_slic_configure_mac:                    ## @slic_configure_mac
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	movq	_SPEED_1000@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movq	_SLIC_GMCR_GAPBB_1000@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_SLIC_GMCR_GAPBB_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %eax
	movq	_SLIC_GMCR_GAPR1_1000@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	_SLIC_GMCR_GAPR1_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %edx
	orl	%eax, %edx
	movq	_SLIC_GMCR_GAPR2_1000@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_SLIC_GMCR_GAPR2_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %eax
	orl	%edx, %eax
	movq	_SLIC_GMCR_GBIT@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	jmp	LBB0_3
LBB0_2:
	movq	_SLIC_GMCR_GAPBB_100@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_SLIC_GMCR_GAPBB_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %eax
	movq	_SLIC_GMCR_GAPR1_100@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	_SLIC_GMCR_GAPR1_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %edx
	orl	%eax, %edx
	movq	_SLIC_GMCR_GAPR2_100@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_SLIC_GMCR_GAPR2_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %eax
	orl	%edx, %eax
LBB0_3:
	movq	8(%rdi), %rcx
	movq	_DUPLEX_FULL@GOTPCREL(%rip), %rsi
	xorl	%edx, %edx
	cmpq	(%rsi), %rcx
	jne	LBB0_5
## %bb.4:
	movq	_SLIC_GMCR_FULLD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
LBB0_5:
	orl	%eax, %edx
	movq	_SLIC_REG_WMCFG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	popq	%rbp
	jmp	_slic_write                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SPEED_1000,8,3                 ## @SPEED_1000
	.comm	_SLIC_GMCR_GAPBB_1000,4,2       ## @SLIC_GMCR_GAPBB_1000
	.comm	_SLIC_GMCR_GAPBB_SHIFT,4,2      ## @SLIC_GMCR_GAPBB_SHIFT
	.comm	_SLIC_GMCR_GAPR1_1000,4,2       ## @SLIC_GMCR_GAPR1_1000
	.comm	_SLIC_GMCR_GAPR1_SHIFT,4,2      ## @SLIC_GMCR_GAPR1_SHIFT
	.comm	_SLIC_GMCR_GAPR2_1000,4,2       ## @SLIC_GMCR_GAPR2_1000
	.comm	_SLIC_GMCR_GAPR2_SHIFT,4,2      ## @SLIC_GMCR_GAPR2_SHIFT
	.comm	_SLIC_GMCR_GBIT,4,2             ## @SLIC_GMCR_GBIT
	.comm	_SLIC_GMCR_GAPBB_100,4,2        ## @SLIC_GMCR_GAPBB_100
	.comm	_SLIC_GMCR_GAPR1_100,4,2        ## @SLIC_GMCR_GAPR1_100
	.comm	_SLIC_GMCR_GAPR2_100,4,2        ## @SLIC_GMCR_GAPR2_100
	.comm	_DUPLEX_FULL,8,3                ## @DUPLEX_FULL
	.comm	_SLIC_GMCR_FULLD,4,2            ## @SLIC_GMCR_FULLD
	.comm	_SLIC_REG_WMCFG,4,2             ## @SLIC_REG_WMCFG
	.no_dead_strip	_slic_configure_mac
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function slic_configure_mac
_slic_configure_mac:                    ; @slic_configure_mac
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _SPEED_1000@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SPEED_1000@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _SLIC_GMCR_GAPBB_1000@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SLIC_GMCR_GAPBB_1000@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _SLIC_GMCR_GAPBB_SHIFT@GOTPAGE
Lloh7:
	ldr	x9, [x9, _SLIC_GMCR_GAPBB_SHIFT@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	lsl	w8, w8, w9
Lloh9:
	adrp	x9, _SLIC_GMCR_GAPR1_1000@GOTPAGE
Lloh10:
	ldr	x9, [x9, _SLIC_GMCR_GAPR1_1000@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
Lloh12:
	adrp	x10, _SLIC_GMCR_GAPR1_SHIFT@GOTPAGE
Lloh13:
	ldr	x10, [x10, _SLIC_GMCR_GAPR1_SHIFT@GOTPAGEOFF]
Lloh14:
	ldr	w10, [x10]
	lsl	w9, w9, w10
	orr	w8, w9, w8
Lloh15:
	adrp	x9, _SLIC_GMCR_GAPR2_1000@GOTPAGE
Lloh16:
	ldr	x9, [x9, _SLIC_GMCR_GAPR2_1000@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
Lloh18:
	adrp	x10, _SLIC_GMCR_GAPR2_SHIFT@GOTPAGE
Lloh19:
	ldr	x10, [x10, _SLIC_GMCR_GAPR2_SHIFT@GOTPAGEOFF]
Lloh20:
	ldr	w10, [x10]
	lsl	w9, w9, w10
	orr	w8, w8, w9
Lloh21:
	adrp	x9, _SLIC_GMCR_GBIT@GOTPAGE
Lloh22:
	ldr	x9, [x9, _SLIC_GMCR_GBIT@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	b	LBB0_3
LBB0_2:
Lloh24:
	adrp	x8, _SLIC_GMCR_GAPBB_100@GOTPAGE
Lloh25:
	ldr	x8, [x8, _SLIC_GMCR_GAPBB_100@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
Lloh27:
	adrp	x9, _SLIC_GMCR_GAPBB_SHIFT@GOTPAGE
Lloh28:
	ldr	x9, [x9, _SLIC_GMCR_GAPBB_SHIFT@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
	lsl	w8, w8, w9
Lloh30:
	adrp	x9, _SLIC_GMCR_GAPR1_100@GOTPAGE
Lloh31:
	ldr	x9, [x9, _SLIC_GMCR_GAPR1_100@GOTPAGEOFF]
Lloh32:
	adrp	x10, _SLIC_GMCR_GAPR1_SHIFT@GOTPAGE
Lloh33:
	ldr	x10, [x10, _SLIC_GMCR_GAPR1_SHIFT@GOTPAGEOFF]
Lloh34:
	ldr	w9, [x9]
Lloh35:
	ldr	w10, [x10]
	lsl	w9, w9, w10
	orr	w8, w9, w8
Lloh36:
	adrp	x9, _SLIC_GMCR_GAPR2_100@GOTPAGE
Lloh37:
	ldr	x9, [x9, _SLIC_GMCR_GAPR2_100@GOTPAGEOFF]
Lloh38:
	ldr	w9, [x9]
Lloh39:
	adrp	x10, _SLIC_GMCR_GAPR2_SHIFT@GOTPAGE
Lloh40:
	ldr	x10, [x10, _SLIC_GMCR_GAPR2_SHIFT@GOTPAGEOFF]
Lloh41:
	ldr	w10, [x10]
	lsl	w9, w9, w10
LBB0_3:
	orr	w8, w8, w9
	ldr	x9, [x0, #8]
Lloh42:
	adrp	x10, _DUPLEX_FULL@GOTPAGE
Lloh43:
	ldr	x10, [x10, _DUPLEX_FULL@GOTPAGEOFF]
Lloh44:
	ldr	x10, [x10]
Lloh45:
	adrp	x11, _SLIC_GMCR_FULLD@GOTPAGE
Lloh46:
	ldr	x11, [x11, _SLIC_GMCR_FULLD@GOTPAGEOFF]
Lloh47:
	ldr	w11, [x11]
	cmp	x9, x10
	csel	w9, w11, wzr, eq
	orr	w2, w9, w8
Lloh48:
	adrp	x8, _SLIC_REG_WMCFG@GOTPAGE
Lloh49:
	ldr	x8, [x8, _SLIC_REG_WMCFG@GOTPAGEOFF]
Lloh50:
	ldr	w1, [x8]
	b	_slic_write
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh34
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.cfi_endproc
                                        ; -- End function
	.comm	_SPEED_1000,8,3                 ; @SPEED_1000
	.comm	_SLIC_GMCR_GAPBB_1000,4,2       ; @SLIC_GMCR_GAPBB_1000
	.comm	_SLIC_GMCR_GAPBB_SHIFT,4,2      ; @SLIC_GMCR_GAPBB_SHIFT
	.comm	_SLIC_GMCR_GAPR1_1000,4,2       ; @SLIC_GMCR_GAPR1_1000
	.comm	_SLIC_GMCR_GAPR1_SHIFT,4,2      ; @SLIC_GMCR_GAPR1_SHIFT
	.comm	_SLIC_GMCR_GAPR2_1000,4,2       ; @SLIC_GMCR_GAPR2_1000
	.comm	_SLIC_GMCR_GAPR2_SHIFT,4,2      ; @SLIC_GMCR_GAPR2_SHIFT
	.comm	_SLIC_GMCR_GBIT,4,2             ; @SLIC_GMCR_GBIT
	.comm	_SLIC_GMCR_GAPBB_100,4,2        ; @SLIC_GMCR_GAPBB_100
	.comm	_SLIC_GMCR_GAPR1_100,4,2        ; @SLIC_GMCR_GAPR1_100
	.comm	_SLIC_GMCR_GAPR2_100,4,2        ; @SLIC_GMCR_GAPR2_100
	.comm	_DUPLEX_FULL,8,3                ; @DUPLEX_FULL
	.comm	_SLIC_GMCR_FULLD,4,2            ; @SLIC_GMCR_FULLD
	.comm	_SLIC_REG_WMCFG,4,2             ; @SLIC_REG_WMCFG
	.no_dead_strip	_slic_configure_mac
.subsections_via_symbols
