	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function com20020pci_probe
_com20020pci_probe:                     ## @com20020pci_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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r13
	callq	_pci_enable_device
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	_EIO@GOTPCREL(%rip), %rax
LBB0_2:
	xorl	%r12d, %r12d
LBB0_3:
	subl	(%rax), %r12d
LBB0_4:
	movl	%r12d, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	movl	$16, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_23
## %bb.6:
	movq	%rax, %r14
	movq	(%rbx), %r15
	movq	%r15, 8(%rax)
	movq	%rax, %rdi
	addq	$4, %rdi
	movq	%rdi, -96(%rbp)                 ## 8-byte Spill
	callq	_INIT_LIST_HEAD
	cmpq	$0, 32(%r15)
	je	LBB0_9
## %bb.7:
	movl	40(%r15), %esi
	movq	%r13, %rdi
	callq	_pci_resource_start
	movslq	24(%r15), %rcx
	movslq	%eax, %rbx
	addq	%rcx, %rbx
	movq	32(%r15), %rdx
	leaq	L_.str(%rip), %rcx
	movq	%r13, %rdi
	movl	%ebx, %esi
	callq	_devm_request_region
	testq	%rax, %rax
	je	LBB0_24
## %bb.8:
	movl	%ebx, (%r14)
LBB0_9:
	movq	%r14, -80(%rbp)                 ## 8-byte Spill
	cmpl	$0, (%r15)
	jle	LBB0_22
## %bb.10:
	movl	$16, %eax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	movq	%r13, -48(%rbp)                 ## 8-byte Spill
	movq	%r15, -88(%rbp)                 ## 8-byte Spill
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	16(%r15), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	_device@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_alloc_arcdev
	testq	%rax, %rax
	je	LBB0_25
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	%rax, %r12
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	movl	%r14d, (%rax)
	movq	_com20020_netdev_ops@GOTPCREL(%rip), %rax
	movq	%rax, 40(%r12)
	movq	%r12, %rdi
	callq	_netdev_priv
	movq	%rax, %rbx
	movq	_D_NORMAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	8(%r15), %ecx
	movq	%r12, %rsi
	leaq	L_.str.2(%rip), %rdx
	callq	_arc_printk
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movl	(%r15,%r14), %esi
	movq	%r13, %rdi
	callq	_pci_resource_start
	movslq	-16(%r15,%r14), %rcx
	cltq
	addq	%rcx, %rax
	movq	-8(%r15,%r14), %rdx
	movq	%rax, %r15
	movq	%r13, %rdi
	movl	%r15d, %esi
	leaq	L_.str(%rip), %rcx
	callq	_devm_request_region
	testq	%rax, %rax
	je	LBB0_27
## %bb.13:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	_COM20020_REG_W_COMMAND@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%edi, %edi
	movl	%r15d, %esi
	callq	_arcnet_outb
	movq	_COM20020_REG_R_DIAGSTAT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r15d, %edi
	callq	_arcnet_inb
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_SET_NETDEV_DEV
	movl	%r15d, 4(%r12)
	movq	_node@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	32(%r12), %rcx
	movl	%eax, (%rcx)
	movq	24(%r12), %rax
	movq	_com20020_state_group@GOTPCREL(%rip), %rcx
	movq	%rcx, (%rax)
	movl	4(%r13), %eax
	movl	%eax, 20(%r12)
	leaq	L_.str.4(%rip), %rax
	movq	%rax, (%rbx)
	movq	-88(%rbp), %r13                 ## 8-byte Reload
	movl	12(%r13), %eax
	movl	%eax, 28(%rbx)
	movq	_backplane@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	movq	_clockp@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	$7, %eax
	movl	%eax, 12(%rbx)
	movq	_clockm@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	$3, %eax
	movl	%eax, 16(%rbx)
	movq	_timeout@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
	movq	_THIS_MODULE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%rbx)
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	movl	(%r14), %edi
	callq	_inb
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	addl	$2, %ecx
	movzbl	%cl, %ecx
	xorl	%edx, %edx
	btl	%ecx, %eax
	setb	%dl
	movl	%edx, 8(%rbx)
	movl	8(%r13), %edi
	leaq	L_.str.5(%rip), %rsi
	movl	$15, %edx
	callq	_strncmp
	testl	%eax, %eax
	jne	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_11 Depth=1
	movl	$1, 8(%rbx)
