	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function intc_irqpin_probe
_intc_irqpin_probe:                     ## @intc_irqpin_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	$56, %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	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_INTC_IRQPIN_REG_NR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	(,%rbx,8), %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -72(%rbp)                 ## 8-byte Spill
	movq	%r13, %rdi
	callq	_dev_name
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	movl	$96, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_23
## %bb.1:
	movq	%rax, %r12
	movl	(%r13), %edi
	leaq	L_.str(%rip), %rsi
	movq	%rax, %rdx
	callq	_of_property_read_u32
	movl	(%r13), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_of_property_read_bool
	movl	%eax, -76(%rbp)                 ## 4-byte Spill
	cmpl	$0, (%r12)
	jne	LBB0_3
## %bb.2:
	movl	$4, (%r12)
LBB0_3:
	movq	%r13, 88(%r12)
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_platform_set_drvdata
	movq	%r13, %rdi
	callq	_of_device_get_match_data
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movq	%r13, %rdi
	callq	_pm_runtime_enable
	movq	%r13, %rdi
	callq	_pm_runtime_get_sync
	shll	$3, %ebx
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	xorl	%esi, %esi
	movl	%ebx, %edx
	callq	_memset
	movq	_INTC_IRQPIN_REG_NR@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_9
## %bb.4:
	xorl	%ebx, %ebx
	movq	_IORESOURCE_MEM@GOTPCREL(%rip), %r14
	movq	_INTC_IRQPIN_REG_NR_MANDATORY@GOTPCREL(%rip), %r15
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_6 Depth=1
	incq	%rbx
	movq	_INTC_IRQPIN_REG_NR@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	cmpq	%rax, %rbx
	jge	LBB0_9
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r14), %esi
	movq	%r13, %rdi
	movl	%ebx, %edx
	callq	_platform_get_resource
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx,%rbx,8)
	testq	%rax, %rax
	jne	LBB0_5
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movslq	(%r15), %rax
	cmpq	%rax, %rbx
	jge	LBB0_5
## %bb.8:
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_25
LBB0_9:
	movq	_INTC_IRQPIN_MAX@GOTPCREL(%rip), %r14
	cmpl	$0, (%r14)
	jle	LBB0_24
## %bb.10:
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	movl	$80, %ebx
	xorl	%r15d, %r15d
	movq	_IORESOURCE_IRQ@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r12), %esi
	movq	%r13, %rdi
	movl	%r15d, %edx
	callq	_platform_get_resource
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movq	16(%rdx), %rcx
	movq	%rdx, (%rcx,%rbx)
	movl	(%rax), %eax
	movl	%eax, -76(%rcx,%rbx)
	incq	%r15
	movslq	(%r14), %rax
	addq	$96, %rbx
	cmpq	%rax, %r15
	jl	LBB0_11
LBB0_13:
	testl	%r15d, %r15d
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	je	LBB0_24
## %bb.14:
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	movq	_INTC_IRQPIN_REG_NR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	jle	LBB0_30
## %bb.15:
	movl	$12, %r14d
	xorl	%r13d, %r13d
	jmp	LBB0_19
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_19 Depth=1
	movl	%ecx, -12(%r12,%r14)
	movl	(%rdx), %eax
	movl	%eax, (%r12,%r14)
	movl	(%rsi), %eax
	movl	%eax, -4(%r12,%r14)
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax,%r13,8), %rdi
	movl	(%rdi), %ebx
	callq	_resource_size
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_devm_ioremap_nocache
	movl	%eax, -8(%r12,%r14)
	testl	%eax, %eax
	je	LBB0_34
## %bb.17:                              ##   in Loop: Header=BB0_19 Depth=1
	movq	_INTC_IRQPIN_REG_NR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-64(%rbp), %r12                 ## 8-byte Reload
LBB0_18:                                ##   in Loop: Header=BB0_19 Depth=1
	incq	%r13
	movslq	%eax, %rcx
	addq	$16, %r14
	cmpq	%rcx, %r13
	jge	LBB0_30
LBB0_19:                                ## =>This Inner Loop Header: Depth=1
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx,%r13,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_18
## %bb.20:                              ##   in Loop: Header=BB0_19 Depth=1
	movq	72(%r12), %r12
	callq	_resource_size
	movl	$8, %ecx
	movq	_intc_irqpin_read8@GOTPCREL(%rip), %rdx
	movq	_intc_irqpin_write8@GOTPCREL(%rip), %rsi
	cmpl	$1, %eax
	je	LBB0_16
