	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function enetc_vf_probe
_enetc_vf_probe:                        ## @enetc_vf_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movq	_KBUILD_MODNAME@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_enetc_pci_probe
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movl	%eax, %ebx
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	callq	_dev_err
	jmp	LBB0_14
LBB0_2:
	movq	%r12, %rdi
	callq	_pci_get_drvdata
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_enetc_get_si_caps
	movq	_ENETC_MAX_NUM_TXQS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$4, %edi
	callq	_alloc_etherdev_mq
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	%rax, %r14
	movq	_enetc_ndev_ops@GOTPCREL(%rip), %rdx
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_enetc_vf_netdev_setup
	movq	%r14, %rdi
	callq	_netdev_priv
	movq	%rax, %r13
	movq	%rax, %rdi
	callq	_enetc_init_si_rings_params
	movq	%r13, %rdi
	callq	_enetc_alloc_si_resources
	testl	%eax, %eax
	je	LBB0_6
## %bb.5:
	movl	%eax, %ebx
	leaq	L_.str.2(%rip), %rsi
	movq	%r12, %rdi
	callq	_dev_err
	jmp	LBB0_12
LBB0_3:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	leaq	L_.str.1(%rip), %rsi
	movq	%r12, %rdi
	callq	_dev_err
	jmp	LBB0_13
LBB0_6:
	movq	%r13, %rdi
	callq	_enetc_alloc_msix
	testl	%eax, %eax
	je	LBB0_8
## %bb.7:
	movl	%eax, %ebx
	leaq	L_.str.3(%rip), %rsi
	movq	%r12, %rdi
	callq	_dev_err
	jmp	LBB0_11
LBB0_8:
	movq	%r14, %rdi
	callq	_register_netdev
	testl	%eax, %eax
	je	LBB0_9
## %bb.10:
	movl	%eax, %ebx
	movq	%r13, %rdi
	callq	_enetc_free_msix
LBB0_11:
	movq	%r13, %rdi
	callq	_enetc_free_si_resources
LBB0_12:
	movq	$0, (%r15)
	movq	%r14, %rdi
	callq	_free_netdev
LBB0_13:
	movq	%r12, %rdi
	callq	_enetc_pci_remove
LBB0_14:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movq	%r14, %rdi
	callq	_netif_carrier_off
	movq	_probe@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_enetc_drv_name@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_enetc_drv_ver@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	leaq	L_.str.4(%rip), %rcx
	movq	%r13, %rdi
	movq	%r14, %rdx
	callq	_netif_info
	xorl	%ebx, %ebx
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.comm	_KBUILD_MODNAME,4,2             ## @KBUILD_MODNAME
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"PCI probing failed\n"

	.comm	_ENETC_MAX_NUM_TXQS,4,2         ## @ENETC_MAX_NUM_TXQS
	.comm	_ENOMEM,4,2                     ## @ENOMEM
L_.str.1:                               ## @.str.1
	.asciz	"netdev creation failed\n"

	.comm	_enetc_ndev_ops,4,2             ## @enetc_ndev_ops
L_.str.2:                               ## @.str.2
	.asciz	"SI resource alloc failed\n"

L_.str.3:                               ## @.str.3
	.asciz	"MSIX alloc failed\n"

	.comm	_probe,4,2                      ## @probe
L_.str.4:                               ## @.str.4
	.asciz	"%s v%s\n"

	.comm	_enetc_drv_name,4,2             ## @enetc_drv_name
	.comm	_enetc_drv_ver,4,2              ## @enetc_drv_ver
	.no_dead_strip	_enetc_vf_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function enetc_vf_probe
_enetc_vf_probe:                        ; @enetc_vf_probe
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
Lloh0:
	adrp	x8, _KBUILD_MODNAME@GOTPAGE
