	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function histb_pcie_probe
_histb_pcie_probe:                      ## @histb_pcie_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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r13
	movq	(%rdi), %r12
	movq	_GPIOF_DIR_OUT@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	_GFP_KERNEL@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	movl	$96, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r14
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movl	(%r15), %edx
	movq	%r13, %rdi
	movl	$40, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	movq	%rax, %r15
	movq	%rax, 88(%r14)
	movq	%r13, 16(%rax)
	movq	_dw_pcie_ops@GOTPCREL(%rip), %rax
	movq	%rax, 8(%r15)
	movq	_IORESOURCE_MEM@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	leaq	L_.str(%rip), %rdx
	movq	%r13, %rdi
	callq	_platform_get_resource_byname
	movq	%r13, %rdi
	movq	%rax, %rsi
	callq	_devm_ioremap_resource
	movq	%rax, 80(%r14)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	leaq	L_.str.1(%rip), %rsi
	movq	%r13, %rdi
	callq	_dev_err
	movq	80(%r14), %rdi
	jmp	LBB0_10
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_42:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movl	(%rbx), %esi
	leaq	L_.str.2(%rip), %rdx
	movq	%r13, %rdi
	callq	_platform_get_resource_byname
	movq	%r13, %rdi
	movq	%rax, %rsi
	callq	_devm_ioremap_resource
	movq	%rax, (%r15)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	leaq	L_.str.3(%rip), %rsi
	movq	%r13, %rdi
	callq	_dev_err
	movq	(%r15), %rdi
LBB0_10:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_7:
	leaq	L_.str.4(%rip), %rsi
	movq	%r13, %rdi
	callq	_devm_regulator_get_optional
	movq	%rax, 72(%r14)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_12
## %bb.8:
	movq	72(%r14), %rdi
	callq	_PTR_ERR
	movq	_ENODEV@GOTPCREL(%rip), %rcx
	addl	(%rcx), %eax
	jne	LBB0_9
## %bb.11:
	movq	$0, 72(%r14)
LBB0_12:
	leaq	L_.str.5(%rip), %rsi
	leaq	-48(%rbp), %rcx
	movq	%r12, %rdi
	xorl	%edx, %edx
	callq	_of_get_named_gpio_flags
	movl	%eax, 64(%r14)
	movl	-48(%rbp), %ecx
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movq	_OF_GPIO_ACTIVE_LOW@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	movq	_GPIOF_ACTIVE_LOW@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r12
	movl	%eax, %edi
	callq	_gpio_is_valid
	testq	%rax, %rax
	je	LBB0_15
## %bb.13:
	xorl	%eax, %eax
	testl	%ebx, -44(%rbp)                 ## 4-byte Folded Reload
	cmoveq	%rax, %r12
	orq	-56(%rbp), %r12                 ## 8-byte Folded Reload
	movl	64(%r14), %esi
	leaq	L_.str.6(%rip), %rcx
	movq	%r13, %rdi
	movq	%r12, %rdx
	callq	_devm_gpio_request_one
	testl	%eax, %eax
	je	LBB0_15
## %bb.14:
	movl	%eax, %ebx
	leaq	L_.str.7(%rip), %rsi
LBB0_41:
	movq	%r13, %rdi
	callq	_dev_err
	jmp	LBB0_42
LBB0_15:
	leaq	L_.str.8(%rip), %rsi
	movq	%r13, %rdi
	callq	_devm_clk_get
	movq	%rax, 56(%r14)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_18
## %bb.16:
	leaq	L_.str.9(%rip), %rsi
	movq	%r13, %rdi
	callq	_dev_err
	movq	56(%r14), %rdi
	jmp	LBB0_17
LBB0_9:
	movq	72(%r14), %rdi
	jmp	LBB0_10
LBB0_18:
	leaq	L_.str.10(%rip), %rsi
	movq	%r13, %rdi
	callq	_devm_clk_get
	movq	%rax, 48(%r14)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_20
## %bb.19:
	leaq	L_.str.11(%rip), %rsi
	movq	%r13, %rdi
	callq	_dev_err
	movq	48(%r14), %rdi
	jmp	LBB0_17
LBB0_20:
	leaq	L_.str.12(%rip), %rsi
	movq	%r13, %rdi
	callq	_devm_clk_get
	movq	%rax, 40(%r14)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_22
