	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hclge_init_ae_dev
_hclge_init_ae_dev:                     ## @hclge_init_ae_dev
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movq	16(%rdi), %r14
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	$112, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	%r14, 32(%rax)
	movq	%r12, 104(%rax)
	movq	_HNAE3_NONE_RESET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 100(%rbx)
	movq	_HNAE3_FUNC_RESET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 96(%rbx)
	movq	%rbx, 8(%r12)
	movq	_ETH_FRAME_LEN@GOTPCREL(%rip), %rax
	movq	_ETH_FCS_LEN@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	addq	(%rax), %rcx
	movq	_VLAN_HLEN@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	leaq	(%rcx,%rax,2), %rax
	movq	%rax, 88(%rbx)
	leaq	80(%rbx), %rdi
	callq	_mutex_init
	leaq	76(%rbx), %rdi
	callq	_mutex_init
	leaq	72(%rbx), %rdi
	callq	_spin_lock_init
	movq	%rbx, %rdi
	callq	_hclge_pci_init
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movl	%eax, %r15d
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_54
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
	jmp	LBB0_54
LBB0_4:
	movq	%rbx, %rdi
	callq	_hclge_cmd_queue_init
	testl	%eax, %eax
	je	LBB0_7
## %bb.5:
	movl	%eax, %r15d
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_6
LBB0_7:
	movq	%rbx, %rdi
	callq	_hclge_cmd_init
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	LBB0_18
## %bb.8:
	movq	%rbx, %rdi
	callq	_hclge_get_cap
	testl	%eax, %eax
	je	LBB0_11
## %bb.9:
	movl	%eax, %r15d
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_10
LBB0_11:
	movq	%rbx, %rdi
	callq	_hclge_configure
	testl	%eax, %eax
	je	LBB0_13
## %bb.12:
	movl	%eax, %r15d
	leaq	L_.str.3(%rip), %rsi
	jmp	LBB0_10
LBB0_13:
	movq	%rbx, %rdi
	callq	_hclge_init_msi
	testl	%eax, %eax
	je	LBB0_15
## %bb.14:
	movl	%eax, %r15d
	leaq	L_.str.4(%rip), %rsi
LBB0_10:
	movq	%r14, %rdi
	movl	%r15d, %edx
	xorl	%eax, %eax
	callq	_dev_err
LBB0_18:
	movq	%rbx, %rdi
	callq	_hclge_cmd_uninit
LBB0_6:
	movl	(%rbx), %esi
	movq	%r14, %rdi
	callq	_pcim_iounmap
	movq	%r14, %rdi
	callq	_pci_clear_master
	movq	%r14, %rdi
	callq	_pci_release_regions
	movq	%r14, %rdi
	callq	_pci_disable_device
LBB0_54:
	movl	%r15d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	movq	%rbx, %rdi
	callq	_hclge_misc_irq_init
	testl	%eax, %eax
	je	LBB0_19
