	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function arm_ccn_probe
_arm_ccn_probe:                         ## @arm_ccn_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, %rbx
	movq	_GFP_KERNEL@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	movl	$56, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_12
## %bb.1:
	movq	%rax, %r15
	movq	%rbx, 32(%rax)
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_platform_set_drvdata
	movq	_IORESOURCE_MEM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_platform_get_resource
	movq	32(%r15), %rdi
	movq	%rax, %rsi
	callq	_devm_ioremap_resource
	movq	%rax, 48(%r15)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	48(%r15), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_3:
	movq	_IORESOURCE_IRQ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%r12d, %r12d
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_platform_get_resource
	testq	%rax, %rax
	je	LBB0_15
## %bb.4:
	movl	(%rax), %r12d
	movq	_CCN_MN_ERRINT_STATUS__PMU_EVENTS__DISABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_CCN_MN_ERRINT_STATUS@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rsi
	addq	48(%r15), %rsi
	callq	_writel
	movq	(%rbx), %rdi
	addq	48(%r15), %rdi
	callq	_readl
	movq	_CCN_MN_ERRINT_STATUS__PMU_EVENTS__DISABLED@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_7
## %bb.5:
	movq	_CCN_MN_ERRINT_STATUS__PMU_EVENTS__ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%rbx), %rsi
	addq	48(%r15), %rsi
	callq	_writel
	movl	%r12d, -44(%rbp)                ## 4-byte Spill
	movq	32(%r15), %r13
	movq	_arm_ccn_irq_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_IRQF_NOBALANCING@GOTPCREL(%rip), %rax
	movq	_IRQF_NO_THREAD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	orl	(%rax), %ebx
	movq	%r13, %rdi
	callq	_dev_name
	movq	%r13, %rdi
	movl	-44(%rbp), %r13d                ## 4-byte Reload
	movl	%r13d, %esi
	movl	%r12d, %edx
	movl	%ebx, %ecx
	movl	%eax, %r8d
	movq	%r15, %r9
	callq	_devm_request_irq
	movl	%eax, %r12d
	testl	%eax, %eax
	jne	LBB0_14
## %bb.6:
	movl	%r13d, (%r15)
LBB0_7:
	movq	_arm_ccn_get_nodes_num@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_arm_ccn_for_each_valid_region
	movl	%eax, %r12d
	testl	%eax, %eax
	jne	LBB0_14
## %bb.8:
	movq	32(%r15), %rdi
	movl	40(%r15), %esi
	movl	(%r14), %ecx
	movl	$1, %edx
	callq	_devm_kcalloc
	movq	%rax, 16(%r15)
	movq	32(%r15), %rdi
	movl	24(%r15), %esi
	movl	(%r14), %ecx
	movl	$1, %edx
	callq	_devm_kcalloc
	movq	%rax, 8(%r15)
	cmpq	$0, 16(%r15)
	je	LBB0_12
## %bb.9:
	testq	%rax, %rax
	je	LBB0_12
## %bb.10:
	movq	_arm_ccn_init_nodes@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_arm_ccn_for_each_valid_region
	movl	%eax, %r12d
	testl	%eax, %eax
	jne	LBB0_14
## %bb.11:
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_arm_ccn_pmu_init               ## TAILCALL
LBB0_12:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r12d, %r12d
LBB0_13:
	subl	(%rax), %r12d
