	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ibmphp_configure_card          ## -- Begin function ibmphp_configure_card
	.p2align	4, 0x90
_ibmphp_configure_card:                 ## @ibmphp_configure_card
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, -56(%rbp)                 ## 4-byte Spill
	movq	%rdi, %r15
	movl	(%rdi), %esi
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_debug
	movl	4(%r15), %r14d
	movq	%r15, -48(%rbp)
	movq	_ibmphp_pci_bus@GOTPCREL(%rip), %rbx
	movl	$0, -76(%rbp)                   ## 4-byte Folded Spill
	xorl	%r13d, %r13d
	movq	%r15, -72(%rbp)                 ## 8-byte Spill
	movl	%r14d, -64(%rbp)                ## 4-byte Spill
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_1:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%rax, -48(%rbp)
	movq	_ibmphp_pci_bus@GOTPCREL(%rip), %rbx
LBB0_2:                                 ##   in Loop: Header=BB0_3 Depth=1
	leal	1(%r13), %eax
	cmpl	$7, %r13d
	movl	%eax, %r13d
	jae	LBB0_42
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_18 Depth 2
                                        ##       Child Loop BB0_21 Depth 3
                                        ##     Child Loop BB0_24 Depth 2
	movl	%r14d, %edi
	movl	%r13d, %esi
	callq	_PCI_DEVFN
	movl	%eax, %r15d
	movq	-48(%rbp), %rax
	movl	(%rax), %esi
	movq	(%rbx), %rcx
	movl	%esi, (%rcx)
	movl	%r13d, 8(%rax)
	movl	4(%rax), %edx
	leaq	L_.str.1(%rip), %rdi
	movl	%r13d, %ecx
	xorl	%eax, %eax
	callq	_debug
	movq	(%rbx), %rdi
	movq	_PCI_VENDOR_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r15d, %esi
	leaq	-88(%rbp), %rcx
	callq	_pci_bus_read_config_word
	movl	-88(%rbp), %esi
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_debug
	movq	-88(%rbp), %rsi
	movq	_PCI_VENDOR_ID_NOTVALID@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rsi
	je	LBB0_2
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	leaq	L_.str.3(%rip), %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	xorl	%eax, %eax
	callq	_debug
	movq	(%rbx), %rdi
	movq	_PCI_HEADER_TYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r15d, %esi
	leaq	-80(%rbp), %rcx
	callq	_pci_bus_read_config_byte
	movq	(%rbx), %rdi
	movq	_PCI_CLASS_REVISION@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r15d, %esi
	leaq	-52(%rbp), %rcx
	callq	_pci_bus_read_config_dword
	movl	-52(%rbp), %edx
	movl	%edx, %r14d
	sarl	$24, %r14d
	movl	-80(%rbp), %esi
	leaq	L_.str.4(%rip), %rdi
	movl	%r14d, %ecx
	xorl	%eax, %eax
	callq	_debug
	movl	-52(%rbp), %esi
	movl	%esi, %ecx
	sarl	$8, %ecx
	movl	%ecx, -52(%rbp)
	movq	_PCI_CLASS_NOT_DEFINED_VGA@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ecx
	je	LBB0_37
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	_PCI_CLASS_DISPLAY_VGA@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ecx
	je	LBB0_38
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	-80(%rbp), %eax
	leal	-128(%rax), %edx
	cmpl	$3, %edx
	ja	LBB0_39
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	incl	-76(%rbp)                       ## 4-byte Folded Spill
	leaq	LJTI0_0(%rip), %rdi
	movslq	(%rdi,%rdx,4), %rax
	addq	%rdi, %rax
	jmpq	*%rax
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	-48(%rbp), %rdi
	movl	%r14d, %esi
	callq	_assign_alt_irq
	movq	-48(%rbp), %rdi
	callq	_configure_device
	testl	%eax, %eax
	js	LBB0_47
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$64, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_67
## %bb.10:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	-48(%rbp), %rcx
	movl	(%rcx), %edx
	movl	%edx, (%rax)
	movl	-64(%rbp), %r14d                ## 4-byte Reload
	movl	%r14d, 4(%rax)
	movq	%rax, 40(%rcx)
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_3 Depth=1
	sarl	$16, %esi
	movl	%esi, -52(%rbp)
	movq	-48(%rbp), %rdi
	movq	_PCI_CLASS_BRIDGE_PCI@GOTPCREL(%rip), %rax
	cmpl	(%rax), %esi
	jne	LBB0_48
## %bb.12:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	%r14d, %esi
	callq	_assign_alt_irq
	leaq	-48(%rbp), %rdi
	movl	-56(%rbp), %esi                 ## 4-byte Reload
	callq	_configure_bridge
	movl	%eax, %r12d
	movq	_ENODEV@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%r12d, %eax
	je	LBB0_46
## %bb.13:                              ##   in Loop: Header=BB0_3 Depth=1
	testl	%r12d, %r12d
	jne	LBB0_52
## %bb.14:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	_ibmphp_pci_bus@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	_PCI_SECONDARY_BUS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r15d, %esi
	leaq	-60(%rbp), %rcx
	callq	_pci_bus_read_config_byte
	xorl	%ebx, %ebx
	xorl	%r14d, %r14d
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	jmp	LBB0_18
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_18 Depth=2
	movq	%rcx, %rdx
LBB0_16:                                ##   in Loop: Header=BB0_18 Depth=2
	movq	%rax, 40(%rdx)
	movq	%rax, %rdi
	movl	-56(%rbp), %esi                 ## 4-byte Reload
	callq	_ibmphp_configure_card
	movl	$1, %r14d
	testl	%eax, %eax
	jne	LBB0_26
