	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hix5hd2_dev_probe
_hix5hd2_dev_probe:                     ## @hix5hd2_dev_probe
	.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, %r12
	movq	8(%rdi), %r13
	movl	$120, %edi
	callq	_alloc_etherdev
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r15
	leaq	8(%r12), %rbx
	movq	%r12, %rdi
	movq	%rax, %rsi
	callq	_platform_set_drvdata
	movq	%r15, %rdi
	callq	_netdev_priv
	movq	%rax, %r14
	movq	%rbx, 112(%rax)
	movq	%r15, 72(%rax)
	movq	_hix5hd2_of_match@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_of_match_device
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	(%rax), %rax
	movq	%rax, (%r14)
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_devm_platform_ioremap_resource
	movq	%rax, 8(%r14)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:
	movq	8(%r14), %rdi
	jmp	LBB0_6
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	subl	(%rax), %r13d
	jmp	LBB0_59
LBB0_3:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	subl	(%rax), %r13d
	jmp	LBB0_58
LBB0_7:
	movq	%r12, %rdi
	movl	$1, %esi
	callq	_devm_platform_ioremap_resource
	movq	%rax, 16(%r14)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movq	16(%r14), %rdi
LBB0_6:
	callq	_PTR_ERR
	movl	%eax, %r13d
LBB0_58:
	movq	%r15, %rdi
	callq	_free_netdev
LBB0_59:
	movl	%r13d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_devm_clk_get
	movq	%rax, 24(%r14)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	leaq	L_.str.1(%rip), %rsi
	xorl	%r13d, %r13d
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_netdev_err
	movq	_ENODEV@GOTPCREL(%rip), %rax
	subl	(%rax), %r13d
	jmp	LBB0_58
LBB0_11:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	movq	24(%r14), %rdi
	callq	_clk_prepare_enable
	testl	%eax, %eax
	js	LBB0_12
## %bb.13:
	leaq	L_.str.3(%rip), %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_devm_clk_get
	movq	%rax, 32(%r14)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_14
## %bb.15:
	movq	$0, 32(%r14)
	xorl	%edi, %edi
	jmp	LBB0_16
LBB0_12:
	movl	%eax, %r13d
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_netdev_err
	jmp	LBB0_58
LBB0_14:
	movq	32(%r14), %rdi
LBB0_16:
	callq	_clk_prepare_enable
	testl	%eax, %eax
	js	LBB0_17
## %bb.18:
	leaq	L_.str(%rip), %rsi
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_devm_reset_control_get
	movq	%rax, 40(%r14)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_20
## %bb.19:
	movq	$0, 40(%r14)
LBB0_20:
	movq	%r14, %rdi
	callq	_hix5hd2_mac_core_reset
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	callq	_devm_reset_control_get
	movq	%rax, 48(%r14)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	je	LBB0_22
## %bb.21:
	movq	$0, 48(%r14)
LBB0_22:
	leaq	L_.str.5(%rip), %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_devm_reset_control_get
	movq	%rax, 56(%r14)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_24
## %bb.23:
	movq	$0, 56(%r14)
LBB0_26:
	xorl	%r13d, %r13d
	xorl	%eax, %eax
	callq	_mdiobus_alloc
	testq	%rax, %rax
	je	LBB0_27
## %bb.28:
	movq	%r14, 32(%rax)
	leaq	L_.str.6(%rip), %rcx
	movq	%rcx, (%rax)
	movq	_hix5hd2_mdio_read@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 28(%rax)
	movq	_hix5hd2_mdio_write@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 24(%rax)
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%rdi, 16(%rax)
	movl	8(%rax), %ecx
	movl	%ecx, -64(%rbp)                 ## 4-byte Spill
	movq	_MII_BUS_ID_SIZE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r13d
	movq	%rax, %rbx
	callq	_dev_name
	leaq	L_.str.7(%rip), %rdx
	movl	-64(%rbp), %edi                 ## 4-byte Reload
	movl	%r13d, %esi
	movq	%rax, %rcx
	callq	_snprintf
	movq	%rbx, 96(%r14)
	movq	%rbx, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_of_mdiobus_register
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_55
## %bb.29:
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_of_get_phy_mode
	movq	%rax, 88(%r14)
	testl	$-2147483648, %eax              ## imm = 0x80000000
	jne	LBB0_30
