	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function niu_pci_init_one
_niu_pci_init_one:                      ## @niu_pci_init_one
	.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, %r15
	xorl	%eax, %eax
	callq	_niu_driver_version
	movq	%r15, %rdi
	callq	_pci_enable_device
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movl	%eax, %ebx
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_err
	jmp	LBB0_33
LBB0_2:
	xorl	%ebx, %ebx
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_pci_resource_flags
	movq	_IORESOURCE_MEM@GOTPCREL(%rip), %r14
	testl	%eax, (%r14)
	je	LBB0_4
## %bb.3:
	movq	%r15, %rdi
	movl	$2, %esi
	callq	_pci_resource_flags
	testl	%eax, (%r14)
	je	LBB0_4
## %bb.5:
	movq	_DRV_MODULE_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_pci_request_regions
	testl	%eax, %eax
	je	LBB0_7
## %bb.6:
	movl	%eax, %ebx
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_err
	jmp	LBB0_32
LBB0_4:
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_err
	movq	_ENODEV@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
LBB0_32:
	movq	%r15, %rdi
	callq	_pci_disable_device
LBB0_33:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	%r15, %rdi
	callq	_pci_is_pcie
	testl	%eax, %eax
	je	LBB0_8
## %bb.9:
	movl	8(%r15), %edi
	callq	_PCI_FUNC
	movq	_niu_pci_ops@GOTPCREL(%rip), %rcx
	xorl	%ebx, %ebx
	movq	%r15, %rdi
	movq	%r15, %rsi
	xorl	%edx, %edx
	movl	%eax, %r8d
	callq	_niu_alloc_and_init
	testq	%rax, %rax
	je	LBB0_10
## %bb.11:
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_netdev_priv
	movq	%rax, %r12
	leaq	-56(%rbp), %r13
	xorl	%ebx, %ebx
	movq	%r13, %rdi
	xorl	%esi, %esi
	movl	$12, %edx
	callq	_memset
	movq	16(%r15), %rdi
	callq	_pci_domain_nr
	movl	%eax, -48(%rbp)
	movq	16(%r15), %rax
	movl	(%rax), %eax
	movl	%eax, -52(%rbp)
	movl	8(%r15), %edi
	callq	_PCI_SLOT
	movl	%eax, -56(%rbp)
	movq	_PLAT_TYPE_ATLAS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_niu_get_parent
	movl	%eax, 8(%r12)
	testl	%eax, %eax
	je	LBB0_12
## %bb.13:
	movq	_PCI_EXP_DEVCTL@GOTPCREL(%rip), %rax
	movq	_PCI_EXP_DEVCTL_CERE@GOTPCREL(%rip), %rdx
	movq	_PCI_EXP_DEVCTL_NFERE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rdx), %ecx
	movl	(%rax), %esi
	movq	_PCI_EXP_DEVCTL_FERE@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_PCI_EXP_DEVCTL_NOSNOOP_EN@GOTPCREL(%rip), %rax
	movq	_PCI_EXP_DEVCTL_URRE@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	movl	(%rax), %edx
	movq	_PCI_EXP_DEVCTL_RELAX_EN@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	%r15, %rdi
	callq	_pcie_capability_clear_and_set_word
	movl	$44, %edi
	callq	_DMA_BIT_MASK
	movl	%eax, %ebx
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_pci_set_dma_mask
	testl	%eax, %eax
	je	LBB0_14
## %bb.17:
	movl	$32, %edi
	callq	_DMA_BIT_MASK
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_pci_set_dma_mask
	testl	%eax, %eax
	je	LBB0_19
## %bb.18:
	movl	%eax, %ebx
	leaq	L_.str.5(%rip), %rsi
	jmp	LBB0_16
