	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rocker_probe
_rocker_probe:                          ## @rocker_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, %r15
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$32, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r14
	movq	%r15, %rdi
	callq	_pci_enable_device
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movl	%eax, %ebx
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_err
	jmp	LBB0_44
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_45
LBB0_4:
	movq	_rocker_driver_name@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	%r15, %rdi
	callq	_pci_request_regions
	testl	%eax, %eax
	je	LBB0_6
## %bb.5:
	movl	%eax, %ebx
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_err
	jmp	LBB0_43
LBB0_6:
	movl	$64, %edi
	callq	_DMA_BIT_MASK
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_pci_set_dma_mask
	testl	%eax, %eax
	je	LBB0_7
## %bb.10:
	movl	$32, %edi
	callq	_DMA_BIT_MASK
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_pci_set_dma_mask
	testl	%eax, %eax
	je	LBB0_12
## %bb.11:
	movl	%eax, %ebx
	leaq	L_.str.3(%rip), %rsi
	jmp	LBB0_9
LBB0_7:
	movl	$64, %edi
	callq	_DMA_BIT_MASK
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_pci_set_consistent_dma_mask
	testl	%eax, %eax
	je	LBB0_12
## %bb.8:
	movl	%eax, %ebx
	leaq	L_.str.2(%rip), %rsi
LBB0_9:
	movq	%r15, %rdi
	callq	_dev_err
	jmp	LBB0_42
LBB0_12:
	xorl	%ebx, %ebx
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_pci_resource_len
	movq	_ROCKER_PCI_BAR0_SIZE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_14