## %bb.31:
	leaq	L_.str.9(%rip), %rsi
	xorl	%r13d, %r13d
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_of_parse_phandle
	movl	%eax, 64(%r14)
	testl	%eax, %eax
	je	LBB0_32
## %bb.34:
	xorl	%r13d, %r13d
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_platform_get_irq
	movq	%rax, (%r15)
	testq	%rax, %rax
	jle	LBB0_35
## %bb.36:
	movq	_hix5hd2_interrupt@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	(%r12), %r8d
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%rax, %rsi
	xorl	%ecx, %ecx
	movq	%r15, %r9
	callq	_devm_request_irq
	testl	%eax, %eax
	je	LBB0_38
## %bb.37:
	movl	%eax, %r13d
	leaq	L_.str.12(%rip), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_netdev_err
	jmp	LBB0_53
LBB0_17:
	movl	%eax, %r13d
	leaq	L_.str.4(%rip), %rsi
	movq	%r15, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_netdev_err
	jmp	LBB0_57
LBB0_24:
	movq	_PHY_RESET_DELAYS_PROPERTY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	104(%r14), %edx
	movq	_DELAYS_NUM@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r13, %rdi
	callq	_of_property_read_u32_array
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_56
## %bb.25:
	movq	%r14, %rdi
	callq	_hix5hd2_phy_reset
	jmp	LBB0_26
LBB0_27:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	subl	(%rax), %r13d
	jmp	LBB0_56
LBB0_30:
	leaq	L_.str.8(%rip), %rsi
	xorl	%r13d, %r13d
	jmp	LBB0_33
LBB0_32:
	leaq	L_.str.10(%rip), %rsi
LBB0_33:
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_netdev_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
	subl	(%rax), %r13d
	jmp	LBB0_54
LBB0_35:
	leaq	L_.str.11(%rip), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_netdev_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
	subl	(%rax), %r13d
	jmp	LBB0_53
LBB0_38:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_of_get_mac_address
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	jne	LBB0_40
## %bb.39:
	movl	44(%r15), %edi
	movq	%r12, %rsi
	callq	_ether_addr_copy
LBB0_40:
	movl	44(%r15), %edi
	callq	_is_valid_ether_addr
	testl	%eax, %eax
	jne	LBB0_42
## %bb.41:
	movq	%r15, %rdi
	callq	_eth_hw_addr_random
	movl	44(%r15), %edx
	leaq	L_.str.13(%rip), %rsi
	movq	%r15, %rdi
	callq	_netdev_warn
LBB0_42:
	leaq	80(%r14), %rdi
	movq	_hix5hd2_tx_timeout_task@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_INIT_WORK
	movq	_HZ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%eax, %eax
	leal	(%rax,%rax,2), %eax
	movl	%eax, 8(%r15)
	movq	_IFF_UNICAST_FLT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 40(%r15)
	movq	_hix5hd2_netdev_ops@GOTPCREL(%rip), %rax
	movq	%rax, 32(%r15)
	movq	_hix5hd2_ethtools_ops@GOTPCREL(%rip), %rax
	movq	%rax, 24(%r15)
	movq	%r15, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_SET_NETDEV_DEV
	movq	(%r14), %rdi
	callq	_HAS_CAP_TSO
	testq	%rax, %rax
	je	LBB0_43
## %bb.44:
	movq	_NETIF_F_SG@GOTPCREL(%rip), %rcx
	movl	12(%r15), %eax
	orl	(%rcx), %eax
	movl	%eax, 12(%r15)
	jmp	LBB0_45
LBB0_43:
	movl	12(%r15), %eax
