	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pdc_intc_probe
_pdc_intc_probe:                        ## @pdc_intc_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), %r12
	testq	%r12, %r12
	je	LBB0_7
## %bb.1:
	movq	%rdi, %r15
	movq	_IORESOURCE_MEM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%r13d, %r13d
	xorl	%edx, %edx
	callq	_platform_get_resource
	testq	%rax, %rax
	je	LBB0_9
## %bb.2:
	movq	%rax, %rbx
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movl	$40, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_10
## %bb.3:
	movq	%rax, %r14
	movq	%rax, %rdi
	addq	$32, %rdi
	callq	_raw_spin_lock_init
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_platform_set_drvdata
	movl	(%rbx), %r13d
	movq	%rbx, %rdi
	callq	_resource_size
	movq	%r15, %rdi
	movl	%r13d, %esi
	movl	%eax, %edx
	callq	_devm_ioremap
	movq	%rax, 24(%r14)
	testq	%rax, %rax
	je	LBB0_12
## %bb.4:
	leaq	L_.str.2(%rip), %rsi
	leaq	-48(%rbp), %rdx
	movq	%r12, %rdi
	callq	_of_property_read_u32
	testl	%eax, %eax
	je	LBB0_13
## %bb.5:
	leaq	L_.str.3(%rip), %rsi
LBB0_6:
	xorl	%r13d, %r13d
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_16
LBB0_7:
	movq	_ENOENT@GOTPCREL(%rip), %rax
LBB0_8:
	xorl	%r13d, %r13d
	jmp	LBB0_17
LBB0_9:
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	movq	_ENOENT@GOTPCREL(%rip), %rax
	jmp	LBB0_17
LBB0_10:
	leaq	L_.str.1(%rip), %rsi
LBB0_11:
	xorl	%r13d, %r13d
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_17
LBB0_12:
	movq	_EIO@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_13:
	movq	-48(%rbp), %rdx
	movq	_SYS0_HWIRQ@GOTPCREL(%rip), %rbx
	cmpq	(%rbx), %rdx
	jle	LBB0_19
## %bb.14:
	leaq	L_.str.4(%rip), %rsi
LBB0_15:
	xorl	%r13d, %r13d
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_dev_err
LBB0_16:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_17:
	subl	(%rax), %r13d
LBB0_18:
	movl	%r13d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_19:
	movl	%edx, (%r14)
	leaq	L_.str.5(%rip), %rsi
	leaq	-48(%rbp), %rdx
	movq	%r12, %rdi
	callq	_of_property_read_u32
	testl	%eax, %eax
	je	LBB0_21
## %bb.20:
	leaq	L_.str.6(%rip), %rsi
	jmp	LBB0_6
LBB0_21:
	movq	-48(%rbp), %rdx
	cmpq	(%rbx), %rdx
	jle	LBB0_23
## %bb.22:
	leaq	L_.str.7(%rip), %rsi
	jmp	LBB0_15
LBB0_23:
	movl	%edx, 4(%r14)
	movl	(%r14), %edx
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rdi
	movl	$4, %esi
	callq	_devm_kcalloc
	movq	%rax, 8(%r14)
	testq	%rax, %rax
	je	LBB0_29
## %bb.24:
	cmpl	$0, (%r14)
	je	LBB0_30
## %bb.25:
	xorl	%ecx, %ecx
LBB0_26:                                ## =>This Inner Loop Header: Depth=1
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	leaq	1(%rcx), %rbx
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_platform_get_irq
	movl	%eax, %r13d
	testl	%eax, %eax
	js	LBB0_18
## %bb.27:                              ##   in Loop: Header=BB0_26 Depth=1
	movq	8(%r14), %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	%r13d, (%rax,%rcx,4)
	movl	(%r14), %eax
	movq	%rbx, %rcx
	cmpq	%rax, %rbx
	jb	LBB0_26
## %bb.28:
	incl	%ebx
	jmp	LBB0_31
LBB0_29:
	leaq	L_.str.8(%rip), %rsi
	jmp	LBB0_11
LBB0_30:
	movl	$1, %ebx
LBB0_31:
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_platform_get_irq
	testl	%eax, %eax
	js	LBB0_33
## %bb.32:
	leaq	L_.str.9(%rip), %rsi
	jmp	LBB0_6
LBB0_33:
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_platform_get_irq
	movl	%eax, %r13d
	testl	%eax, %eax
	js	LBB0_18