## %bb.13:
	leaq	L_.str.4(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	jmp	LBB0_42
LBB0_14:
	xorl	%ebx, %ebx
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_pci_resource_start
	movl	%eax, %r12d
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_pci_resource_len
	movl	%r12d, %edi
	movq	%rax, %rsi
	callq	_ioremap
	movl	%eax, (%r14)
	testl	%eax, %eax
	je	LBB0_15
## %bb.16:
	movq	%r15, %rdi
	callq	_pci_set_master
	movq	%r15, 24(%r14)
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_pci_set_drvdata
	movq	_PORT_PHYS_COUNT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_rocker_read32
	movl	%eax, 16(%r14)
	movq	%r14, %rdi
	callq	_rocker_msix_init
	testl	%eax, %eax
	je	LBB0_18
## %bb.17:
	movl	%eax, %ebx
	leaq	L_.str.6(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_err
	jmp	LBB0_41
LBB0_15:
	leaq	L_.str.5(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_err
	movq	_EIO@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	jmp	LBB0_42
LBB0_18:
	movq	%r14, %rdi
	callq	_rocker_basic_hw_test
	testl	%eax, %eax
	je	LBB0_20
## %bb.19:
	movl	%eax, %ebx
	leaq	L_.str.7(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_err
	jmp	LBB0_40
LBB0_20:
	movq	_CONTROL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ROCKER_CONTROL_RESET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_rocker_write32
	movq	%r14, %rdi
	callq	_rocker_dma_rings_init
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_40
## %bb.21:
	movq	_ROCKER_MSIX_VEC_CMD@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	%r14, %rdi
	callq	_rocker_msix_vector
	movq	_rocker_cmd_irq_handler@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	(%r13), %ecx
	movl	%eax, %edi
	xorl	%edx, %edx
	movq	%r14, %r8
	callq	_request_irq
	testl	%eax, %eax
	je	LBB0_23
## %bb.22:
	movl	%eax, %ebx
	leaq	L_.str.8(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_err
	jmp	LBB0_39
LBB0_23:
	movq	_ROCKER_MSIX_VEC_EVENT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_rocker_msix_vector
	movq	_rocker_event_irq_handler@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	(%r13), %ecx
	movl	%eax, %edi
	xorl	%edx, %edx
	movq	%r14, %r8
	callq	_request_irq
	testl	%eax, %eax
	je	LBB0_25
## %bb.24:
	movl	%eax, %ebx
	leaq	L_.str.9(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_err
	jmp	LBB0_38
LBB0_25:
	movl	(%r13), %edi
	movq	_WQ_MEM_RECLAIM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_alloc_ordered_workqueue
	movl	%eax, 4(%r14)
	testl	%eax, %eax
	je	LBB0_26
## %bb.27:
	movq	%r14, %rdi
	callq	_rocker_probe_ports
	testl	%eax, %eax
	je	LBB0_29
## %bb.28:
	movl	%eax, %ebx
	leaq	L_.str.10(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_err
	jmp	LBB0_36
LBB0_26:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_37
LBB0_29:
	movq	_rocker_router_fib_event@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leaq	8(%r14), %r13
	movl	%eax, 8(%r14)
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_register_fib_notifier
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_35
## %bb.30:
	movq	_rocker_switchdev_notifier@GOTPCREL(%rip), %rdi
	callq	_register_switchdev_notifier
	testl	%eax, %eax
	je	LBB0_32
## %bb.31:
	movl	%eax, %ebx
	leaq	L_.str.11(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_err
	jmp	LBB0_34
LBB0_32:
	movq	_rocker_switchdev_blocking_notifier@GOTPCREL(%rip), %rdi
	callq	_register_switchdev_blocking_notifier
	testl	%eax, %eax
	je	LBB0_46
## %bb.33:
	movl	%eax, %ebx
	leaq	L_.str.12(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_err
	movq	_rocker_switchdev_notifier@GOTPCREL(%rip), %rdi
	callq	_unregister_switchdev_notifier
LBB0_34:
	movq	%r13, %rdi
	callq	_unregister_fib_notifier
LBB0_35:
	movq	%r14, %rdi
	callq	_rocker_remove_ports
LBB0_36:
	movl	4(%r14), %edi
	callq	_destroy_workqueue
LBB0_37:
	movq	_ROCKER_MSIX_VEC_EVENT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_rocker_msix_vector
	movl	%eax, %edi
	movq	%r14, %rsi
	callq	_free_irq
LBB0_38:
	movl	(%r12), %esi
	movq	%r14, %rdi
	callq	_rocker_msix_vector
	movl	%eax, %edi
	movq	%r14, %rsi
	callq	_free_irq
LBB0_39:
	movq	%r14, %rdi
	callq	_rocker_dma_rings_fini
LBB0_40:
	movq	%r14, %rdi
	callq	_rocker_msix_fini
LBB0_41:
	movl	(%r14), %edi
	callq	_iounmap
LBB0_42:
	movq	%r15, %rdi
	callq	_pci_release_regions
LBB0_43:
	movq	%r15, %rdi
	callq	_pci_disable_device
LBB0_44:
	movq	%r14, %rdi
	callq	_kfree
LBB0_45:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_46:
	movq	_SWITCH_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_rocker_read64
	movq	%r14, %rcx
	addq	$12, %rcx
	movl	%eax, 12(%r14)
	leaq	L_.str.13(%rip), %rsi
	movq	%r15, %rdi
	movl	$4, %edx
	callq	_dev_info
	xorl	%ebx, %ebx
	jmp	LBB0_45
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"pci_enable_device failed\n"

	.comm	_rocker_driver_name,4,2         ## @rocker_driver_name
L_.str.1:                               ## @.str.1
	.asciz	"pci_request_regions failed\n"

L_.str.2:                               ## @.str.2
	.asciz	"pci_set_consistent_dma_mask failed\n"

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

	.comm	_ROCKER_PCI_BAR0_SIZE,8,3       ## @ROCKER_PCI_BAR0_SIZE
L_.str.4:                               ## @.str.4
	.asciz	"invalid PCI region size\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.5:                               ## @.str.5
	.asciz	"ioremap failed\n"

	.comm	_EIO,4,2                        ## @EIO
	.comm	_PORT_PHYS_COUNT,4,2            ## @PORT_PHYS_COUNT
L_.str.6:                               ## @.str.6
	.asciz	"MSI-X init failed\n"

L_.str.7:                               ## @.str.7
	.asciz	"basic hw test failed\n"

	.comm	_CONTROL,4,2                    ## @CONTROL
	.comm	_ROCKER_CONTROL_RESET,4,2       ## @ROCKER_CONTROL_RESET
	.comm	_ROCKER_MSIX_VEC_CMD,4,2        ## @ROCKER_MSIX_VEC_CMD
	.comm	_rocker_cmd_irq_handler,4,2     ## @rocker_cmd_irq_handler
L_.str.8:                               ## @.str.8
	.asciz	"cannot assign cmd irq\n"

	.comm	_ROCKER_MSIX_VEC_EVENT,4,2      ## @ROCKER_MSIX_VEC_EVENT
	.comm	_rocker_event_irq_handler,4,2   ## @rocker_event_irq_handler
L_.str.9:                               ## @.str.9
	.asciz	"cannot assign event irq\n"

	.comm	_WQ_MEM_RECLAIM,4,2             ## @WQ_MEM_RECLAIM
L_.str.10:                              ## @.str.10
	.asciz	"failed to probe ports\n"

	.comm	_rocker_router_fib_event,4,2    ## @rocker_router_fib_event
	.comm	_rocker_switchdev_notifier,4,2  ## @rocker_switchdev_notifier
L_.str.11:                              ## @.str.11
	.asciz	"Failed to register switchdev notifier\n"

	.comm	_rocker_switchdev_blocking_notifier,4,2 ## @rocker_switchdev_blocking_notifier
L_.str.12:                              ## @.str.12
	.asciz	"Failed to register switchdev blocking notifier\n"

	.comm	_SWITCH_ID,4,2                  ## @SWITCH_ID
L_.str.13:                              ## @.str.13
	.asciz	"Rocker switch with id %*phN\n"

	.no_dead_strip	_rocker_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rocker_probe
_rocker_probe:                          ; @rocker_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	x20, x0
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #32
	bl	_kzalloc
	cbz	x0, LBB0_3
; %bb.1:
	mov	x19, x0
	mov	x0, x20
	bl	_pci_enable_device
	cbz	w0, LBB0_4
; %bb.2:
	mov	x21, x0
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_dev_err
	b	LBB0_45
LBB0_3:
Lloh5:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_46
LBB0_4:
Lloh8:
	adrp	x22, _rocker_driver_name@GOTPAGE
Lloh9:
	ldr	x22, [x22, _rocker_driver_name@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x20
	bl	_pci_request_regions
	cbz	w0, LBB0_6
; %bb.5:
	mov	x21, x0
Lloh10:
	adrp	x1, l_.str.1@PAGE
Lloh11:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_dev_err
	b	LBB0_44
LBB0_6:
	mov	w0, #64
	bl	_DMA_BIT_MASK
	mov	x1, x0
	mov	x0, x20
	bl	_pci_set_dma_mask
	cbz	w0, LBB0_9
; %bb.7:
	mov	w0, #32
	bl	_DMA_BIT_MASK
	mov	x1, x0
	mov	x0, x20
	bl	_pci_set_dma_mask
	cbz	w0, LBB0_12
; %bb.8:
	mov	x21, x0
Lloh12:
	adrp	x1, l_.str.3@PAGE
Lloh13:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_11
LBB0_9:
	mov	w0, #64
	bl	_DMA_BIT_MASK
	mov	x1, x0
	mov	x0, x20
	bl	_pci_set_consistent_dma_mask
	cbz	w0, LBB0_12
; %bb.10:
	mov	x21, x0
Lloh14:
	adrp	x1, l_.str.2@PAGE
Lloh15:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_11:
	mov	x0, x20
	bl	_dev_err
	b	LBB0_43
LBB0_12:
	mov	x0, x20
	mov	w1, #0
	bl	_pci_resource_len
Lloh16:
	adrp	x8, _ROCKER_PCI_BAR0_SIZE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ROCKER_PCI_BAR0_SIZE@GOTPAGEOFF]
Lloh18:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ge	LBB0_14
; %bb.13:
Lloh19:
	adrp	x1, l_.str.4@PAGE
Lloh20:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x20
	bl	_dev_err
Lloh21:
	adrp	x8, _EINVAL@GOTPAGE
Lloh22:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_18
LBB0_14:
	mov	x0, x20
	mov	w1, #0
	bl	_pci_resource_start
	mov	x21, x0
	mov	x0, x20
	mov	w1, #0
	bl	_pci_resource_len
	mov	x1, x0
	mov	x0, x21
	bl	_ioremap
	str	w0, [x19]
	cbz	w0, LBB0_17
; %bb.15:
	mov	x0, x20
	bl	_pci_set_master
	str	x20, [x19, #24]
	mov	x0, x20
	mov	x1, x19
	bl	_pci_set_drvdata
Lloh23:
	adrp	x8, _PORT_PHYS_COUNT@GOTPAGE
Lloh24:
	ldr	x8, [x8, _PORT_PHYS_COUNT@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_rocker_read32
	str	w0, [x19, #16]
	mov	x0, x19
	bl	_rocker_msix_init
	cbz	w0, LBB0_19
; %bb.16:
	mov	x21, x0
Lloh26:
	adrp	x1, l_.str.6@PAGE
Lloh27:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x20
	bl	_dev_err
	b	LBB0_42
LBB0_17:
Lloh28:
	adrp	x1, l_.str.5@PAGE
Lloh29:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x20
	bl	_dev_err
Lloh30:
	adrp	x8, _EIO@GOTPAGE
Lloh31:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
LBB0_18:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_43
LBB0_19:
	mov	x0, x19
	bl	_rocker_basic_hw_test
	cbz	w0, LBB0_21
; %bb.20:
	mov	x21, x0
Lloh32:
	adrp	x1, l_.str.7@PAGE
Lloh33:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x20
	bl	_dev_err
	b	LBB0_41
LBB0_21:
Lloh34:
	adrp	x8, _CONTROL@GOTPAGE
Lloh35:
	ldr	x8, [x8, _CONTROL@GOTPAGEOFF]
Lloh36:
	ldr	w1, [x8]
Lloh37:
	adrp	x8, _ROCKER_CONTROL_RESET@GOTPAGE
Lloh38:
	ldr	x8, [x8, _ROCKER_CONTROL_RESET@GOTPAGEOFF]
Lloh39:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_rocker_write32
	mov	x0, x19
	bl	_rocker_dma_rings_init
	mov	x21, x0
	cbnz	w0, LBB0_41
; %bb.22:
Lloh40:
	adrp	x23, _ROCKER_MSIX_VEC_CMD@GOTPAGE
Lloh41:
	ldr	x23, [x23, _ROCKER_MSIX_VEC_CMD@GOTPAGEOFF]
	ldr	w1, [x23]
	mov	x0, x19
	bl	_rocker_msix_vector
Lloh42:
	adrp	x8, _rocker_cmd_irq_handler@GOTPAGE
Lloh43:
	ldr	x8, [x8, _rocker_cmd_irq_handler@GOTPAGEOFF]
Lloh44:
	ldr	w1, [x8]
	ldr	w3, [x22]
	mov	w2, #0
	mov	x4, x19
	bl	_request_irq
	cbz	w0, LBB0_24
; %bb.23:
	mov	x21, x0
Lloh45:
	adrp	x1, l_.str.8@PAGE
Lloh46:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x20
	bl	_dev_err
	b	LBB0_40
LBB0_24:
Lloh47:
	adrp	x24, _ROCKER_MSIX_VEC_EVENT@GOTPAGE
Lloh48:
	ldr	x24, [x24, _ROCKER_MSIX_VEC_EVENT@GOTPAGEOFF]
	ldr	w1, [x24]
	mov	x0, x19
	bl	_rocker_msix_vector
Lloh49:
	adrp	x8, _rocker_event_irq_handler@GOTPAGE
Lloh50:
	ldr	x8, [x8, _rocker_event_irq_handler@GOTPAGEOFF]
Lloh51:
	ldr	w1, [x8]
	ldr	w3, [x22]
	mov	w2, #0
	mov	x4, x19
	bl	_request_irq
	cbz	w0, LBB0_26
; %bb.25:
	mov	x21, x0
Lloh52:
	adrp	x1, l_.str.9@PAGE
Lloh53:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	x0, x20
	bl	_dev_err
	b	LBB0_39
LBB0_26:
	ldr	w0, [x22]
Lloh54:
	adrp	x8, _WQ_MEM_RECLAIM@GOTPAGE
Lloh55:
	ldr	x8, [x8, _WQ_MEM_RECLAIM@GOTPAGEOFF]
Lloh56:
	ldr	w1, [x8]
	bl	_alloc_ordered_workqueue
	str	w0, [x19, #4]
	cbz	w0, LBB0_29
; %bb.27:
	mov	x0, x19
	bl	_rocker_probe_ports
	cbz	w0, LBB0_30
; %bb.28:
	mov	x21, x0
Lloh57:
	adrp	x1, l_.str.10@PAGE
Lloh58:
	add	x1, x1, l_.str.10@PAGEOFF
	mov	x0, x20
	bl	_dev_err
	b	LBB0_37
LBB0_29:
Lloh59:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh60:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh61:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_38
LBB0_30:
Lloh62:
	adrp	x8, _rocker_router_fib_event@GOTPAGE
Lloh63:
	ldr	x8, [x8, _rocker_router_fib_event@GOTPAGEOFF]
Lloh64:
	ldr	w8, [x8]
	mov	x22, x19
	str	w8, [x22, #8]!
	mov	x0, x22
	mov	x1, #0
	bl	_register_fib_notifier
	mov	x21, x0
	cbnz	w0, LBB0_36
; %bb.31:
Lloh65:
	adrp	x0, _rocker_switchdev_notifier@GOTPAGE
Lloh66:
	ldr	x0, [x0, _rocker_switchdev_notifier@GOTPAGEOFF]
	bl	_register_switchdev_notifier
	cbz	w0, LBB0_33
; %bb.32:
	mov	x21, x0
Lloh67:
	adrp	x1, l_.str.11@PAGE
Lloh68:
	add	x1, x1, l_.str.11@PAGEOFF
	mov	x0, x20
	bl	_dev_err
	b	LBB0_35
LBB0_33:
Lloh69:
	adrp	x0, _rocker_switchdev_blocking_notifier@GOTPAGE
Lloh70:
	ldr	x0, [x0, _rocker_switchdev_blocking_notifier@GOTPAGEOFF]
	bl	_register_switchdev_blocking_notifier
	mov	x21, x0
	cbz	w0, LBB0_47
; %bb.34:
Lloh71:
	adrp	x1, l_.str.12@PAGE
Lloh72:
	add	x1, x1, l_.str.12@PAGEOFF
	mov	x0, x20
	bl	_dev_err
Lloh73:
	adrp	x0, _rocker_switchdev_notifier@GOTPAGE
Lloh74:
	ldr	x0, [x0, _rocker_switchdev_notifier@GOTPAGEOFF]
	bl	_unregister_switchdev_notifier
LBB0_35:
	mov	x0, x22
	bl	_unregister_fib_notifier
LBB0_36:
	mov	x0, x19
	bl	_rocker_remove_ports
LBB0_37:
	ldr	w0, [x19, #4]
	bl	_destroy_workqueue
LBB0_38:
	ldr	w1, [x24]
	mov	x0, x19
	bl	_rocker_msix_vector
	mov	x1, x19
	bl	_free_irq
LBB0_39:
	ldr	w1, [x23]
	mov	x0, x19
	bl	_rocker_msix_vector
	mov	x1, x19
	bl	_free_irq
LBB0_40:
	mov	x0, x19
	bl	_rocker_dma_rings_fini
LBB0_41:
	mov	x0, x19
	bl	_rocker_msix_fini
LBB0_42:
	ldr	w0, [x19]
	bl	_iounmap
LBB0_43:
	mov	x0, x20
	bl	_pci_release_regions
LBB0_44:
	mov	x0, x20
	bl	_pci_disable_device
LBB0_45:
	mov	x0, x19
	bl	_kfree
LBB0_46:
	mov	x0, x21
	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_47:
Lloh75:
	adrp	x8, _SWITCH_ID@GOTPAGE
Lloh76:
	ldr	x8, [x8, _SWITCH_ID@GOTPAGEOFF]
Lloh77:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_rocker_read64
	str	w0, [x19, #12]!
Lloh78:
	adrp	x1, l_.str.13@PAGE
Lloh79:
	add	x1, x1, l_.str.13@PAGEOFF
	mov	x0, x20
	mov	w2, #4
	mov	x3, x19
	bl	_dev_info
	b	LBB0_46
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGot	Lloh40, Lloh41
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGot	Lloh47, Lloh48
	.loh AdrpAdd	Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpAdd	Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpLdrGot	Lloh65, Lloh66
	.loh AdrpAdd	Lloh67, Lloh68
	.loh AdrpLdrGot	Lloh69, Lloh70
	.loh AdrpLdrGot	Lloh73, Lloh74
	.loh AdrpAdd	Lloh71, Lloh72
	.loh AdrpAdd	Lloh78, Lloh79
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh77
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"pci_enable_device failed\n"

	.comm	_rocker_driver_name,4,2         ; @rocker_driver_name
l_.str.1:                               ; @.str.1
	.asciz	"pci_request_regions failed\n"

l_.str.2:                               ; @.str.2
	.asciz	"pci_set_consistent_dma_mask failed\n"

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

	.comm	_ROCKER_PCI_BAR0_SIZE,8,3       ; @ROCKER_PCI_BAR0_SIZE
l_.str.4:                               ; @.str.4
	.asciz	"invalid PCI region size\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.5:                               ; @.str.5
	.asciz	"ioremap failed\n"

	.comm	_EIO,4,2                        ; @EIO
	.comm	_PORT_PHYS_COUNT,4,2            ; @PORT_PHYS_COUNT
l_.str.6:                               ; @.str.6
	.asciz	"MSI-X init failed\n"

l_.str.7:                               ; @.str.7
	.asciz	"basic hw test failed\n"

	.comm	_CONTROL,4,2                    ; @CONTROL
	.comm	_ROCKER_CONTROL_RESET,4,2       ; @ROCKER_CONTROL_RESET
	.comm	_ROCKER_MSIX_VEC_CMD,4,2        ; @ROCKER_MSIX_VEC_CMD
	.comm	_rocker_cmd_irq_handler,4,2     ; @rocker_cmd_irq_handler
l_.str.8:                               ; @.str.8
	.asciz	"cannot assign cmd irq\n"

	.comm	_ROCKER_MSIX_VEC_EVENT,4,2      ; @ROCKER_MSIX_VEC_EVENT
	.comm	_rocker_event_irq_handler,4,2   ; @rocker_event_irq_handler
l_.str.9:                               ; @.str.9
	.asciz	"cannot assign event irq\n"

	.comm	_WQ_MEM_RECLAIM,4,2             ; @WQ_MEM_RECLAIM
l_.str.10:                              ; @.str.10
	.asciz	"failed to probe ports\n"

	.comm	_rocker_router_fib_event,4,2    ; @rocker_router_fib_event
	.comm	_rocker_switchdev_notifier,4,2  ; @rocker_switchdev_notifier
l_.str.11:                              ; @.str.11
	.asciz	"Failed to register switchdev notifier\n"

	.comm	_rocker_switchdev_blocking_notifier,4,2 ; @rocker_switchdev_blocking_notifier
l_.str.12:                              ; @.str.12
	.asciz	"Failed to register switchdev blocking notifier\n"

	.comm	_SWITCH_ID,4,2                  ; @SWITCH_ID
l_.str.13:                              ; @.str.13
	.asciz	"Rocker switch with id %*phN\n"

	.no_dead_strip	_rocker_probe
.subsections_via_symbols