LBB0_45:
	movq	_NETIF_F_HIGHDMA@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	orl	16(%r15), %eax
	movl	%eax, 16(%r15)
	orl	%eax, 20(%r15)
	movq	%r14, %rdi
	callq	_hix5hd2_init_hw_desc_queue
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_53
## %bb.46:
	movq	%r14, %rbx
	addq	$68, %rbx
	movq	_hix5hd2_poll@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_NAPI_POLL_WEIGHT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_netif_napi_add
	movq	(%r14), %rdi
	callq	_HAS_CAP_TSO
	testq	%rax, %rax
	je	LBB0_48
## %bb.47:
	movq	%r14, %rdi
	callq	_hix5hd2_init_sg_desc_queue
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_50
LBB0_48:
	movq	72(%r14), %rdi
	callq	_register_netdev
	testl	%eax, %eax
	je	LBB0_60
## %bb.49:
	movl	%eax, %r13d
	leaq	L_.str.14(%rip), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_netdev_err
LBB0_50:
	movq	(%r14), %rdi
	callq	_HAS_CAP_TSO
	testq	%rax, %rax
	je	LBB0_52
## %bb.51:
	movq	%r14, %rdi
	callq	_hix5hd2_destroy_sg_desc_queue
LBB0_52:
	movq	%rbx, %rdi
	callq	_netif_napi_del
	movq	%r14, %rdi
	callq	_hix5hd2_destroy_hw_desc_queue
LBB0_53:
	movl	64(%r14), %edi
	callq	_of_node_put
LBB0_54:
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_mdiobus_unregister
LBB0_55:
	movq	%rbx, %rdi
	callq	_mdiobus_free
LBB0_56:
	movq	32(%r14), %rdi
	callq	_clk_disable_unprepare
LBB0_57:
	movq	24(%r14), %rdi
	callq	_clk_disable_unprepare
	jmp	LBB0_58
LBB0_60:
	movq	32(%r14), %rdi
	callq	_clk_disable_unprepare
	movq	24(%r14), %rdi
	callq	_clk_disable_unprepare
	xorl	%r13d, %r13d
	jmp	LBB0_59
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_hix5hd2_of_match,4,2           ## @hix5hd2_of_match
	.comm	_EINVAL,4,2                     ## @EINVAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"mac_core"

L_.str.1:                               ## @.str.1
	.asciz	"failed to get mac core clk\n"

	.comm	_ENODEV,4,2                     ## @ENODEV
L_.str.2:                               ## @.str.2
	.asciz	"failed to enable mac core clk %d\n"

L_.str.3:                               ## @.str.3
	.asciz	"mac_ifc"

L_.str.4:                               ## @.str.4
	.asciz	"failed to enable mac ifc clk %d\n"

L_.str.5:                               ## @.str.5
	.asciz	"phy"

	.comm	_PHY_RESET_DELAYS_PROPERTY,4,2  ## @PHY_RESET_DELAYS_PROPERTY
	.comm	_DELAYS_NUM,4,2                 ## @DELAYS_NUM
L_.str.6:                               ## @.str.6
	.asciz	"hix5hd2_mii_bus"

	.comm	_hix5hd2_mdio_read,4,2          ## @hix5hd2_mdio_read
	.comm	_hix5hd2_mdio_write,4,2         ## @hix5hd2_mdio_write
	.comm	_MII_BUS_ID_SIZE,4,2            ## @MII_BUS_ID_SIZE
L_.str.7:                               ## @.str.7
	.asciz	"%s-mii"

L_.str.8:                               ## @.str.8
	.asciz	"not find phy-mode\n"

L_.str.9:                               ## @.str.9
	.asciz	"phy-handle"

L_.str.10:                              ## @.str.10
	.asciz	"not find phy-handle\n"

L_.str.11:                              ## @.str.11
	.asciz	"No irq resource\n"

	.comm	_hix5hd2_interrupt,4,2          ## @hix5hd2_interrupt
L_.str.12:                              ## @.str.12
	.asciz	"devm_request_irq failed\n"