LBB0_8:
	leaq	L_.str.3(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_err
	movq	_ENODEV@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_31
LBB0_10:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	jmp	LBB0_31
LBB0_12:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	jmp	LBB0_30
LBB0_14:
	movq	_NETIF_F_HIGHDMA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 16(%r14)
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_pci_set_consistent_dma_mask
	testl	%eax, %eax
	je	LBB0_19
## %bb.15:
	movl	%eax, %ebx
	leaq	L_.str.4(%rip), %rsi
LBB0_16:
	movq	%r15, %rdi
	callq	_dev_err
LBB0_29:
	movq	%r12, %rdi
	callq	_niu_put_parent
LBB0_30:
	movq	%r14, %rdi
	callq	_free_netdev
LBB0_31:
	movq	%r15, %rdi
	callq	_pci_release_regions
	jmp	LBB0_32
LBB0_19:
	movq	%r14, %rdi
	callq	_niu_set_basic_features
	movq	_IFF_UNICAST_FLT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 12(%r14)
	xorl	%ebx, %ebx
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_pci_ioremap_bar
	movq	%rax, (%r12)
	testq	%rax, %rax
	je	LBB0_20
## %bb.21:
	movq	%r15, %rdi
	callq	_pci_set_master
	movq	%r15, %rdi
	callq	_pci_save_state
	movl	4(%r15), %eax
	movl	%eax, 8(%r14)
	movq	_ETH_MIN_MTU@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%r14)
	movq	_NIU_MAX_MTU@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r14)
	movq	%r14, %rdi
	callq	_niu_assign_netdev_ops
	movq	%r12, %rdi
	callq	_niu_get_invariants
	testl	%eax, %eax
	je	LBB0_24
## %bb.22:
	movl	%eax, %ebx
	movq	_ENODEV@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%ebx, %eax
	je	LBB0_27
## %bb.23:
	leaq	L_.str.7(%rip), %rsi
	jmp	LBB0_26