## %bb.16:
	movl	%eax, %r15d
	leaq	L_.str.5(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_17
LBB0_19:
	movq	%rbx, %rdi
	callq	_hclge_alloc_tqps
	testl	%eax, %eax
	je	LBB0_23
## %bb.20:
	movl	%eax, %r15d
	leaq	L_.str.6(%rip), %rsi
	jmp	LBB0_21
LBB0_23:
	movq	%rbx, %rdi
	callq	_hclge_alloc_vport
	testl	%eax, %eax
	je	LBB0_25
## %bb.24:
	movl	%eax, %r15d
	leaq	L_.str.7(%rip), %rsi
	jmp	LBB0_21
LBB0_25:
	movq	%rbx, %rdi
	callq	_hclge_map_tqp
	testl	%eax, %eax
	je	LBB0_27
## %bb.26:
	movl	%eax, %r15d
	leaq	L_.str.8(%rip), %rsi
LBB0_21:
	movq	%r14, %rdi
LBB0_22:
	movl	%r15d, %edx
	xorl	%eax, %eax
	callq	_dev_err
LBB0_35:
	movq	%rbx, %rdi
	callq	_hclge_misc_irq_uninit
LBB0_17:
	movq	%r14, %rdi
	callq	_pci_free_irq_vectors
	jmp	LBB0_18
LBB0_27:
	movq	8(%rbx), %rax
	movq	_HNAE3_MEDIA_TYPE_COPPER@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_30
## %bb.28:
	movq	%rbx, %rdi
	callq	_hclge_mac_mdio_config
	testl	%eax, %eax
	je	LBB0_30
## %bb.29:
	movl	%eax, %r15d
	movq	32(%rbx), %rdi
	leaq	L_.str.9(%rip), %rsi
	jmp	LBB0_22
LBB0_30:
	movq	%rbx, %rdi
	callq	_hclge_init_umv_space
	testl	%eax, %eax
	je	LBB0_36
## %bb.31:
	movl	%eax, %r15d
	leaq	L_.str.10(%rip), %rsi
	jmp	LBB0_32
LBB0_36:
	movq	%rbx, %rdi
	callq	_hclge_mac_init
	testl	%eax, %eax
	je	LBB0_38
## %bb.37:
	movl	%eax, %r15d
	leaq	L_.str.11(%rip), %rsi
	jmp	LBB0_32
LBB0_38:
	movq	_HCLGE_TSO_MSS_MIN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_HCLGE_TSO_MSS_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_hclge_config_tso
	testl	%eax, %eax
	je	LBB0_40
## %bb.39:
	movl	%eax, %r15d
	leaq	L_.str.12(%rip), %rsi
LBB0_32:
	movq	%r14, %rdi
	movl	%r15d, %edx
	xorl	%eax, %eax
	callq	_dev_err
LBB0_33:
	cmpq	$0, 24(%rbx)
	je	LBB0_35
## %bb.34:
	movl	16(%rbx), %edi
	callq	_mdiobus_unregister
	jmp	LBB0_35
LBB0_40:
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_hclge_config_gro
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	LBB0_33
## %bb.41:
	movq	%rbx, %rdi
	callq	_hclge_init_vlan_config
	testl	%eax, %eax
	je	LBB0_43
## %bb.42:
	movl	%eax, %r15d
	leaq	L_.str.13(%rip), %rsi
	jmp	LBB0_32
LBB0_43:
	movq	%rbx, %rdi
	callq	_hclge_tm_schd_init
	testl	%eax, %eax
	je	LBB0_45
## %bb.44:
	movl	%eax, %r15d
	leaq	L_.str.14(%rip), %rsi
	jmp	LBB0_32
LBB0_45:
	movq	%rbx, %rdi
	callq	_hclge_rss_init_cfg
	movq	%rbx, %rdi
	callq	_hclge_rss_init_hw
	testl	%eax, %eax
	je	LBB0_47
## %bb.46:
	movl	%eax, %r15d
	leaq	L_.str.15(%rip), %rsi
	jmp	LBB0_32
LBB0_47:
	movq	%rbx, %rdi
	callq	_init_mgr_tbl
	testl	%eax, %eax
	je	LBB0_49
## %bb.48:
	movl	%eax, %r15d
	leaq	L_.str.16(%rip), %rsi
	jmp	LBB0_32
LBB0_49:
	movq	%rbx, %rdi
	callq	_hclge_init_fd_config
	testl	%eax, %eax
	je	LBB0_51
## %bb.50:
	movl	%eax, %r15d
	leaq	L_.str.17(%rip), %rsi
	jmp	LBB0_32
LBB0_51:
	movl	68(%rbx), %edi
	callq	_INIT_KFIFO
	movq	%rbx, %rdi
	callq	_hclge_dcb_ops_set
	leaq	52(%rbx), %r14
	movq	_hclge_reset_timer@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%r15d, %r15d
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_timer_setup
	leaq	64(%rbx), %rdi
	movq	_hclge_service_task@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_INIT_DELAYED_WORK
	leaq	60(%rbx), %rdi
	movq	_hclge_reset_service_task@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_INIT_WORK
	leaq	56(%rbx), %rdi
	movq	_hclge_mailbox_service_task@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_INIT_WORK
	movq	%rbx, %rdi
	callq	_hclge_misc_affinity_setup
	movq	%rbx, %rdi
	callq	_hclge_clear_all_event_cause
	movq	%rbx, %rdi
	callq	_hclge_clear_resetting_state
	movq	%r12, %rdi
	callq	_hclge_handle_all_hns_hw_errors
	cmpq	$0, (%r12)
	je	LBB0_53
## %bb.52:
	movq	%r12, %rdi
	movq	%r12, %rsi
	callq	_hclge_get_reset_level
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_hclge_set_def_reset_request
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	_HCLGE_RESET_INTERVAL@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	addq	(%rax), %rsi
	movq	%r14, %rdi
	callq	_mod_timer
LBB0_53:
	movq	%rbx, %rdi
	addq	$48, %rdi
	movl	$1, %esi
	callq	_hclge_enable_vector
	movq	%rbx, %rdi
	callq	_hclge_state_init
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 40(%rbx)
	movq	32(%rbx), %rdi
	movq	_HCLGE_DRIVER_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.18(%rip), %rsi
	callq	_dev_info
	jmp	LBB0_54
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_HNAE3_NONE_RESET,4,2           ## @HNAE3_NONE_RESET
	.comm	_HNAE3_FUNC_RESET,4,2           ## @HNAE3_FUNC_RESET
	.comm	_ETH_FRAME_LEN,8,3              ## @ETH_FRAME_LEN
	.comm	_ETH_FCS_LEN,8,3                ## @ETH_FCS_LEN
	.comm	_VLAN_HLEN,4,2                  ## @VLAN_HLEN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"PCI init failed\n"

L_.str.1:                               ## @.str.1
	.asciz	"Cmd queue init failed, ret = %d.\n"

L_.str.2:                               ## @.str.2
	.asciz	"get hw capability error, ret = %d.\n"

L_.str.3:                               ## @.str.3
	.asciz	"Configure dev error, ret = %d.\n"

L_.str.4:                               ## @.str.4
	.asciz	"Init MSI/MSI-X error, ret = %d.\n"

L_.str.5:                               ## @.str.5
	.asciz	"Misc IRQ(vector0) init error, ret = %d.\n"

L_.str.6:                               ## @.str.6
	.asciz	"Allocate TQPs error, ret = %d.\n"

L_.str.7:                               ## @.str.7
	.asciz	"Allocate vport error, ret = %d.\n"

L_.str.8:                               ## @.str.8
	.asciz	"Map tqp error, ret = %d.\n"

	.comm	_HNAE3_MEDIA_TYPE_COPPER,8,3    ## @HNAE3_MEDIA_TYPE_COPPER
L_.str.9:                               ## @.str.9
	.asciz	"mdio config fail ret=%d\n"

L_.str.10:                              ## @.str.10
	.asciz	"umv space init error, ret=%d.\n"

L_.str.11:                              ## @.str.11
	.asciz	"Mac init error, ret = %d\n"

	.comm	_HCLGE_TSO_MSS_MIN,4,2          ## @HCLGE_TSO_MSS_MIN
	.comm	_HCLGE_TSO_MSS_MAX,4,2          ## @HCLGE_TSO_MSS_MAX
L_.str.12:                              ## @.str.12
	.asciz	"Enable tso fail, ret =%d\n"

L_.str.13:                              ## @.str.13
	.asciz	"VLAN init fail, ret =%d\n"

L_.str.14:                              ## @.str.14
	.asciz	"tm schd init fail, ret =%d\n"

L_.str.15:                              ## @.str.15
	.asciz	"Rss init fail, ret =%d\n"

L_.str.16:                              ## @.str.16
	.asciz	"manager table init fail, ret =%d\n"

L_.str.17:                              ## @.str.17
	.asciz	"fd table init fail, ret=%d\n"

	.comm	_hclge_reset_timer,4,2          ## @hclge_reset_timer
	.comm	_hclge_service_task,4,2         ## @hclge_service_task
	.comm	_hclge_reset_service_task,4,2   ## @hclge_reset_service_task
	.comm	_hclge_mailbox_service_task,4,2 ## @hclge_mailbox_service_task
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_HCLGE_RESET_INTERVAL,8,3       ## @HCLGE_RESET_INTERVAL
L_.str.18:                              ## @.str.18
	.asciz	"%s driver initialization finished.\n"

	.comm	_HCLGE_DRIVER_NAME,4,2          ## @HCLGE_DRIVER_NAME
	.no_dead_strip	_hclge_init_ae_dev
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hclge_init_ae_dev
_hclge_init_ae_dev:                     ; @hclge_init_ae_dev
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x21, x0
	ldr	x20, [x0, #16]
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x20
	mov	w1, #112
	bl	_devm_kzalloc
	cbz	x0, LBB0_3
; %bb.1:
	mov	x19, x0
	str	x20, [x0, #32]
	str	x21, [x0, #104]
Lloh3:
	adrp	x8, _HNAE3_NONE_RESET@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HNAE3_NONE_RESET@GOTPAGEOFF]
Lloh5:
	adrp	x9, _HNAE3_FUNC_RESET@GOTPAGE
Lloh6:
	ldr	x9, [x9, _HNAE3_FUNC_RESET@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #96]
Lloh9:
	adrp	x8, _ETH_FRAME_LEN@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ETH_FRAME_LEN@GOTPAGEOFF]
	str	x0, [x21, #8]
Lloh11:
	ldr	x8, [x8]
Lloh12:
	adrp	x9, _ETH_FCS_LEN@GOTPAGE
Lloh13:
	ldr	x9, [x9, _ETH_FCS_LEN@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	add	x8, x9, x8
Lloh15:
	adrp	x9, _VLAN_HLEN@GOTPAGE
Lloh16:
	ldr	x9, [x9, _VLAN_HLEN@GOTPAGEOFF]
Lloh17:
	ldrsw	x9, [x9]
	add	x8, x8, x9, lsl #1
	str	x8, [x0, #88]
	add	x0, x0, #80
	bl	_mutex_init
	add	x0, x19, #76
	bl	_mutex_init
	add	x0, x19, #72
	bl	_spin_lock_init
	mov	x0, x19
	bl	_hclge_pci_init
	cbz	w0, LBB0_4
; %bb.2:
	mov	x22, x0
Lloh18:
	adrp	x1, l_.str@PAGE
Lloh19:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_dev_err
	b	LBB0_16
LBB0_3:
Lloh20:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh21:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	neg	w22, w8
	b	LBB0_16
LBB0_4:
	mov	x0, x19
	bl	_hclge_cmd_queue_init
	cbz	w0, LBB0_6
; %bb.5:
	mov	x22, x0
	str	x22, [sp]
Lloh23:
	adrp	x1, l_.str.1@PAGE
Lloh24:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_dev_err
	b	LBB0_15
LBB0_6:
	mov	x0, x19
	bl	_hclge_cmd_init
	mov	x22, x0
	cbnz	w0, LBB0_14
; %bb.7:
	mov	x0, x19
	bl	_hclge_get_cap
	cbz	w0, LBB0_9
; %bb.8:
	mov	x22, x0
	str	x22, [sp]
Lloh25:
	adrp	x1, l_.str.2@PAGE
Lloh26:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_13
LBB0_9:
	mov	x0, x19
	bl	_hclge_configure
	cbz	w0, LBB0_11
; %bb.10:
	mov	x22, x0
	str	x22, [sp]
Lloh27:
	adrp	x1, l_.str.3@PAGE
Lloh28:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_13
LBB0_11:
	mov	x0, x19
	bl	_hclge_init_msi
	cbz	w0, LBB0_17
; %bb.12:
	mov	x22, x0
	str	x22, [sp]
Lloh29:
	adrp	x1, l_.str.4@PAGE
Lloh30:
	add	x1, x1, l_.str.4@PAGEOFF
LBB0_13:
	mov	x0, x20
	bl	_dev_err
                                        ; kill: def $w22 killed $w22 killed $x22 def $x22
LBB0_14:
	mov	x0, x19
	bl	_hclge_cmd_uninit
LBB0_15:
	ldr	w1, [x19]
	mov	x0, x20
	bl	_pcim_iounmap
	mov	x0, x20
	bl	_pci_clear_master
	mov	x0, x20
	bl	_pci_release_regions
	mov	x0, x20
	bl	_pci_disable_device
LBB0_16:
	mov	x0, x22
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_17:
	mov	x0, x19
	bl	_hclge_misc_irq_init
	cbz	w0, LBB0_19
; %bb.18:
	mov	x22, x0
	str	x22, [sp]
Lloh31:
	adrp	x1, l_.str.5@PAGE
Lloh32:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x20
	bl	_dev_err
                                        ; kill: def $w22 killed $w22 killed $x22 def $x22
	b	LBB0_28
LBB0_19:
	mov	x0, x19
	bl	_hclge_alloc_tqps
	cbz	w0, LBB0_21
; %bb.20:
	mov	x22, x0
	str	x22, [sp]
Lloh33:
	adrp	x1, l_.str.6@PAGE
Lloh34:
	add	x1, x1, l_.str.6@PAGEOFF
	b	LBB0_25
LBB0_21:
	mov	x0, x19
	bl	_hclge_alloc_vport
	cbz	w0, LBB0_23
; %bb.22:
	mov	x22, x0
	str	x22, [sp]
Lloh35:
	adrp	x1, l_.str.7@PAGE
Lloh36:
	add	x1, x1, l_.str.7@PAGEOFF
	b	LBB0_25
LBB0_23:
	mov	x0, x19
	bl	_hclge_map_tqp
	cbz	w0, LBB0_29
; %bb.24:
	mov	x22, x0
	str	x22, [sp]
Lloh37:
	adrp	x1, l_.str.8@PAGE
Lloh38:
	add	x1, x1, l_.str.8@PAGEOFF
LBB0_25:
	mov	x0, x20
LBB0_26:
	bl	_dev_err
                                        ; kill: def $w22 killed $w22 killed $x22 def $x22
LBB0_27:
	mov	x0, x19
	bl	_hclge_misc_irq_uninit
LBB0_28:
	mov	x0, x20
	bl	_pci_free_irq_vectors
	b	LBB0_14
LBB0_29:
	ldr	x8, [x19, #8]
Lloh39:
	adrp	x9, _HNAE3_MEDIA_TYPE_COPPER@GOTPAGE
Lloh40:
	ldr	x9, [x9, _HNAE3_MEDIA_TYPE_COPPER@GOTPAGEOFF]
Lloh41:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_32
; %bb.30:
	mov	x0, x19
	bl	_hclge_mac_mdio_config
	cbz	w0, LBB0_32
; %bb.31:
	mov	x22, x0
	ldr	x0, [x19, #32]
	str	x22, [sp]
Lloh42:
	adrp	x1, l_.str.9@PAGE
Lloh43:
	add	x1, x1, l_.str.9@PAGEOFF
	b	LBB0_26
LBB0_32:
	mov	x0, x19
	bl	_hclge_init_umv_space
	cbz	w0, LBB0_34
; %bb.33:
	mov	x22, x0
	str	x22, [sp]
Lloh44:
	adrp	x1, l_.str.10@PAGE
Lloh45:
	add	x1, x1, l_.str.10@PAGEOFF
	b	LBB0_38
LBB0_34:
	mov	x0, x19
	bl	_hclge_mac_init
	cbz	w0, LBB0_36
; %bb.35:
	mov	x22, x0
	str	x22, [sp]
Lloh46:
	adrp	x1, l_.str.11@PAGE
Lloh47:
	add	x1, x1, l_.str.11@PAGEOFF
	b	LBB0_38
LBB0_36:
Lloh48:
	adrp	x8, _HCLGE_TSO_MSS_MIN@GOTPAGE
Lloh49:
	ldr	x8, [x8, _HCLGE_TSO_MSS_MIN@GOTPAGEOFF]
Lloh50:
	ldr	w1, [x8]
Lloh51:
	adrp	x8, _HCLGE_TSO_MSS_MAX@GOTPAGE
Lloh52:
	ldr	x8, [x8, _HCLGE_TSO_MSS_MAX@GOTPAGEOFF]
Lloh53:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_hclge_config_tso
	cbz	w0, LBB0_41
; %bb.37:
	mov	x22, x0
	str	x22, [sp]
Lloh54:
	adrp	x1, l_.str.12@PAGE
Lloh55:
	add	x1, x1, l_.str.12@PAGEOFF
LBB0_38:
	mov	x0, x20
	bl	_dev_err
                                        ; kill: def $w22 killed $w22 killed $x22 def $x22
LBB0_39:
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_27
; %bb.40:
	ldr	w0, [x19, #16]
	bl	_mdiobus_unregister
	b	LBB0_27
LBB0_41:
	mov	x0, x19
	mov	w1, #1
	bl	_hclge_config_gro
	mov	x22, x0
	cbnz	w0, LBB0_39
; %bb.42:
	mov	x0, x19
	bl	_hclge_init_vlan_config
	cbz	w0, LBB0_44
; %bb.43:
	mov	x22, x0
	str	x22, [sp]
Lloh56:
	adrp	x1, l_.str.13@PAGE
Lloh57:
	add	x1, x1, l_.str.13@PAGEOFF
	b	LBB0_38
LBB0_44:
	mov	x0, x19
	bl	_hclge_tm_schd_init
	cbz	w0, LBB0_46
; %bb.45:
	mov	x22, x0
	str	x22, [sp]
Lloh58:
	adrp	x1, l_.str.14@PAGE
Lloh59:
	add	x1, x1, l_.str.14@PAGEOFF
	b	LBB0_38
LBB0_46:
	mov	x0, x19
	bl	_hclge_rss_init_cfg
	mov	x0, x19
	bl	_hclge_rss_init_hw
	cbz	w0, LBB0_48
; %bb.47:
	mov	x22, x0
	str	x22, [sp]
Lloh60:
	adrp	x1, l_.str.15@PAGE
Lloh61:
	add	x1, x1, l_.str.15@PAGEOFF
	b	LBB0_38
LBB0_48:
	mov	x0, x19
	bl	_init_mgr_tbl
	cbz	w0, LBB0_50
; %bb.49:
	mov	x22, x0
	str	x22, [sp]
Lloh62:
	adrp	x1, l_.str.16@PAGE
Lloh63:
	add	x1, x1, l_.str.16@PAGEOFF
	b	LBB0_38
LBB0_50:
	mov	x0, x19
	bl	_hclge_init_fd_config
	cbz	w0, LBB0_52
; %bb.51:
	mov	x22, x0
	str	x22, [sp]
Lloh64:
	adrp	x1, l_.str.17@PAGE
Lloh65:
	add	x1, x1, l_.str.17@PAGEOFF
	b	LBB0_38
LBB0_52:
	ldr	w0, [x19, #68]
	bl	_INIT_KFIFO
	mov	x0, x19
	bl	_hclge_dcb_ops_set
	add	x20, x19, #52
Lloh66:
	adrp	x8, _hclge_reset_timer@GOTPAGE
Lloh67:
	ldr	x8, [x8, _hclge_reset_timer@GOTPAGEOFF]
Lloh68:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #0
	bl	_timer_setup
	add	x0, x19, #64
Lloh69:
	adrp	x8, _hclge_service_task@GOTPAGE
Lloh70:
	ldr	x8, [x8, _hclge_service_task@GOTPAGEOFF]
Lloh71:
	ldr	w1, [x8]
	bl	_INIT_DELAYED_WORK
	add	x0, x19, #60
Lloh72:
	adrp	x8, _hclge_reset_service_task@GOTPAGE
Lloh73:
	ldr	x8, [x8, _hclge_reset_service_task@GOTPAGEOFF]
Lloh74:
	ldr	w1, [x8]
	bl	_INIT_WORK
	add	x0, x19, #56
Lloh75:
	adrp	x8, _hclge_mailbox_service_task@GOTPAGE
Lloh76:
	ldr	x8, [x8, _hclge_mailbox_service_task@GOTPAGEOFF]
Lloh77:
	ldr	w1, [x8]
	bl	_INIT_WORK
	mov	x0, x19
	bl	_hclge_misc_affinity_setup
	mov	x0, x19
	bl	_hclge_clear_all_event_cause
	mov	x0, x19
	bl	_hclge_clear_resetting_state
	mov	x0, x21
	bl	_hclge_handle_all_hns_hw_errors
	ldr	x8, [x21]
Lloh78:
	adrp	x22, _jiffies@GOTPAGE
Lloh79:
	ldr	x22, [x22, _jiffies@GOTPAGEOFF]
	cbz	x8, LBB0_54
; %bb.53:
	mov	x0, x21
	mov	x1, x21
	bl	_hclge_get_reset_level
	mov	x1, x0
	mov	x0, x21
	bl	_hclge_set_def_reset_request
	ldr	x8, [x22]
Lloh80:
	adrp	x9, _HCLGE_RESET_INTERVAL@GOTPAGE
Lloh81:
	ldr	x9, [x9, _HCLGE_RESET_INTERVAL@GOTPAGEOFF]
Lloh82:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	x0, x20
	bl	_mod_timer
LBB0_54:
	add	x0, x19, #48
	mov	w1, #1
	bl	_hclge_enable_vector
	mov	x0, x19
	bl	_hclge_state_init
	ldr	x8, [x22]
	str	x8, [x19, #40]
	ldr	x0, [x19, #32]
Lloh83:
	adrp	x8, _HCLGE_DRIVER_NAME@GOTPAGE
Lloh84:
	ldr	x8, [x8, _HCLGE_DRIVER_NAME@GOTPAGEOFF]
Lloh85:
	ldr	w2, [x8]
Lloh86:
	adrp	x1, l_.str.18@PAGE
Lloh87:
	add	x1, x1, l_.str.18@PAGEOFF
	bl	_dev_info
	mov	w22, #0
	b	LBB0_16
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh7
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpAdd	Lloh54, Lloh55
	.loh AdrpAdd	Lloh56, Lloh57
	.loh AdrpAdd	Lloh58, Lloh59
	.loh AdrpAdd	Lloh60, Lloh61
	.loh AdrpAdd	Lloh62, Lloh63
	.loh AdrpAdd	Lloh64, Lloh65
	.loh AdrpLdrGot	Lloh78, Lloh79
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh77
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh80, Lloh81, Lloh82
	.loh AdrpAdd	Lloh86, Lloh87
	.loh AdrpLdrGotLdr	Lloh83, Lloh84, Lloh85
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_HNAE3_NONE_RESET,4,2           ; @HNAE3_NONE_RESET
	.comm	_HNAE3_FUNC_RESET,4,2           ; @HNAE3_FUNC_RESET
	.comm	_ETH_FRAME_LEN,8,3              ; @ETH_FRAME_LEN
	.comm	_ETH_FCS_LEN,8,3                ; @ETH_FCS_LEN
	.comm	_VLAN_HLEN,4,2                  ; @VLAN_HLEN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"PCI init failed\n"

l_.str.1:                               ; @.str.1
	.asciz	"Cmd queue init failed, ret = %d.\n"

l_.str.2:                               ; @.str.2
	.asciz	"get hw capability error, ret = %d.\n"

l_.str.3:                               ; @.str.3
	.asciz	"Configure dev error, ret = %d.\n"

l_.str.4:                               ; @.str.4
	.asciz	"Init MSI/MSI-X error, ret = %d.\n"

l_.str.5:                               ; @.str.5
	.asciz	"Misc IRQ(vector0) init error, ret = %d.\n"

l_.str.6:                               ; @.str.6
	.asciz	"Allocate TQPs error, ret = %d.\n"

l_.str.7:                               ; @.str.7
	.asciz	"Allocate vport error, ret = %d.\n"

l_.str.8:                               ; @.str.8
	.asciz	"Map tqp error, ret = %d.\n"

	.comm	_HNAE3_MEDIA_TYPE_COPPER,8,3    ; @HNAE3_MEDIA_TYPE_COPPER
l_.str.9:                               ; @.str.9
	.asciz	"mdio config fail ret=%d\n"

l_.str.10:                              ; @.str.10
	.asciz	"umv space init error, ret=%d.\n"

l_.str.11:                              ; @.str.11
	.asciz	"Mac init error, ret = %d\n"

	.comm	_HCLGE_TSO_MSS_MIN,4,2          ; @HCLGE_TSO_MSS_MIN
	.comm	_HCLGE_TSO_MSS_MAX,4,2          ; @HCLGE_TSO_MSS_MAX
l_.str.12:                              ; @.str.12
	.asciz	"Enable tso fail, ret =%d\n"

l_.str.13:                              ; @.str.13
	.asciz	"VLAN init fail, ret =%d\n"

l_.str.14:                              ; @.str.14
	.asciz	"tm schd init fail, ret =%d\n"

l_.str.15:                              ; @.str.15
	.asciz	"Rss init fail, ret =%d\n"

l_.str.16:                              ; @.str.16
	.asciz	"manager table init fail, ret =%d\n"

l_.str.17:                              ; @.str.17
	.asciz	"fd table init fail, ret=%d\n"

	.comm	_hclge_reset_timer,4,2          ; @hclge_reset_timer
	.comm	_hclge_service_task,4,2         ; @hclge_service_task
	.comm	_hclge_reset_service_task,4,2   ; @hclge_reset_service_task
	.comm	_hclge_mailbox_service_task,4,2 ; @hclge_mailbox_service_task
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_HCLGE_RESET_INTERVAL,8,3       ; @HCLGE_RESET_INTERVAL
l_.str.18:                              ; @.str.18
	.asciz	"%s driver initialization finished.\n"

	.comm	_HCLGE_DRIVER_NAME,4,2          ; @HCLGE_DRIVER_NAME
	.no_dead_strip	_hclge_init_ae_dev
.subsections_via_symbols