LBB0_17:                                ##   in Loop: Header=BB0_18 Depth=2
	incq	%rbx
	cmpq	$32, %rbx
	je	LBB0_22
LBB0_18:                                ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_21 Depth 3
	movq	56(%r15), %rax
	cmpl	$0, (%rax,%rbx,4)
	je	LBB0_17
## %bb.19:                              ##   in Loop: Header=BB0_18 Depth=2
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$64, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_67
## %bb.20:                              ##   in Loop: Header=BB0_18 Depth=2
	movl	-60(%rbp), %ecx
	movl	%ecx, (%rax)
	movl	%ebx, 4(%rax)
	movq	-48(%rbp), %rcx
	movq	48(%rcx), %rdx
	movq	48(%rax), %rsi
	movl	(%rdx), %edi
	movl	%edi, (%rsi)
	movl	4(%rdx), %edi
	movl	%edi, 4(%rsi)
	movl	8(%rdx), %edi
	movl	%edi, 8(%rsi)
	movl	12(%rdx), %edx
	movl	%edx, 12(%rsi)
	testl	%r14d, %r14d
	je	LBB0_15
	.p2align	4, 0x90
LBB0_21:                                ##   Parent Loop BB0_3 Depth=1
                                        ##     Parent Loop BB0_18 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movq	%rcx, %rdx
	movq	40(%rcx), %rcx
	testq	%rcx, %rcx
	jne	LBB0_21
	jmp	LBB0_16
LBB0_22:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$64, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_67
## %bb.23:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	-48(%rbp), %rcx
	movl	(%rcx), %edx
	movl	%edx, (%rax)
	movl	-64(%rbp), %r14d                ## 4-byte Reload
	movl	%r14d, 4(%rax)
	movq	48(%rcx), %rdx
	movq	48(%rax), %rsi
	movl	(%rdx), %edi
	movl	%edi, (%rsi)
	movl	4(%rdx), %edi
	movl	%edi, 4(%rsi)
	movl	8(%rdx), %edi
	movl	%edi, 8(%rsi)
	movl	12(%rdx), %edx
	movl	%edx, 12(%rsi)
	.p2align	4, 0x90
LBB0_24:                                ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%rcx, %rdx
	movq	40(%rcx), %rcx
	testq	%rcx, %rcx
	jne	LBB0_24
## %bb.25:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%rax, 40(%rdx)
	jmp	LBB0_1
LBB0_26:
	movl	%eax, %r12d
	movl	$1, 12(%r15)
LBB0_27:
	movl	$2, %r14d
