	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qcom_pcie_get_resources_2_4_0
_qcom_pcie_get_resources_2_4_0:         ## @qcom_pcie_get_resources_2_4_0
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movq	(%rdi), %rax
	movq	(%rax), %r14
	movl	(%r14), %edi
	leaq	L_.str(%rip), %rsi
	callq	_of_device_is_compatible
	movl	%eax, %r15d
	movq	112(%r12), %rdx
	leaq	L_.str.1(%rip), %rax
	movq	%rax, (%rdx)
	leaq	L_.str.2(%rip), %rax
	movq	%rax, 8(%rdx)
	leaq	L_.str.3(%rip), %rax
	movq	%rax, 16(%rdx)
	leaq	L_.str.4(%rip), %rax
	movq	%rax, 24(%rdx)
	xorl	%esi, %esi
	cmpl	$1, %r15d
	adcl	$3, %esi
	movl	%esi, 8(%r12)
	movq	%r14, %rdi
	callq	_devm_clk_bulk_get
	testl	%eax, %eax
	js	LBB0_1
## %bb.3:
	leaq	L_.str.5(%rip), %rsi
	movq	%r14, %rdi
	callq	_devm_reset_control_get_exclusive
	movq	%rax, 104(%r12)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	addq	$104, %r12
	jmp	LBB0_29
LBB0_1:
	movl	%eax, %ebx
LBB0_2:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	leaq	L_.str.6(%rip), %rsi
	movq	%r14, %rdi
	callq	_devm_reset_control_get_exclusive
	movq	%rax, 96(%r12)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	addq	$96, %r12
LBB0_29:
	movq	(%r12), %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_7:
	testl	%r15d, %r15d
	je	LBB0_18
## %bb.8:
	leaq	L_.str.7(%rip), %rsi
	movq	%r14, %rdi
	callq	_devm_reset_control_get_exclusive
	movq	%rax, 88(%r12)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	addq	$88, %r12
	jmp	LBB0_29
LBB0_10:
	leaq	L_.str.8(%rip), %rsi
	movq	%r14, %rdi
	callq	_devm_reset_control_get_exclusive
	movq	%rax, 80(%r12)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	addq	$80, %r12
	jmp	LBB0_29
LBB0_12:
	leaq	L_.str.9(%rip), %rsi
	movq	%r14, %rdi
	callq	_devm_reset_control_get_exclusive
	movq	%rax, 72(%r12)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:
	addq	$72, %r12
	jmp	LBB0_29
LBB0_14:
	leaq	L_.str.10(%rip), %rsi
	movq	%r14, %rdi
	callq	_devm_reset_control_get_exclusive
	movq	%rax, 64(%r12)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_16
## %bb.15:
	addq	$64, %r12
	jmp	LBB0_29
LBB0_16:
	leaq	L_.str.11(%rip), %rsi
	movq	%r14, %rdi
	callq	_devm_reset_control_get_exclusive
	movq	%rax, 56(%r12)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_18
## %bb.17:
	addq	$56, %r12
	jmp	LBB0_29
LBB0_18:
	leaq	L_.str.12(%rip), %rsi
	movq	%r14, %rdi
	callq	_devm_reset_control_get_exclusive
	movq	%rax, 48(%r12)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_20
## %bb.19:
	addq	$48, %r12
	jmp	LBB0_29
LBB0_20:
	leaq	L_.str.13(%rip), %rsi
	movq	%r14, %rdi
	callq	_devm_reset_control_get_exclusive
	movq	%rax, 40(%r12)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_22
## %bb.21:
	addq	$40, %r12
	jmp	LBB0_29
LBB0_22:
	leaq	L_.str.14(%rip), %rsi
	movq	%r14, %rdi
	callq	_devm_reset_control_get_exclusive
	movq	%rax, 32(%r12)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_24
## %bb.23:
	addq	$32, %r12
	jmp	LBB0_29
LBB0_24:
	leaq	L_.str.15(%rip), %rsi
	movq	%r14, %rdi
	callq	_devm_reset_control_get_exclusive
	movq	%rax, 24(%r12)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_26
## %bb.25:
	addq	$24, %r12
	jmp	LBB0_29
LBB0_26:
	xorl	%ebx, %ebx
	testl	%r15d, %r15d
	je	LBB0_2
## %bb.27:
	leaq	L_.str.16(%rip), %rsi
	movq	%r14, %rdi
	callq	_devm_reset_control_get_exclusive
	movq	%rax, 16(%r12)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_2
## %bb.28:
	addq	$16, %r12
	jmp	LBB0_29
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"qcom,pcie-ipq4019"

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

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

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

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

L_.str.5:                               ## @.str.5
	.asciz	"axi_m"

L_.str.6:                               ## @.str.6
	.asciz	"axi_s"

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

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

L_.str.9:                               ## @.str.9
	.asciz	"axi_s_xpu"

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

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

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

L_.str.13:                              ## @.str.13
	.asciz	"pipe_sticky"

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