LBB0_15:                                ##   in Loop: Header=BB0_11 Depth=1
	movl	8(%r13), %edi
	leaq	L_.str.6(%rip), %rsi
	movl	$15, %edx
	callq	_strncmp
	testl	%eax, %eax
	movl	$15, %ebx
	movl	$3, %eax
	cmovel	%eax, %ebx
	movl	4(%r13), %edi
	addl	(%r14), %edi
	callq	_inb
	shrl	$4, %eax
	andl	%eax, %ebx
	movl	%ebx, 8(%r12)
	movl	16(%r12), %edi
	movl	$4, %esi
	leaq	L_.str.7(%rip), %rdx
	movl	%ebx, %ecx
	movq	-64(%rbp), %r8                  ## 8-byte Reload
                                        ## kill: def $r8d killed $r8d killed $r8
	callq	_snprintf
	movq	_COM20020_REG_R_STATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r15d, %edi
	callq	_arcnet_inb
	cmpl	$255, %eax
	je	LBB0_29
## %bb.16:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	%r12, %rdi
	callq	_com20020_check
	testq	%rax, %rax
	jne	LBB0_30
## %bb.17:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movq	_GFP_KERNEL@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rdi
	movl	$88, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_25
## %bb.18:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	%rax, %r14
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movl	%ebx, (%rax)
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 80(%r14)
	movq	_led_tx_set@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leaq	40(%r14), %rcx
	movq	%rcx, -104(%rbp)                ## 8-byte Spill
	movl	%eax, 64(%r14)
	movl	(%r15), %esi
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movl	8(%r12), %ecx
	movq	%r13, %rdi
	leaq	L_.str.9(%rip), %rdx
	movl	%ebx, %r8d
	callq	_devm_kasprintf
	movq	%rax, 56(%r14)
	movl	(%r15), %esi
	movl	8(%r12), %ecx
	movq	%r13, %rdi
	leaq	L_.str.10(%rip), %rdx
	movl	%ebx, %r8d
	callq	_devm_kasprintf
	movq	%rax, 48(%r14)
	movq	%r15, %rcx
	movq	%r13, %r15
	movq	%r12, %r13
	addq	$12, %r13
	movq	%r13, 40(%r14)
	movq	_led_recon_set@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%r14)
	movl	(%rcx), %esi
	movl	8(%r12), %ecx
	movq	%r15, %rdi
	leaq	L_.str.11(%rip), %rdx
	movl	%ebx, %r8d
	callq	_devm_kasprintf
	movq	%rax, 24(%r14)
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	8(%r12), %ecx
	movq	%r15, %rdi
	leaq	L_.str.12(%rip), %rdx
	movl	%ebx, %r8d
	callq	_devm_kasprintf
	movq	%rax, 16(%r14)
	movq	%r13, 8(%r14)
	movq	%r12, 72(%r14)
	movq	%r15, %rdi
	movq	-104(%rbp), %rsi                ## 8-byte Reload
	callq	_devm_led_classdev_register
	testl	%eax, %eax
	jne	LBB0_32
## %bb.19:                              ##   in Loop: Header=BB0_11 Depth=1
	leaq	8(%r14), %rsi
	movq	%r15, %rdi
	callq	_devm_led_classdev_register
	testl	%eax, %eax
	jne	LBB0_26
## %bb.20:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_dev_set_drvdata
	movq	_IRQF_SHARED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_com20020_found
	testl	%eax, %eax
	jne	LBB0_26
## %bb.21:                              ##   in Loop: Header=BB0_11 Depth=1
	movl	8(%rbx), %esi
	movq	%rbx, %rdi
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movl	%ebx, %edx
	callq	_devm_arcnet_led_init
	addq	$4, %r14
	movq	%r14, %rdi
	movq	-96(%rbp), %rsi                 ## 8-byte Reload
	callq	_list_add
	incq	%rbx
	movq	-88(%rbp), %r15                 ## 8-byte Reload
	movslq	(%r15), %rax
	addq	$24, -72(%rbp)                  ## 8-byte Folded Spill
	movq	%rbx, %r14
	cmpq	%rax, %rbx
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	jl	LBB0_11
LBB0_22:
	movq	%r13, %rdi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	callq	_pci_set_drvdata
	xorl	%r12d, %r12d
	jmp	LBB0_4