## %bb.34:
	movl	%r13d, 16(%r14)
	movq	_irq_generic_chip_ops@GOTPCREL(%rip), %rdx
	movq	%r12, %rdi
	movl	$16, %esi
	movq	%r14, %rcx
	callq	_irq_domain_add_linear
	movl	%eax, 20(%r14)
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_36
## %bb.35:
	leaq	L_.str.10(%rip), %rsi
	jmp	LBB0_11
LBB0_36:
	movl	20(%r14), %edi
	movq	_handle_level_irq@GOTPCREL(%rip), %r12
	movl	(%r12), %r8d
	movq	_IRQ_GC_INIT_NESTED_LOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leaq	L_.str.11(%rip), %rcx
	movl	$8, %esi
	movl	$2, %edx
	xorl	%r9d, %r9d
	pushq	%rax
	pushq	$0
	callq	_irq_alloc_domain_generic_chips
	addq	$16, %rsp
	movl	20(%r14), %edi
	testl	%eax, %eax
	je	LBB0_38
## %bb.37:
	movl	%eax, %r13d
	callq	_irq_domain_remove
	jmp	LBB0_18
LBB0_38:
	xorl	%r13d, %r13d
	xorl	%esi, %esi
	callq	_irq_get_domain_generic_chip
	movq	%rax, %rbx
	movl	(%r14), %edi
	callq	_BIT
	negl	%eax
	movl	%eax, (%rbx)
	movq	24(%r14), %rax
	movq	%rax, 16(%rbx)
	movq	_PDC_IRQ_ROUTE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	8(%rbx), %rcx
	movq	%rax, 48(%rcx)
	movq	_perip_irq_mask@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 32(%rcx)
	movq	_perip_irq_unmask@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 24(%rcx)
	movq	_pdc_irq_set_wake@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%rcx)
	movl	20(%r14), %edi
	movl	$8, %esi
	callq	_irq_get_domain_generic_chip
	movq	%rax, %rbx
	movl	4(%r14), %edi
	callq	_BIT
	negl	%eax
	movl	%eax, (%rbx)
	movq	24(%r14), %rax
	movq	%rax, 16(%rbx)
	movq	_IRQ_TYPE_EDGE_BOTH@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	8(%rbx), %rax
	movl	%ecx, 68(%rax)
	movq	_handle_edge_irq@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 64(%rax)
	movq	_PDC_IRQ_CLEAR@GOTPCREL(%rip), %r8
	movq	(%r8), %rdx
	movq	%rdx, 56(%rax)
	movq	_PDC_IRQ_ENABLE@GOTPCREL(%rip), %r9
	movq	(%r9), %rsi
	movq	%rsi, 48(%rax)
	movq	_irq_gc_ack_set_bit@GOTPCREL(%rip), %r10
	movq	(%r10), %rdi
	movq	%rdi, 40(%rax)
	movq	_irq_gc_mask_clr_bit@GOTPCREL(%rip), %r11
	movq	(%r11), %rbx
	movq	%rbx, 32(%rax)
	movq	_irq_gc_mask_set_bit@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rcx
	movq	%rcx, 24(%rax)
	movq	_syswake_irq_set_type@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	movq	%rdx, 16(%rax)
	movq	_pdc_irq_set_wake@GOTPCREL(%rip), %rdi
	movq	(%rdi), %rdx
	movq	%rdx, 8(%rax)
	movq	_IRQCHIP_MASK_ON_SUSPEND@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rsi
	movq	%rsi, (%rax)
	movq	_IRQ_TYPE_LEVEL_MASK@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	movl	%esi, 140(%rax)
	movl	(%r12), %esi
	movl	%esi, 136(%rax)
	movq	(%r8), %rsi
	movq	%rsi, 128(%rax)
	movq	(%r9), %rsi
	movq	%rsi, 120(%rax)
	movq	(%r10), %rsi
	movq	%rsi, 112(%rax)
	movq	(%r11), %rsi
	movq	%rsi, 104(%rax)
	movq	(%rbx), %rsi
	movq	%rsi, 96(%rax)
	movq	(%rcx), %rcx
	movq	%rcx, 88(%rax)
	movq	(%rdi), %rcx
	movq	%rcx, 80(%rax)
	movq	(%rdx), %rcx
	movq	%rcx, 72(%rax)
	movq	%r14, %rdi
	callq	_pdc_intc_setup
	cmpl	$0, (%r14)
	je	LBB0_41
