	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function alx_speed_to_ethadv
_alx_speed_to_ethadv:                   ## @alx_speed_to_ethadv
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_SPEED_1000@GOTPCREL(%rip), %rcx
	movq	_DUPLEX_FULL@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpl	%edi, (%rcx)
	jne	LBB0_4
## %bb.1:
	cmpq	%rsi, %rax
	jne	LBB0_4
## %bb.2:
	movq	_ADVERTISED_1000baseT_Full@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_4:
	movq	_SPEED_100@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	cmpl	%edi, %edx
	jne	LBB0_7
## %bb.5:
	cmpq	%rsi, %rax
	jne	LBB0_7
## %bb.6:
	movq	_ADVERTISED_100baseT_Full@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_7:
	movq	_DUPLEX_HALF@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpl	%edi, %edx
	jne	LBB0_10
## %bb.8:
	cmpq	%rsi, %rcx
	jne	LBB0_10
## %bb.9:
	movq	_ADVERTISED_100baseT_Half@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_10:
	movq	_SPEED_10@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	cmpl	%edi, %edx
	jne	LBB0_13
## %bb.11:
	cmpq	%rsi, %rax
	jne	LBB0_13
## %bb.12:
	movq	_ADVERTISED_10baseT_Full@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	popq	%rbp
	retq
LBB0_13:
	xorl	%eax, %eax
	movl	$0, %r8d
	cmpq	%rsi, %rcx
	jne	LBB0_15
## %bb.14:
	movq	_ADVERTISED_10baseT_Half@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
LBB0_15:
	cmpl	%edi, %edx
	cmovel	%r8d, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SPEED_1000,4,2                 ## @SPEED_1000
	.comm	_DUPLEX_FULL,8,3                ## @DUPLEX_FULL
	.comm	_ADVERTISED_1000baseT_Full,4,2  ## @ADVERTISED_1000baseT_Full
	.comm	_SPEED_100,4,2                  ## @SPEED_100
	.comm	_ADVERTISED_100baseT_Full,4,2   ## @ADVERTISED_100baseT_Full
	.comm	_DUPLEX_HALF,8,3                ## @DUPLEX_HALF
	.comm	_ADVERTISED_100baseT_Half,4,2   ## @ADVERTISED_100baseT_Half
	.comm	_SPEED_10,4,2                   ## @SPEED_10
	.comm	_ADVERTISED_10baseT_Full,4,2    ## @ADVERTISED_10baseT_Full
	.comm	_ADVERTISED_10baseT_Half,4,2    ## @ADVERTISED_10baseT_Half
	.no_dead_strip	_alx_speed_to_ethadv
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function alx_speed_to_ethadv
_alx_speed_to_ethadv:                   ; @alx_speed_to_ethadv
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _SPEED_1000@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SPEED_1000@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x8]
Lloh3:
	adrp	x8, _DUPLEX_FULL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DUPLEX_FULL@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	w9, w0
	ccmp	x8, x1, #0, eq
	b.eq	LBB0_5
; %bb.1:
Lloh6:
	adrp	x9, _SPEED_100@GOTPAGE
Lloh7:
	ldr	x9, [x9, _SPEED_100@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x9]
	cmp	w10, w0
	ccmp	x8, x1, #0, eq
	b.eq	LBB0_6
; %bb.2:
Lloh9:
	adrp	x9, _DUPLEX_HALF@GOTPAGE
Lloh10:
	ldr	x9, [x9, _DUPLEX_HALF@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	w10, w0
	ccmp	x9, x1, #0, eq
	b.eq	LBB0_7
; %bb.3:
Lloh12:
	adrp	x10, _SPEED_10@GOTPAGE
Lloh13:
	ldr	x10, [x10, _SPEED_10@GOTPAGEOFF]
Lloh14:
	ldr	w10, [x10]
	cmp	w10, w0
	ccmp	x8, x1, #0, eq
	b.eq	LBB0_8
; %bb.4:
	cmp	x9, x1
	ccmp	w10, w0, #0, eq
Lloh15:
	adrp	x8, _ADVERTISED_10baseT_Half@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ADVERTISED_10baseT_Half@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	csel	w0, w8, wzr, eq
	ret
LBB0_5:
Lloh18:
	adrp	x8, _ADVERTISED_1000baseT_Full@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ADVERTISED_1000baseT_Full@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	ret
LBB0_6:
Lloh21:
	adrp	x8, _ADVERTISED_100baseT_Full@GOTPAGE
Lloh22:
	ldr	x8, [x8, _ADVERTISED_100baseT_Full@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
	ret
LBB0_7:
Lloh24:
	adrp	x8, _ADVERTISED_100baseT_Half@GOTPAGE
Lloh25:
	ldr	x8, [x8, _ADVERTISED_100baseT_Half@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
	ret
LBB0_8:
Lloh27:
	adrp	x8, _ADVERTISED_10baseT_Full@GOTPAGE
Lloh28:
	ldr	x8, [x8, _ADVERTISED_10baseT_Full@GOTPAGEOFF]
Lloh29:
	ldr	w0, [x8]
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_SPEED_1000,4,2                 ; @SPEED_1000
	.comm	_DUPLEX_FULL,8,3                ; @DUPLEX_FULL
	.comm	_ADVERTISED_1000baseT_Full,4,2  ; @ADVERTISED_1000baseT_Full
	.comm	_SPEED_100,4,2                  ; @SPEED_100
	.comm	_ADVERTISED_100baseT_Full,4,2   ; @ADVERTISED_100baseT_Full
	.comm	_DUPLEX_HALF,8,3                ; @DUPLEX_HALF
	.comm	_ADVERTISED_100baseT_Half,4,2   ; @ADVERTISED_100baseT_Half
	.comm	_SPEED_10,4,2                   ; @SPEED_10
	.comm	_ADVERTISED_10baseT_Full,4,2    ; @ADVERTISED_10baseT_Full
	.comm	_ADVERTISED_10baseT_Half,4,2    ; @ADVERTISED_10baseT_Half
	.no_dead_strip	_alx_speed_to_ethadv
.subsections_via_symbols