LBB0_23:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_24:
	movq	32(%r15), %rax
	leaq	(%rbx,%rax), %rdx
	decq	%rdx
	leaq	L_.str.1(%rip), %rdi
	xorl	%r12d, %r12d
	movl	%ebx, %esi
	xorl	%eax, %eax
	callq	_pr_err
	movq	_EBUSY@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_25:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r12d, %r12d
	jmp	LBB0_28
LBB0_26:
	movl	%eax, %r12d
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	jmp	LBB0_33
LBB0_27:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	-8(%rcx,%rax), %rax
	leaq	(%r15,%rax), %rdx
	decq	%rdx
	leaq	L_.str.3(%rip), %rdi
	xorl	%r12d, %r12d
	movl	%r15d, %esi
	xorl	%eax, %eax
	callq	_pr_err
	movq	_EBUSY@GOTPCREL(%rip), %rax
LBB0_28:
	subl	(%rax), %r12d
	jmp	LBB0_33
LBB0_29:
	leaq	L_.str.8(%rip), %rdi
	xorl	%r12d, %r12d
	movl	%r15d, %esi
	xorl	%eax, %eax
	callq	_pr_err
	movq	_EIO@GOTPCREL(%rip), %rax
	jmp	LBB0_31
LBB0_30:
	movq	_EIO@GOTPCREL(%rip), %rax
	xorl	%r12d, %r12d
LBB0_31:
	subl	(%rax), %r12d
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	jmp	LBB0_33
LBB0_32:
	movl	%eax, %r12d
	movq	%r15, %r13
LBB0_33:
	movq	%r13, %rdi
	callq	_com20020pci_remove
	jmp	LBB0_4
	.cfi_endproc
                                        ## -- End function
	.comm	_EIO,4,2                        ## @EIO
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"com20020-pci"

L_.str.1:                               ## @.str.1
	.asciz	"IO region %xh-%xh already allocated.\n"

	.comm	_EBUSY,4,2                      ## @EBUSY
	.comm	_device,4,2                     ## @device
	.comm	_com20020_netdev_ops,4,2        ## @com20020_netdev_ops
	.comm	_D_NORMAL,4,2                   ## @D_NORMAL
L_.str.2:                               ## @.str.2
	.asciz	"%s Controls\n"

L_.str.3:                               ## @.str.3
	.asciz	"IO region %xh-%xh already allocated\n"

	.comm	_COM20020_REG_W_COMMAND,4,2     ## @COM20020_REG_W_COMMAND
	.comm	_COM20020_REG_R_DIAGSTAT,4,2    ## @COM20020_REG_R_DIAGSTAT
	.comm	_node,4,2                       ## @node
	.comm	_com20020_state_group,4,2       ## @com20020_state_group
L_.str.4:                               ## @.str.4
	.asciz	"PCI COM20020"

	.comm	_backplane,4,2                  ## @backplane
	.comm	_clockp,4,2                     ## @clockp
	.comm	_clockm,4,2                     ## @clockm
	.comm	_timeout,4,2                    ## @timeout
	.comm	_THIS_MODULE,4,2                ## @THIS_MODULE
L_.str.5:                               ## @.str.5
	.asciz	"EAE PLX-PCI FB2"

L_.str.6:                               ## @.str.6
	.asciz	"EAE PLX-PCI MA1"

L_.str.7:                               ## @.str.7
	.asciz	"arc%d-%d"

	.comm	_COM20020_REG_R_STATUS,4,2      ## @COM20020_REG_R_STATUS
L_.str.8:                               ## @.str.8
	.asciz	"IO address %Xh is empty!\n"

	.comm	_led_tx_set,4,2                 ## @led_tx_set
L_.str.9:                               ## @.str.9
	.asciz	"arc%d-%d-tx"