LBB0_20:
	leaq	L_.str.6(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_err
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	jmp	LBB0_29
LBB0_24:
	movq	%r14, %rdi
	callq	_register_netdev
	testl	%eax, %eax
	je	LBB0_34
## %bb.25:
	movl	%eax, %ebx
	leaq	L_.str.8(%rip), %rsi
LBB0_26:
	movq	%r15, %rdi
	callq	_dev_err
LBB0_27:
	movq	(%r12), %rdi
	testq	%rdi, %rdi
	je	LBB0_29
## %bb.28:
	callq	_iounmap
	movq	$0, (%r12)
	jmp	LBB0_29
LBB0_34:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_pci_set_drvdata
	movq	%r12, %rdi
	callq	_niu_device_announce
	xorl	%ebx, %ebx
	jmp	LBB0_33
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Cannot enable PCI device, aborting\n"

	.comm	_IORESOURCE_MEM,4,2             ## @IORESOURCE_MEM
L_.str.1:                               ## @.str.1
	.asciz	"Cannot find proper PCI device base addresses, aborting\n"

	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_DRV_MODULE_NAME,4,2            ## @DRV_MODULE_NAME
L_.str.2:                               ## @.str.2
	.asciz	"Cannot obtain PCI resources, aborting\n"

L_.str.3:                               ## @.str.3
	.asciz	"Cannot find PCI Express capability, aborting\n"

	.comm	_niu_pci_ops,4,2                ## @niu_pci_ops
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_PLAT_TYPE_ATLAS,4,2            ## @PLAT_TYPE_ATLAS
	.comm	_PCI_EXP_DEVCTL,4,2             ## @PCI_EXP_DEVCTL
	.comm	_PCI_EXP_DEVCTL_NOSNOOP_EN,4,2  ## @PCI_EXP_DEVCTL_NOSNOOP_EN
	.comm	_PCI_EXP_DEVCTL_CERE,4,2        ## @PCI_EXP_DEVCTL_CERE
	.comm	_PCI_EXP_DEVCTL_NFERE,4,2       ## @PCI_EXP_DEVCTL_NFERE
	.comm	_PCI_EXP_DEVCTL_FERE,4,2        ## @PCI_EXP_DEVCTL_FERE
	.comm	_PCI_EXP_DEVCTL_URRE,4,2        ## @PCI_EXP_DEVCTL_URRE
	.comm	_PCI_EXP_DEVCTL_RELAX_EN,4,2    ## @PCI_EXP_DEVCTL_RELAX_EN
	.comm	_NETIF_F_HIGHDMA,4,2            ## @NETIF_F_HIGHDMA
L_.str.4:                               ## @.str.4
	.asciz	"Unable to obtain 44 bit DMA for consistent allocations, aborting\n"

L_.str.5:                               ## @.str.5
	.asciz	"No usable DMA configuration, aborting\n"

	.comm	_IFF_UNICAST_FLT,4,2            ## @IFF_UNICAST_FLT
L_.str.6:                               ## @.str.6
	.asciz	"Cannot map device registers, aborting\n"

	.comm	_ETH_MIN_MTU,4,2                ## @ETH_MIN_MTU
	.comm	_NIU_MAX_MTU,4,2                ## @NIU_MAX_MTU
L_.str.7:                               ## @.str.7
	.asciz	"Problem fetching invariants of chip, aborting\n"

L_.str.8:                               ## @.str.8
	.asciz	"Cannot register net device, aborting\n"

	.no_dead_strip	_niu_pci_init_one
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function niu_pci_init_one
_niu_pci_init_one:                      ; @niu_pci_init_one
	.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	x19, x0
	bl	_niu_driver_version
	mov	x0, x19
	bl	_pci_enable_device
	cbz	w0, LBB0_2
; %bb.1:
	mov	x22, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	b	LBB0_8
LBB0_2:
	mov	x0, x19
	mov	w1, #0
	bl	_pci_resource_flags
Lloh2:
	adrp	x20, _IORESOURCE_MEM@GOTPAGE
Lloh3:
	ldr	x20, [x20, _IORESOURCE_MEM@GOTPAGEOFF]
	ldr	w8, [x20]
	tst	w8, w0
	b.eq	LBB0_6
; %bb.3:
	mov	x0, x19
	mov	w1, #2
	bl	_pci_resource_flags
	ldr	w8, [x20]
	tst	w8, w0
	b.eq	LBB0_6
; %bb.4:
Lloh4:
	adrp	x8, _DRV_MODULE_NAME@GOTPAGE
Lloh5:
	ldr	x8, [x8, _DRV_MODULE_NAME@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_pci_request_regions
	cbz	w0, LBB0_9
; %bb.5:
	mov	x22, x0
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	b	LBB0_7
LBB0_6:
Lloh9:
	adrp	x1, l_.str.1@PAGE
Lloh10:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_dev_err
Lloh11:
	adrp	x8, _ENODEV@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	neg	w22, w8
LBB0_7:
	mov	x0, x19
	bl	_pci_disable_device
LBB0_8:
	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_9:
	mov	x0, x19
	bl	_pci_is_pcie
	cbz	w0, LBB0_15
; %bb.10:
	ldr	w0, [x19, #8]
	bl	_PCI_FUNC
	mov	x4, x0
Lloh14:
	adrp	x3, _niu_pci_ops@GOTPAGE
Lloh15:
	ldr	x3, [x3, _niu_pci_ops@GOTPAGEOFF]
	mov	x0, x19
	mov	x1, x19
	mov	x2, #0
	bl	_niu_alloc_and_init
	cbz	x0, LBB0_16
; %bb.11:
	mov	x20, x0
	bl	_netdev_priv
	mov	x21, x0
	mov	x0, sp
	mov	w1, #0
	mov	w2, #12
	bl	_memset
	ldr	x0, [x19, #16]
	bl	_pci_domain_nr
	str	w0, [sp, #8]
	ldr	x8, [x19, #16]
	ldr	w8, [x8]
	str	w8, [sp, #4]
	ldr	w0, [x19, #8]
	bl	_PCI_SLOT
	str	w0, [sp]
Lloh16:
	adrp	x8, _PLAT_TYPE_ATLAS@GOTPAGE
Lloh17:
	ldr	x8, [x8, _PLAT_TYPE_ATLAS@GOTPAGEOFF]
Lloh18:
	ldr	w2, [x8]
	mov	x1, sp
	mov	x0, x21
	bl	_niu_get_parent
	str	w0, [x21, #8]
	cbz	w0, LBB0_18
; %bb.12:
Lloh19:
	adrp	x8, _PCI_EXP_DEVCTL@GOTPAGE
Lloh20:
	ldr	x8, [x8, _PCI_EXP_DEVCTL@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
Lloh22:
	adrp	x8, _PCI_EXP_DEVCTL_NOSNOOP_EN@GOTPAGE
Lloh23:
	ldr	x8, [x8, _PCI_EXP_DEVCTL_NOSNOOP_EN@GOTPAGEOFF]
Lloh24:
	adrp	x9, _PCI_EXP_DEVCTL_CERE@GOTPAGE
Lloh25:
	ldr	x9, [x9, _PCI_EXP_DEVCTL_CERE@GOTPAGEOFF]
Lloh26:
	ldr	w2, [x8]
Lloh27:
	ldr	w8, [x9]
Lloh28:
	adrp	x9, _PCI_EXP_DEVCTL_NFERE@GOTPAGE
Lloh29:
	ldr	x9, [x9, _PCI_EXP_DEVCTL_NFERE@GOTPAGEOFF]
Lloh30:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh31:
	adrp	x9, _PCI_EXP_DEVCTL_FERE@GOTPAGE
Lloh32:
	ldr	x9, [x9, _PCI_EXP_DEVCTL_FERE@GOTPAGEOFF]
Lloh33:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh34:
	adrp	x9, _PCI_EXP_DEVCTL_URRE@GOTPAGE
Lloh35:
	ldr	x9, [x9, _PCI_EXP_DEVCTL_URRE@GOTPAGEOFF]
Lloh36:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh37:
	adrp	x9, _PCI_EXP_DEVCTL_RELAX_EN@GOTPAGE
Lloh38:
	ldr	x9, [x9, _PCI_EXP_DEVCTL_RELAX_EN@GOTPAGEOFF]
Lloh39:
	ldr	w9, [x9]
	orr	w3, w8, w9
	mov	x0, x19
	bl	_pcie_capability_clear_and_set_word
	mov	w0, #44
	bl	_DMA_BIT_MASK
	mov	x22, x0
	mov	x0, x19
	mov	x1, x22
	bl	_pci_set_dma_mask
	cbz	w0, LBB0_19
; %bb.13:
	mov	w0, #32
	bl	_DMA_BIT_MASK
	mov	x1, x0
	mov	x0, x19
	bl	_pci_set_dma_mask
	cbz	w0, LBB0_25
; %bb.14:
	mov	x22, x0
Lloh40:
	adrp	x1, l_.str.5@PAGE
Lloh41:
	add	x1, x1, l_.str.5@PAGEOFF
	b	LBB0_21
LBB0_15:
Lloh42:
	adrp	x1, l_.str.3@PAGE
Lloh43:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_dev_err
Lloh44:
	adrp	x8, _ENODEV@GOTPAGE
Lloh45:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
	b	LBB0_17
LBB0_16:
Lloh46:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh47:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_17:
	ldr	w8, [x8]
	neg	w22, w8
	b	LBB0_24
LBB0_18:
Lloh48:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh49:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh50:
	ldr	w8, [x8]
	neg	w22, w8
	b	LBB0_23
LBB0_19:
Lloh51:
	adrp	x8, _NETIF_F_HIGHDMA@GOTPAGE
Lloh52:
	ldr	x8, [x8, _NETIF_F_HIGHDMA@GOTPAGEOFF]
Lloh53:
	ldr	w8, [x8]
	ldr	w9, [x20, #16]
	orr	w8, w9, w8
	str	w8, [x20, #16]
	mov	x0, x19
	mov	x1, x22
	bl	_pci_set_consistent_dma_mask
	cbz	w0, LBB0_25
; %bb.20:
	mov	x22, x0
Lloh54:
	adrp	x1, l_.str.4@PAGE
Lloh55:
	add	x1, x1, l_.str.4@PAGEOFF
LBB0_21:
	mov	x0, x19
	bl	_dev_err
LBB0_22:
	mov	x0, x21
	bl	_niu_put_parent
LBB0_23:
	mov	x0, x20
	bl	_free_netdev
LBB0_24:
	mov	x0, x19
	bl	_pci_release_regions
	b	LBB0_7
LBB0_25:
	mov	x0, x20
	bl	_niu_set_basic_features
Lloh56:
	adrp	x8, _IFF_UNICAST_FLT@GOTPAGE
Lloh57:
	ldr	x8, [x8, _IFF_UNICAST_FLT@GOTPAGEOFF]
Lloh58:
	ldr	w8, [x8]
	ldr	w9, [x20, #12]
	orr	w8, w9, w8
	str	w8, [x20, #12]
	mov	x0, x19
	mov	w1, #0
	bl	_pci_ioremap_bar
	str	x0, [x21]
	cbz	x0, LBB0_29
; %bb.26:
	mov	x0, x19
	bl	_pci_set_master
	mov	x0, x19
	bl	_pci_save_state
	ldr	w8, [x19, #4]
	str	w8, [x20, #8]
Lloh59:
	adrp	x8, _ETH_MIN_MTU@GOTPAGE
Lloh60:
	ldr	x8, [x8, _ETH_MIN_MTU@GOTPAGEOFF]
Lloh61:
	ldr	w8, [x8]
Lloh62:
	adrp	x9, _NIU_MAX_MTU@GOTPAGE
Lloh63:
	ldr	x9, [x9, _NIU_MAX_MTU@GOTPAGEOFF]
Lloh64:
	ldr	w9, [x9]
	stp	w9, w8, [x20]
	mov	x0, x20
	bl	_niu_assign_netdev_ops
	mov	x0, x21
	bl	_niu_get_invariants
	cbz	w0, LBB0_30
; %bb.27:
	mov	x22, x0
Lloh65:
	adrp	x8, _ENODEV@GOTPAGE
Lloh66:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh67:
	ldr	w8, [x8]
	cmn	w0, w8
	b.eq	LBB0_33
; %bb.28:
Lloh68:
	adrp	x1, l_.str.7@PAGE
Lloh69:
	add	x1, x1, l_.str.7@PAGEOFF
	b	LBB0_32
LBB0_29:
Lloh70:
	adrp	x1, l_.str.6@PAGE
Lloh71:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x19
	bl	_dev_err
Lloh72:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh73:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh74:
	ldr	w8, [x8]
	neg	w22, w8
	b	LBB0_22
LBB0_30:
	mov	x0, x20
	bl	_register_netdev
	mov	x22, x0
	cbz	w0, LBB0_35
; %bb.31:
Lloh75:
	adrp	x1, l_.str.8@PAGE
Lloh76:
	add	x1, x1, l_.str.8@PAGEOFF
LBB0_32:
	mov	x0, x19
	bl	_dev_err
LBB0_33:
	ldr	x0, [x21]
	cbz	x0, LBB0_22
; %bb.34:
	bl	_iounmap
	str	xzr, [x21]
	b	LBB0_22
LBB0_35:
	mov	x0, x19
	mov	x1, x20
	bl	_pci_set_drvdata
	mov	x0, x21
	bl	_niu_device_announce
	b	LBB0_8
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh26
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpLdrGot	Lloh44, Lloh45
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpLdrGot	Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpAdd	Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.loh AdrpAdd	Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.loh AdrpAdd	Lloh70, Lloh71
	.loh AdrpAdd	Lloh75, Lloh76
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Cannot enable PCI device, aborting\n"

	.comm	_IORESOURCE_MEM,4,2             ; @IORESOURCE_MEM
l_.str.1:                               ; @.str.1
	.asciz	"Cannot find proper PCI device base addresses, aborting\n"

	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_DRV_MODULE_NAME,4,2            ; @DRV_MODULE_NAME
l_.str.2:                               ; @.str.2
	.asciz	"Cannot obtain PCI resources, aborting\n"

l_.str.3:                               ; @.str.3
	.asciz	"Cannot find PCI Express capability, aborting\n"

	.comm	_niu_pci_ops,4,2                ; @niu_pci_ops
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_PLAT_TYPE_ATLAS,4,2            ; @PLAT_TYPE_ATLAS
	.comm	_PCI_EXP_DEVCTL,4,2             ; @PCI_EXP_DEVCTL
	.comm	_PCI_EXP_DEVCTL_NOSNOOP_EN,4,2  ; @PCI_EXP_DEVCTL_NOSNOOP_EN
	.comm	_PCI_EXP_DEVCTL_CERE,4,2        ; @PCI_EXP_DEVCTL_CERE
	.comm	_PCI_EXP_DEVCTL_NFERE,4,2       ; @PCI_EXP_DEVCTL_NFERE
	.comm	_PCI_EXP_DEVCTL_FERE,4,2        ; @PCI_EXP_DEVCTL_FERE
	.comm	_PCI_EXP_DEVCTL_URRE,4,2        ; @PCI_EXP_DEVCTL_URRE
	.comm	_PCI_EXP_DEVCTL_RELAX_EN,4,2    ; @PCI_EXP_DEVCTL_RELAX_EN
	.comm	_NETIF_F_HIGHDMA,4,2            ; @NETIF_F_HIGHDMA
l_.str.4:                               ; @.str.4
	.asciz	"Unable to obtain 44 bit DMA for consistent allocations, aborting\n"

l_.str.5:                               ; @.str.5
	.asciz	"No usable DMA configuration, aborting\n"

	.comm	_IFF_UNICAST_FLT,4,2            ; @IFF_UNICAST_FLT
l_.str.6:                               ; @.str.6
	.asciz	"Cannot map device registers, aborting\n"

	.comm	_ETH_MIN_MTU,4,2                ; @ETH_MIN_MTU
	.comm	_NIU_MAX_MTU,4,2                ; @NIU_MAX_MTU
l_.str.7:                               ; @.str.7
	.asciz	"Problem fetching invariants of chip, aborting\n"

l_.str.8:                               ; @.str.8
	.asciz	"Cannot register net device, aborting\n"

	.no_dead_strip	_niu_pci_init_one
.subsections_via_symbols