LBB0_14:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_IORESOURCE_MEM,4,2             ## @IORESOURCE_MEM
	.comm	_IORESOURCE_IRQ,4,2             ## @IORESOURCE_IRQ
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_CCN_MN_ERRINT_STATUS__PMU_EVENTS__DISABLE,4,2 ## @CCN_MN_ERRINT_STATUS__PMU_EVENTS__DISABLE
	.comm	_CCN_MN_ERRINT_STATUS,8,3       ## @CCN_MN_ERRINT_STATUS
	.comm	_CCN_MN_ERRINT_STATUS__PMU_EVENTS__DISABLED,4,2 ## @CCN_MN_ERRINT_STATUS__PMU_EVENTS__DISABLED
	.comm	_CCN_MN_ERRINT_STATUS__PMU_EVENTS__ENABLE,4,2 ## @CCN_MN_ERRINT_STATUS__PMU_EVENTS__ENABLE
	.comm	_arm_ccn_irq_handler,4,2        ## @arm_ccn_irq_handler
	.comm	_IRQF_NOBALANCING,4,2           ## @IRQF_NOBALANCING
	.comm	_IRQF_NO_THREAD,4,2             ## @IRQF_NO_THREAD
	.comm	_arm_ccn_get_nodes_num,4,2      ## @arm_ccn_get_nodes_num
	.comm	_arm_ccn_init_nodes,4,2         ## @arm_ccn_init_nodes
	.no_dead_strip	_arm_ccn_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function arm_ccn_probe
