	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hns_mac_get_info
_hns_mac_get_info:                      ## @hns_mac_get_info
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r13
	movq	$0, (%rdi)
	movq	_HNAE_MEDIA_TYPE_UNKNOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 36(%rdi)
	movq	_mac_phy_to_speed@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	8(%rdi), %rax
	movl	(%rcx,%rax,4), %ecx
	movl	%ecx, 108(%rdi)
	movl	%ecx, 112(%rdi)
	movq	_PHY_INTERFACE_MODE_SGMII@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movq	_SUPPORTED_1000baseT_Full@GOTPCREL(%rip), %rcx
	movq	_MAC_GMAC_SUPPORTED@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_2:
	movq	_PHY_INTERFACE_MODE_XGMII@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.3:
	movq	_SUPPORTED_10000baseKR_Full@GOTPCREL(%rip), %rcx
	movq	_SUPPORTED_10000baseR_FEC@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movl	%ecx, 104(%r13)
LBB0_5:
	movq	_MAC_DEFAULT_MTU@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 100(%r13)
	movq	_MAC_DEFAULT_PAUSE_TIME@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 96(%r13)
	movq	40(%r13), %rdx
	movq	%rdx, 72(%r13)
	movq	$0, 64(%r13)
	movl	32(%r13), %edi
	testl	%edi, %edi
	je	LBB0_6
## %bb.9:
	callq	_is_of_node
	movl	32(%r13), %edi
	testq	%rax, %rax
	je	LBB0_23
## %bb.10:
	callq	_to_of_node
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edi
	xorl	%edx, %edx
	callq	_of_parse_phandle
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_of_phy_find_device
	movq	%rax, 88(%r13)
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	movq	%rax, %rdi
	callq	_put_device
	movq	24(%r13), %rdi
	movq	40(%r13), %rdx
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rcx
	xorl	%eax, %eax
	callq	_dev_dbg
