	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hns_get_enet_interface
_hns_get_enet_interface:                ## @hns_get_enet_interface
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %eax
	cmpl	$128, %eax
	je	LBB0_1
## %bb.2:
	cmpl	$129, %eax
	je	LBB0_6
## %bb.3:
	cmpl	$130, %eax
	jne	LBB0_7
## %bb.4:
	movq	_g_mac_mode_100@GOTPCREL(%rip), %rcx
	jmp	LBB0_5
LBB0_1:
	movq	_MAC_MODE_XGMII_10000@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_6:
	movq	_g_mac_mode_1000@GOTPCREL(%rip), %rcx
LBB0_5:
	movq	8(%rdi), %rax
	shlq	$2, %rax
	addq	(%rcx), %rax
	jmp	LBB0_8
LBB0_7:
	movq	_MAC_MODE_MII_100@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_g_mac_mode_100,8,3             ## @g_mac_mode_100
	.comm	_g_mac_mode_1000,8,3            ## @g_mac_mode_1000
	.comm	_MAC_MODE_XGMII_10000,4,2       ## @MAC_MODE_XGMII_10000
	.comm	_MAC_MODE_MII_100,4,2           ## @MAC_MODE_MII_100
	.no_dead_strip	_hns_get_enet_interface
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hns_get_enet_interface
_hns_get_enet_interface:                ; @hns_get_enet_interface
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
	cmp	w8, #128
	b.eq	LBB0_4
; %bb.1:
	cmp	w8, #129
	b.eq	LBB0_5
; %bb.2:
	cmp	w8, #130
	b.ne	LBB0_7
; %bb.3:
Lloh0:
	adrp	x8, _g_mac_mode_100@GOTPAGE
Lloh1:
	ldr	x8, [x8, _g_mac_mode_100@GOTPAGEOFF]
	b	LBB0_6
LBB0_4:
Lloh2:
	adrp	x8, _MAC_MODE_XGMII_10000@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MAC_MODE_XGMII_10000@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	ret
LBB0_5:
Lloh5:
	adrp	x8, _g_mac_mode_1000@GOTPAGE
Lloh6:
	ldr	x8, [x8, _g_mac_mode_1000@GOTPAGEOFF]
LBB0_6:
	ldr	x8, [x8]
	ldr	x9, [x0, #8]
	add	x8, x8, x9, lsl #2
	ldr	w0, [x8]
	ret
LBB0_7:
Lloh7:
	adrp	x8, _MAC_MODE_MII_100@GOTPAGE
Lloh8:
	ldr	x8, [x8, _MAC_MODE_MII_100@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_g_mac_mode_100,8,3             ; @g_mac_mode_100
	.comm	_g_mac_mode_1000,8,3            ; @g_mac_mode_1000
	.comm	_MAC_MODE_XGMII_10000,4,2       ; @MAC_MODE_XGMII_10000
	.comm	_MAC_MODE_MII_100,4,2           ; @MAC_MODE_MII_100
	.no_dead_strip	_hns_get_enet_interface
.subsections_via_symbols