L_.str.15:                              ## @.str.15
	.asciz	"ahb"

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

	.no_dead_strip	_qcom_pcie_get_resources_2_4_0
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qcom_pcie_get_resources_2_4_0
_qcom_pcie_get_resources_2_4_0:         ; @qcom_pcie_get_resources_2_4_0
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	ldr	x8, [x0]
	ldr	x20, [x8]
	ldr	w0, [x20]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_of_device_is_compatible
	mov	x21, x0
	ldr	x2, [x19, #112]
Lloh2:
	adrp	x8, l_.str.1@PAGE
Lloh3:
	add	x8, x8, l_.str.1@PAGEOFF
Lloh4:
	adrp	x9, l_.str.2@PAGE
Lloh5:
	add	x9, x9, l_.str.2@PAGEOFF
	stp	x8, x9, [x2]
Lloh6:
	adrp	x8, l_.str.3@PAGE
Lloh7:
	add	x8, x8, l_.str.3@PAGEOFF
Lloh8:
	adrp	x9, l_.str.4@PAGE
Lloh9:
	add	x9, x9, l_.str.4@PAGEOFF
	stp	x8, x9, [x2, #16]
	cmp	w0, #0
	mov	w8, #3
	cinc	w1, w8, eq
	str	w1, [x19, #8]
	mov	x0, x20
	bl	_devm_clk_bulk_get
	tbnz	w0, #31, LBB0_18
; %bb.1:
Lloh10:
	adrp	x1, l_.str.5@PAGE
Lloh11:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x20
	bl	_devm_reset_control_get_exclusive
	mov	x22, x19
	str	x0, [x22, #104]!
	bl	_IS_ERR
	cbnz	x0, LBB0_3
; %bb.2:
Lloh12:
	adrp	x1, l_.str.6@PAGE
Lloh13:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x20
	bl	_devm_reset_control_get_exclusive
	mov	x22, x19
	str	x0, [x22, #96]!
	bl	_IS_ERR
	cbz	x0, LBB0_4
LBB0_3:
	ldr	x0, [x22]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_PTR_ERR
LBB0_4:
	cbz	w21, LBB0_10
; %bb.5:
Lloh14:
	adrp	x1, l_.str.7@PAGE
Lloh15:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x20
	bl	_devm_reset_control_get_exclusive
	mov	x22, x19
	str	x0, [x22, #88]!
	bl	_IS_ERR
	cbnz	x0, LBB0_3
; %bb.6:
Lloh16:
	adrp	x1, l_.str.8@PAGE
Lloh17:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x20
	bl	_devm_reset_control_get_exclusive
	mov	x22, x19
	str	x0, [x22, #80]!
	bl	_IS_ERR
	cbnz	x0, LBB0_3
; %bb.7:
Lloh18:
	adrp	x1, l_.str.9@PAGE
Lloh19:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	x0, x20
	bl	_devm_reset_control_get_exclusive
	mov	x22, x19
	str	x0, [x22, #72]!
	bl	_IS_ERR
	cbnz	x0, LBB0_3
; %bb.8:
Lloh20:
	adrp	x1, l_.str.10@PAGE
Lloh21:
	add	x1, x1, l_.str.10@PAGEOFF
	mov	x0, x20
	bl	_devm_reset_control_get_exclusive
	mov	x22, x19
	str	x0, [x22, #64]!
	bl	_IS_ERR
	cbnz	x0, LBB0_3
; %bb.9:
Lloh22:
	adrp	x1, l_.str.11@PAGE
Lloh23:
	add	x1, x1, l_.str.11@PAGEOFF
	mov	x0, x20
	bl	_devm_reset_control_get_exclusive
	mov	x22, x19
	str	x0, [x22, #56]!
	bl	_IS_ERR
	cbnz	x0, LBB0_3
LBB0_10:
Lloh24:
	adrp	x1, l_.str.12@PAGE
Lloh25:
	add	x1, x1, l_.str.12@PAGEOFF
	mov	x0, x20
	bl	_devm_reset_control_get_exclusive
	mov	x22, x19
	str	x0, [x22, #48]!
	bl	_IS_ERR
	cbnz	x0, LBB0_3
; %bb.11:
Lloh26:
	adrp	x1, l_.str.13@PAGE
Lloh27:
	add	x1, x1, l_.str.13@PAGEOFF
	mov	x0, x20
	bl	_devm_reset_control_get_exclusive
	mov	x22, x19
	str	x0, [x22, #40]!
	bl	_IS_ERR
	cbnz	x0, LBB0_3
; %bb.12:
Lloh28:
	adrp	x1, l_.str.14@PAGE
Lloh29:
	add	x1, x1, l_.str.14@PAGEOFF
	mov	x0, x20
	bl	_devm_reset_control_get_exclusive
	mov	x22, x19
	str	x0, [x22, #32]!
	bl	_IS_ERR
	cbnz	x0, LBB0_3
; %bb.13:
Lloh30:
	adrp	x1, l_.str.15@PAGE
Lloh31:
	add	x1, x1, l_.str.15@PAGEOFF
	mov	x0, x20
	bl	_devm_reset_control_get_exclusive
	mov	x22, x19
	str	x0, [x22, #24]!
	bl	_IS_ERR
	cbnz	x0, LBB0_3
; %bb.14:
	cbz	w21, LBB0_17
; %bb.15:
Lloh32:
	adrp	x1, l_.str.16@PAGE
Lloh33:
	add	x1, x1, l_.str.16@PAGEOFF
	mov	x0, x20
	bl	_devm_reset_control_get_exclusive
	str	x0, [x19, #16]!
	bl	_IS_ERR
	cbz	x0, LBB0_18
; %bb.16:
	mov	x22, x19
	b	LBB0_3
LBB0_17:
	mov	w0, #0
LBB0_18:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh32, Lloh33
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"qcom,pcie-ipq4019"

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

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

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

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

l_.str.5:                               ; @.str.5
	.asciz	"axi_m"

l_.str.6:                               ; @.str.6
	.asciz	"axi_s"

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

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

l_.str.9:                               ; @.str.9
	.asciz	"axi_s_xpu"

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

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

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

l_.str.13:                              ; @.str.13
	.asciz	"pipe_sticky"

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

l_.str.15:                              ; @.str.15
	.asciz	"ahb"

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

	.no_dead_strip	_qcom_pcie_get_resources_2_4_0
.subsections_via_symbols