Lloh1:
	ldr	x8, [x8, _KBUILD_MODNAME@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_enetc_pci_probe
	cbz	w0, LBB0_2
; %bb.1:
	mov	x22, x0
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	b	LBB0_13
LBB0_2:
	mov	x0, x19
	bl	_pci_get_drvdata
	mov	x21, x0
	bl	_enetc_get_si_caps
Lloh5:
	adrp	x8, _ENETC_MAX_NUM_TXQS@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENETC_MAX_NUM_TXQS@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	w0, #4
	bl	_alloc_etherdev_mq
	cbz	x0, LBB0_5
; %bb.3:
	mov	x20, x0
Lloh8:
	adrp	x2, _enetc_ndev_ops@GOTPAGE
Lloh9:
	ldr	x2, [x2, _enetc_ndev_ops@GOTPAGEOFF]
	mov	x0, x21
	mov	x1, x20
	bl	_enetc_vf_netdev_setup
	mov	x0, x20
	bl	_netdev_priv
	mov	x23, x0
	bl	_enetc_init_si_rings_params
	mov	x0, x23
	bl	_enetc_alloc_si_resources
	cbz	w0, LBB0_6
; %bb.4:
	mov	x22, x0
Lloh10:
	adrp	x1, l_.str.2@PAGE
Lloh11:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	b	LBB0_11
LBB0_5:
Lloh12:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	neg	w22, w8
Lloh15:
	adrp	x1, l_.str.1@PAGE
Lloh16:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	b	LBB0_12
LBB0_6:
	mov	x0, x23
	bl	_enetc_alloc_msix
	cbz	w0, LBB0_8
; %bb.7:
	mov	x22, x0
Lloh17:
	adrp	x1, l_.str.3@PAGE
Lloh18:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	b	LBB0_10
LBB0_8:
	mov	x0, x20
	bl	_register_netdev
	mov	x22, x0
	cbz	w0, LBB0_14
; %bb.9:
	mov	x0, x23
	bl	_enetc_free_msix
LBB0_10:
	mov	x0, x23
	bl	_enetc_free_si_resources
LBB0_11:
	str	xzr, [x21]
	mov	x0, x20
	bl	_free_netdev
LBB0_12:
	mov	x0, x19
	bl	_enetc_pci_remove
LBB0_13:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_14:
	mov	x0, x20
	bl	_netif_carrier_off
Lloh19:
	adrp	x8, _probe@GOTPAGE
Lloh20:
	ldr	x8, [x8, _probe@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
Lloh22:
	adrp	x8, _enetc_drv_name@GOTPAGE
Lloh23:
	ldr	x8, [x8, _enetc_drv_name@GOTPAGEOFF]
Lloh24:
	ldr	w4, [x8]
Lloh25:
	adrp	x8, _enetc_drv_ver@GOTPAGE
Lloh26:
	ldr	x8, [x8, _enetc_drv_ver@GOTPAGEOFF]
Lloh27:
	ldr	w5, [x8]
Lloh28:
	adrp	x3, l_.str.4@PAGE
Lloh29:
	add	x3, x3, l_.str.4@PAGEOFF
	mov	x0, x23
	mov	x2, x20
	bl	_netif_info
	b	LBB0_13
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_KBUILD_MODNAME,4,2             ; @KBUILD_MODNAME
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"PCI probing failed\n"

	.comm	_ENETC_MAX_NUM_TXQS,4,2         ; @ENETC_MAX_NUM_TXQS
	.comm	_ENOMEM,4,2                     ; @ENOMEM
l_.str.1:                               ; @.str.1
	.asciz	"netdev creation failed\n"

	.comm	_enetc_ndev_ops,4,2             ; @enetc_ndev_ops
l_.str.2:                               ; @.str.2
	.asciz	"SI resource alloc failed\n"

l_.str.3:                               ; @.str.3
	.asciz	"MSIX alloc failed\n"

	.comm	_probe,4,2                      ; @probe
l_.str.4:                               ; @.str.4
	.asciz	"%s v%s\n"

	.comm	_enetc_drv_name,4,2             ; @enetc_drv_name
	.comm	_enetc_drv_ver,4,2              ; @enetc_drv_ver
	.no_dead_strip	_enetc_vf_probe
.subsections_via_symbols