## %bb.21:                              ##   in Loop: Header=BB0_19 Depth=1
	cmpl	$4, %eax
	jne	LBB0_35
## %bb.22:                              ##   in Loop: Header=BB0_19 Depth=1
	movl	$32, %ecx
	movq	_intc_irqpin_read32@GOTPCREL(%rip), %rdx
	movq	_intc_irqpin_write32@GOTPCREL(%rip), %rsi
	jmp	LBB0_16
LBB0_23:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_28
LBB0_24:
	leaq	L_.str.3(%rip), %rsi
LBB0_25:
	movq	%r13, %rdi
	callq	_dev_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_26:
	movl	(%rax), %ebx
LBB0_27:
	negl	%ebx
	movq	%r13, %rdi
	callq	_pm_runtime_put
	movq	%r13, %rdi
	callq	_pm_runtime_disable
LBB0_28:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_58
## %bb.29:
	movl	%ebx, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_30:
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	testq	%rcx, %rcx
	je	LBB0_37
## %bb.31:
	cmpq	$0, 8(%rcx)
	je	LBB0_37
## %bb.32:
	movq	_INTC_IRQPIN_REG_IRLM@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	cmpq	$0, (%rax,%rsi,8)
	je	LBB0_36
## %bb.33:
	movl	(%rcx), %edx
	movq	%r12, %rdi
	movl	$1, %ecx
	movl	$1, %r8d
	callq	_intc_irqpin_read_modify_write
	jmp	LBB0_37
LBB0_34:
	leaq	L_.str.5(%rip), %rsi
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rdi
	callq	_dev_err
	movq	_ENXIO@GOTPCREL(%rip), %rax
	jmp	LBB0_26
LBB0_35:
	leaq	L_.str.4(%rip), %rsi
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	jmp	LBB0_25
LBB0_36:
	leaq	L_.str.6(%rip), %rsi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_dev_warn
LBB0_37:
	cmpl	$2, %r15d
	movl	$1, %r13d
	cmovael	%r15d, %r13d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_38:                                ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	movl	%ebx, %esi
	movl	$1, %edx
	callq	_intc_irqpin_mask_unmask_prio
	incl	%ebx
	cmpl	%ebx, %r13d
	jne	LBB0_38
## %bb.39:
	movq	_INTC_IRQPIN_REG_SOURCE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%ebx, %ebx
	movq	%r12, %rdi
	xorl	%edx, %edx
	callq	_intc_irqpin_write
	movq	16(%r12), %rax
	movl	4(%rax), %ecx
	movl	$1, 8(%r12)
	cmpl	$2, %r15d
	jb	LBB0_45
## %bb.40:
	addq	$100, %rax
	movq	%r15, %rdx
	decq	%rdx
	.p2align	4, 0x90
LBB0_41:                                ## =>This Inner Loop Header: Depth=1
	cmpl	(%rax), %ecx
	jne	LBB0_44
## %bb.42:                              ##   in Loop: Header=BB0_41 Depth=1
	addq	$96, %rax
	decq	%rdx
	jne	LBB0_41
## %bb.43:
	xorl	%ebx, %ebx
	jmp	LBB0_45
LBB0_44:
	movl	$0, 8(%r12)
	movb	$1, %bl