LBB0_28:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_29:                                ## =>This Inner Loop Header: Depth=1
	movq	-48(%rbp), %rax
	movq	32(%rax), %rcx
	movq	(%rcx,%rbx,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_31
## %bb.30:                              ##   in Loop: Header=BB0_29 Depth=1
	callq	_ibmphp_remove_resource
	movq	-48(%rbp), %rax
	addq	$32, %rax
	jmp	LBB0_35
	.p2align	4, 0x90
LBB0_31:                                ##   in Loop: Header=BB0_29 Depth=1
	movq	24(%rax), %rcx
	movq	(%rcx,%rbx,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_33
## %bb.32:                              ##   in Loop: Header=BB0_29 Depth=1
	callq	_ibmphp_remove_resource
	movq	-48(%rbp), %rax
	addq	$24, %rax
	jmp	LBB0_35
LBB0_33:                                ##   in Loop: Header=BB0_29 Depth=1
	movq	16(%rax), %rax
	movq	(%rax,%rbx,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_36
## %bb.34:                              ##   in Loop: Header=BB0_29 Depth=1
	callq	_ibmphp_remove_resource
	movq	-48(%rbp), %rax
	addq	$16, %rax
	.p2align	4, 0x90
LBB0_35:                                ##   in Loop: Header=BB0_29 Depth=1
	movq	(%rax), %rax
	movq	$0, (%rax,%rbx,8)
LBB0_36:                                ##   in Loop: Header=BB0_29 Depth=1
	incq	%rbx
	cmpq	%rbx, %r14
	jne	LBB0_29
	jmp	LBB0_69
LBB0_37:
	movq	-48(%rbp), %rax
	movl	4(%rax), %esi
	leaq	L_.str.5(%rip), %rdi
	jmp	LBB0_49
LBB0_38:
	movq	-48(%rbp), %rax
	movl	4(%rax), %esi
	leaq	L_.str.6(%rip), %rdi
	jmp	LBB0_49
LBB0_39:
	leaq	L_.str.19(%rip), %rdi
	xorl	%r12d, %r12d
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_err
	movq	_ENXIO@GOTPCREL(%rip), %rax
	jmp	LBB0_68
LBB0_40:
	movl	-88(%rbp), %esi
	leaq	L_.str.7(%rip), %rdi
	movl	$128, %edx
	xorl	%eax, %eax
	callq	_debug
	movq	-48(%rbp), %rdi
	movl	%r14d, %esi
	callq	_assign_alt_irq
	movq	-48(%rbp), %rdi
	callq	_configure_device
	movl	%eax, %r12d
	movq	-48(%rbp), %rax
	testl	%r12d, %r12d
	js	LBB0_55
## %bb.41:
	movq	$0, 40(%rax)
LBB0_42:
	xorl	%r12d, %r12d
	cmpl	$0, -76(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_69
## %bb.43:
	leaq	L_.str.20(%rip), %rdi
	xorl	%r12d, %r12d
	xorl	%eax, %eax
	callq	_err
	jmp	LBB0_51
LBB0_44:
	sarl	$16, %esi
	movl	%esi, -52(%rbp)
	leaq	L_.str.14(%rip), %rdi
	xorl	%r12d, %r12d
	xorl	%eax, %eax
	callq	_debug
	movl	-52(%rbp), %eax
	movq	-48(%rbp), %rdi
	movq	_PCI_CLASS_BRIDGE_PCI@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_54
## %bb.45:
	movl	%r14d, %esi
	callq	_assign_alt_irq
	movq	-48(%rbp), %rax
	movl	(%rax), %esi
	leaq	L_.str.15(%rip), %rdi
	xorl	%eax, %eax
	callq	_debug
	leaq	-48(%rbp), %rdi
	movl	-56(%rbp), %esi                 ## 4-byte Reload
	callq	_configure_bridge
	movl	%eax, %r12d
	movq	_ENODEV@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%r12d, %eax
	jne	LBB0_57
LBB0_46:
	leaq	L_.str.11(%rip), %rdi
	xorl	%eax, %eax
	callq	_err
	movq	-48(%rbp), %rax
	movl	(%rax), %esi
	movl	4(%rax), %edx
	leaq	L_.str.12(%rip), %rdi
	xorl	%eax, %eax
	callq	_err
	jmp	LBB0_69
LBB0_47:
	movl	%eax, %r12d
	movq	-48(%rbp), %rax
	movl	(%rax), %edx
	movl	4(%rax), %esi
	leaq	L_.str.9(%rip), %rdi
	jmp	LBB0_56
LBB0_48:
	movl	4(%rdi), %esi
	leaq	L_.str.10(%rip), %rdi
LBB0_49:
	xorl	%r12d, %r12d
LBB0_50:
	xorl	%eax, %eax
	callq	_err
LBB0_51:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	jmp	LBB0_68
LBB0_52:
	leaq	L_.str.13(%rip), %rdi
	xorl	%eax, %eax
	callq	_err
LBB0_53:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	$1, 12(%rax)
	jmp	LBB0_27
LBB0_54:
	movl	4(%rdi), %esi
	leaq	L_.str.10(%rip), %rdi
	jmp	LBB0_50
LBB0_55:
	movl	(%rax), %edx
	movl	4(%rax), %esi
	leaq	L_.str.8(%rip), %rdi
LBB0_56:
	xorl	%eax, %eax
	callq	_err
	movl	$6, %r14d
	jmp	LBB0_28
LBB0_57:
	testl	%r12d, %r12d
	je	LBB0_59
## %bb.58:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	$1, 12(%rax)
	leaq	L_.str.13(%rip), %rdi
	xorl	%eax, %eax
	callq	_err
	jmp	LBB0_27
LBB0_59:
	movq	-48(%rbp), %rax
	movl	(%rax), %esi
	leaq	L_.str.16(%rip), %rdi
	movl	-64(%rbp), %edx                 ## 4-byte Reload
	movl	%r13d, %ecx
	xorl	%eax, %eax
	callq	_debug
	movq	_ibmphp_pci_bus@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	_PCI_SECONDARY_BUS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-60(%rbp), %rcx
	movl	%r15d, %esi
	callq	_pci_bus_read_config_byte
	movl	-60(%rbp), %esi
	leaq	L_.str.17(%rip), %rdi
	xorl	%eax, %eax
	callq	_debug
	leaq	L_.str.18(%rip), %r14
	xorl	%r15d, %r15d
	xorl	%ebx, %ebx
	jmp	LBB0_63
LBB0_60:                                ##   in Loop: Header=BB0_63 Depth=1
	movq	%rcx, %rdx
LBB0_61:                                ##   in Loop: Header=BB0_63 Depth=1
	movq	%rax, 40(%rdx)
	movq	%rax, %rdi
	movl	-56(%rbp), %esi                 ## 4-byte Reload
	callq	_ibmphp_configure_card
	movl	$1, %ebx
	testl	%eax, %eax
	jne	LBB0_70
LBB0_62:                                ##   in Loop: Header=BB0_63 Depth=1
	incq	%r15
	cmpq	$32, %r15
	je	LBB0_42
LBB0_63:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_66 Depth 2
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	56(%rax), %rax
	cmpl	$0, (%rax,%r15,4)
	je	LBB0_62
## %bb.64:                              ##   in Loop: Header=BB0_63 Depth=1
	movq	%r14, %rdi
	movl	%r15d, %esi
	xorl	%eax, %eax
	callq	_debug
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$64, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_67
## %bb.65:                              ##   in Loop: Header=BB0_63 Depth=1
	movl	-60(%rbp), %ecx
	movl	%ecx, (%rax)
	movl	%r15d, 4(%rax)
	movq	-48(%rbp), %rcx
	movq	48(%rcx), %rdx
	movq	48(%rax), %rsi
	movl	(%rdx), %edi
	movl	%edi, (%rsi)
	movl	4(%rdx), %edi
	movl	%edi, 4(%rsi)
	movl	8(%rdx), %edi
	movl	%edi, 8(%rsi)
	movl	12(%rdx), %edx
	movl	%edx, 12(%rsi)
	testl	%ebx, %ebx
	je	LBB0_60
	.p2align	4, 0x90
LBB0_66:                                ##   Parent Loop BB0_63 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%rcx, %rdx
	movq	40(%rcx), %rcx
	testq	%rcx, %rcx
	jne	LBB0_66
	jmp	LBB0_61
LBB0_67:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r12d, %r12d
LBB0_68:
	subl	(%rax), %r12d
LBB0_69:
	movl	%r12d, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_70:
	movl	%eax, %r12d
	jmp	LBB0_53
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_40, LBB0_40-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_44, LBB0_44-LJTI0_0
LJTI0_0:
	.long	L0_0_set_40
	.long	L0_0_set_8
	.long	L0_0_set_11
	.long	L0_0_set_44
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"inside configure_card, func->busno = %x\n"

	.comm	_ibmphp_pci_bus,8,3             ## @ibmphp_pci_bus
L_.str.1:                               ## @.str.1
	.asciz	"inside the loop, cur_func->busno = %x, cur_func->device = %x, cur_func->function = %x\n"

	.comm	_PCI_VENDOR_ID,4,2              ## @PCI_VENDOR_ID
L_.str.2:                               ## @.str.2
	.asciz	"vendor_id is %x\n"

	.comm	_PCI_VENDOR_ID_NOTVALID,8,3     ## @PCI_VENDOR_ID_NOTVALID
L_.str.3:                               ## @.str.3
	.asciz	"found valid device, vendor_id = %x\n"

	.comm	_PCI_HEADER_TYPE,4,2            ## @PCI_HEADER_TYPE
	.comm	_PCI_CLASS_REVISION,4,2         ## @PCI_CLASS_REVISION
L_.str.4:                               ## @.str.4
	.asciz	"hrd_type = %x, class = %x, class_code %x\n"

	.comm	_PCI_CLASS_NOT_DEFINED_VGA,4,2  ## @PCI_CLASS_NOT_DEFINED_VGA
L_.str.5:                               ## @.str.5
	.asciz	"The device %x is VGA compatible and as is not supported for hot plugging. Please choose another device.\n"

	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_PCI_CLASS_DISPLAY_VGA,4,2      ## @PCI_CLASS_DISPLAY_VGA
L_.str.6:                               ## @.str.6
	.asciz	"The device %x is not supported for hot plugging. Please choose another device.\n"

L_.str.7:                               ## @.str.7
	.asciz	"single device case.... vendor id = %x, hdr_type = %x, class = %x\n"

L_.str.8:                               ## @.str.8
	.asciz	"was not able to configure devfunc %x on bus %x.\n"

L_.str.9:                               ## @.str.9
	.asciz	"was not able to configure devfunc %x on bus %x...bailing out\n"

	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_PCI_CLASS_BRIDGE_PCI,4,2       ## @PCI_CLASS_BRIDGE_PCI
L_.str.10:                              ## @.str.10
	.asciz	"This %x is not PCI-to-PCI bridge, and as is not supported for hot-plugging.  Please insert another card.\n"

L_.str.11:                              ## @.str.11
	.asciz	"You chose to insert Single Bridge, or nested bridges, this is not supported...\n"

L_.str.12:                              ## @.str.12
	.asciz	"Bus %x, devfunc %x\n"

L_.str.13:                              ## @.str.13
	.asciz	"was not able to hot-add PPB properly.\n"

	.comm	_PCI_SECONDARY_BUS,4,2          ## @PCI_SECONDARY_BUS
L_.str.14:                              ## @.str.14
	.asciz	"class now is %x\n"

L_.str.15:                              ## @.str.15
	.asciz	"cur_func->busno b4 configure_bridge is %x\n"

L_.str.16:                              ## @.str.16
	.asciz	"cur_func->busno = %x, device = %x, function = %x\n"

L_.str.17:                              ## @.str.17
	.asciz	"after configuring bridge..., sec_number = %x\n"

L_.str.18:                              ## @.str.18
	.asciz	"inside for loop, device is %x\n"

L_.str.19:                              ## @.str.19
	.asciz	"MAJOR PROBLEM!!!!, header type not supported? %x\n"

	.comm	_ENXIO,4,2                      ## @ENXIO
L_.str.20:                              ## @.str.20
	.asciz	"Cannot find any valid devices on the card.  Or unable to read from card.\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ibmphp_configure_card          ; -- Begin function ibmphp_configure_card
	.p2align	2
_ibmphp_configure_card:                 ; @ibmphp_configure_card
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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	x20, x1
	mov	x19, x0
	ldr	w1, [x0]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_debug
	mov	w25, #0
	mov	w22, #0
	ldr	w21, [x19, #4]
	str	x19, [sp, #16]
Lloh2:
	adrp	x23, _ibmphp_pci_bus@GOTPAGE
Lloh3:
	ldr	x23, [x23, _ibmphp_pci_bus@GOTPAGEOFF]
Lloh4:
	adrp	x26, _GFP_KERNEL@GOTPAGE
Lloh5:
	ldr	x26, [x26, _GFP_KERNEL@GOTPAGEOFF]
Lloh6:
	adrp	x24, _ENODEV@GOTPAGE
Lloh7:
	ldr	x24, [x24, _ENODEV@GOTPAGEOFF]
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	add	w8, w22, #1
	cmp	w22, #7
	mov	x22, x8
	b.hs	LBB0_41
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_17 Depth 2
                                        ;       Child Loop BB0_20 Depth 3
                                        ;     Child Loop BB0_23 Depth 2
	mov	x0, x21
	mov	x1, x22
	bl	_PCI_DEVFN
	mov	x28, x0
	ldr	x8, [sp, #16]
	ldr	w1, [x8]
	ldr	x9, [x23]
	str	w1, [x9]
	str	w22, [x8, #8]
	ldr	w8, [x8, #4]
	stp	x8, x22, [sp]
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_debug
	ldr	x0, [x23]
Lloh10:
	adrp	x8, _PCI_VENDOR_ID@GOTPAGE
Lloh11:
	ldr	x8, [x8, _PCI_VENDOR_ID@GOTPAGEOFF]
Lloh12:
	ldr	w2, [x8]
	add	x3, sp, #40
	mov	x1, x28
	bl	_pci_bus_read_config_word
	ldr	w1, [sp, #40]
Lloh13:
	adrp	x0, l_.str.2@PAGE
Lloh14:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_debug
	ldr	x1, [sp, #40]
Lloh15:
	adrp	x8, _PCI_VENDOR_ID_NOTVALID@GOTPAGE
Lloh16:
	ldr	x8, [x8, _PCI_VENDOR_ID_NOTVALID@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
	cmp	x1, x8
	b.eq	LBB0_1
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
Lloh18:
	adrp	x0, l_.str.3@PAGE
Lloh19:
	add	x0, x0, l_.str.3@PAGEOFF
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_debug
	ldr	x0, [x23]
Lloh20:
	adrp	x8, _PCI_HEADER_TYPE@GOTPAGE
Lloh21:
	ldr	x8, [x8, _PCI_HEADER_TYPE@GOTPAGEOFF]
Lloh22:
	ldr	w2, [x8]
	add	x3, sp, #32
	mov	x1, x28
	bl	_pci_bus_read_config_byte
	ldr	x0, [x23]
Lloh23:
	adrp	x8, _PCI_CLASS_REVISION@GOTPAGE
Lloh24:
	ldr	x8, [x8, _PCI_CLASS_REVISION@GOTPAGEOFF]
Lloh25:
	ldr	w2, [x8]
	add	x3, sp, #36
	mov	x1, x28
	bl	_pci_bus_read_config_dword
	ldp	w1, w8, [sp, #32]
	asr	w27, w8, #24
	stp	x8, x27, [sp]
Lloh26:
	adrp	x0, l_.str.4@PAGE
Lloh27:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_debug
	ldr	w9, [sp, #36]
	asr	w8, w9, #8
	str	w8, [sp, #36]
Lloh28:
	adrp	x10, _PCI_CLASS_NOT_DEFINED_VGA@GOTPAGE
Lloh29:
	ldr	x10, [x10, _PCI_CLASS_NOT_DEFINED_VGA@GOTPAGEOFF]
Lloh30:
	ldr	w10, [x10]
	cmp	w8, w10
	b.eq	LBB0_36
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
Lloh31:
	adrp	x10, _PCI_CLASS_DISPLAY_VGA@GOTPAGE
Lloh32:
	ldr	x10, [x10, _PCI_CLASS_DISPLAY_VGA@GOTPAGEOFF]
Lloh33:
	ldr	w10, [x10]
	cmp	w8, w10
	b.eq	LBB0_37
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w11, [sp, #32]
	sub	w10, w11, #128
	cmp	w10, #3
	b.hi	LBB0_38
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
	add	w25, w25, #1
Lloh34:
	adrp	x13, lJTI0_0@PAGE
Lloh35:
	add	x13, x13, lJTI0_0@PAGEOFF
	adr	x11, LBB0_7
	ldrb	w12, [x13, x10]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_7:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	x0, [sp, #16]
	mov	x1, x27
	bl	_assign_alt_irq
	ldr	x0, [sp, #16]
	bl	_configure_device
	tbnz	w0, #31, LBB0_49
; %bb.8:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w1, [x26]
	mov	w0, #64
	bl	_kzalloc
	cbz	x0, LBB0_63
; %bb.9:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [sp, #16]
	ldr	w9, [x8]
	stp	w9, w21, [x0]
	str	x0, [x8, #40]
	str	x0, [sp, #16]
	b	LBB0_1
LBB0_10:                                ;   in Loop: Header=BB0_2 Depth=1
	asr	w8, w9, #16
	str	w8, [sp, #36]
Lloh36:
	adrp	x9, _PCI_CLASS_BRIDGE_PCI@GOTPAGE
Lloh37:
	ldr	x9, [x9, _PCI_CLASS_BRIDGE_PCI@GOTPAGEOFF]
Lloh38:
	ldr	w9, [x9]
	ldr	x0, [sp, #16]
	cmp	w8, w9
	b.ne	LBB0_47
; %bb.11:                               ;   in Loop: Header=BB0_2 Depth=1
	mov	x1, x27
	bl	_assign_alt_irq
	add	x0, sp, #16
	mov	x1, x20
	bl	_configure_bridge
	mov	x27, x0
	ldr	w8, [x24]
	cmn	w0, w8
	b.eq	LBB0_46
; %bb.12:                               ;   in Loop: Header=BB0_2 Depth=1
	cbnz	w27, LBB0_50
; %bb.13:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	x0, [x23]
Lloh39:
	adrp	x8, _PCI_SECONDARY_BUS@GOTPAGE
Lloh40:
	ldr	x8, [x8, _PCI_SECONDARY_BUS@GOTPAGEOFF]
Lloh41:
	ldr	w2, [x8]
	add	x3, sp, #28
	mov	x1, x28
	bl	_pci_bus_read_config_byte
	mov	x28, #0
	mov	w24, #0
	b	LBB0_17
LBB0_14:                                ;   in Loop: Header=BB0_17 Depth=2
	mov	x9, x8
LBB0_15:                                ;   in Loop: Header=BB0_17 Depth=2
	str	x0, [x9, #40]
	mov	x1, x20
	bl	_ibmphp_configure_card
	mov	w24, #1
	cbnz	w0, LBB0_25
LBB0_16:                                ;   in Loop: Header=BB0_17 Depth=2
	add	x28, x28, #1
	cmp	x28, #32
	b.eq	LBB0_21
LBB0_17:                                ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_20 Depth 3
	ldr	x8, [x19, #56]
	ldr	w8, [x8, x28, lsl #2]
	cbz	w8, LBB0_16
; %bb.18:                               ;   in Loop: Header=BB0_17 Depth=2
	ldr	w1, [x26]
	mov	w0, #64
	bl	_kzalloc
	cbz	x0, LBB0_63
; %bb.19:                               ;   in Loop: Header=BB0_17 Depth=2
	ldr	w8, [sp, #28]
	stp	w8, w28, [x0]
	ldr	x8, [sp, #16]
	ldr	x9, [x8, #48]
	ldr	x10, [x0, #48]
	ldr	w11, [x9]
	str	w11, [x10]
	ldr	w11, [x9, #4]
	str	w11, [x10, #4]
	ldr	w11, [x9, #8]
	str	w11, [x10, #8]
	ldr	w9, [x9, #12]
	str	w9, [x10, #12]
	cbz	w24, LBB0_14
LBB0_20:                                ;   Parent Loop BB0_2 Depth=1
                                        ;     Parent Loop BB0_17 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	mov	x9, x8
	ldr	x8, [x8, #40]
	cbnz	x8, LBB0_20
	b	LBB0_15
LBB0_21:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w1, [x26]
	mov	w0, #64
	bl	_kzalloc
	cbz	x0, LBB0_63
; %bb.22:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [sp, #16]
	ldr	w9, [x8]
	stp	w9, w21, [x0]
	ldr	x9, [x8, #48]
	ldr	x10, [x0, #48]
	ldr	w11, [x9]
	str	w11, [x10]
	ldr	w11, [x9, #4]
	str	w11, [x10, #4]
	ldr	w11, [x9, #8]
	str	w11, [x10, #8]
	ldr	w9, [x9, #12]
	str	w9, [x10, #12]
LBB0_23:                                ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x9, x8
	ldr	x8, [x8, #40]
	cbnz	x8, LBB0_23
; %bb.24:                               ;   in Loop: Header=BB0_2 Depth=1
	str	x0, [x9, #40]
	str	x0, [sp, #16]
Lloh42:
	adrp	x24, _ENODEV@GOTPAGE
Lloh43:
	ldr	x24, [x24, _ENODEV@GOTPAGEOFF]
	b	LBB0_1
LBB0_25:
	mov	x27, x0
	str	w24, [x19, #12]
LBB0_26:
	mov	w8, #2
LBB0_27:
	mov	x19, #0
	lsl	x20, x8, #3
LBB0_28:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [sp, #16]
	ldr	x9, [x8, #32]
	ldr	x0, [x9, x19]
	cbz	x0, LBB0_30
; %bb.29:                               ;   in Loop: Header=BB0_28 Depth=1
	bl	_ibmphp_remove_resource
	ldr	x8, [sp, #16]
	add	x8, x8, #32
	b	LBB0_34
LBB0_30:                                ;   in Loop: Header=BB0_28 Depth=1
	ldr	x9, [x8, #24]
	ldr	x0, [x9, x19]
	cbz	x0, LBB0_32
; %bb.31:                               ;   in Loop: Header=BB0_28 Depth=1
	bl	_ibmphp_remove_resource
	ldr	x8, [sp, #16]
	add	x8, x8, #24
	b	LBB0_34
LBB0_32:                                ;   in Loop: Header=BB0_28 Depth=1
	ldr	x8, [x8, #16]
	ldr	x0, [x8, x19]
	cbz	x0, LBB0_35
; %bb.33:                               ;   in Loop: Header=BB0_28 Depth=1
	bl	_ibmphp_remove_resource
	ldr	x8, [sp, #16]
	add	x8, x8, #16
LBB0_34:                                ;   in Loop: Header=BB0_28 Depth=1
	ldr	x8, [x8]
	str	xzr, [x8, x19]
LBB0_35:                                ;   in Loop: Header=BB0_28 Depth=1
	add	x19, x19, #8
	cmp	x20, x19
	b.ne	LBB0_28
	b	LBB0_66
LBB0_36:
	ldr	x8, [sp, #16]
	ldr	w8, [x8, #4]
	str	x8, [sp]
Lloh44:
	adrp	x0, l_.str.5@PAGE
Lloh45:
	add	x0, x0, l_.str.5@PAGEOFF
	b	LBB0_48
LBB0_37:
	ldr	x8, [sp, #16]
	ldr	w8, [x8, #4]
	str	x8, [sp]
Lloh46:
	adrp	x0, l_.str.6@PAGE
Lloh47:
	add	x0, x0, l_.str.6@PAGEOFF
	b	LBB0_48
LBB0_38:
	str	x11, [sp]
Lloh48:
	adrp	x0, l_.str.19@PAGE
Lloh49:
	add	x0, x0, l_.str.19@PAGEOFF
	bl	_err
Lloh50:
	adrp	x8, _ENXIO@GOTPAGE
Lloh51:
	ldr	x8, [x8, _ENXIO@GOTPAGEOFF]
	b	LBB0_64
LBB0_39:
	ldr	w1, [sp, #40]
	mov	w9, #128
	stp	x9, x8, [sp]
Lloh52:
	adrp	x0, l_.str.7@PAGE
Lloh53:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_debug
	ldr	x0, [sp, #16]
	mov	x1, x27
	bl	_assign_alt_irq
	ldr	x0, [sp, #16]
	bl	_configure_device
	ldr	x8, [sp, #16]
	tbnz	w0, #31, LBB0_51
; %bb.40:
	str	xzr, [x8, #40]
LBB0_41:
	cbz	w25, LBB0_43
; %bb.42:
	mov	w27, #0
	b	LBB0_66
LBB0_43:
Lloh54:
	adrp	x0, l_.str.20@PAGE
Lloh55:
	add	x0, x0, l_.str.20@PAGEOFF
	b	LBB0_48
LBB0_44:
	asr	w1, w9, #16
	str	w1, [sp, #36]
Lloh56:
	adrp	x0, l_.str.14@PAGE
Lloh57:
	add	x0, x0, l_.str.14@PAGEOFF
	bl	_debug
	ldr	w8, [sp, #36]
Lloh58:
	adrp	x9, _PCI_CLASS_BRIDGE_PCI@GOTPAGE
Lloh59:
	ldr	x9, [x9, _PCI_CLASS_BRIDGE_PCI@GOTPAGEOFF]
Lloh60:
	ldr	w9, [x9]
	ldr	x0, [sp, #16]
	cmp	w8, w9
	b.ne	LBB0_47
; %bb.45:
	mov	x1, x27
	bl	_assign_alt_irq
	ldr	x8, [sp, #16]
	ldr	w1, [x8]
Lloh61:
	adrp	x0, l_.str.15@PAGE
Lloh62:
	add	x0, x0, l_.str.15@PAGEOFF
	bl	_debug
	add	x0, sp, #16
	mov	x1, x20
	bl	_configure_bridge
	mov	x27, x0
	ldr	w8, [x24]
	cmn	w0, w8
	b.ne	LBB0_53
LBB0_46:
Lloh63:
	adrp	x0, l_.str.11@PAGE
Lloh64:
	add	x0, x0, l_.str.11@PAGEOFF
	bl	_err
	ldr	x8, [sp, #16]
	ldp	w9, w8, [x8]
	stp	x9, x8, [sp]
Lloh65:
	adrp	x0, l_.str.12@PAGE
Lloh66:
	add	x0, x0, l_.str.12@PAGEOFF
	bl	_err
	b	LBB0_66
LBB0_47:
	ldr	w8, [x0, #4]
	str	x8, [sp]
Lloh67:
	adrp	x0, l_.str.10@PAGE
Lloh68:
	add	x0, x0, l_.str.10@PAGEOFF
LBB0_48:
	bl	_err
	ldr	w8, [x24]
	b	LBB0_65
LBB0_49:
	mov	x27, x0
	ldr	x8, [sp, #16]
	ldp	w8, w9, [x8]
	stp	x9, x8, [sp]
Lloh69:
	adrp	x0, l_.str.9@PAGE
Lloh70:
	add	x0, x0, l_.str.9@PAGEOFF
	b	LBB0_52
LBB0_50:
Lloh71:
	adrp	x0, l_.str.13@PAGE
Lloh72:
	add	x0, x0, l_.str.13@PAGEOFF
	bl	_err
	mov	w8, #1
	str	w8, [x19, #12]
	b	LBB0_26
LBB0_51:
	mov	x27, x0
	ldp	w8, w9, [x8]
	stp	x9, x8, [sp]
Lloh73:
	adrp	x0, l_.str.8@PAGE
Lloh74:
	add	x0, x0, l_.str.8@PAGEOFF
LBB0_52:
	bl	_err
	mov	w8, #6
	b	LBB0_27
LBB0_53:
	cbz	w27, LBB0_55
; %bb.54:
	mov	w8, #1
	str	w8, [x19, #12]
Lloh75:
	adrp	x0, l_.str.13@PAGE
Lloh76:
	add	x0, x0, l_.str.13@PAGEOFF
	bl	_err
	b	LBB0_26
LBB0_55:
	ldr	x8, [sp, #16]
	ldr	w1, [x8]
                                        ; kill: def $w22 killed $w22 killed $x22 def $x22
	stp	x21, x22, [sp]
Lloh77:
	adrp	x0, l_.str.16@PAGE
Lloh78:
	add	x0, x0, l_.str.16@PAGEOFF
	bl	_debug
	ldr	x0, [x23]
Lloh79:
	adrp	x8, _PCI_SECONDARY_BUS@GOTPAGE
Lloh80:
	ldr	x8, [x8, _PCI_SECONDARY_BUS@GOTPAGEOFF]
Lloh81:
	ldr	w2, [x8]
	add	x3, sp, #28
	mov	x1, x28
	bl	_pci_bus_read_config_byte
	ldr	w1, [sp, #28]
Lloh82:
	adrp	x0, l_.str.17@PAGE
Lloh83:
	add	x0, x0, l_.str.17@PAGEOFF
	bl	_debug
	mov	x21, #0
	mov	w23, #0
Lloh84:
	adrp	x22, l_.str.18@PAGE
Lloh85:
	add	x22, x22, l_.str.18@PAGEOFF
	b	LBB0_59
LBB0_56:                                ;   in Loop: Header=BB0_59 Depth=1
	mov	x9, x8
LBB0_57:                                ;   in Loop: Header=BB0_59 Depth=1
	str	x0, [x9, #40]
	mov	x1, x20
	bl	_ibmphp_configure_card
	mov	w23, #1
	cbnz	w0, LBB0_67
LBB0_58:                                ;   in Loop: Header=BB0_59 Depth=1
	add	x21, x21, #1
	cmp	x21, #32
	b.eq	LBB0_41
LBB0_59:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_62 Depth 2
	ldr	x8, [x19, #56]
	ldr	w8, [x8, x21, lsl #2]
	cbz	w8, LBB0_58
; %bb.60:                               ;   in Loop: Header=BB0_59 Depth=1
	mov	x0, x22
	mov	x1, x21
	bl	_debug
	ldr	w1, [x26]
	mov	w0, #64
	bl	_kzalloc
	cbz	x0, LBB0_63
; %bb.61:                               ;   in Loop: Header=BB0_59 Depth=1
	ldr	w8, [sp, #28]
	stp	w8, w21, [x0]
	ldr	x8, [sp, #16]
	ldr	x9, [x8, #48]
	ldr	x10, [x0, #48]
	ldr	w11, [x9]
	str	w11, [x10]
	ldr	w11, [x9, #4]
	str	w11, [x10, #4]
	ldr	w11, [x9, #8]
	str	w11, [x10, #8]
	ldr	w9, [x9, #12]
	str	w9, [x10, #12]
	cbz	w23, LBB0_56
LBB0_62:                                ;   Parent Loop BB0_59 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x9, x8
	ldr	x8, [x8, #40]
	cbnz	x8, LBB0_62
	b	LBB0_57
LBB0_63:
Lloh86:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh87:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_64:
	ldr	w8, [x8]
LBB0_65:
	neg	w27, w8
LBB0_66:
	mov	x0, x27
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_67:
	mov	x27, x0
	str	w23, [x19, #12]
	b	LBB0_26
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGot	Lloh42, Lloh43
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpLdrGot	Lloh50, Lloh51
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpAdd	Lloh52, Lloh53
	.loh AdrpAdd	Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpAdd	Lloh56, Lloh57
	.loh AdrpAdd	Lloh61, Lloh62
	.loh AdrpAdd	Lloh65, Lloh66
	.loh AdrpAdd	Lloh63, Lloh64
	.loh AdrpAdd	Lloh67, Lloh68
	.loh AdrpAdd	Lloh69, Lloh70
	.loh AdrpAdd	Lloh71, Lloh72
	.loh AdrpAdd	Lloh73, Lloh74
	.loh AdrpAdd	Lloh75, Lloh76
	.loh AdrpAdd	Lloh84, Lloh85
	.loh AdrpAdd	Lloh82, Lloh83
	.loh AdrpLdrGotLdr	Lloh79, Lloh80, Lloh81
	.loh AdrpAdd	Lloh77, Lloh78
	.loh AdrpLdrGot	Lloh86, Lloh87
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_39-LBB0_7)>>2
	.byte	(LBB0_7-LBB0_7)>>2
	.byte	(LBB0_10-LBB0_7)>>2
	.byte	(LBB0_44-LBB0_7)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"inside configure_card, func->busno = %x\n"

	.comm	_ibmphp_pci_bus,8,3             ; @ibmphp_pci_bus
l_.str.1:                               ; @.str.1
	.asciz	"inside the loop, cur_func->busno = %x, cur_func->device = %x, cur_func->function = %x\n"

	.comm	_PCI_VENDOR_ID,4,2              ; @PCI_VENDOR_ID
l_.str.2:                               ; @.str.2
	.asciz	"vendor_id is %x\n"

	.comm	_PCI_VENDOR_ID_NOTVALID,8,3     ; @PCI_VENDOR_ID_NOTVALID
l_.str.3:                               ; @.str.3
	.asciz	"found valid device, vendor_id = %x\n"

	.comm	_PCI_HEADER_TYPE,4,2            ; @PCI_HEADER_TYPE
	.comm	_PCI_CLASS_REVISION,4,2         ; @PCI_CLASS_REVISION
l_.str.4:                               ; @.str.4
	.asciz	"hrd_type = %x, class = %x, class_code %x\n"

	.comm	_PCI_CLASS_NOT_DEFINED_VGA,4,2  ; @PCI_CLASS_NOT_DEFINED_VGA
l_.str.5:                               ; @.str.5
	.asciz	"The device %x is VGA compatible and as is not supported for hot plugging. Please choose another device.\n"

	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_PCI_CLASS_DISPLAY_VGA,4,2      ; @PCI_CLASS_DISPLAY_VGA
l_.str.6:                               ; @.str.6
	.asciz	"The device %x is not supported for hot plugging. Please choose another device.\n"

l_.str.7:                               ; @.str.7
	.asciz	"single device case.... vendor id = %x, hdr_type = %x, class = %x\n"

l_.str.8:                               ; @.str.8
	.asciz	"was not able to configure devfunc %x on bus %x.\n"

l_.str.9:                               ; @.str.9
	.asciz	"was not able to configure devfunc %x on bus %x...bailing out\n"

	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_PCI_CLASS_BRIDGE_PCI,4,2       ; @PCI_CLASS_BRIDGE_PCI
l_.str.10:                              ; @.str.10
	.asciz	"This %x is not PCI-to-PCI bridge, and as is not supported for hot-plugging.  Please insert another card.\n"

l_.str.11:                              ; @.str.11
	.asciz	"You chose to insert Single Bridge, or nested bridges, this is not supported...\n"

l_.str.12:                              ; @.str.12
	.asciz	"Bus %x, devfunc %x\n"

l_.str.13:                              ; @.str.13
	.asciz	"was not able to hot-add PPB properly.\n"

	.comm	_PCI_SECONDARY_BUS,4,2          ; @PCI_SECONDARY_BUS
l_.str.14:                              ; @.str.14
	.asciz	"class now is %x\n"

l_.str.15:                              ; @.str.15
	.asciz	"cur_func->busno b4 configure_bridge is %x\n"

l_.str.16:                              ; @.str.16
	.asciz	"cur_func->busno = %x, device = %x, function = %x\n"

l_.str.17:                              ; @.str.17
	.asciz	"after configuring bridge..., sec_number = %x\n"

l_.str.18:                              ; @.str.18
	.asciz	"inside for loop, device is %x\n"

l_.str.19:                              ; @.str.19
	.asciz	"MAJOR PROBLEM!!!!, header type not supported? %x\n"

	.comm	_ENXIO,4,2                      ; @ENXIO
l_.str.20:                              ; @.str.20
	.asciz	"Cannot find any valid devices on the card.  Or unable to read from card.\n"

.subsections_via_symbols