_arm_ccn_probe:                         ; @arm_ccn_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	x20, x0
Lloh0:
	adrp	x24, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x24, [x24, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w2, [x24]
	mov	w1, #56
	bl	_devm_kzalloc
	cbz	x0, LBB0_12
; %bb.1:
	mov	x19, x0
	str	x20, [x0, #32]
	mov	x0, x20
	mov	x1, x19
	bl	_platform_set_drvdata
Lloh2:
	adrp	x8, _IORESOURCE_MEM@GOTPAGE
Lloh3:
	ldr	x8, [x8, _IORESOURCE_MEM@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #0
	bl	_platform_get_resource
	mov	x1, x0
	ldr	x0, [x19, #32]
	bl	_devm_ioremap_resource
	str	x0, [x19, #48]
	bl	_IS_ERR
	cbz	x0, LBB0_3
; %bb.2:
	ldr	x0, [x19, #48]
	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
	b	_PTR_ERR
LBB0_3:
Lloh5:
	adrp	x8, _IORESOURCE_IRQ@GOTPAGE
Lloh6:
	ldr	x8, [x8, _IORESOURCE_IRQ@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #0
	bl	_platform_get_resource
	cbz	x0, LBB0_15
; %bb.4:
	ldr	w20, [x0]
Lloh8:
	adrp	x8, _CCN_MN_ERRINT_STATUS__PMU_EVENTS__DISABLE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _CCN_MN_ERRINT_STATUS__PMU_EVENTS__DISABLE@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	ldr	x8, [x19, #48]
Lloh11:
	adrp	x21, _CCN_MN_ERRINT_STATUS@GOTPAGE
Lloh12:
	ldr	x21, [x21, _CCN_MN_ERRINT_STATUS@GOTPAGEOFF]
	ldr	x9, [x21]
	add	x1, x9, x8
	bl	_writel
	ldr	x8, [x19, #48]
	ldr	x9, [x21]
	add	x0, x9, x8
	bl	_readl
Lloh13:
	adrp	x8, _CCN_MN_ERRINT_STATUS__PMU_EVENTS__DISABLED@GOTPAGE
Lloh14:
	ldr	x8, [x8, _CCN_MN_ERRINT_STATUS__PMU_EVENTS__DISABLED@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_7
; %bb.5:
Lloh16:
	adrp	x8, _CCN_MN_ERRINT_STATUS__PMU_EVENTS__ENABLE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _CCN_MN_ERRINT_STATUS__PMU_EVENTS__ENABLE@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
	ldr	x8, [x19, #48]
	ldr	x9, [x21]
	add	x1, x9, x8
	bl	_writel
	ldr	x21, [x19, #32]
Lloh19:
	adrp	x8, _arm_ccn_irq_handler@GOTPAGE
Lloh20:
	ldr	x8, [x8, _arm_ccn_irq_handler@GOTPAGEOFF]
Lloh21:
	adrp	x9, _IRQF_NOBALANCING@GOTPAGE
Lloh22:
	ldr	x9, [x9, _IRQF_NOBALANCING@GOTPAGEOFF]
Lloh23:
	ldr	w22, [x8]
Lloh24:
	ldr	w8, [x9]
Lloh25:
	adrp	x9, _IRQF_NO_THREAD@GOTPAGE
Lloh26:
	ldr	x9, [x9, _IRQF_NO_THREAD@GOTPAGEOFF]
Lloh27:
	ldr	w9, [x9]
	orr	w23, w9, w8
	mov	x0, x21
	bl	_dev_name
	mov	x4, x0
	mov	x0, x21
	mov	x1, x20
	mov	x2, x22
	mov	x3, x23
	mov	x5, x19
	bl	_devm_request_irq
	cbnz	w0, LBB0_14
; %bb.6:
	str	w20, [x19]
LBB0_7:
Lloh28:
	adrp	x8, _arm_ccn_get_nodes_num@GOTPAGE
Lloh29:
	ldr	x8, [x8, _arm_ccn_get_nodes_num@GOTPAGEOFF]
Lloh30:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_arm_ccn_for_each_valid_region
	cbnz	w0, LBB0_14
; %bb.8:
	ldr	x0, [x19, #32]
	ldr	w1, [x19, #40]
	ldr	w3, [x24]
	mov	w2, #1
	bl	_devm_kcalloc
	str	x0, [x19, #16]
	ldr	x0, [x19, #32]
	ldr	w1, [x19, #24]
	ldr	w3, [x24]
	mov	w2, #1
	bl	_devm_kcalloc
	str	x0, [x19, #8]
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_12
; %bb.9:
	cbz	x0, LBB0_12
; %bb.10:
Lloh31:
	adrp	x8, _arm_ccn_init_nodes@GOTPAGE
Lloh32:
	ldr	x8, [x8, _arm_ccn_init_nodes@GOTPAGEOFF]
Lloh33:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_arm_ccn_for_each_valid_region
	cbnz	w0, LBB0_14
; %bb.11:
	mov	x0, x19
	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
	b	_arm_ccn_pmu_init
LBB0_12:
Lloh34:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh35:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_13:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_14:
	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_15:
Lloh36:
	adrp	x8, _EINVAL@GOTPAGE
Lloh37:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_13
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh23
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh36, Lloh37
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_IORESOURCE_MEM,4,2             ; @IORESOURCE_MEM
	.comm	_IORESOURCE_IRQ,4,2             ; @IORESOURCE_IRQ
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_CCN_MN_ERRINT_STATUS__PMU_EVENTS__DISABLE,4,2 ; @CCN_MN_ERRINT_STATUS__PMU_EVENTS__DISABLE
	.comm	_CCN_MN_ERRINT_STATUS,8,3       ; @CCN_MN_ERRINT_STATUS
	.comm	_CCN_MN_ERRINT_STATUS__PMU_EVENTS__DISABLED,4,2 ; @CCN_MN_ERRINT_STATUS__PMU_EVENTS__DISABLED
	.comm	_CCN_MN_ERRINT_STATUS__PMU_EVENTS__ENABLE,4,2 ; @CCN_MN_ERRINT_STATUS__PMU_EVENTS__ENABLE
	.comm	_arm_ccn_irq_handler,4,2        ; @arm_ccn_irq_handler
	.comm	_IRQF_NOBALANCING,4,2           ; @IRQF_NOBALANCING
	.comm	_IRQF_NO_THREAD,4,2             ; @IRQF_NO_THREAD
	.comm	_arm_ccn_get_nodes_num,4,2      ; @arm_ccn_get_nodes_num
	.comm	_arm_ccn_init_nodes,4,2         ; @arm_ccn_init_nodes
	.no_dead_strip	_arm_ccn_probe
.subsections_via_symbols
