	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qcom_pcie_probe
_qcom_pcie_probe:                       ## @qcom_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movl	$48, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	%rax, %r14
	movl	(%rbx), %edx
	movq	%r12, %rdi
	movl	$40, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_5
## %bb.2:
	movq	%rax, %r15
	movq	%r12, %rdi
	callq	_pm_runtime_enable
	movq	%r12, %rdi
	callq	_pm_runtime_get_sync
	testl	%eax, %eax
	js	LBB0_6
## %bb.3:
	movq	%r12, 32(%r15)
	movq	_dw_pcie_ops@GOTPCREL(%rip), %rax
	movq	%rax, 24(%r15)
	movq	%r15, 40(%r14)
	movq	%r12, %rdi
	callq	_of_device_get_match_data
	movq	%rax, 8(%r14)
	movq	_GPIOD_OUT_HIGH@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	callq	_devm_gpiod_get_optional
	movq	%rax, 32(%r14)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_7
## %bb.4:
	movq	32(%r14), %rdi
	jmp	LBB0_15
LBB0_5:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_19
LBB0_6:
	movl	%eax, %ebx
	jmp	LBB0_18
LBB0_7:
	movq	_IORESOURCE_MEM@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	leaq	L_.str.1(%rip), %rdx
	movq	%r12, %rdi
	callq	_platform_get_resource_byname
	movq	%r12, %rdi
	movq	%rax, %rsi
	callq	_devm_ioremap_resource
	movq	%rax, 24(%r14)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movq	24(%r14), %rdi
	jmp	LBB0_15
LBB0_9:
	movl	(%rbx), %esi
	leaq	L_.str.2(%rip), %rdx
	movq	%r12, %rdi
	callq	_platform_get_resource_byname
	movq	%r12, %rdi
	movq	%rax, %rsi
	callq	_devm_pci_remap_cfg_resource
	movq	%rax, (%r15)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	movq	(%r15), %rdi
	jmp	LBB0_15
LBB0_11:
	movl	(%rbx), %esi
	leaq	L_.str.3(%rip), %rdx
	movq	%r12, %rdi
	callq	_platform_get_resource_byname
	movq	%r12, %rdi
	movq	%rax, %rsi
	callq	_devm_ioremap_resource
	movq	%rax, 16(%r14)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:
	movq	16(%r14), %rdi
	jmp	LBB0_15
LBB0_13:
	leaq	L_.str.4(%rip), %rsi
	movq	%r12, %rdi
	callq	_devm_phy_optional_get
	movq	%rax, (%r14)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_20
## %bb.14:
	movq	(%r14), %rdi
LBB0_15:
	callq	_PTR_ERR
LBB0_16:
	movl	%eax, %ebx
LBB0_17:
	movq	%r12, %rdi
	callq	_pm_runtime_put
LBB0_18:
	movq	%r12, %rdi
	callq	_pm_runtime_disable
LBB0_19:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_20:
	movq	8(%r14), %rax
	movq	%r14, %rdi
	callq	*(%rax)
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_17
## %bb.21:
	movq	%r15, %r13
	addq	$8, %r13
	movq	_qcom_pcie_dw_ops@GOTPCREL(%rip), %rax
	movq	%rax, 16(%r15)
	movq	_CONFIG_PCI_MSI@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_IS_ENABLED
	testq	%rax, %rax
	je	LBB0_23
## %bb.22:
	leaq	L_.str.5(%rip), %rsi
	movq	%r12, %rdi
	callq	_platform_get_irq_byname
	movl	%eax, (%r13)
	testl	%eax, %eax
	js	LBB0_16
LBB0_23:
	movq	(%r14), %rdi
	callq	_phy_init
	testl	%eax, %eax
	je	LBB0_25
## %bb.24:
	movl	%eax, %ebx
	jmp	LBB0_27
LBB0_25:
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_platform_set_drvdata
	movq	%r13, %rdi
	callq	_dw_pcie_host_init
	testl	%eax, %eax
	je	LBB0_29
## %bb.26:
	movl	%eax, %ebx
	leaq	L_.str.6(%rip), %rsi
	movq	%r12, %rdi
	callq	_dev_err
LBB0_27:
	movq	%r12, %rdi
	callq	_pm_runtime_disable
	jmp	LBB0_17
LBB0_29:
	xorl	%ebx, %ebx
	jmp	LBB0_19
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_dw_pcie_ops,4,2                ## @dw_pcie_ops
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"perst"

	.comm	_GPIOD_OUT_HIGH,4,2             ## @GPIOD_OUT_HIGH
	.comm	_IORESOURCE_MEM,4,2             ## @IORESOURCE_MEM
L_.str.1:                               ## @.str.1
	.asciz	"parf"

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

L_.str.3:                               ## @.str.3
	.asciz	"elbi"

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

	.comm	_qcom_pcie_dw_ops,4,2           ## @qcom_pcie_dw_ops
	.comm	_CONFIG_PCI_MSI,4,2             ## @CONFIG_PCI_MSI
L_.str.5:                               ## @.str.5
	.asciz	"msi"

L_.str.6:                               ## @.str.6
	.asciz	"cannot initialize host\n"

	.no_dead_strip	_qcom_pcie_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qcom_pcie_probe
