	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sky2_supported_modes
_sky2_supported_modes:                  ## @sky2_supported_modes
	.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
	callq	_sky2_is_copper
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_SUPPORTED_10baseT_Half@GOTPCREL(%rip), %rax
	movq	_SUPPORTED_10baseT_Full@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_SUPPORTED_100baseT_Half@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_SUPPORTED_100baseT_Full@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_SKY2_HW_GIGABIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	andl	(%rbx), %edx
	movq	_SUPPORTED_1000baseT_Half@GOTPCREL(%rip), %rsi
	movq	_SUPPORTED_1000baseT_Full@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%rsi), %eax
	testl	%edx, %edx
	cmovel	%edx, %eax
	orl	%ecx, %eax
	jmp	LBB0_3
LBB0_2:
	movq	_SUPPORTED_1000baseT_Half@GOTPCREL(%rip), %rcx
	movq	_SUPPORTED_1000baseT_Full@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%rcx), %eax
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SUPPORTED_10baseT_Half,4,2     ## @SUPPORTED_10baseT_Half
	.comm	_SUPPORTED_10baseT_Full,4,2     ## @SUPPORTED_10baseT_Full
	.comm	_SUPPORTED_100baseT_Half,4,2    ## @SUPPORTED_100baseT_Half
	.comm	_SUPPORTED_100baseT_Full,4,2    ## @SUPPORTED_100baseT_Full
	.comm	_SKY2_HW_GIGABIT,4,2            ## @SKY2_HW_GIGABIT
	.comm	_SUPPORTED_1000baseT_Half,4,2   ## @SUPPORTED_1000baseT_Half
	.comm	_SUPPORTED_1000baseT_Full,4,2   ## @SUPPORTED_1000baseT_Full
	.no_dead_strip	_sky2_supported_modes
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sky2_supported_modes
_sky2_supported_modes:                  ; @sky2_supported_modes
	.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
	bl	_sky2_is_copper
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _SUPPORTED_10baseT_Half@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SUPPORTED_10baseT_Half@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _SUPPORTED_10baseT_Full@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SUPPORTED_10baseT_Full@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh6:
	adrp	x9, _SUPPORTED_100baseT_Half@GOTPAGE
Lloh7:
	ldr	x9, [x9, _SUPPORTED_100baseT_Half@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh9:
	adrp	x9, _SUPPORTED_100baseT_Full@GOTPAGE
Lloh10:
	ldr	x9, [x9, _SUPPORTED_100baseT_Full@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh12:
	adrp	x9, _SKY2_HW_GIGABIT@GOTPAGE
Lloh13:
	ldr	x9, [x9, _SKY2_HW_GIGABIT@GOTPAGEOFF]
	ldr	w10, [x19]
Lloh14:
	ldr	w9, [x9]
Lloh15:
	adrp	x11, _SUPPORTED_1000baseT_Half@GOTPAGE
Lloh16:
	ldr	x11, [x11, _SUPPORTED_1000baseT_Half@GOTPAGEOFF]
Lloh17:
	adrp	x12, _SUPPORTED_1000baseT_Full@GOTPAGE
Lloh18:
	ldr	x12, [x12, _SUPPORTED_1000baseT_Full@GOTPAGEOFF]
Lloh19:
	ldr	w11, [x11]
Lloh20:
	ldr	w12, [x12]
	orr	w11, w12, w11
	tst	w9, w10
	csel	w9, wzr, w11, eq
	orr	w0, w8, w9
	b	LBB0_3
LBB0_2:
Lloh21:
	adrp	x8, _SUPPORTED_1000baseT_Half@GOTPAGE
Lloh22:
	ldr	x8, [x8, _SUPPORTED_1000baseT_Half@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
Lloh24:
	adrp	x9, _SUPPORTED_1000baseT_Full@GOTPAGE
Lloh25:
	ldr	x9, [x9, _SUPPORTED_1000baseT_Full@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	orr	w0, w9, w8
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh19
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_SUPPORTED_10baseT_Half,4,2     ; @SUPPORTED_10baseT_Half
	.comm	_SUPPORTED_10baseT_Full,4,2     ; @SUPPORTED_10baseT_Full
	.comm	_SUPPORTED_100baseT_Half,4,2    ; @SUPPORTED_100baseT_Half
	.comm	_SUPPORTED_100baseT_Full,4,2    ; @SUPPORTED_100baseT_Full
	.comm	_SKY2_HW_GIGABIT,4,2            ; @SKY2_HW_GIGABIT
	.comm	_SUPPORTED_1000baseT_Half,4,2   ; @SUPPORTED_1000baseT_Half
	.comm	_SUPPORTED_1000baseT_Full,4,2   ; @SUPPORTED_1000baseT_Full
	.no_dead_strip	_sky2_supported_modes
.subsections_via_symbols