L_.str.10:                              ## @.str.10
	.asciz	"pci:green:tx:%d-%d"

	.comm	_led_recon_set,4,2              ## @led_recon_set
L_.str.11:                              ## @.str.11
	.asciz	"arc%d-%d-recon"

L_.str.12:                              ## @.str.12
	.asciz	"pci:red:recon:%d-%d"

	.comm	_IRQF_SHARED,4,2                ## @IRQF_SHARED
	.no_dead_strip	_com20020pci_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function com20020pci_probe
_com20020pci_probe:                     ; @com20020pci_probe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x1
	mov	x19, x0
	bl	_pci_enable_device
	cbz	x0, LBB0_4
; %bb.1:
Lloh0:
	adrp	x8, _EIO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
LBB0_2:
	ldr	w8, [x8]
	neg	w24, w8
LBB0_3:
	mov	x0, x24
	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
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_4:
Lloh2:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #16
	bl	_devm_kzalloc
	cbz	x0, LBB0_22
; %bb.5:
	mov	x20, x0
	ldr	x21, [x21]
	str	x21, [x0, #8]
	add	x0, x0, #4
	str	x0, [sp, #8]                    ; 8-byte Folded Spill
	bl	_INIT_LIST_HEAD
	ldr	x8, [x21, #32]
	cbz	x8, LBB0_8
; %bb.6:
	ldr	w1, [x21, #40]
	mov	x0, x19
	bl	_pci_resource_start
	ldrsw	x8, [x21, #24]
	add	x22, x8, w0, sxtw
	ldr	x2, [x21, #32]
Lloh5:
	adrp	x3, l_.str@PAGE
Lloh6:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x19
	mov	x1, x22
	bl	_devm_request_region
	cbz	x0, LBB0_23
; %bb.7:
	str	w22, [x20]
LBB0_8:
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_21
; %bb.9:
	mov	x27, #0
	mov	x22, #0
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	x23, [x21, #16]
Lloh7:
	adrp	x8, _device@GOTPAGE
Lloh8:
	ldr	x8, [x8, _device@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	bl	_alloc_arcdev
	cbz	x0, LBB0_25
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x28, x0
	str	w22, [x0]
Lloh10:
	adrp	x8, _com20020_netdev_ops@GOTPAGE
Lloh11:
	ldr	x8, [x8, _com20020_netdev_ops@GOTPAGEOFF]
	str	x8, [x0, #40]
	bl	_netdev_priv
	mov	x24, x0
Lloh12:
	adrp	x8, _D_NORMAL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _D_NORMAL@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	ldr	w3, [x21, #8]
	mov	x1, x28
Lloh15:
	adrp	x2, l_.str.2@PAGE
Lloh16:
	add	x2, x2, l_.str.2@PAGEOFF
	bl	_arc_printk
	add	x25, x23, x27
	ldr	w1, [x25, #16]
	mov	x0, x19
	bl	_pci_resource_start
	ldrsw	x8, [x25]
	add	x23, x8, w0, sxtw
	ldr	x2, [x25, #8]
	mov	x0, x19
	mov	x1, x23
Lloh17:
	adrp	x3, l_.str@PAGE
Lloh18:
	add	x3, x3, l_.str@PAGEOFF
	bl	_devm_request_region
	cbz	x0, LBB0_26
; %bb.12:                               ;   in Loop: Header=BB0_10 Depth=1
Lloh19:
	adrp	x8, _COM20020_REG_W_COMMAND@GOTPAGE
Lloh20:
	ldr	x8, [x8, _COM20020_REG_W_COMMAND@GOTPAGEOFF]
Lloh21:
	ldr	w2, [x8]
	mov	w0, #0
	mov	x1, x23
	bl	_arcnet_outb
Lloh22:
	adrp	x8, _COM20020_REG_R_DIAGSTAT@GOTPAGE
Lloh23:
	ldr	x8, [x8, _COM20020_REG_R_DIAGSTAT@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
	mov	x0, x23
	bl	_arcnet_inb
	mov	x0, x28
	mov	x1, x19
	bl	_SET_NETDEV_DEV
	str	w23, [x28, #4]
Lloh25:
	adrp	x8, _node@GOTPAGE
Lloh26:
	ldr	x8, [x8, _node@GOTPAGEOFF]
Lloh27:
	ldr	w8, [x8]
	ldp	x10, x9, [x28, #24]
	str	w8, [x9]
Lloh28:
	adrp	x8, _com20020_state_group@GOTPAGE
Lloh29:
	ldr	x8, [x8, _com20020_state_group@GOTPAGEOFF]
	str	x8, [x10]
	ldr	w8, [x19, #4]
	str	w8, [x28, #20]
Lloh30:
	adrp	x8, l_.str.4@PAGE
Lloh31:
	add	x8, x8, l_.str.4@PAGEOFF
	str	x8, [x24]
	ldr	w8, [x21, #12]
Lloh32:
	adrp	x9, _backplane@GOTPAGE
Lloh33:
	ldr	x9, [x9, _backplane@GOTPAGEOFF]
Lloh34:
	ldr	w9, [x9]
Lloh35:
	adrp	x10, _clockp@GOTPAGE
Lloh36:
	ldr	x10, [x10, _clockp@GOTPAGEOFF]
Lloh37:
	ldr	w10, [x10]
	and	w10, w10, #0x7
	stp	w9, w10, [x24, #8]
Lloh38:
	adrp	x9, _clockm@GOTPAGE
Lloh39:
	ldr	x9, [x9, _clockm@GOTPAGEOFF]
Lloh40:
	ldr	w9, [x9]
	and	w9, w9, #0x3
Lloh41:
	adrp	x10, _timeout@GOTPAGE
Lloh42:
	ldr	x10, [x10, _timeout@GOTPAGEOFF]
Lloh43:
	ldr	w10, [x10]
	stp	w10, w8, [x24, #24]
Lloh44:
	adrp	x8, _THIS_MODULE@GOTPAGE
Lloh45:
	ldr	x8, [x8, _THIS_MODULE@GOTPAGEOFF]
Lloh46:
	ldr	w8, [x8]
	stp	w9, w8, [x24, #16]
	ldr	w0, [x20]
	bl	_inb
	add	w8, w22, #2
	lsr	w8, w0, w8
	and	w8, w8, #0x1
	str	w8, [x24, #8]
	ldr	w0, [x21, #8]
Lloh47:
	adrp	x1, l_.str.5@PAGE
Lloh48:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	w2, #15
	bl	_strncmp
	cbnz	w0, LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	w8, #1
	str	w8, [x24, #8]
LBB0_14:                                ;   in Loop: Header=BB0_10 Depth=1
	ldr	w0, [x21, #8]
Lloh49:
	adrp	x1, l_.str.6@PAGE
Lloh50:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	w2, #15
	bl	_strncmp
	cmp	w0, #0
	mov	w8, #15
	mov	w9, #3
	csel	w24, w9, w8, eq
	ldr	w8, [x20]
	ldr	w9, [x21, #4]
	add	w0, w9, w8
	bl	_inb
	and	w3, w24, w0, lsr #4
	str	w3, [x28, #8]
	ldr	w0, [x28, #16]
	mov	w1, #4
Lloh51:
	adrp	x2, l_.str.7@PAGE
Lloh52:
	add	x2, x2, l_.str.7@PAGEOFF
	mov	x4, x22
	bl	_snprintf
Lloh53:
	adrp	x8, _COM20020_REG_R_STATUS@GOTPAGE
Lloh54:
	ldr	x8, [x8, _COM20020_REG_R_STATUS@GOTPAGEOFF]
Lloh55:
	ldr	w1, [x8]
	mov	x0, x23
	bl	_arcnet_inb
	cmp	w0, #255
	b.eq	LBB0_27
; %bb.15:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x28
	bl	_com20020_check
	cbnz	x0, LBB0_28
; %bb.16:                               ;   in Loop: Header=BB0_10 Depth=1
Lloh56:
	adrp	x23, _GFP_KERNEL@GOTPAGE
Lloh57:
	ldr	x23, [x23, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w2, [x23]
	mov	x0, x19
	mov	w1, #88
	bl	_devm_kzalloc
	cbz	x0, LBB0_25
; %bb.17:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x26, x0
	str	w22, [x0]
	str	x20, [x0, #80]
Lloh58:
	adrp	x8, _led_tx_set@GOTPAGE
Lloh59:
	ldr	x8, [x8, _led_tx_set@GOTPAGEOFF]
Lloh60:
	ldr	w8, [x8]
	str	w8, [x0, #64]
	ldr	w1, [x23]
	ldr	w3, [x28, #8]
	mov	x0, x19
Lloh61:
	adrp	x2, l_.str.9@PAGE
Lloh62:
	add	x2, x2, l_.str.9@PAGEOFF
	mov	x4, x22
	bl	_devm_kasprintf
	str	x0, [x26, #56]
	ldr	w1, [x23]
	ldr	w3, [x28, #8]
	mov	x0, x19
Lloh63:
	adrp	x2, l_.str.10@PAGE
Lloh64:
	add	x2, x2, l_.str.10@PAGEOFF
	mov	x4, x22
	bl	_devm_kasprintf
	str	x0, [x26, #48]
	add	x25, x28, #12
	mov	x24, x26
	str	x25, [x24, #40]!
Lloh65:
	adrp	x8, _led_recon_set@GOTPAGE
Lloh66:
	ldr	x8, [x8, _led_recon_set@GOTPAGEOFF]
Lloh67:
	ldr	w8, [x8]
	str	w8, [x26, #32]
	ldr	w1, [x23]
	ldr	w3, [x28, #8]
	mov	x0, x19
Lloh68:
	adrp	x2, l_.str.11@PAGE
Lloh69:
	add	x2, x2, l_.str.11@PAGEOFF
	mov	x4, x22
	bl	_devm_kasprintf
	str	x0, [x26, #24]
	ldr	w1, [x23]
	ldr	w3, [x28, #8]
	mov	x0, x19
Lloh70:
	adrp	x2, l_.str.12@PAGE
Lloh71:
	add	x2, x2, l_.str.12@PAGEOFF
	mov	x4, x22
	bl	_devm_kasprintf
	mov	x23, x26
	stp	x25, x0, [x23, #8]!
	str	x28, [x23, #64]
	mov	x0, x19
	mov	x1, x24
	bl	_devm_led_classdev_register
	cbnz	w0, LBB0_24
; %bb.18:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x19
	mov	x1, x23
	bl	_devm_led_classdev_register
	cbnz	w0, LBB0_24
; %bb.19:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x25
	mov	x1, x26
	bl	_dev_set_drvdata
Lloh72:
	adrp	x8, _IRQF_SHARED@GOTPAGE
Lloh73:
	ldr	x8, [x8, _IRQF_SHARED@GOTPAGEOFF]
Lloh74:
	ldr	w1, [x8]
	mov	x0, x28
	bl	_com20020_found
	cbnz	w0, LBB0_24
; %bb.20:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	w1, [x28, #8]
	mov	x0, x28
	mov	x2, x22
	bl	_devm_arcnet_led_init
	add	x0, x26, #4
	ldr	x1, [sp, #8]                    ; 8-byte Folded Reload
	bl	_list_add
	add	x22, x22, #1
	ldrsw	x8, [x21]
	add	x27, x27, #24
	cmp	x22, x8
	b.lt	LBB0_10
LBB0_21:
	mov	x0, x19
	mov	x1, x20
	bl	_pci_set_drvdata
	mov	w24, #0
	b	LBB0_3
LBB0_22:
Lloh75:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh76:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_2
LBB0_23:
	ldr	x8, [x21, #32]
	add	x8, x22, x8
	sub	x8, x8, #1
	str	x8, [sp]
Lloh77:
	adrp	x0, l_.str.1@PAGE
Lloh78:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x22
	bl	_pr_err
Lloh79:
	adrp	x8, _EBUSY@GOTPAGE
Lloh80:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
	b	LBB0_2
LBB0_24:
	mov	x24, x0
	b	LBB0_30
LBB0_25:
Lloh81:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh82:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_29
LBB0_26:
	ldr	x8, [x25, #8]
	add	x8, x23, x8
	sub	x8, x8, #1
	str	x8, [sp]
Lloh83:
	adrp	x0, l_.str.3@PAGE
Lloh84:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	x1, x23
	bl	_pr_err
Lloh85:
	adrp	x8, _EBUSY@GOTPAGE
Lloh86:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
	b	LBB0_29
LBB0_27:
Lloh87:
	adrp	x0, l_.str.8@PAGE
Lloh88:
	add	x0, x0, l_.str.8@PAGEOFF
	mov	x1, x23
	bl	_pr_err
LBB0_28:
Lloh89:
	adrp	x8, _EIO@GOTPAGE
Lloh90:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
LBB0_29:
	ldr	w8, [x8]
	neg	w24, w8
LBB0_30:
	mov	x0, x19
	bl	_com20020pci_remove
	b	LBB0_3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpAdd	Lloh51, Lloh52
	.loh AdrpAdd	Lloh49, Lloh50
	.loh AdrpLdrGot	Lloh56, Lloh57
	.loh AdrpAdd	Lloh70, Lloh71
	.loh AdrpAdd	Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.loh AdrpAdd	Lloh63, Lloh64
	.loh AdrpAdd	Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.loh AdrpLdrGot	Lloh75, Lloh76
	.loh AdrpLdrGot	Lloh79, Lloh80
	.loh AdrpAdd	Lloh77, Lloh78
	.loh AdrpLdrGot	Lloh81, Lloh82
	.loh AdrpLdrGot	Lloh85, Lloh86
	.loh AdrpAdd	Lloh83, Lloh84
	.loh AdrpAdd	Lloh87, Lloh88
	.loh AdrpLdrGot	Lloh89, Lloh90
	.cfi_endproc
                                        ; -- End function
	.comm	_EIO,4,2                        ; @EIO
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"com20020-pci"

l_.str.1:                               ; @.str.1
	.asciz	"IO region %xh-%xh already allocated.\n"

	.comm	_EBUSY,4,2                      ; @EBUSY
	.comm	_device,4,2                     ; @device
	.comm	_com20020_netdev_ops,4,2        ; @com20020_netdev_ops
	.comm	_D_NORMAL,4,2                   ; @D_NORMAL
l_.str.2:                               ; @.str.2
	.asciz	"%s Controls\n"

l_.str.3:                               ; @.str.3
	.asciz	"IO region %xh-%xh already allocated\n"

	.comm	_COM20020_REG_W_COMMAND,4,2     ; @COM20020_REG_W_COMMAND
	.comm	_COM20020_REG_R_DIAGSTAT,4,2    ; @COM20020_REG_R_DIAGSTAT
	.comm	_node,4,2                       ; @node
	.comm	_com20020_state_group,4,2       ; @com20020_state_group
l_.str.4:                               ; @.str.4
	.asciz	"PCI COM20020"

	.comm	_backplane,4,2                  ; @backplane
	.comm	_clockp,4,2                     ; @clockp
	.comm	_clockm,4,2                     ; @clockm
	.comm	_timeout,4,2                    ; @timeout
	.comm	_THIS_MODULE,4,2                ; @THIS_MODULE
l_.str.5:                               ; @.str.5
	.asciz	"EAE PLX-PCI FB2"

l_.str.6:                               ; @.str.6
	.asciz	"EAE PLX-PCI MA1"

l_.str.7:                               ; @.str.7
	.asciz	"arc%d-%d"

	.comm	_COM20020_REG_R_STATUS,4,2      ; @COM20020_REG_R_STATUS
l_.str.8:                               ; @.str.8
	.asciz	"IO address %Xh is empty!\n"

	.comm	_led_tx_set,4,2                 ; @led_tx_set
l_.str.9:                               ; @.str.9
	.asciz	"arc%d-%d-tx"

l_.str.10:                              ; @.str.10
	.asciz	"pci:green:tx:%d-%d"

	.comm	_led_recon_set,4,2              ; @led_recon_set
l_.str.11:                              ; @.str.11
	.asciz	"arc%d-%d-recon"

l_.str.12:                              ; @.str.12
	.asciz	"pci:red:recon:%d-%d"

	.comm	_IRQF_SHARED,4,2                ; @IRQF_SHARED
	.no_dead_strip	_com20020pci_probe
.subsections_via_symbols