## %bb.21:
	leaq	L_.str.13(%rip), %rsi
	movq	%r13, %rdi
	callq	_dev_err
	movq	40(%r14), %rdi
	jmp	LBB0_17
LBB0_22:
	leaq	L_.str.14(%rip), %rsi
	movq	%r13, %rdi
	callq	_devm_clk_get
	movq	%rax, 32(%r14)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_24
## %bb.23:
	leaq	L_.str.15(%rip), %rsi
	movq	%r13, %rdi
	callq	_dev_err
	movq	32(%r14), %rdi
	jmp	LBB0_17
LBB0_24:
	leaq	L_.str.16(%rip), %rsi
	movq	%r13, %rdi
	callq	_devm_reset_control_get
	movq	%rax, 24(%r14)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_26
## %bb.25:
	leaq	L_.str.17(%rip), %rsi
	movq	%r13, %rdi
	callq	_dev_err
	movq	24(%r14), %rdi
	jmp	LBB0_17
LBB0_26:
	leaq	L_.str.12(%rip), %rsi
	movq	%r13, %rdi
	callq	_devm_reset_control_get
	movq	%rax, 16(%r14)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_28
## %bb.27:
	leaq	L_.str.18(%rip), %rsi
	movq	%r13, %rdi
	callq	_dev_err
	movq	16(%r14), %rdi
	jmp	LBB0_17
LBB0_28:
	leaq	L_.str.14(%rip), %rsi
	movq	%r13, %rdi
	callq	_devm_reset_control_get
	movq	%rax, 8(%r14)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_30
## %bb.29:
	leaq	L_.str.19(%rip), %rsi
	movq	%r13, %rdi
	callq	_dev_err
	movq	8(%r14), %rdi
LBB0_17:
	callq	_PTR_ERR
	movl	%eax, %ebx
	jmp	LBB0_42
LBB0_30:
	movq	%r15, %r12
	addq	$24, %r12
	movq	_CONFIG_PCI_MSI@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_IS_ENABLED
	testq	%rax, %rax
	je	LBB0_33
## %bb.31:
	leaq	L_.str.20(%rip), %rsi
	movq	%r13, %rdi
	callq	_platform_get_irq_byname
	movq	%rax, (%r12)
	testq	%rax, %rax
	js	LBB0_32
LBB0_33:
	leaq	L_.str.22(%rip), %rsi
	movq	%r13, %rdi
	callq	_devm_phy_get
	movq	%rax, (%r14)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_35
## %bb.34:
	leaq	L_.str.23(%rip), %rsi
	movq	%r13, %rdi
	callq	_dev_info
	movq	$0, (%r14)
	jmp	LBB0_36
LBB0_35:
	movq	(%r14), %rdi
	callq	_phy_init
LBB0_36:
	movq	_histb_pcie_host_ops@GOTPCREL(%rip), %rax
	movq	%rax, 32(%r15)
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_platform_set_drvdata
	movq	%r12, %rdi
	callq	_histb_pcie_host_enable
	testl	%eax, %eax
	je	LBB0_38
## %bb.37:
	movl	%eax, %ebx
	leaq	L_.str.24(%rip), %rsi
	jmp	LBB0_41
LBB0_38:
	movq	%r12, %rdi
	callq	_dw_pcie_host_init
	testl	%eax, %eax
	je	LBB0_39
## %bb.40:
	movl	%eax, %ebx
	leaq	L_.str.25(%rip), %rsi
	jmp	LBB0_41
LBB0_32:
	leaq	L_.str.21(%rip), %rsi
	movq	%r13, %rdi
	callq	_dev_err
	movl	(%r12), %ebx
	jmp	LBB0_42
LBB0_39:
	xorl	%ebx, %ebx
	jmp	LBB0_42
	.cfi_endproc
                                        ## -- End function
	.comm	_GPIOF_DIR_OUT,8,3              ## @GPIOF_DIR_OUT
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_dw_pcie_ops,4,2                ## @dw_pcie_ops
	.comm	_IORESOURCE_MEM,4,2             ## @IORESOURCE_MEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"control"

L_.str.1:                               ## @.str.1
	.asciz	"cannot get control reg base\n"

L_.str.2:                               ## @.str.2
	.asciz	"rc-dbi"

L_.str.3:                               ## @.str.3
	.asciz	"cannot get rc-dbi base\n"