LBB0_12:
	movq	%r14, %rdi
	callq	_of_node_put
	movl	32(%r13), %edi
	callq	_to_of_node
	leaq	L_.str.2(%rip), %rsi
	xorl	%r14d, %r14d
	movl	%eax, %edi
	xorl	%edx, %edx
	callq	_of_parse_phandle
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_syscon_node_to_regmap
	movq	%rax, %r15
	movq	%r12, %rdi
	callq	_of_node_put
	movq	%r15, %rdi
	callq	_IS_ERR_OR_NULL
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:
	movq	24(%r13), %rdi
	leaq	L_.str.3(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
	subl	(%rax), %r14d
	jmp	LBB0_34
LBB0_6:
	movq	24(%r13), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_of_parse_phandle
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_of_phy_find_device
	movq	%rax, 88(%r13)
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	%rax, %rdi
	callq	_put_device
	movq	24(%r13), %rdi
	movq	40(%r13), %rdx
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rcx
	xorl	%eax, %eax
	callq	_dev_dbg
LBB0_8:
	movq	%r14, %rdi
	callq	_of_node_put
	xorl	%r14d, %r14d
	jmp	LBB0_34
LBB0_23:
	callq	_is_acpi_node
	testq	%rax, %rax
	je	LBB0_25
## %bb.24:
	movq	%r13, %rdi
	callq	_hns_mac_register_phy
	movl	%eax, %r14d
	movq	_EPROBE_DEFER@GOTPCREL(%rip), %rax
	movl	%r14d, %ecx
	addl	(%rax), %ecx
	jne	LBB0_26
	jmp	LBB0_34
LBB0_14:
	leaq	72(%r13), %rdx
	leaq	64(%r13), %r14
	movq	%r15, 80(%r13)
	movl	32(%r13), %edi
	leaq	L_.str.4(%rip), %rsi
	callq	_fwnode_property_read_u32
	testl	%eax, %eax
	je	LBB0_16
## %bb.15:
	movq	24(%r13), %rdi
	movq	40(%r13), %rdx
	leaq	L_.str.5(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_dbg
LBB0_16:
	movl	32(%r13), %edi
	leaq	L_.str.6(%rip), %rsi
	movq	%r14, %rdx
	callq	_fwnode_property_read_u32
	testl	%eax, %eax
	je	LBB0_18
## %bb.17:
	movq	24(%r13), %rdi
	movq	40(%r13), %rdx
	leaq	L_.str.7(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_dbg
LBB0_18:
	movl	32(%r13), %edi
	callq	_to_of_node
	leaq	L_.str.8(%rip), %rsi
	leaq	-64(%rbp), %r8
	movl	%eax, %edi
	movl	$1, %edx
	xorl	%ecx, %ecx
	callq	_of_parse_phandle_with_fixed_args
	testl	%eax, %eax
	je	LBB0_20
## %bb.19:
	movq	24(%r13), %rdi
	movq	40(%r13), %rdx
	leaq	L_.str.9(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_dbg
	movq	$0, 56(%r13)
	jmp	LBB0_26
LBB0_25:
	movq	24(%r13), %rdi
	movq	40(%r13), %rdx
	leaq	L_.str.11(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_26
LBB0_20:
	movq	-56(%rbp), %rdi
	callq	_syscon_node_to_regmap
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_IS_ERR_OR_NULL
	testq	%rax, %rax
	je	LBB0_22
## %bb.21:
	movq	24(%r13), %rdi
	leaq	L_.str.10(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_dbg
	movq	$0, 56(%r13)
	jmp	LBB0_26
LBB0_22:
	movq	%r14, 56(%r13)
	movq	-64(%rbp), %rax
	movl	(%rax), %eax
	movl	%eax, 48(%r13)
LBB0_26:
	movl	32(%r13), %edi
	leaq	L_.str.12(%rip), %rsi
	leaq	-48(%rbp), %rdx
	callq	_fwnode_property_read_string
	testl	%eax, %eax
	je	LBB0_27
LBB0_32:
	movl	16(%r13), %edx
	movl	32(%r13), %edi
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str.13(%rip), %rsi
	callq	_fwnode_property_read_u8_array
	xorl	%r14d, %r14d
	testq	%rax, %rax
	je	LBB0_34
## %bb.33:
	movq	24(%r13), %rdi
	leaq	L_.str.14(%rip), %rsi
	callq	_dev_warn
	movl	16(%r13), %edi
	callq	_eth_broadcast_addr
LBB0_34:
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_27:
	movq	_media_type_defs@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_32
## %bb.28:
	xorl	%ebx, %ebx
	movq	_MAC_MEDIA_TYPE_MAX_LEN@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_29:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %rax
	movl	4(%rax,%rbx,8), %edi
	movq	-48(%rbp), %rsi
	movl	(%r15), %edx
	callq	_strncmp
	testl	%eax, %eax
	je	LBB0_30
## %bb.31:                              ##   in Loop: Header=BB0_29 Depth=1
	incq	%rbx
	movq	(%r14), %rdi
	callq	_ARRAY_SIZE
	cltq
	cmpq	%rax, %rbx
	jl	LBB0_29
	jmp	LBB0_32
LBB0_30:
	movq	(%r14), %rax
	movl	(%rax,%rbx,8), %eax
	movl	%eax, 36(%r13)
	jmp	LBB0_32
	.cfi_endproc
                                        ## -- End function
	.comm	_HNAE_MEDIA_TYPE_UNKNOWN,4,2    ## @HNAE_MEDIA_TYPE_UNKNOWN
	.comm	_mac_phy_to_speed,8,3           ## @mac_phy_to_speed
	.comm	_PHY_INTERFACE_MODE_SGMII,8,3   ## @PHY_INTERFACE_MODE_SGMII
	.comm	_MAC_GMAC_SUPPORTED,4,2         ## @MAC_GMAC_SUPPORTED
	.comm	_SUPPORTED_1000baseT_Full,4,2   ## @SUPPORTED_1000baseT_Full
	.comm	_PHY_INTERFACE_MODE_XGMII,8,3   ## @PHY_INTERFACE_MODE_XGMII
	.comm	_SUPPORTED_10000baseR_FEC,4,2   ## @SUPPORTED_10000baseR_FEC
	.comm	_SUPPORTED_10000baseKR_Full,4,2 ## @SUPPORTED_10000baseKR_Full
	.comm	_MAC_DEFAULT_MTU,4,2            ## @MAC_DEFAULT_MTU
	.comm	_MAC_DEFAULT_PAUSE_TIME,4,2     ## @MAC_DEFAULT_PAUSE_TIME
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"phy-handle"

L_.str.1:                               ## @.str.1
	.asciz	"mac%d phy_node: %pOFn\n"

L_.str.2:                               ## @.str.2
	.asciz	"serdes-syscon"

L_.str.3:                               ## @.str.3
	.asciz	"serdes-syscon is needed!\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.4:                               ## @.str.4
	.asciz	"port-rst-offset"

L_.str.5:                               ## @.str.5
	.asciz	"mac%d port-rst-offset not found, use default value.\n"

L_.str.6:                               ## @.str.6
	.asciz	"port-mode-offset"

L_.str.7:                               ## @.str.7
	.asciz	"mac%d port-mode-offset not found, use default value.\n"

L_.str.8:                               ## @.str.8
	.asciz	"cpld-syscon"

L_.str.9:                               ## @.str.9
	.asciz	"mac%d no cpld-syscon found.\n"

L_.str.10:                              ## @.str.10
	.asciz	"no cpld-syscon found!\n"

	.comm	_EPROBE_DEFER,4,2               ## @EPROBE_DEFER
L_.str.11:                              ## @.str.11
	.asciz	"mac%d cannot find phy node\n"

L_.str.12:                              ## @.str.12
	.asciz	"media-type"

	.comm	_media_type_defs,8,3            ## @media_type_defs
	.comm	_MAC_MEDIA_TYPE_MAX_LEN,4,2     ## @MAC_MEDIA_TYPE_MAX_LEN
L_.str.13:                              ## @.str.13
	.asciz	"mc-mac-mask"

	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
L_.str.14:                              ## @.str.14
	.asciz	"no mc-mac-mask property, set to default value.\n"

	.no_dead_strip	_hns_mac_get_info
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hns_mac_get_info
_hns_mac_get_info:                      ; @hns_mac_get_info
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
	str	xzr, [x0]
Lloh0:
	adrp	x8, _HNAE_MEDIA_TYPE_UNKNOWN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HNAE_MEDIA_TYPE_UNKNOWN@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x0, #36]
Lloh3:
	adrp	x8, _mac_phy_to_speed@GOTPAGE
Lloh4:
	ldr	x8, [x8, _mac_phy_to_speed@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x8]
	ldr	x8, [x0, #8]
	ldr	w9, [x9, x8, lsl #2]
	stp	w9, w9, [x0, #108]
Lloh6:
	adrp	x9, _PHY_INTERFACE_MODE_SGMII@GOTPAGE
Lloh7:
	ldr	x9, [x9, _PHY_INTERFACE_MODE_SGMII@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
Lloh9:
	adrp	x8, _SUPPORTED_1000baseT_Full@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SUPPORTED_1000baseT_Full@GOTPAGEOFF]
Lloh11:
	adrp	x9, _MAC_GMAC_SUPPORTED@GOTPAGE
Lloh12:
	ldr	x9, [x9, _MAC_GMAC_SUPPORTED@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:
Lloh13:
	adrp	x9, _PHY_INTERFACE_MODE_XGMII@GOTPAGE
Lloh14:
	ldr	x9, [x9, _PHY_INTERFACE_MODE_XGMII@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.3:
Lloh16:
	adrp	x8, _SUPPORTED_10000baseKR_Full@GOTPAGE
Lloh17:
	ldr	x8, [x8, _SUPPORTED_10000baseKR_Full@GOTPAGEOFF]
Lloh18:
	adrp	x9, _SUPPORTED_10000baseR_FEC@GOTPAGE
Lloh19:
	ldr	x9, [x9, _SUPPORTED_10000baseR_FEC@GOTPAGEOFF]
LBB0_4:
	ldr	w9, [x9]
	ldr	w8, [x8]
	orr	w8, w8, w9
	str	w8, [x19, #104]
LBB0_5:
Lloh20:
	adrp	x8, _MAC_DEFAULT_MTU@GOTPAGE
Lloh21:
	ldr	x8, [x8, _MAC_DEFAULT_MTU@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	ldr	x2, [x19, #40]
	mov	x21, x19
	str	x2, [x21, #72]!
Lloh23:
	adrp	x9, _MAC_DEFAULT_PAUSE_TIME@GOTPAGE
Lloh24:
	ldr	x9, [x9, _MAC_DEFAULT_PAUSE_TIME@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
	stp	w9, w8, [x21, #24]
	mov	x20, x21
	str	xzr, [x20, #-8]!
	ldur	w0, [x21, #-40]
	cbz	w0, LBB0_11
; %bb.6:
	bl	_is_of_node
	mov	x8, x0
	ldr	w0, [x19, #32]
	cbz	x8, LBB0_14
; %bb.7:
	bl	_to_of_node
Lloh26:
	adrp	x1, l_.str@PAGE
Lloh27:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, #0
	bl	_of_parse_phandle
	mov	x22, x0
	bl	_of_phy_find_device
	str	x0, [x19, #88]
	cbz	x0, LBB0_9
; %bb.8:
	bl	_put_device
	ldr	x0, [x19, #24]
	ldr	x8, [x19, #40]
	stp	x8, x22, [sp]
Lloh28:
	adrp	x1, l_.str.1@PAGE
Lloh29:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_dev_dbg
LBB0_9:
	mov	x0, x22
	bl	_of_node_put
	ldr	w0, [x19, #32]
	bl	_to_of_node
Lloh30:
	adrp	x1, l_.str.2@PAGE
Lloh31:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x2, #0
	bl	_of_parse_phandle
	mov	x23, x0
	bl	_syscon_node_to_regmap
	mov	x22, x0
	mov	x0, x23
	bl	_of_node_put
	mov	x0, x22
	bl	_IS_ERR_OR_NULL
	cbz	x0, LBB0_16
; %bb.10:
	ldr	x0, [x19, #24]
Lloh32:
	adrp	x1, l_.str.3@PAGE
Lloh33:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_dev_err
Lloh34:
	adrp	x8, _EINVAL@GOTPAGE
Lloh35:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh36:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_30
LBB0_11:
	ldr	x8, [x19, #24]
	ldr	w0, [x8]
Lloh37:
	adrp	x1, l_.str@PAGE
Lloh38:
	add	x1, x1, l_.str@PAGEOFF
	bl	_of_parse_phandle
	mov	x20, x0
	bl	_of_phy_find_device
	str	x0, [x19, #88]
	cbz	x0, LBB0_13
; %bb.12:
	bl	_put_device
	ldr	x0, [x19, #24]
	ldr	x8, [x19, #40]
	stp	x8, x20, [sp]
Lloh39:
	adrp	x1, l_.str.1@PAGE
Lloh40:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_dev_dbg
LBB0_13:
	mov	x0, x20
	bl	_of_node_put
	b	LBB0_29
LBB0_14:
	bl	_is_acpi_node
	cbz	x0, LBB0_22
; %bb.15:
	mov	x0, x19
	bl	_hns_mac_register_phy
Lloh41:
	adrp	x8, _EPROBE_DEFER@GOTPAGE
Lloh42:
	ldr	x8, [x8, _EPROBE_DEFER@GOTPAGEOFF]
Lloh43:
	ldr	w8, [x8]
	cmn	w0, w8
	b.ne	LBB0_26
	b	LBB0_30
LBB0_16:
	str	x22, [x19, #80]
	ldr	w0, [x19, #32]
Lloh44:
	adrp	x1, l_.str.4@PAGE
Lloh45:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x2, x21
	bl	_fwnode_property_read_u32
	cbz	w0, LBB0_18
; %bb.17:
	ldr	x0, [x19, #24]
	ldr	x8, [x19, #40]
	str	x8, [sp]
Lloh46:
	adrp	x1, l_.str.5@PAGE
Lloh47:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_dev_dbg
LBB0_18:
	ldr	w0, [x19, #32]
Lloh48:
	adrp	x1, l_.str.6@PAGE
Lloh49:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x2, x20
	bl	_fwnode_property_read_u32
	cbz	w0, LBB0_20
; %bb.19:
	ldr	x0, [x19, #24]
	ldr	x8, [x19, #40]
	str	x8, [sp]
Lloh50:
	adrp	x1, l_.str.7@PAGE
Lloh51:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_dev_dbg
LBB0_20:
	ldr	w0, [x19, #32]
	bl	_to_of_node
Lloh52:
	adrp	x1, l_.str.8@PAGE
Lloh53:
	add	x1, x1, l_.str.8@PAGEOFF
	add	x4, sp, #32
	mov	w2, #1
	mov	w3, #0
	bl	_of_parse_phandle_with_fixed_args
	cbz	w0, LBB0_23
; %bb.21:
	ldr	x0, [x19, #24]
	ldr	x8, [x19, #40]
	str	x8, [sp]
Lloh54:
	adrp	x1, l_.str.9@PAGE
Lloh55:
	add	x1, x1, l_.str.9@PAGEOFF
	b	LBB0_25
LBB0_22:
	ldr	x0, [x19, #24]
	ldr	x8, [x19, #40]
	str	x8, [sp]
Lloh56:
	adrp	x1, l_.str.11@PAGE
Lloh57:
	add	x1, x1, l_.str.11@PAGEOFF
	bl	_dev_err
	b	LBB0_26
LBB0_23:
	ldr	x0, [sp, #40]
	bl	_syscon_node_to_regmap
	mov	x20, x0
	bl	_IS_ERR_OR_NULL
	cbz	x0, LBB0_36
; %bb.24:
	ldr	x0, [x19, #24]
Lloh58:
	adrp	x1, l_.str.10@PAGE
Lloh59:
	add	x1, x1, l_.str.10@PAGEOFF
LBB0_25:
	bl	_dev_dbg
	str	xzr, [x19, #56]
LBB0_26:
	ldr	w0, [x19, #32]
Lloh60:
	adrp	x1, l_.str.12@PAGE
Lloh61:
	add	x1, x1, l_.str.12@PAGEOFF
	add	x2, sp, #24
	bl	_fwnode_property_read_string
	cbz	w0, LBB0_31
LBB0_27:
	ldr	w0, [x19, #32]
	ldr	w2, [x19, #16]
Lloh62:
	adrp	x8, _ETH_ALEN@GOTPAGE
Lloh63:
	ldr	x8, [x8, _ETH_ALEN@GOTPAGEOFF]
Lloh64:
	ldr	w3, [x8]
Lloh65:
	adrp	x1, l_.str.13@PAGE
Lloh66:
	add	x1, x1, l_.str.13@PAGEOFF
	bl	_fwnode_property_read_u8_array
	cbz	x0, LBB0_30
; %bb.28:
	ldr	x0, [x19, #24]
Lloh67:
	adrp	x1, l_.str.14@PAGE
Lloh68:
	add	x1, x1, l_.str.14@PAGEOFF
	bl	_dev_warn
	ldr	w0, [x19, #16]
	bl	_eth_broadcast_addr
LBB0_29:
	mov	w0, #0
LBB0_30:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_31:
Lloh69:
	adrp	x20, _media_type_defs@GOTPAGE
Lloh70:
	ldr	x20, [x20, _media_type_defs@GOTPAGEOFF]
	ldr	x0, [x20]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_27
; %bb.32:
	mov	x21, #0
	mov	x22, #0
Lloh71:
	adrp	x23, _MAC_MEDIA_TYPE_MAX_LEN@GOTPAGE
Lloh72:
	ldr	x23, [x23, _MAC_MEDIA_TYPE_MAX_LEN@GOTPAGEOFF]
LBB0_33:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20]
	add	x8, x8, x21
	ldr	w0, [x8, #4]
	ldr	x1, [sp, #24]
	ldr	w2, [x23]
	bl	_strncmp
	cbz	w0, LBB0_35
; %bb.34:                               ;   in Loop: Header=BB0_33 Depth=1
	add	x22, x22, #1
	ldr	x0, [x20]
	bl	_ARRAY_SIZE
	add	x21, x21, #8
	cmp	x22, w0, sxtw
	b.lt	LBB0_33
	b	LBB0_27
LBB0_35:
	ldr	x8, [x20]
	ldr	w8, [x8, x21]
	str	w8, [x19, #36]
	b	LBB0_27
LBB0_36:
	str	x20, [x19, #56]
	ldr	x8, [sp, #32]
	ldr	w8, [x8]
	str	w8, [x19, #48]
	b	LBB0_26
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpAdd	Lloh52, Lloh53
	.loh AdrpAdd	Lloh54, Lloh55
	.loh AdrpAdd	Lloh56, Lloh57
	.loh AdrpAdd	Lloh58, Lloh59
	.loh AdrpAdd	Lloh60, Lloh61
	.loh AdrpAdd	Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpAdd	Lloh67, Lloh68
	.loh AdrpLdrGot	Lloh69, Lloh70
	.loh AdrpLdrGot	Lloh71, Lloh72
	.cfi_endproc
                                        ; -- End function
	.comm	_HNAE_MEDIA_TYPE_UNKNOWN,4,2    ; @HNAE_MEDIA_TYPE_UNKNOWN
	.comm	_mac_phy_to_speed,8,3           ; @mac_phy_to_speed
	.comm	_PHY_INTERFACE_MODE_SGMII,8,3   ; @PHY_INTERFACE_MODE_SGMII
	.comm	_MAC_GMAC_SUPPORTED,4,2         ; @MAC_GMAC_SUPPORTED
	.comm	_SUPPORTED_1000baseT_Full,4,2   ; @SUPPORTED_1000baseT_Full
	.comm	_PHY_INTERFACE_MODE_XGMII,8,3   ; @PHY_INTERFACE_MODE_XGMII
	.comm	_SUPPORTED_10000baseR_FEC,4,2   ; @SUPPORTED_10000baseR_FEC
	.comm	_SUPPORTED_10000baseKR_Full,4,2 ; @SUPPORTED_10000baseKR_Full
	.comm	_MAC_DEFAULT_MTU,4,2            ; @MAC_DEFAULT_MTU
	.comm	_MAC_DEFAULT_PAUSE_TIME,4,2     ; @MAC_DEFAULT_PAUSE_TIME
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"phy-handle"

l_.str.1:                               ; @.str.1
	.asciz	"mac%d phy_node: %pOFn\n"

l_.str.2:                               ; @.str.2
	.asciz	"serdes-syscon"

l_.str.3:                               ; @.str.3
	.asciz	"serdes-syscon is needed!\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.4:                               ; @.str.4
	.asciz	"port-rst-offset"

l_.str.5:                               ; @.str.5
	.asciz	"mac%d port-rst-offset not found, use default value.\n"

l_.str.6:                               ; @.str.6
	.asciz	"port-mode-offset"

l_.str.7:                               ; @.str.7
	.asciz	"mac%d port-mode-offset not found, use default value.\n"

l_.str.8:                               ; @.str.8
	.asciz	"cpld-syscon"

l_.str.9:                               ; @.str.9
	.asciz	"mac%d no cpld-syscon found.\n"

l_.str.10:                              ; @.str.10
	.asciz	"no cpld-syscon found!\n"

	.comm	_EPROBE_DEFER,4,2               ; @EPROBE_DEFER
l_.str.11:                              ; @.str.11
	.asciz	"mac%d cannot find phy node\n"

l_.str.12:                              ; @.str.12
	.asciz	"media-type"

	.comm	_media_type_defs,8,3            ; @media_type_defs
	.comm	_MAC_MEDIA_TYPE_MAX_LEN,4,2     ; @MAC_MEDIA_TYPE_MAX_LEN
l_.str.13:                              ; @.str.13
	.asciz	"mc-mac-mask"

	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
l_.str.14:                              ; @.str.14
	.asciz	"no mc-mac-mask property, set to default value.\n"

	.no_dead_strip	_hns_mac_get_info
.subsections_via_symbols