_qcom_pcie_probe:                       ; @qcom_pcie_probe
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
Lloh0:
	adrp	x21, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x21, [x21, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w2, [x21]
	mov	w1, #48
	bl	_devm_kzalloc
	cbz	x0, LBB0_5
; %bb.1:
	mov	x20, x0
	ldr	w2, [x21]
	mov	x0, x19
	mov	w1, #40
	bl	_devm_kzalloc
	cbz	x0, LBB0_5
; %bb.2:
	mov	x21, x0
	mov	x0, x19
	bl	_pm_runtime_enable
	mov	x0, x19
	bl	_pm_runtime_get_sync
	tbnz	w0, #31, LBB0_6
; %bb.3:
Lloh2:
	adrp	x8, _dw_pcie_ops@GOTPAGE
Lloh3:
	ldr	x8, [x8, _dw_pcie_ops@GOTPAGEOFF]
	stp	x8, x19, [x21, #24]
	str	x21, [x20, #40]
	mov	x0, x19
	bl	_of_device_get_match_data
	str	x0, [x20, #8]
Lloh4:
	adrp	x8, _GPIOD_OUT_HIGH@GOTPAGE
Lloh5:
	ldr	x8, [x8, _GPIOD_OUT_HIGH@GOTPAGEOFF]
Lloh6:
	ldr	w2, [x8]
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_devm_gpiod_get_optional
	str	x0, [x20, #32]
	bl	_IS_ERR
	cbz	x0, LBB0_7
; %bb.4:
	ldr	x0, [x20, #32]
	b	LBB0_15
LBB0_5:
Lloh9:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	neg	w22, w8
	b	LBB0_19
LBB0_6:
	mov	x22, x0
	b	LBB0_18
LBB0_7:
Lloh12:
	adrp	x22, _IORESOURCE_MEM@GOTPAGE
Lloh13:
	ldr	x22, [x22, _IORESOURCE_MEM@GOTPAGEOFF]
	ldr	w1, [x22]
Lloh14:
	adrp	x2, l_.str.1@PAGE
Lloh15:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_platform_get_resource_byname
	mov	x1, x0
	mov	x0, x19
	bl	_devm_ioremap_resource
	str	x0, [x20, #24]
	bl	_IS_ERR
	cbz	x0, LBB0_9
; %bb.8:
	ldr	x0, [x20, #24]
	b	LBB0_15
LBB0_9:
	ldr	w1, [x22]
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_pci_remap_cfg_resource
	str	x0, [x21]
	bl	_IS_ERR
	cbz	x0, LBB0_11
; %bb.10:
	ldr	x0, [x21]
	b	LBB0_15
LBB0_11:
	ldr	w1, [x22]
Lloh18:
	adrp	x2, l_.str.3@PAGE
Lloh19:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_platform_get_resource_byname
	mov	x1, x0
	mov	x0, x19
	bl	_devm_ioremap_resource
	str	x0, [x20, #16]
	bl	_IS_ERR
	cbz	x0, LBB0_13
; %bb.12:
	ldr	x0, [x20, #16]
	b	LBB0_15
LBB0_13:
Lloh20:
	adrp	x1, l_.str.4@PAGE
Lloh21:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_devm_phy_optional_get
	str	x0, [x20]
	bl	_IS_ERR
	cbz	x0, LBB0_20
; %bb.14:
	ldr	x0, [x20]
LBB0_15:
	bl	_PTR_ERR
LBB0_16:
	mov	x22, x0
LBB0_17:
	mov	x0, x19
	bl	_pm_runtime_put
LBB0_18:
	mov	x0, x19
	bl	_pm_runtime_disable
LBB0_19:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_20:
	ldr	x8, [x20, #8]
	ldr	x8, [x8]
	mov	x0, x20
	blr	x8
	mov	x22, x0
	cbnz	w0, LBB0_17
; %bb.21:
	add	x23, x21, #8
Lloh22:
	adrp	x8, _qcom_pcie_dw_ops@GOTPAGE
Lloh23:
	ldr	x8, [x8, _qcom_pcie_dw_ops@GOTPAGEOFF]
	str	x8, [x21, #16]
Lloh24:
	adrp	x8, _CONFIG_PCI_MSI@GOTPAGE
Lloh25:
	ldr	x8, [x8, _CONFIG_PCI_MSI@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
	bl	_IS_ENABLED
	cbz	x0, LBB0_23
; %bb.22:
Lloh27:
	adrp	x1, l_.str.5@PAGE
Lloh28:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x19
	bl	_platform_get_irq_byname
	str	w0, [x23]
	tbnz	w0, #31, LBB0_16
LBB0_23:
	ldr	x0, [x20]
	bl	_phy_init
	cbz	w0, LBB0_25
; %bb.24:
	mov	x22, x0
	b	LBB0_27
LBB0_25:
	mov	x0, x19
	mov	x1, x20
	bl	_platform_set_drvdata
	mov	x0, x23
	bl	_dw_pcie_host_init
	mov	x22, x0
	cbz	w0, LBB0_19
; %bb.26:
Lloh29:
	adrp	x1, l_.str.6@PAGE
Lloh30:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x19
	bl	_dev_err
LBB0_27:
	mov	x0, x19
	bl	_pm_runtime_disable
	b	LBB0_17
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_dw_pcie_ops,4,2                ; @dw_pcie_ops
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"perst"

	.comm	_GPIOD_OUT_HIGH,4,2             ; @GPIOD_OUT_HIGH
	.comm	_IORESOURCE_MEM,4,2             ; @IORESOURCE_MEM
l_.str.1:                               ; @.str.1
	.asciz	"parf"

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

l_.str.3:                               ; @.str.3
	.asciz	"elbi"

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

	.comm	_qcom_pcie_dw_ops,4,2           ; @qcom_pcie_dw_ops
	.comm	_CONFIG_PCI_MSI,4,2             ; @CONFIG_PCI_MSI
l_.str.5:                               ; @.str.5
	.asciz	"msi"

l_.str.6:                               ; @.str.6
	.asciz	"cannot initialize host\n"

	.no_dead_strip	_qcom_pcie_probe
.subsections_via_symbols