L_.str.4:                               ## @.str.4
	.asciz	"vpcie"

	.comm	_ENODEV,4,2                     ## @ENODEV
L_.str.5:                               ## @.str.5
	.asciz	"reset-gpios"

	.comm	_OF_GPIO_ACTIVE_LOW,4,2         ## @OF_GPIO_ACTIVE_LOW
	.comm	_GPIOF_ACTIVE_LOW,8,3           ## @GPIOF_ACTIVE_LOW
L_.str.6:                               ## @.str.6
	.asciz	"PCIe device power control"

L_.str.7:                               ## @.str.7
	.asciz	"unable to request gpio\n"

L_.str.8:                               ## @.str.8
	.asciz	"aux"

L_.str.9:                               ## @.str.9
	.asciz	"Failed to get PCIe aux clk\n"

L_.str.10:                              ## @.str.10
	.asciz	"pipe"

L_.str.11:                              ## @.str.11
	.asciz	"Failed to get PCIe pipe clk\n"

L_.str.12:                              ## @.str.12
	.asciz	"sys"

L_.str.13:                              ## @.str.13
	.asciz	"Failed to get PCIEe sys clk\n"

L_.str.14:                              ## @.str.14
	.asciz	"bus"

L_.str.15:                              ## @.str.15
	.asciz	"Failed to get PCIe bus clk\n"

L_.str.16:                              ## @.str.16
	.asciz	"soft"

L_.str.17:                              ## @.str.17
	.asciz	"couldn't get soft reset\n"

L_.str.18:                              ## @.str.18
	.asciz	"couldn't get sys reset\n"

L_.str.19:                              ## @.str.19
	.asciz	"couldn't get bus reset\n"

	.comm	_CONFIG_PCI_MSI,4,2             ## @CONFIG_PCI_MSI
L_.str.20:                              ## @.str.20
	.asciz	"msi"

L_.str.21:                              ## @.str.21
	.asciz	"Failed to get MSI IRQ\n"

L_.str.22:                              ## @.str.22
	.asciz	"phy"

L_.str.23:                              ## @.str.23
	.asciz	"no pcie-phy found\n"

	.comm	_histb_pcie_host_ops,4,2        ## @histb_pcie_host_ops
L_.str.24:                              ## @.str.24
	.asciz	"failed to enable host\n"

L_.str.25:                              ## @.str.25
	.asciz	"failed to initialize host\n"

	.no_dead_strip	_histb_pcie_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function histb_pcie_probe
_histb_pcie_probe:                      ; @histb_pcie_probe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x19, x0
	ldr	x22, [x0]
Lloh0:
	adrp	x8, _GPIOF_DIR_OUT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GPIOF_DIR_OUT@GOTPAGEOFF]
Lloh2:
	ldr	x23, [x8]
Lloh3:
	adrp	x21, _GFP_KERNEL@GOTPAGE