L_.str.13:                              ## @.str.13
	.asciz	"using random MAC address %pM\n"

	.comm	_hix5hd2_tx_timeout_task,4,2    ## @hix5hd2_tx_timeout_task
	.comm	_HZ,4,2                         ## @HZ
	.comm	_IFF_UNICAST_FLT,4,2            ## @IFF_UNICAST_FLT
	.comm	_hix5hd2_netdev_ops,4,2         ## @hix5hd2_netdev_ops
	.comm	_hix5hd2_ethtools_ops,4,2       ## @hix5hd2_ethtools_ops
	.comm	_NETIF_F_SG,4,2                 ## @NETIF_F_SG
	.comm	_NETIF_F_HIGHDMA,4,2            ## @NETIF_F_HIGHDMA
	.comm	_hix5hd2_poll,4,2               ## @hix5hd2_poll
	.comm	_NAPI_POLL_WEIGHT,4,2           ## @NAPI_POLL_WEIGHT
L_.str.14:                              ## @.str.14
	.asciz	"register_netdev failed!"

	.no_dead_strip	_hix5hd2_dev_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hix5hd2_dev_probe
_hix5hd2_dev_probe:                     ; @hix5hd2_dev_probe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x24, x0
	mov	x21, x0
	ldr	x23, [x21, #8]!
	mov	w0, #120
	bl	_alloc_etherdev
	cbz	x0, LBB0_4
; %bb.1:
	mov	x19, x0
	mov	x0, x24
	mov	x1, x19
	bl	_platform_set_drvdata
	mov	x0, x19
	bl	_netdev_priv
	mov	x20, x0
	str	x21, [x0, #112]
	str	x19, [x0, #72]
Lloh0:
	adrp	x8, _hix5hd2_of_match@GOTPAGE
Lloh1:
	ldr	x8, [x8, _hix5hd2_of_match@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	x1, x21
	bl	_of_match_device
	cbz	x0, LBB0_5
; %bb.2:
	ldr	x8, [x0]
	str	x8, [x20]
	mov	x0, x24
	mov	w1, #0
	bl	_devm_platform_ioremap_resource
	str	x0, [x20, #8]
	bl	_IS_ERR
	cbz	x0, LBB0_7
; %bb.3:
	ldr	x0, [x20, #8]
	b	LBB0_9
LBB0_4:
Lloh3:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w25, w8
	b	LBB0_11
LBB0_5:
Lloh6:
	adrp	x8, _EINVAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_6:
	ldr	w8, [x8]
	neg	w25, w8
	b	LBB0_10
LBB0_7:
	mov	x0, x24
	mov	w1, #1
	bl	_devm_platform_ioremap_resource
	str	x0, [x20, #16]
	bl	_IS_ERR
	cbz	x0, LBB0_12
; %bb.8:
	ldr	x0, [x20, #16]
LBB0_9:
	bl	_PTR_ERR
	mov	x25, x0
LBB0_10:
	mov	x0, x19
	bl	_free_netdev
LBB0_11:
	mov	x0, x25
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_12:
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_devm_clk_get
	str	x0, [x20, #24]
	bl	_IS_ERR
	cbz	x0, LBB0_14
; %bb.13:
Lloh10:
	adrp	x1, l_.str.1@PAGE
Lloh11:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_netdev_err
Lloh12:
	adrp	x8, _ENODEV@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
	b	LBB0_6
LBB0_14:
	ldr	x0, [x20, #24]
	bl	_clk_prepare_enable
	tbnz	w0, #31, LBB0_17
; %bb.15:
Lloh14:
	adrp	x1, l_.str.3@PAGE
Lloh15:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x21
	bl	_devm_clk_get
	str	x0, [x20, #32]
	bl	_IS_ERR
	cbz	x0, LBB0_18
; %bb.16:
	mov	x0, #0
	str	xzr, [x20, #32]
	b	LBB0_19
LBB0_17:
	mov	x25, x0
	str	x25, [sp]
Lloh16:
	adrp	x1, l_.str.2@PAGE
Lloh17:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_netdev_err
	b	LBB0_10
LBB0_18:
	ldr	x0, [x20, #32]
LBB0_19:
	bl	_clk_prepare_enable
	tbnz	w0, #31, LBB0_32
; %bb.20:
Lloh18:
	adrp	x1, l_.str@PAGE
Lloh19:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_devm_reset_control_get
	str	x0, [x20, #40]
	bl	_IS_ERR
	cbz	x0, LBB0_22
; %bb.21:
	str	xzr, [x20, #40]
LBB0_22:
	mov	x0, x20
	bl	_hix5hd2_mac_core_reset
Lloh20:
	adrp	x1, l_.str.3@PAGE
Lloh21:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x21
	bl	_devm_reset_control_get
	str	x0, [x20, #48]
	bl	_IS_ERR
	cbz	x0, LBB0_24
; %bb.23:
	str	xzr, [x20, #48]
LBB0_24:
Lloh22:
	adrp	x1, l_.str.5@PAGE
Lloh23:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x21
	bl	_devm_reset_control_get
	str	x0, [x20, #56]
	bl	_IS_ERR
	cbz	x0, LBB0_33
; %bb.25:
	str	xzr, [x20, #56]
	bl	_mdiobus_alloc
	cbz	x0, LBB0_35
LBB0_26:
	mov	x22, x0
	str	x20, [x0, #32]
Lloh24:
	adrp	x8, l_.str.6@PAGE
Lloh25:
	add	x8, x8, l_.str.6@PAGEOFF
Lloh26:
	adrp	x9, _hix5hd2_mdio_read@GOTPAGE
Lloh27:
	ldr	x9, [x9, _hix5hd2_mdio_read@GOTPAGEOFF]
	str	x8, [x0]
Lloh28:
	ldr	w8, [x9]
Lloh29:
	adrp	x9, _hix5hd2_mdio_write@GOTPAGE
Lloh30:
	ldr	x9, [x9, _hix5hd2_mdio_write@GOTPAGEOFF]
Lloh31:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #24]
	str	x21, [x0, #16]
	ldr	w25, [x0, #8]
Lloh32:
	adrp	x8, _MII_BUS_ID_SIZE@GOTPAGE
Lloh33:
	ldr	x8, [x8, _MII_BUS_ID_SIZE@GOTPAGEOFF]
Lloh34:
	ldr	w26, [x8]
	mov	x0, x21
	bl	_dev_name
	mov	x3, x0
Lloh35:
	adrp	x2, l_.str.7@PAGE
Lloh36:
	add	x2, x2, l_.str.7@PAGEOFF
	mov	x0, x25
	mov	x1, x26
	bl	_snprintf
	str	x22, [x20, #96]
	mov	x0, x22
	mov	x1, x23
	bl	_of_mdiobus_register
	mov	x25, x0
	cbnz	w0, LBB0_57
; %bb.27:
	mov	x0, x23
	bl	_of_get_phy_mode
	str	x0, [x20, #88]
	tbnz	w0, #31, LBB0_36
; %bb.28:
Lloh37:
	adrp	x1, l_.str.9@PAGE
Lloh38:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	x0, x23
	mov	w2, #0
	bl	_of_parse_phandle
	str	w0, [x20, #64]
	cbz	w0, LBB0_37
; %bb.29:
	mov	x0, x24
	mov	w1, #0
	bl	_platform_get_irq
	str	x0, [x19]
	cmp	x0, #0
	b.le	LBB0_39
; %bb.30:
	mov	x1, x0
Lloh39:
	adrp	x8, _hix5hd2_interrupt@GOTPAGE
Lloh40:
	ldr	x8, [x8, _hix5hd2_interrupt@GOTPAGEOFF]
Lloh41:
	ldr	w2, [x8]
	ldr	w4, [x24]
	mov	x0, x21
	mov	w3, #0
	mov	x5, x19
	bl	_devm_request_irq
	cbz	w0, LBB0_40
; %bb.31:
	mov	x25, x0
Lloh42:
	adrp	x1, l_.str.12@PAGE
Lloh43:
	add	x1, x1, l_.str.12@PAGEOFF
	mov	x0, x19
	bl	_netdev_err
	b	LBB0_55
LBB0_32:
	mov	x25, x0
	str	x25, [sp]
Lloh44:
	adrp	x1, l_.str.4@PAGE
Lloh45:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_netdev_err
                                        ; kill: def $w25 killed $w25 killed $x25 def $x25
	b	LBB0_59
LBB0_33:
Lloh46:
	adrp	x8, _PHY_RESET_DELAYS_PROPERTY@GOTPAGE
Lloh47:
	ldr	x8, [x8, _PHY_RESET_DELAYS_PROPERTY@GOTPAGEOFF]
Lloh48:
	ldr	w1, [x8]
	ldr	w2, [x20, #104]
Lloh49:
	adrp	x8, _DELAYS_NUM@GOTPAGE
Lloh50:
	ldr	x8, [x8, _DELAYS_NUM@GOTPAGEOFF]
Lloh51:
	ldr	w3, [x8]
	mov	x0, x23
	bl	_of_property_read_u32_array
	mov	x25, x0
	cbnz	w0, LBB0_58
; %bb.34:
	mov	x0, x20
	bl	_hix5hd2_phy_reset
	bl	_mdiobus_alloc
	cbnz	x0, LBB0_26
LBB0_35:
Lloh52:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh53:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh54:
	ldr	w8, [x8]
	neg	w25, w8
	b	LBB0_58
LBB0_36:
Lloh55:
	adrp	x1, l_.str.8@PAGE
Lloh56:
	add	x1, x1, l_.str.8@PAGEOFF
	b	LBB0_38
LBB0_37:
Lloh57:
	adrp	x1, l_.str.10@PAGE
Lloh58:
	add	x1, x1, l_.str.10@PAGEOFF
LBB0_38:
	mov	x0, x19
	bl	_netdev_err
Lloh59:
	adrp	x8, _EINVAL@GOTPAGE
Lloh60:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh61:
	ldr	w8, [x8]
	neg	w25, w8
	b	LBB0_56
LBB0_39:
Lloh62:
	adrp	x1, l_.str.11@PAGE
Lloh63:
	add	x1, x1, l_.str.11@PAGEOFF
	mov	x0, x19
	bl	_netdev_err
Lloh64:
	adrp	x8, _EINVAL@GOTPAGE
Lloh65:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh66:
	ldr	w8, [x8]
	neg	w25, w8
	b	LBB0_55
LBB0_40:
	mov	x0, x23
	bl	_of_get_mac_address
	mov	x23, x0
	bl	_IS_ERR
	cbnz	x0, LBB0_42
; %bb.41:
	ldr	w0, [x19, #44]
	mov	x1, x23
	bl	_ether_addr_copy
LBB0_42:
	ldr	w0, [x19, #44]
	bl	_is_valid_ether_addr
	cbnz	w0, LBB0_44
; %bb.43:
	mov	x0, x19
	bl	_eth_hw_addr_random
	ldr	w2, [x19, #44]
Lloh67:
	adrp	x1, l_.str.13@PAGE
Lloh68:
	add	x1, x1, l_.str.13@PAGEOFF
	mov	x0, x19
	bl	_netdev_warn
LBB0_44:
	add	x0, x20, #80
Lloh69:
	adrp	x8, _hix5hd2_tx_timeout_task@GOTPAGE
Lloh70:
	ldr	x8, [x8, _hix5hd2_tx_timeout_task@GOTPAGEOFF]
Lloh71:
	ldr	w1, [x8]
	bl	_INIT_WORK
Lloh72:
	adrp	x8, _HZ@GOTPAGE
Lloh73:
	ldr	x8, [x8, _HZ@GOTPAGEOFF]
Lloh74:
	ldr	w8, [x8]
	add	w8, w8, w8, lsl #1
	lsl	w8, w8, #1
	str	w8, [x19, #8]
Lloh75:
	adrp	x8, _IFF_UNICAST_FLT@GOTPAGE
Lloh76:
	ldr	x8, [x8, _IFF_UNICAST_FLT@GOTPAGEOFF]
Lloh77:
	ldr	w8, [x8]
	ldr	w9, [x19, #40]
	orr	w8, w9, w8
	str	w8, [x19, #40]
Lloh78:
	adrp	x8, _hix5hd2_netdev_ops@GOTPAGE
Lloh79:
	ldr	x8, [x8, _hix5hd2_netdev_ops@GOTPAGEOFF]
Lloh80:
	adrp	x9, _hix5hd2_ethtools_ops@GOTPAGE
Lloh81:
	ldr	x9, [x9, _hix5hd2_ethtools_ops@GOTPAGEOFF]
	stp	x9, x8, [x19, #24]
	mov	x0, x19
	mov	x1, x21
	bl	_SET_NETDEV_DEV
	ldr	x0, [x20]
	bl	_HAS_CAP_TSO
	cbz	x0, LBB0_46
; %bb.45:
Lloh82:
	adrp	x8, _NETIF_F_SG@GOTPAGE
Lloh83:
	ldr	x8, [x8, _NETIF_F_SG@GOTPAGEOFF]
Lloh84:
	ldr	w8, [x8]
	ldr	w9, [x19, #12]
	orr	w8, w9, w8
	str	w8, [x19, #12]
	b	LBB0_47
LBB0_46:
	ldr	w8, [x19, #12]
LBB0_47:
Lloh85:
	adrp	x9, _NETIF_F_HIGHDMA@GOTPAGE
Lloh86:
	ldr	x9, [x9, _NETIF_F_HIGHDMA@GOTPAGEOFF]
Lloh87:
	ldr	w9, [x9]
	orr	w8, w9, w8
	ldp	w9, w10, [x19, #16]
	orr	w8, w8, w9
	orr	w9, w10, w8
	stp	w8, w9, [x19, #16]
	mov	x0, x20
	bl	_hix5hd2_init_hw_desc_queue
	mov	x25, x0
	cbnz	w0, LBB0_55
; %bb.48:
	add	x21, x20, #68
Lloh88:
	adrp	x8, _hix5hd2_poll@GOTPAGE
Lloh89:
	ldr	x8, [x8, _hix5hd2_poll@GOTPAGEOFF]
Lloh90:
	ldr	w2, [x8]
Lloh91:
	adrp	x8, _NAPI_POLL_WEIGHT@GOTPAGE
Lloh92:
	ldr	x8, [x8, _NAPI_POLL_WEIGHT@GOTPAGEOFF]
Lloh93:
	ldr	w3, [x8]
	mov	x0, x19
	mov	x1, x21
	bl	_netif_napi_add
	ldr	x0, [x20]
	bl	_HAS_CAP_TSO
	cbz	x0, LBB0_50
; %bb.49:
	mov	x0, x20
	bl	_hix5hd2_init_sg_desc_queue
	mov	x25, x0
	cbnz	w0, LBB0_52
LBB0_50:
	ldr	x0, [x20, #72]
	bl	_register_netdev
	mov	x25, x0
	cbz	w0, LBB0_60
; %bb.51:
Lloh94:
	adrp	x1, l_.str.14@PAGE
Lloh95:
	add	x1, x1, l_.str.14@PAGEOFF
	mov	x0, x19
	bl	_netdev_err
LBB0_52:
	ldr	x0, [x20]
	bl	_HAS_CAP_TSO
	cbz	x0, LBB0_54
; %bb.53:
	mov	x0, x20
	bl	_hix5hd2_destroy_sg_desc_queue
LBB0_54:
	mov	x0, x21
	bl	_netif_napi_del
	mov	x0, x20
	bl	_hix5hd2_destroy_hw_desc_queue
LBB0_55:
	ldr	w0, [x20, #64]
	bl	_of_node_put
LBB0_56:
	mov	x0, x22
	bl	_mdiobus_unregister
LBB0_57:
	mov	x0, x22
	bl	_mdiobus_free
LBB0_58:
	ldr	x0, [x20, #32]
	bl	_clk_disable_unprepare
LBB0_59:
	ldr	x0, [x20, #24]
	bl	_clk_disable_unprepare
	b	LBB0_10
LBB0_60:
	ldr	x0, [x20, #32]
	bl	_clk_disable_unprepare
	ldr	x0, [x20, #24]
	bl	_clk_disable_unprepare
	b	LBB0_11
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpAdd	Lloh55, Lloh56
	.loh AdrpAdd	Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpAdd	Lloh62, Lloh63
	.loh AdrpAdd	Lloh67, Lloh68
	.loh AdrpLdrGot	Lloh80, Lloh81
	.loh AdrpLdrGot	Lloh78, Lloh79
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh77
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.loh AdrpLdrGotLdr	Lloh82, Lloh83, Lloh84
	.loh AdrpLdrGotLdr	Lloh85, Lloh86, Lloh87
	.loh AdrpLdrGotLdr	Lloh91, Lloh92, Lloh93
	.loh AdrpLdrGotLdr	Lloh88, Lloh89, Lloh90
	.loh AdrpAdd	Lloh94, Lloh95
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_hix5hd2_of_match,4,2           ; @hix5hd2_of_match
	.comm	_EINVAL,4,2                     ; @EINVAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"mac_core"

l_.str.1:                               ; @.str.1
	.asciz	"failed to get mac core clk\n"

	.comm	_ENODEV,4,2                     ; @ENODEV
l_.str.2:                               ; @.str.2
	.asciz	"failed to enable mac core clk %d\n"

l_.str.3:                               ; @.str.3
	.asciz	"mac_ifc"

l_.str.4:                               ; @.str.4
	.asciz	"failed to enable mac ifc clk %d\n"

l_.str.5:                               ; @.str.5
	.asciz	"phy"

	.comm	_PHY_RESET_DELAYS_PROPERTY,4,2  ; @PHY_RESET_DELAYS_PROPERTY
	.comm	_DELAYS_NUM,4,2                 ; @DELAYS_NUM
l_.str.6:                               ; @.str.6
	.asciz	"hix5hd2_mii_bus"

	.comm	_hix5hd2_mdio_read,4,2          ; @hix5hd2_mdio_read
	.comm	_hix5hd2_mdio_write,4,2         ; @hix5hd2_mdio_write
	.comm	_MII_BUS_ID_SIZE,4,2            ; @MII_BUS_ID_SIZE
l_.str.7:                               ; @.str.7
	.asciz	"%s-mii"

l_.str.8:                               ; @.str.8
	.asciz	"not find phy-mode\n"

l_.str.9:                               ; @.str.9
	.asciz	"phy-handle"

l_.str.10:                              ; @.str.10
	.asciz	"not find phy-handle\n"

l_.str.11:                              ; @.str.11
	.asciz	"No irq resource\n"

	.comm	_hix5hd2_interrupt,4,2          ; @hix5hd2_interrupt
l_.str.12:                              ; @.str.12
	.asciz	"devm_request_irq failed\n"

l_.str.13:                              ; @.str.13
	.asciz	"using random MAC address %pM\n"

	.comm	_hix5hd2_tx_timeout_task,4,2    ; @hix5hd2_tx_timeout_task
	.comm	_HZ,4,2                         ; @HZ
	.comm	_IFF_UNICAST_FLT,4,2            ; @IFF_UNICAST_FLT
	.comm	_hix5hd2_netdev_ops,4,2         ; @hix5hd2_netdev_ops
	.comm	_hix5hd2_ethtools_ops,4,2       ; @hix5hd2_ethtools_ops
	.comm	_NETIF_F_SG,4,2                 ; @NETIF_F_SG
	.comm	_NETIF_F_HIGHDMA,4,2            ; @NETIF_F_HIGHDMA
	.comm	_hix5hd2_poll,4,2               ; @hix5hd2_poll
	.comm	_NAPI_POLL_WEIGHT,4,2           ; @NAPI_POLL_WEIGHT
l_.str.14:                              ; @.str.14
	.asciz	"register_netdev failed!"

	.no_dead_strip	_hix5hd2_dev_probe
.subsections_via_symbols