## %bb.39:
	xorl	%ebx, %ebx
	movq	_pdc_intc_perip_isr@GOTPCREL(%rip), %r12
LBB0_40:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%r14), %rax
	movl	(%rax,%rbx,4), %edi
	movl	(%r12), %esi
	movq	%r14, %rdx
	callq	_irq_set_chained_handler_and_data
	incq	%rbx
	movl	(%r14), %eax
	cmpq	%rax, %rbx
	jb	LBB0_40
LBB0_41:
	movl	16(%r14), %edi
	movq	_pdc_intc_syswake_isr@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdx
	callq	_irq_set_chained_handler_and_data
	movl	(%r14), %edx
	movl	4(%r14), %ecx
	leaq	L_.str.12(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_info
	jmp	LBB0_18
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOENT,4,2                     ## @ENOENT
	.comm	_IORESOURCE_MEM,4,2             ## @IORESOURCE_MEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cannot find registers resource\n"

	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
L_.str.1:                               ## @.str.1
	.asciz	"cannot allocate device data\n"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_EIO,4,2                        ## @EIO
L_.str.2:                               ## @.str.2
	.asciz	"num-perips"

L_.str.3:                               ## @.str.3
	.asciz	"No num-perips node property found\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_SYS0_HWIRQ,8,3                 ## @SYS0_HWIRQ
L_.str.4:                               ## @.str.4
	.asciz	"num-perips (%u) out of range\n"

L_.str.5:                               ## @.str.5
	.asciz	"num-syswakes"

L_.str.6:                               ## @.str.6
	.asciz	"No num-syswakes node property found\n"

L_.str.7:                               ## @.str.7
	.asciz	"num-syswakes (%u) out of range\n"

L_.str.8:                               ## @.str.8
	.asciz	"cannot allocate perip IRQ list\n"

L_.str.9:                               ## @.str.9
	.asciz	"surplus perip IRQs detected\n"

	.comm	_irq_generic_chip_ops,4,2       ## @irq_generic_chip_ops
L_.str.10:                              ## @.str.10
	.asciz	"cannot add IRQ domain\n"

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

	.comm	_handle_level_irq,4,2           ## @handle_level_irq
	.comm	_IRQ_GC_INIT_NESTED_LOCK,4,2    ## @IRQ_GC_INIT_NESTED_LOCK
	.comm	_PDC_IRQ_ROUTE,8,3              ## @PDC_IRQ_ROUTE
	.comm	_perip_irq_mask,8,3             ## @perip_irq_mask
	.comm	_perip_irq_unmask,8,3           ## @perip_irq_unmask
	.comm	_pdc_irq_set_wake,8,3           ## @pdc_irq_set_wake
	.comm	_IRQ_TYPE_EDGE_BOTH,4,2         ## @IRQ_TYPE_EDGE_BOTH
	.comm	_handle_edge_irq,4,2            ## @handle_edge_irq
	.comm	_PDC_IRQ_CLEAR,8,3              ## @PDC_IRQ_CLEAR
	.comm	_PDC_IRQ_ENABLE,8,3             ## @PDC_IRQ_ENABLE
	.comm	_irq_gc_ack_set_bit,8,3         ## @irq_gc_ack_set_bit
	.comm	_irq_gc_mask_clr_bit,8,3        ## @irq_gc_mask_clr_bit
	.comm	_irq_gc_mask_set_bit,8,3        ## @irq_gc_mask_set_bit
	.comm	_syswake_irq_set_type,8,3       ## @syswake_irq_set_type
	.comm	_IRQCHIP_MASK_ON_SUSPEND,8,3    ## @IRQCHIP_MASK_ON_SUSPEND
	.comm	_IRQ_TYPE_LEVEL_MASK,4,2        ## @IRQ_TYPE_LEVEL_MASK
	.comm	_pdc_intc_perip_isr,4,2         ## @pdc_intc_perip_isr
	.comm	_pdc_intc_syswake_isr,4,2       ## @pdc_intc_syswake_isr
L_.str.12:                              ## @.str.12
	.asciz	"PDC IRQ controller initialised (%u perip IRQs, %u syswake IRQs)\n"

	.no_dead_strip	_pdc_intc_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pdc_intc_probe
_pdc_intc_probe:                        ; @pdc_intc_probe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	ldr	x21, [x0]
	cbz	x21, LBB0_7
; %bb.1:
	mov	x19, x0
Lloh0:
	adrp	x8, _IORESOURCE_MEM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IORESOURCE_MEM@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_platform_get_resource
	cbz	x0, LBB0_6
; %bb.2:
	mov	x22, x0
Lloh3:
	adrp	x24, _GFP_KERNEL@GOTPAGE
Lloh4:
	ldr	x24, [x24, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w2, [x24]
	mov	x0, x19
	mov	w1, #40
	bl	_devm_kzalloc
	cbz	x0, LBB0_10
; %bb.3:
	mov	x20, x0
	add	x0, x0, #32
	bl	_raw_spin_lock_init
	mov	x0, x19
	mov	x1, x20
	bl	_platform_set_drvdata
	ldr	w23, [x22]
	mov	x0, x22
	bl	_resource_size
	mov	x2, x0
	mov	x0, x19
	mov	x1, x23
	bl	_devm_ioremap
	str	x0, [x20, #24]
	cbz	x0, LBB0_12
; %bb.4:
Lloh5:
	adrp	x1, l_.str.2@PAGE
Lloh6:
	add	x1, x1, l_.str.2@PAGEOFF
	add	x2, sp, #8
	mov	x0, x21
	bl	_of_property_read_u32
	cbz	w0, LBB0_13
; %bb.5:
Lloh7:
	adrp	x1, l_.str.3@PAGE
Lloh8:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_29
LBB0_6:
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_err
LBB0_7:
Lloh11:
	adrp	x8, _ENOENT@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
LBB0_8:
	ldr	w8, [x8]
	neg	w22, w8
LBB0_9:
	mov	x0, x22
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_10:
Lloh13:
	adrp	x1, l_.str.1@PAGE
Lloh14:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_11:
	mov	x0, x19
	bl	_dev_err
Lloh15:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_8
LBB0_12:
Lloh17:
	adrp	x8, _EIO@GOTPAGE
Lloh18:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
	b	LBB0_8
LBB0_13:
	ldr	x8, [sp, #8]
Lloh19:
	adrp	x22, _SYS0_HWIRQ@GOTPAGE
Lloh20:
	ldr	x22, [x22, _SYS0_HWIRQ@GOTPAGEOFF]
	ldr	x9, [x22]
	cmp	x8, x9
	b.le	LBB0_15
; %bb.14:
	str	x8, [sp]
Lloh21:
	adrp	x1, l_.str.4@PAGE
Lloh22:
	add	x1, x1, l_.str.4@PAGEOFF
	b	LBB0_29
LBB0_15:
	str	w8, [x20]
Lloh23:
	adrp	x1, l_.str.5@PAGE
Lloh24:
	add	x1, x1, l_.str.5@PAGEOFF
	add	x2, sp, #8
	mov	x0, x21
	bl	_of_property_read_u32
	cbz	w0, LBB0_17
; %bb.16:
Lloh25:
	adrp	x1, l_.str.6@PAGE
Lloh26:
	add	x1, x1, l_.str.6@PAGEOFF
	b	LBB0_29
LBB0_17:
	ldr	x8, [sp, #8]
	ldr	x9, [x22]
	cmp	x8, x9
	b.le	LBB0_19
; %bb.18:
	str	x8, [sp]
Lloh27:
	adrp	x1, l_.str.7@PAGE
Lloh28:
	add	x1, x1, l_.str.7@PAGEOFF
	b	LBB0_29
LBB0_19:
	str	w8, [x20, #4]
	ldr	w2, [x20]
	ldr	w3, [x24]
	mov	x0, x19
	mov	w1, #4
	bl	_devm_kcalloc
	str	x0, [x20, #8]
	cbz	x0, LBB0_25
; %bb.20:
	ldr	w8, [x20]
	cbz	w8, LBB0_26
; %bb.21:
	mov	x24, #0
LBB0_22:                                ; =>This Inner Loop Header: Depth=1
	add	x23, x24, #1
	mov	x0, x19
	mov	x1, x23
	bl	_platform_get_irq
	mov	x22, x0
	tbnz	w0, #31, LBB0_9
; %bb.23:                               ;   in Loop: Header=BB0_22 Depth=1
	ldr	x8, [x20, #8]
	str	w22, [x8, x24, lsl #2]
	ldr	w8, [x20]
	mov	x24, x23
	cmp	x23, x8
	b.lo	LBB0_22
; %bb.24:
	add	w1, w23, #1
	b	LBB0_27
LBB0_25:
Lloh29:
	adrp	x1, l_.str.8@PAGE
Lloh30:
	add	x1, x1, l_.str.8@PAGEOFF
	b	LBB0_11
LBB0_26:
	mov	w1, #1
LBB0_27:
	mov	x0, x19
	bl	_platform_get_irq
	tbnz	w0, #31, LBB0_30
; %bb.28:
Lloh31:
	adrp	x1, l_.str.9@PAGE
Lloh32:
	add	x1, x1, l_.str.9@PAGEOFF
LBB0_29:
	mov	x0, x19
	bl	_dev_err
Lloh33:
	adrp	x8, _EINVAL@GOTPAGE
Lloh34:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_8
LBB0_30:
	mov	x0, x19
	mov	w1, #0
	bl	_platform_get_irq
	mov	x22, x0
	tbnz	w0, #31, LBB0_9
; %bb.31:
	str	w22, [x20, #16]
Lloh35:
	adrp	x2, _irq_generic_chip_ops@GOTPAGE
Lloh36:
	ldr	x2, [x2, _irq_generic_chip_ops@GOTPAGEOFF]
	mov	x0, x21
	mov	w1, #16
	mov	x3, x20
	bl	_irq_domain_add_linear
	str	w0, [x20, #20]
	cmp	w0, #0
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_33
; %bb.32:
Lloh37:
	adrp	x1, l_.str.10@PAGE
Lloh38:
	add	x1, x1, l_.str.10@PAGEOFF
	b	LBB0_11
LBB0_33:
	ldr	w0, [x20, #20]
Lloh39:
	adrp	x23, _handle_level_irq@GOTPAGE
Lloh40:
	ldr	x23, [x23, _handle_level_irq@GOTPAGEOFF]
	ldr	w4, [x23]
Lloh41:
	adrp	x8, _IRQ_GC_INIT_NESTED_LOCK@GOTPAGE
Lloh42:
	ldr	x8, [x8, _IRQ_GC_INIT_NESTED_LOCK@GOTPAGEOFF]
Lloh43:
	ldr	w7, [x8]
Lloh44:
	adrp	x3, l_.str.11@PAGE
Lloh45:
	add	x3, x3, l_.str.11@PAGEOFF
	mov	w1, #8
	mov	w2, #2
	mov	w5, #0
	mov	w6, #0
	bl	_irq_alloc_domain_generic_chips
	mov	x22, x0
	ldr	w0, [x20, #20]
	cbz	w22, LBB0_35
; %bb.34:
	bl	_irq_domain_remove
	b	LBB0_9
LBB0_35:
	mov	w1, #0
	bl	_irq_get_domain_generic_chip
	mov	x21, x0
	ldr	w0, [x20]
	bl	_BIT
	neg	w8, w0
	str	w8, [x21]
	ldr	x8, [x20, #24]
	str	x8, [x21, #16]
Lloh46:
	adrp	x8, _PDC_IRQ_ROUTE@GOTPAGE
Lloh47:
	ldr	x8, [x8, _PDC_IRQ_ROUTE@GOTPAGEOFF]
Lloh48:
	ldr	x8, [x8]
	ldr	x9, [x21, #8]
Lloh49:
	adrp	x10, _perip_irq_mask@GOTPAGE
Lloh50:
	ldr	x10, [x10, _perip_irq_mask@GOTPAGEOFF]
	str	x8, [x9, #48]
Lloh51:
	ldr	x8, [x10]
Lloh52:
	adrp	x10, _perip_irq_unmask@GOTPAGE
Lloh53:
	ldr	x10, [x10, _perip_irq_unmask@GOTPAGEOFF]
Lloh54:
	ldr	x10, [x10]
	stp	x10, x8, [x9, #24]
Lloh55:
	adrp	x22, _pdc_irq_set_wake@GOTPAGE
Lloh56:
	ldr	x22, [x22, _pdc_irq_set_wake@GOTPAGEOFF]
	ldr	x8, [x22]
	str	x8, [x9, #8]
	ldr	w0, [x20, #20]
	mov	w1, #8
	bl	_irq_get_domain_generic_chip
	mov	x21, x0
	ldr	w0, [x20, #4]
	bl	_BIT
	neg	w8, w0
	str	w8, [x21]
	ldr	x8, [x20, #24]
Lloh57:
	adrp	x9, _IRQ_TYPE_EDGE_BOTH@GOTPAGE
Lloh58:
	ldr	x9, [x9, _IRQ_TYPE_EDGE_BOTH@GOTPAGEOFF]
	str	x8, [x21, #16]
Lloh59:
	ldr	w8, [x9]
	ldr	x9, [x21, #8]
Lloh60:
	adrp	x10, _handle_edge_irq@GOTPAGE
Lloh61:
	ldr	x10, [x10, _handle_edge_irq@GOTPAGEOFF]
Lloh62:
	ldr	w10, [x10]
	stp	w10, w8, [x9, #64]
Lloh63:
	adrp	x8, _PDC_IRQ_CLEAR@GOTPAGE
Lloh64:
	ldr	x8, [x8, _PDC_IRQ_CLEAR@GOTPAGEOFF]
Lloh65:
	adrp	x10, _PDC_IRQ_ENABLE@GOTPAGE
Lloh66:
	ldr	x10, [x10, _PDC_IRQ_ENABLE@GOTPAGEOFF]
	ldr	x11, [x8]
	ldr	x12, [x10]
	stp	x12, x11, [x9, #48]
Lloh67:
	adrp	x11, _irq_gc_ack_set_bit@GOTPAGE
Lloh68:
	ldr	x11, [x11, _irq_gc_ack_set_bit@GOTPAGEOFF]
	ldr	x12, [x11]
Lloh69:
	adrp	x13, _irq_gc_mask_clr_bit@GOTPAGE
Lloh70:
	ldr	x13, [x13, _irq_gc_mask_clr_bit@GOTPAGEOFF]
	ldr	x14, [x13]
	stp	x14, x12, [x9, #32]
Lloh71:
	adrp	x12, _irq_gc_mask_set_bit@GOTPAGE
Lloh72:
	ldr	x12, [x12, _irq_gc_mask_set_bit@GOTPAGEOFF]
	ldr	x14, [x12]
Lloh73:
	adrp	x15, _syswake_irq_set_type@GOTPAGE
Lloh74:
	ldr	x15, [x15, _syswake_irq_set_type@GOTPAGEOFF]
	ldr	x16, [x15]
	stp	x16, x14, [x9, #16]
	ldr	x14, [x22]
Lloh75:
	adrp	x16, _IRQCHIP_MASK_ON_SUSPEND@GOTPAGE
Lloh76:
	ldr	x16, [x16, _IRQCHIP_MASK_ON_SUSPEND@GOTPAGEOFF]
	ldr	x17, [x16]
	stp	x17, x14, [x9]
Lloh77:
	adrp	x14, _IRQ_TYPE_LEVEL_MASK@GOTPAGE
Lloh78:
	ldr	x14, [x14, _IRQ_TYPE_LEVEL_MASK@GOTPAGEOFF]
Lloh79:
	ldr	w14, [x14]
	ldr	w17, [x23]
	stp	w17, w14, [x9, #136]
	ldr	x8, [x8]
	ldr	x10, [x10]
	stp	x10, x8, [x9, #120]
	ldr	x8, [x11]
	ldr	x10, [x13]
	stp	x10, x8, [x9, #104]
	ldr	x8, [x12]
	ldr	x10, [x15]
	stp	x10, x8, [x9, #88]
	ldr	x8, [x22]
	ldr	x10, [x16]
	stp	x10, x8, [x9, #72]
	mov	x0, x20
	bl	_pdc_intc_setup
	ldr	w8, [x20]
	cbz	w8, LBB0_38
; %bb.36:
	mov	x21, #0
Lloh80:
	adrp	x22, _pdc_intc_perip_isr@GOTPAGE
Lloh81:
	ldr	x22, [x22, _pdc_intc_perip_isr@GOTPAGEOFF]
LBB0_37:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #8]
	ldr	w0, [x8, x21, lsl #2]
	ldr	w1, [x22]
	mov	x2, x20
	bl	_irq_set_chained_handler_and_data
	add	x21, x21, #1
	ldr	w8, [x20]
	cmp	x21, x8
	b.lo	LBB0_37
LBB0_38:
	ldr	w0, [x20, #16]
Lloh82:
	adrp	x8, _pdc_intc_syswake_isr@GOTPAGE
Lloh83:
	ldr	x8, [x8, _pdc_intc_syswake_isr@GOTPAGEOFF]
Lloh84:
	ldr	w1, [x8]
	mov	x2, x20
	bl	_irq_set_chained_handler_and_data
	ldp	w2, w3, [x20]
Lloh85:
	adrp	x1, l_.str.12@PAGE
Lloh86:
	add	x1, x1, l_.str.12@PAGEOFF
	mov	x0, x19
	bl	_dev_info
	mov	w22, #0
	b	LBB0_9
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGot	Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh77, Lloh78, Lloh79
	.loh AdrpLdrGot	Lloh75, Lloh76
	.loh AdrpLdrGot	Lloh73, Lloh74
	.loh AdrpLdrGot	Lloh71, Lloh72
	.loh AdrpLdrGot	Lloh69, Lloh70
	.loh AdrpLdrGot	Lloh67, Lloh68
	.loh AdrpLdrGot	Lloh65, Lloh66
	.loh AdrpLdrGot	Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGot	Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGot	Lloh80, Lloh81
	.loh AdrpAdd	Lloh85, Lloh86
	.loh AdrpLdrGotLdr	Lloh82, Lloh83, Lloh84
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOENT,4,2                     ; @ENOENT
	.comm	_IORESOURCE_MEM,4,2             ; @IORESOURCE_MEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cannot find registers resource\n"

	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
l_.str.1:                               ; @.str.1
	.asciz	"cannot allocate device data\n"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_EIO,4,2                        ; @EIO
l_.str.2:                               ; @.str.2
	.asciz	"num-perips"

l_.str.3:                               ; @.str.3
	.asciz	"No num-perips node property found\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_SYS0_HWIRQ,8,3                 ; @SYS0_HWIRQ
l_.str.4:                               ; @.str.4
	.asciz	"num-perips (%u) out of range\n"

l_.str.5:                               ; @.str.5
	.asciz	"num-syswakes"

l_.str.6:                               ; @.str.6
	.asciz	"No num-syswakes node property found\n"

l_.str.7:                               ; @.str.7
	.asciz	"num-syswakes (%u) out of range\n"

l_.str.8:                               ; @.str.8
	.asciz	"cannot allocate perip IRQ list\n"

l_.str.9:                               ; @.str.9
	.asciz	"surplus perip IRQs detected\n"

	.comm	_irq_generic_chip_ops,4,2       ; @irq_generic_chip_ops
l_.str.10:                              ; @.str.10
	.asciz	"cannot add IRQ domain\n"

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

	.comm	_handle_level_irq,4,2           ; @handle_level_irq
	.comm	_IRQ_GC_INIT_NESTED_LOCK,4,2    ; @IRQ_GC_INIT_NESTED_LOCK
	.comm	_PDC_IRQ_ROUTE,8,3              ; @PDC_IRQ_ROUTE
	.comm	_perip_irq_mask,8,3             ; @perip_irq_mask
	.comm	_perip_irq_unmask,8,3           ; @perip_irq_unmask
	.comm	_pdc_irq_set_wake,8,3           ; @pdc_irq_set_wake
	.comm	_IRQ_TYPE_EDGE_BOTH,4,2         ; @IRQ_TYPE_EDGE_BOTH
	.comm	_handle_edge_irq,4,2            ; @handle_edge_irq
	.comm	_PDC_IRQ_CLEAR,8,3              ; @PDC_IRQ_CLEAR
	.comm	_PDC_IRQ_ENABLE,8,3             ; @PDC_IRQ_ENABLE
	.comm	_irq_gc_ack_set_bit,8,3         ; @irq_gc_ack_set_bit
	.comm	_irq_gc_mask_clr_bit,8,3        ; @irq_gc_mask_clr_bit
	.comm	_irq_gc_mask_set_bit,8,3        ; @irq_gc_mask_set_bit
	.comm	_syswake_irq_set_type,8,3       ; @syswake_irq_set_type
	.comm	_IRQCHIP_MASK_ON_SUSPEND,8,3    ; @IRQCHIP_MASK_ON_SUSPEND
	.comm	_IRQ_TYPE_LEVEL_MASK,4,2        ; @IRQ_TYPE_LEVEL_MASK
	.comm	_pdc_intc_perip_isr,4,2         ; @pdc_intc_perip_isr
	.comm	_pdc_intc_syswake_isr,4,2       ; @pdc_intc_syswake_isr
l_.str.12:                              ; @.str.12
	.asciz	"PDC IRQ controller initialised (%u perip IRQs, %u syswake IRQs)\n"

	.no_dead_strip	_pdc_intc_probe
.subsections_via_symbols