Lloh4:
	ldr	x21, [x21, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w2, [x21]
	mov	w1, #96
	bl	_devm_kzalloc
	cbz	x0, LBB0_4
; %bb.1:
	mov	x20, x0
	ldr	w2, [x21]
	mov	x0, x19
	mov	w1, #40
	bl	_devm_kzalloc
	cbz	x0, LBB0_4
; %bb.2:
	mov	x21, x0
Lloh5:
	adrp	x8, _dw_pcie_ops@GOTPAGE
Lloh6:
	ldr	x8, [x8, _dw_pcie_ops@GOTPAGEOFF]
	str	x0, [x20, #88]
	stp	x8, x19, [x0, #8]
Lloh7:
	adrp	x24, _IORESOURCE_MEM@GOTPAGE
Lloh8:
	ldr	x24, [x24, _IORESOURCE_MEM@GOTPAGEOFF]
	ldr	w1, [x24]
Lloh9:
	adrp	x2, l_.str@PAGE
Lloh10:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	bl	_platform_get_resource_byname
	mov	x1, x0
	mov	x0, x19
	bl	_devm_ioremap_resource
	str	x0, [x20, #80]
	bl	_IS_ERR
	cbz	x0, LBB0_6
; %bb.3:
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	ldr	x0, [x20, #80]
	b	LBB0_8
LBB0_4:
Lloh13:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	neg	w22, w8
LBB0_5:
	mov	x0, x22
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_6:
	ldr	w1, [x24]
Lloh16:
	adrp	x2, l_.str.2@PAGE
Lloh17:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_platform_get_resource_byname
	mov	x1, x0
	mov	x0, x19
	bl	_devm_ioremap_resource
	str	x0, [x21]
	bl	_IS_ERR
	cbz	x0, LBB0_9
; %bb.7:
Lloh18:
	adrp	x1, l_.str.3@PAGE
Lloh19:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	ldr	x0, [x21]
LBB0_8:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	b	_PTR_ERR
LBB0_9:
Lloh20:
	adrp	x1, l_.str.4@PAGE
Lloh21:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_devm_regulator_get_optional
	str	x0, [x20, #72]
	bl	_IS_ERR
	cbz	x0, LBB0_12
; %bb.10:
	ldr	x0, [x20, #72]
	bl	_PTR_ERR
Lloh22:
	adrp	x8, _ENODEV@GOTPAGE
Lloh23:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	cmn	w0, w8
	b.ne	LBB0_18
; %bb.11:
	str	xzr, [x20, #72]
LBB0_12:
Lloh25:
	adrp	x1, l_.str.5@PAGE
Lloh26:
	add	x1, x1, l_.str.5@PAGEOFF
	add	x3, sp, #12
	mov	x0, x22
	mov	w2, #0
	bl	_of_get_named_gpio_flags
	str	w0, [x20, #64]
	ldr	w22, [sp, #12]
Lloh27:
	adrp	x8, _OF_GPIO_ACTIVE_LOW@GOTPAGE
Lloh28:
	ldr	x8, [x8, _OF_GPIO_ACTIVE_LOW@GOTPAGEOFF]
Lloh29:
	ldr	w24, [x8]
Lloh30:
	adrp	x8, _GPIOF_ACTIVE_LOW@GOTPAGE
Lloh31:
	ldr	x8, [x8, _GPIOF_ACTIVE_LOW@GOTPAGEOFF]
Lloh32:
	ldr	x25, [x8]
	bl	_gpio_is_valid
	cbz	x0, LBB0_16
; %bb.13:
	tst	w24, w22
	csel	x8, xzr, x25, eq
	orr	x2, x8, x23
	ldr	w1, [x20, #64]
Lloh33:
	adrp	x3, l_.str.6@PAGE
Lloh34:
	add	x3, x3, l_.str.6@PAGEOFF
	mov	x0, x19
	bl	_devm_gpio_request_one
	cbz	w0, LBB0_16
; %bb.14:
	mov	x22, x0
Lloh35:
	adrp	x1, l_.str.7@PAGE
Lloh36:
	add	x1, x1, l_.str.7@PAGEOFF
LBB0_15:
	mov	x0, x19
	bl	_dev_err
	b	LBB0_5
LBB0_16:
Lloh37:
	adrp	x1, l_.str.8@PAGE
Lloh38:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x19
	bl	_devm_clk_get
	str	x0, [x20, #56]
	bl	_IS_ERR
	cbz	x0, LBB0_19
; %bb.17:
Lloh39:
	adrp	x1, l_.str.9@PAGE
Lloh40:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	ldr	x0, [x20, #56]
	b	LBB0_31
LBB0_18:
	ldr	x0, [x20, #72]
	b	LBB0_8
LBB0_19:
Lloh41:
	adrp	x1, l_.str.10@PAGE
Lloh42:
	add	x1, x1, l_.str.10@PAGEOFF
	mov	x0, x19
	bl	_devm_clk_get
	str	x0, [x20, #48]
	bl	_IS_ERR
	cbz	x0, LBB0_21
; %bb.20:
Lloh43:
	adrp	x1, l_.str.11@PAGE
Lloh44:
	add	x1, x1, l_.str.11@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	ldr	x0, [x20, #48]
	b	LBB0_31
LBB0_21:
Lloh45:
	adrp	x1, l_.str.12@PAGE
Lloh46:
	add	x1, x1, l_.str.12@PAGEOFF
	mov	x0, x19
	bl	_devm_clk_get
	str	x0, [x20, #40]
	bl	_IS_ERR
	cbz	x0, LBB0_23
; %bb.22:
Lloh47:
	adrp	x1, l_.str.13@PAGE
Lloh48:
	add	x1, x1, l_.str.13@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	ldr	x0, [x20, #40]
	b	LBB0_31
LBB0_23:
Lloh49:
	adrp	x1, l_.str.14@PAGE
Lloh50:
	add	x1, x1, l_.str.14@PAGEOFF
	mov	x0, x19
	bl	_devm_clk_get
	str	x0, [x20, #32]
	bl	_IS_ERR
	cbz	x0, LBB0_25
; %bb.24:
Lloh51:
	adrp	x1, l_.str.15@PAGE
Lloh52:
	add	x1, x1, l_.str.15@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	ldr	x0, [x20, #32]
	b	LBB0_31
LBB0_25:
Lloh53:
	adrp	x1, l_.str.16@PAGE
Lloh54:
	add	x1, x1, l_.str.16@PAGEOFF
	mov	x0, x19
	bl	_devm_reset_control_get
	str	x0, [x20, #24]
	bl	_IS_ERR
	cbz	x0, LBB0_27
; %bb.26:
Lloh55:
	adrp	x1, l_.str.17@PAGE
Lloh56:
	add	x1, x1, l_.str.17@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	ldr	x0, [x20, #24]
	b	LBB0_31
LBB0_27:
Lloh57:
	adrp	x1, l_.str.12@PAGE
Lloh58:
	add	x1, x1, l_.str.12@PAGEOFF
	mov	x0, x19
	bl	_devm_reset_control_get
	str	x0, [x20, #16]
	bl	_IS_ERR
	cbz	x0, LBB0_29
; %bb.28:
Lloh59:
	adrp	x1, l_.str.18@PAGE
Lloh60:
	add	x1, x1, l_.str.18@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	ldr	x0, [x20, #16]
	b	LBB0_31
LBB0_29:
Lloh61:
	adrp	x1, l_.str.14@PAGE
Lloh62:
	add	x1, x1, l_.str.14@PAGEOFF
	mov	x0, x19
	bl	_devm_reset_control_get
	str	x0, [x20, #8]
	bl	_IS_ERR
	cbz	x0, LBB0_32
; %bb.30:
Lloh63:
	adrp	x1, l_.str.19@PAGE
Lloh64:
	add	x1, x1, l_.str.19@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	ldr	x0, [x20, #8]
LBB0_31:
	bl	_PTR_ERR
	mov	x22, x0
	b	LBB0_5
LBB0_32:
	add	x23, x21, #24
Lloh65:
	adrp	x8, _CONFIG_PCI_MSI@GOTPAGE
Lloh66:
	ldr	x8, [x8, _CONFIG_PCI_MSI@GOTPAGEOFF]
Lloh67:
	ldr	w0, [x8]
	bl	_IS_ENABLED
	cbz	x0, LBB0_34
; %bb.33:
Lloh68:
	adrp	x1, l_.str.20@PAGE
Lloh69:
	add	x1, x1, l_.str.20@PAGEOFF
	mov	x0, x19
	bl	_platform_get_irq_byname
	str	x0, [x23]
	tbnz	x0, #63, LBB0_41
LBB0_34:
Lloh70:
	adrp	x1, l_.str.22@PAGE
Lloh71:
	add	x1, x1, l_.str.22@PAGEOFF
	mov	x0, x19
	bl	_devm_phy_get
	str	x0, [x20]
	bl	_IS_ERR
	cbz	x0, LBB0_36
; %bb.35:
Lloh72:
	adrp	x1, l_.str.23@PAGE
Lloh73:
	add	x1, x1, l_.str.23@PAGEOFF
	mov	x0, x19
	bl	_dev_info
	str	xzr, [x20]
	b	LBB0_37
LBB0_36:
	ldr	x0, [x20]
	bl	_phy_init
LBB0_37:
Lloh74:
	adrp	x8, _histb_pcie_host_ops@GOTPAGE
Lloh75:
	ldr	x8, [x8, _histb_pcie_host_ops@GOTPAGEOFF]
	str	x8, [x21, #32]
	mov	x0, x19
	mov	x1, x20
	bl	_platform_set_drvdata
	mov	x0, x23
	bl	_histb_pcie_host_enable
	cbz	w0, LBB0_39
; %bb.38:
	mov	x22, x0
Lloh76:
	adrp	x1, l_.str.24@PAGE
Lloh77:
	add	x1, x1, l_.str.24@PAGEOFF
	b	LBB0_15
LBB0_39:
	mov	x0, x23
	bl	_dw_pcie_host_init
	mov	x22, x0
	cbz	w0, LBB0_5
; %bb.40:
Lloh78:
	adrp	x1, l_.str.25@PAGE
Lloh79:
	add	x1, x1, l_.str.25@PAGEOFF
	b	LBB0_15
LBB0_41:
Lloh80:
	adrp	x1, l_.str.21@PAGE
Lloh81:
	add	x1, x1, l_.str.21@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	ldr	w22, [x23]
	b	LBB0_5
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpAdd	Lloh49, Lloh50
	.loh AdrpAdd	Lloh51, Lloh52
	.loh AdrpAdd	Lloh53, Lloh54
	.loh AdrpAdd	Lloh55, Lloh56
	.loh AdrpAdd	Lloh57, Lloh58
	.loh AdrpAdd	Lloh59, Lloh60
	.loh AdrpAdd	Lloh61, Lloh62
	.loh AdrpAdd	Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.loh AdrpAdd	Lloh68, Lloh69
	.loh AdrpAdd	Lloh70, Lloh71
	.loh AdrpAdd	Lloh72, Lloh73
	.loh AdrpLdrGot	Lloh74, Lloh75
	.loh AdrpAdd	Lloh76, Lloh77
	.loh AdrpAdd	Lloh78, Lloh79
	.loh AdrpAdd	Lloh80, Lloh81
	.cfi_endproc
                                        ; -- End function
	.comm	_GPIOF_DIR_OUT,8,3              ; @GPIOF_DIR_OUT
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_dw_pcie_ops,4,2                ; @dw_pcie_ops
	.comm	_IORESOURCE_MEM,4,2             ; @IORESOURCE_MEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"control"

l_.str.1:                               ; @.str.1
	.asciz	"cannot get control reg base\n"

l_.str.2:                               ; @.str.2
	.asciz	"rc-dbi"

l_.str.3:                               ; @.str.3
	.asciz	"cannot get rc-dbi base\n"

l_.str.4:                               ; @.str.4
	.asciz	"vpcie"

	.comm	_ENODEV,4,2                     ; @ENODEV
l_.str.5:                               ; @.str.5
	.asciz	"reset-gpios"

	.comm	_OF_GPIO_ACTIVE_LOW,4,2         ; @OF_GPIO_ACTIVE_LOW
	.comm	_GPIOF_ACTIVE_LOW,8,3           ; @GPIOF_ACTIVE_LOW
l_.str.6:                               ; @.str.6
	.asciz	"PCIe device power control"

l_.str.7:                               ; @.str.7
	.asciz	"unable to request gpio\n"

l_.str.8:                               ; @.str.8
	.asciz	"aux"

l_.str.9:                               ; @.str.9
	.asciz	"Failed to get PCIe aux clk\n"

l_.str.10:                              ; @.str.10
	.asciz	"pipe"

l_.str.11:                              ; @.str.11
	.asciz	"Failed to get PCIe pipe clk\n"

l_.str.12:                              ; @.str.12
	.asciz	"sys"

l_.str.13:                              ; @.str.13
	.asciz	"Failed to get PCIEe sys clk\n"

l_.str.14:                              ; @.str.14
	.asciz	"bus"

l_.str.15:                              ; @.str.15
	.asciz	"Failed to get PCIe bus clk\n"

l_.str.16:                              ; @.str.16
	.asciz	"soft"

l_.str.17:                              ; @.str.17
	.asciz	"couldn't get soft reset\n"

l_.str.18:                              ; @.str.18
	.asciz	"couldn't get sys reset\n"

l_.str.19:                              ; @.str.19
	.asciz	"couldn't get bus reset\n"

	.comm	_CONFIG_PCI_MSI,4,2             ; @CONFIG_PCI_MSI
l_.str.20:                              ; @.str.20
	.asciz	"msi"

l_.str.21:                              ; @.str.21
	.asciz	"Failed to get MSI IRQ\n"

l_.str.22:                              ; @.str.22
	.asciz	"phy"

l_.str.23:                              ; @.str.23
	.asciz	"no pcie-phy found\n"

	.comm	_histb_pcie_host_ops,4,2        ; @histb_pcie_host_ops
l_.str.24:                              ; @.str.24
	.asciz	"failed to enable host\n"

l_.str.25:                              ; @.str.25
	.asciz	"failed to initialize host\n"

	.no_dead_strip	_histb_pcie_probe
.subsections_via_symbols