LBB0_45:
	movq	_intc_irqpin_shared_irq_disable@GOTPCREL(%rip), %rax
	testb	%bl, %bl
	cmovneq	_intc_irqpin_irq_disable@GOTPCREL(%rip), %rax
	movq	_intc_irqpin_shared_irq_enable@GOTPCREL(%rip), %rcx
	cmovneq	_intc_irqpin_irq_enable@GOTPCREL(%rip), %rcx
	cmpl	$0, -76(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_47
## %bb.46:
	movq	_intc_irqpin_irq_disable_force@GOTPCREL(%rip), %rax
	movq	_intc_irqpin_irq_enable_force@GOTPCREL(%rip), %rcx
LBB0_47:
	leaq	L_.str.7(%rip), %rdx
	movq	%rdx, 24(%r12)
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, 64(%r12)
	movq	%rax, 32(%r12)
	movq	%rcx, 40(%r12)
	movq	_intc_irqpin_irq_set_type@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 56(%r12)
	movq	_intc_irqpin_irq_set_wake@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 52(%r12)
	movq	_IRQCHIP_MASK_ON_SUSPEND@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 48(%r12)
	movl	(%r14), %edi
	movq	_intc_irqpin_irq_domain_ops@GOTPCREL(%rip), %rcx
	movl	%r15d, %esi
	xorl	%edx, %edx
	movq	%r12, %r8
	callq	_irq_domain_add_simple
	movl	%eax, 12(%r12)
	testl	%eax, %eax
	je	LBB0_51
## %bb.48:
	cmpl	$0, 8(%r12)
	je	LBB0_52
## %bb.49:
	movq	16(%r12), %rax
	movl	4(%rax), %esi
	movq	_intc_irqpin_shared_irq_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_IRQF_SHARED@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	-88(%rbp), %r8                  ## 8-byte Reload
	movq	%r12, %r9
	callq	_devm_request_irq
	testq	%rax, %rax
	je	LBB0_55
LBB0_50:
	leaq	L_.str.9(%rip), %rsi
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rdi
	callq	_dev_err
	movq	_ENOENT@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	12(%rax), %edi
	callq	_irq_domain_remove
	jmp	LBB0_27
LBB0_51:
	movq	_ENXIO@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str.8(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_err
	movq	%r14, %r13
	jmp	LBB0_27
LBB0_52:
	movl	%r13d, %eax
	shlq	$5, %rax
	leaq	(%rax,%rax,2), %r14
	xorl	%ebx, %ebx
	movq	_intc_irqpin_irq_handler@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_53:                                ## =>This Inner Loop Header: Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	16(%rax), %r9
	movl	4(%r9,%rbx), %esi
	addq	%rbx, %r9
	movl	(%r12), %edx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	xorl	%ecx, %ecx
	movq	-88(%rbp), %r8                  ## 8-byte Reload
	callq	_devm_request_irq
	testq	%rax, %rax
	jne	LBB0_50
## %bb.54:                              ##   in Loop: Header=BB0_53 Depth=1
	addq	$96, %rbx
	cmpq	%rbx, %r14
	jne	LBB0_53
LBB0_55:
	xorl	%ebx, %ebx
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_56:                                ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movl	%ebx, %esi
	xorl	%edx, %edx
	callq	_intc_irqpin_mask_unmask_prio
	incl	%ebx
	cmpl	%ebx, %r13d
	jne	LBB0_56
## %bb.57:
	leaq	L_.str.10(%rip), %rsi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%r15d, %edx
	callq	_dev_info
	xorl	%ebx, %ebx
	jmp	LBB0_28
LBB0_58:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_INTC_IRQPIN_REG_NR,4,2         ## @INTC_IRQPIN_REG_NR
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"sense-bitfield-width"

L_.str.1:                               ## @.str.1
	.asciz	"control-parent"

	.comm	_IORESOURCE_MEM,4,2             ## @IORESOURCE_MEM
	.comm	_INTC_IRQPIN_REG_NR_MANDATORY,4,2 ## @INTC_IRQPIN_REG_NR_MANDATORY
L_.str.2:                               ## @.str.2
	.asciz	"not enough IOMEM resources\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_INTC_IRQPIN_MAX,4,2            ## @INTC_IRQPIN_MAX
	.comm	_IORESOURCE_IRQ,4,2             ## @IORESOURCE_IRQ
L_.str.3:                               ## @.str.3
	.asciz	"not enough IRQ resources\n"

	.comm	_intc_irqpin_read8,4,2          ## @intc_irqpin_read8
	.comm	_intc_irqpin_write8,4,2         ## @intc_irqpin_write8
	.comm	_intc_irqpin_read32,4,2         ## @intc_irqpin_read32
	.comm	_intc_irqpin_write32,4,2        ## @intc_irqpin_write32
L_.str.4:                               ## @.str.4
	.asciz	"IOMEM size mismatch\n"

L_.str.5:                               ## @.str.5
	.asciz	"failed to remap IOMEM\n"

	.comm	_ENXIO,4,2                      ## @ENXIO
	.comm	_INTC_IRQPIN_REG_IRLM,8,3       ## @INTC_IRQPIN_REG_IRLM
L_.str.6:                               ## @.str.6
	.asciz	"unable to select IRLM mode\n"

	.comm	_INTC_IRQPIN_REG_SOURCE,4,2     ## @INTC_IRQPIN_REG_SOURCE
L_.str.7:                               ## @.str.7
	.asciz	"intc-irqpin"

	.comm	_intc_irqpin_irq_set_type,4,2   ## @intc_irqpin_irq_set_type
	.comm	_intc_irqpin_irq_set_wake,4,2   ## @intc_irqpin_irq_set_wake
	.comm	_IRQCHIP_MASK_ON_SUSPEND,4,2    ## @IRQCHIP_MASK_ON_SUSPEND
	.comm	_intc_irqpin_irq_domain_ops,4,2 ## @intc_irqpin_irq_domain_ops
L_.str.8:                               ## @.str.8
	.asciz	"cannot initialize irq domain\n"

	.comm	_intc_irqpin_shared_irq_handler,4,2 ## @intc_irqpin_shared_irq_handler
	.comm	_IRQF_SHARED,4,2                ## @IRQF_SHARED
L_.str.9:                               ## @.str.9
	.asciz	"failed to request low IRQ\n"

	.comm	_ENOENT,4,2                     ## @ENOENT
	.comm	_intc_irqpin_irq_handler,4,2    ## @intc_irqpin_irq_handler
L_.str.10:                              ## @.str.10
	.asciz	"driving %d irqs\n"

	.no_dead_strip	_intc_irqpin_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function intc_irqpin_probe
_intc_irqpin_probe:                     ; @intc_irqpin_probe
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #32
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x27, _INTC_IRQPIN_REG_NR@GOTPAGE
Lloh4:
	ldr	x27, [x27, _INTC_IRQPIN_REG_NR@GOTPAGEOFF]
	ldr	w22, [x27]
	lsl	x8, x22, #3
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0xffffffff0
	sub	x24, x9, x8
	mov	sp, x24
	bl	_dev_name
	mov	x21, x0
Lloh7:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh8:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh9:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #96
	bl	_devm_kzalloc
	cbz	x0, LBB0_22
; %bb.1:
	mov	x20, x0
	ldr	w0, [x19]
Lloh10:
	adrp	x1, l_.str@PAGE
Lloh11:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x20
	bl	_of_property_read_u32
	ldr	w0, [x19]
Lloh12:
	adrp	x1, l_.str.1@PAGE
Lloh13:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_of_property_read_bool
	mov	x28, x0
	ldr	w8, [x20]
	cbnz	w8, LBB0_3
; %bb.2:
	mov	w8, #4
	str	w8, [x20]
LBB0_3:
	str	x19, [x20, #88]
	mov	x0, x19
	mov	x1, x20
	bl	_platform_set_drvdata
	mov	x0, x19
	bl	_of_device_get_match_data
	mov	x25, x0
	mov	x0, x19
	bl	_pm_runtime_enable
	mov	x0, x19
	bl	_pm_runtime_get_sync
	lsl	w2, w22, #3
	mov	x0, x24
	mov	w1, #0
	bl	_memset
	ldr	w8, [x27]
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.4:
	mov	x22, #0
Lloh14:
	adrp	x23, _IORESOURCE_MEM@GOTPAGE
Lloh15:
	ldr	x23, [x23, _IORESOURCE_MEM@GOTPAGEOFF]
Lloh16:
	adrp	x26, _INTC_IRQPIN_REG_NR_MANDATORY@GOTPAGE
Lloh17:
	ldr	x26, [x26, _INTC_IRQPIN_REG_NR_MANDATORY@GOTPAGEOFF]
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x23]
	mov	x0, x19
	mov	x2, x22
	bl	_platform_get_resource
	str	x0, [x24, x22, lsl #3]
	ldrsw	x8, [x26]
	cmp	x0, #0
	ccmp	x22, x8, #0, eq
	b.lt	LBB0_24
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x22, x22, #1
	ldrsw	x8, [x27]
	cmp	x22, x8
	b.lt	LBB0_5
LBB0_7:
	stur	w28, [x29, #-100]               ; 4-byte Folded Spill
	stur	x21, [x29, #-96]                ; 8-byte Folded Spill
Lloh18:
	adrp	x23, _INTC_IRQPIN_MAX@GOTPAGE
Lloh19:
	ldr	x23, [x23, _INTC_IRQPIN_MAX@GOTPAGEOFF]
	ldr	w8, [x23]
	cmp	w8, #1
	b.lt	LBB0_23
; %bb.8:
	mov	x26, #0
	mov	x22, #0
Lloh20:
	adrp	x28, _IORESOURCE_IRQ@GOTPAGE
Lloh21:
	ldr	x28, [x28, _IORESOURCE_IRQ@GOTPAGEOFF]
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x28]
	mov	x0, x19
	mov	x2, x22
	bl	_platform_get_resource
	cbz	x0, LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	x8, [x20, #16]
	add	x8, x8, x26
	str	x20, [x8, #80]
	ldr	w9, [x0]
	str	w9, [x8, #4]
	add	x22, x22, #1
	ldrsw	x8, [x23]
	add	x26, x26, #96
	cmp	x22, x8
	b.lt	LBB0_9
LBB0_11:
	cbz	w22, LBB0_23
; %bb.12:
	ldr	w8, [x27]
	cmp	w8, #1
	b.lt	LBB0_30
; %bb.13:
	mov	x28, #0
	mov	x23, #0
	b	LBB0_18
LBB0_14:                                ;   in Loop: Header=BB0_18 Depth=1
	mov	w8, #8
Lloh22:
	adrp	x9, _intc_irqpin_read8@GOTPAGE
Lloh23:
	ldr	x9, [x9, _intc_irqpin_read8@GOTPAGEOFF]
Lloh24:
	adrp	x10, _intc_irqpin_write8@GOTPAGE
Lloh25:
	ldr	x10, [x10, _intc_irqpin_write8@GOTPAGEOFF]
LBB0_15:                                ;   in Loop: Header=BB0_18 Depth=1
	add	x21, x26, x28
	str	w8, [x21]
	ldr	w8, [x9]
	str	w8, [x21, #12]
	ldr	w8, [x10]
	str	w8, [x21, #8]
	ldr	x0, [x24, x23, lsl #3]
	ldr	w26, [x0]
	bl	_resource_size
	mov	x2, x0
	mov	x0, x19
	mov	x1, x26
	bl	_devm_ioremap_nocache
	str	w0, [x21, #4]
	cbz	w0, LBB0_34
; %bb.16:                               ;   in Loop: Header=BB0_18 Depth=1
	ldr	w8, [x27]
LBB0_17:                                ;   in Loop: Header=BB0_18 Depth=1
	add	x23, x23, #1
	add	x28, x28, #16
	cmp	x23, w8, sxtw
	b.ge	LBB0_30
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x24, x23, lsl #3]
	cbz	x0, LBB0_17
; %bb.19:                               ;   in Loop: Header=BB0_18 Depth=1
	ldr	x26, [x20, #72]
	bl	_resource_size
	cmp	w0, #1
	b.eq	LBB0_14
; %bb.20:                               ;   in Loop: Header=BB0_18 Depth=1
	cmp	w0, #4
	b.ne	LBB0_35
; %bb.21:                               ;   in Loop: Header=BB0_18 Depth=1
	mov	w8, #32
Lloh26:
	adrp	x9, _intc_irqpin_read32@GOTPAGE
Lloh27:
	ldr	x9, [x9, _intc_irqpin_read32@GOTPAGEOFF]
Lloh28:
	adrp	x10, _intc_irqpin_write32@GOTPAGE
Lloh29:
	ldr	x10, [x10, _intc_irqpin_write32@GOTPAGEOFF]
	b	LBB0_15
LBB0_22:
Lloh30:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh31:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
	neg	w20, w8
	b	LBB0_28
LBB0_23:
Lloh33:
	adrp	x1, l_.str.3@PAGE
Lloh34:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_25
LBB0_24:
Lloh35:
	adrp	x1, l_.str.2@PAGE
Lloh36:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_25:
	mov	x0, x19
	bl	_dev_err
Lloh37:
	adrp	x8, _EINVAL@GOTPAGE
Lloh38:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_26:
	ldr	w21, [x8]
LBB0_27:
	neg	w20, w21
	mov	x0, x19
	bl	_pm_runtime_put
	mov	x0, x19
	bl	_pm_runtime_disable
LBB0_28:
	ldur	x8, [x29, #-88]
Lloh39:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh40:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh41:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_56
; %bb.29:
	mov	x0, x20
	sub	sp, x29, #80
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_30:
	ldur	x21, [x29, #-96]                ; 8-byte Folded Reload
	ldur	w23, [x29, #-100]               ; 4-byte Folded Reload
	cbz	x25, LBB0_37
; %bb.31:
	ldr	x8, [x25, #8]
	cbz	x8, LBB0_37
; %bb.32:
Lloh42:
	adrp	x8, _INTC_IRQPIN_REG_IRLM@GOTPAGE
Lloh43:
	ldr	x8, [x8, _INTC_IRQPIN_REG_IRLM@GOTPAGEOFF]
Lloh44:
	ldr	x1, [x8]
	ldr	x8, [x24, x1, lsl #3]
	cbz	x8, LBB0_36
; %bb.33:
	ldr	w2, [x25]
	mov	x0, x20
	mov	w3, #1
	mov	w4, #1
	bl	_intc_irqpin_read_modify_write
	b	LBB0_37
LBB0_34:
Lloh45:
	adrp	x1, l_.str.5@PAGE
Lloh46:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x19
	bl	_dev_err
Lloh47:
	adrp	x8, _ENXIO@GOTPAGE
Lloh48:
	ldr	x8, [x8, _ENXIO@GOTPAGEOFF]
	b	LBB0_26
LBB0_35:
Lloh49:
	adrp	x1, l_.str.4@PAGE
Lloh50:
	add	x1, x1, l_.str.4@PAGEOFF
	b	LBB0_25
LBB0_36:
Lloh51:
	adrp	x1, l_.str.6@PAGE
Lloh52:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x19
	bl	_dev_warn
LBB0_37:
	mov	w24, #0
	cmp	w22, #1
	csinc	w25, w22, wzr, hi
LBB0_38:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x24
	mov	w2, #1
	bl	_intc_irqpin_mask_unmask_prio
	add	w24, w24, #1
	cmp	w25, w24
	b.ne	LBB0_38
; %bb.39:
Lloh53:
	adrp	x8, _INTC_IRQPIN_REG_SOURCE@GOTPAGE
Lloh54:
	ldr	x8, [x8, _INTC_IRQPIN_REG_SOURCE@GOTPAGEOFF]
Lloh55:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #0
	bl	_intc_irqpin_write
	mov	w9, #0
	ldr	x10, [x20, #16]
	ldr	w8, [x10, #4]
	mov	w11, #1
	str	w11, [x20, #8]
	cmp	w22, #2
	b.lo	LBB0_45
; %bb.40:
	add	x9, x10, #100
	sub	x10, x22, #1
LBB0_41:                                ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x9]
	cmp	w8, w11
	b.ne	LBB0_44
; %bb.42:                               ;   in Loop: Header=BB0_41 Depth=1
	add	x9, x9, #96
	subs	x10, x10, #1
	b.ne	LBB0_41
; %bb.43:
	mov	w9, #0
	b	LBB0_45
LBB0_44:
	str	wzr, [x20, #8]
	mov	w9, #1
LBB0_45:
Lloh56:
	adrp	x8, _intc_irqpin_shared_irq_disable@GOTPAGE
Lloh57:
	ldr	x8, [x8, _intc_irqpin_shared_irq_disable@GOTPAGEOFF]
Lloh58:
	adrp	x10, _intc_irqpin_irq_disable@GOTPAGE
Lloh59:
	ldr	x10, [x10, _intc_irqpin_irq_disable@GOTPAGEOFF]
	cmp	w9, #0
Lloh60:
	adrp	x9, _intc_irqpin_shared_irq_enable@GOTPAGE
Lloh61:
	ldr	x9, [x9, _intc_irqpin_shared_irq_enable@GOTPAGEOFF]
	csel	x8, x10, x8, ne
Lloh62:
	adrp	x10, _intc_irqpin_irq_enable@GOTPAGE
Lloh63:
	ldr	x10, [x10, _intc_irqpin_irq_enable@GOTPAGEOFF]
	csel	x9, x10, x9, ne
Lloh64:
	adrp	x10, _intc_irqpin_irq_disable_force@GOTPAGE
Lloh65:
	ldr	x10, [x10, _intc_irqpin_irq_disable_force@GOTPAGEOFF]
	cmp	w23, #0
	csel	x8, x8, x10, eq
Lloh66:
	adrp	x10, _intc_irqpin_irq_enable_force@GOTPAGE
Lloh67:
	ldr	x10, [x10, _intc_irqpin_irq_enable_force@GOTPAGEOFF]
Lloh68:
	adrp	x11, l_.str.7@PAGE
Lloh69:
	add	x11, x11, l_.str.7@PAGEOFF
	csel	x9, x9, x10, eq
	str	x19, [x20, #64]
	stp	x11, x8, [x20, #24]
Lloh70:
	adrp	x8, _intc_irqpin_irq_set_type@GOTPAGE
Lloh71:
	ldr	x8, [x8, _intc_irqpin_irq_set_type@GOTPAGEOFF]
	str	x9, [x20, #40]
Lloh72:
	ldr	w8, [x8]
	str	w8, [x20, #56]
Lloh73:
	adrp	x8, _intc_irqpin_irq_set_wake@GOTPAGE
Lloh74:
	ldr	x8, [x8, _intc_irqpin_irq_set_wake@GOTPAGEOFF]
Lloh75:
	ldr	w8, [x8]
Lloh76:
	adrp	x9, _IRQCHIP_MASK_ON_SUSPEND@GOTPAGE
Lloh77:
	ldr	x9, [x9, _IRQCHIP_MASK_ON_SUSPEND@GOTPAGEOFF]
Lloh78:
	ldr	w9, [x9]
	stp	w9, w8, [x20, #48]
	ldr	w0, [x19]
Lloh79:
	adrp	x3, _intc_irqpin_irq_domain_ops@GOTPAGE
Lloh80:
	ldr	x3, [x3, _intc_irqpin_irq_domain_ops@GOTPAGEOFF]
	mov	x1, x22
	mov	w2, #0
	mov	x4, x20
	bl	_irq_domain_add_simple
	str	w0, [x20, #12]
	cbz	w0, LBB0_49
; %bb.46:
	ldr	w8, [x20, #8]
	cbz	w8, LBB0_50
; %bb.47:
	ldr	x8, [x20, #16]
	ldr	w1, [x8, #4]
Lloh81:
	adrp	x8, _intc_irqpin_shared_irq_handler@GOTPAGE
Lloh82:
	ldr	x8, [x8, _intc_irqpin_shared_irq_handler@GOTPAGEOFF]
Lloh83:
	ldr	w2, [x8]
Lloh84:
	adrp	x8, _IRQF_SHARED@GOTPAGE
Lloh85:
	ldr	x8, [x8, _IRQF_SHARED@GOTPAGEOFF]
Lloh86:
	ldr	w3, [x8]
	mov	x0, x19
	mov	x4, x21
	mov	x5, x20
	bl	_devm_request_irq
	cbz	x0, LBB0_53
LBB0_48:
Lloh87:
	adrp	x1, l_.str.9@PAGE
Lloh88:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	x0, x19
	bl	_dev_err
Lloh89:
	adrp	x8, _ENOENT@GOTPAGE
Lloh90:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh91:
	ldr	w21, [x8]
	ldr	w0, [x20, #12]
	bl	_irq_domain_remove
	b	LBB0_27
LBB0_49:
Lloh92:
	adrp	x8, _ENXIO@GOTPAGE
Lloh93:
	ldr	x8, [x8, _ENXIO@GOTPAGEOFF]
Lloh94:
	ldr	w21, [x8]
Lloh95:
	adrp	x1, l_.str.8@PAGE
Lloh96:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	b	LBB0_27
LBB0_50:
	mov	x23, #0
	mov	w8, #96
	umull	x24, w25, w8
Lloh97:
	adrp	x26, _intc_irqpin_irq_handler@GOTPAGE
Lloh98:
	ldr	x26, [x26, _intc_irqpin_irq_handler@GOTPAGEOFF]
LBB0_51:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #16]
	add	x5, x8, x23
	ldr	w1, [x5, #4]
	ldr	w2, [x26]
	mov	x0, x19
	mov	w3, #0
	mov	x4, x21
	bl	_devm_request_irq
	cbnz	x0, LBB0_48
; %bb.52:                               ;   in Loop: Header=BB0_51 Depth=1
	add	x23, x23, #96
	cmp	x24, x23
	b.ne	LBB0_51
LBB0_53:
	mov	w21, #0
LBB0_54:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x21
	mov	w2, #0
	bl	_intc_irqpin_mask_unmask_prio
	add	w21, w21, #1
	cmp	w25, w21
	b.ne	LBB0_54
; %bb.55:
Lloh99:
	adrp	x1, l_.str.10@PAGE
Lloh100:
	add	x1, x1, l_.str.10@PAGEOFF
	mov	x0, x19
	mov	x2, x22
	bl	_dev_info
	mov	w20, #0
	b	LBB0_28
LBB0_56:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGot	Lloh47, Lloh48
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpAdd	Lloh49, Lloh50
	.loh AdrpAdd	Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGot	Lloh79, Lloh80
	.loh AdrpLdrGotLdr	Lloh76, Lloh77, Lloh78
	.loh AdrpLdrGotLdr	Lloh73, Lloh74, Lloh75
	.loh AdrpLdrGotLdr	Lloh70, Lloh71, Lloh72
	.loh AdrpAdd	Lloh68, Lloh69
	.loh AdrpLdrGot	Lloh66, Lloh67
	.loh AdrpLdrGot	Lloh64, Lloh65
	.loh AdrpLdrGot	Lloh62, Lloh63
	.loh AdrpLdrGot	Lloh60, Lloh61
	.loh AdrpLdrGot	Lloh58, Lloh59
	.loh AdrpLdrGot	Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh84, Lloh85, Lloh86
	.loh AdrpLdrGotLdr	Lloh81, Lloh82, Lloh83
	.loh AdrpLdrGotLdr	Lloh89, Lloh90, Lloh91
	.loh AdrpAdd	Lloh87, Lloh88
	.loh AdrpAdd	Lloh95, Lloh96
	.loh AdrpLdrGotLdr	Lloh92, Lloh93, Lloh94
	.loh AdrpLdrGot	Lloh97, Lloh98
	.loh AdrpAdd	Lloh99, Lloh100
	.cfi_endproc
                                        ; -- End function
	.comm	_INTC_IRQPIN_REG_NR,4,2         ; @INTC_IRQPIN_REG_NR
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"sense-bitfield-width"

l_.str.1:                               ; @.str.1
	.asciz	"control-parent"

	.comm	_IORESOURCE_MEM,4,2             ; @IORESOURCE_MEM
	.comm	_INTC_IRQPIN_REG_NR_MANDATORY,4,2 ; @INTC_IRQPIN_REG_NR_MANDATORY
l_.str.2:                               ; @.str.2
	.asciz	"not enough IOMEM resources\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_INTC_IRQPIN_MAX,4,2            ; @INTC_IRQPIN_MAX
	.comm	_IORESOURCE_IRQ,4,2             ; @IORESOURCE_IRQ
l_.str.3:                               ; @.str.3
	.asciz	"not enough IRQ resources\n"

	.comm	_intc_irqpin_read8,4,2          ; @intc_irqpin_read8
	.comm	_intc_irqpin_write8,4,2         ; @intc_irqpin_write8
	.comm	_intc_irqpin_read32,4,2         ; @intc_irqpin_read32
	.comm	_intc_irqpin_write32,4,2        ; @intc_irqpin_write32
l_.str.4:                               ; @.str.4
	.asciz	"IOMEM size mismatch\n"

l_.str.5:                               ; @.str.5
	.asciz	"failed to remap IOMEM\n"

	.comm	_ENXIO,4,2                      ; @ENXIO
	.comm	_INTC_IRQPIN_REG_IRLM,8,3       ; @INTC_IRQPIN_REG_IRLM
l_.str.6:                               ; @.str.6
	.asciz	"unable to select IRLM mode\n"

	.comm	_INTC_IRQPIN_REG_SOURCE,4,2     ; @INTC_IRQPIN_REG_SOURCE
l_.str.7:                               ; @.str.7
	.asciz	"intc-irqpin"

	.comm	_intc_irqpin_irq_set_type,4,2   ; @intc_irqpin_irq_set_type
	.comm	_intc_irqpin_irq_set_wake,4,2   ; @intc_irqpin_irq_set_wake
	.comm	_IRQCHIP_MASK_ON_SUSPEND,4,2    ; @IRQCHIP_MASK_ON_SUSPEND
	.comm	_intc_irqpin_irq_domain_ops,4,2 ; @intc_irqpin_irq_domain_ops
l_.str.8:                               ; @.str.8
	.asciz	"cannot initialize irq domain\n"

	.comm	_intc_irqpin_shared_irq_handler,4,2 ; @intc_irqpin_shared_irq_handler
	.comm	_IRQF_SHARED,4,2                ; @IRQF_SHARED
l_.str.9:                               ; @.str.9
	.asciz	"failed to request low IRQ\n"

	.comm	_ENOENT,4,2                     ; @ENOENT
	.comm	_intc_irqpin_irq_handler,4,2    ; @intc_irqpin_irq_handler
l_.str.10:                              ; @.str.10
	.asciz	"driving %d irqs\n"

	.no_dead_strip	_intc_irqpin_probe
.subsections_via_symbols
