	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sec_irq_init                   ## -- Begin function sec_irq_init
	.p2align	4, 0x90
_sec_irq_init:                          ## @sec_irq_init
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movl	24(%rdi), %edx
	testl	%edx, %edx
	je	LBB0_1
## %bb.2:
	movl	(%rbx), %eax
	leal	-128(%rax), %ecx
	cmpl	$8, %ecx
	jae	LBB0_3
## %bb.4:
	movslq	%ecx, %rax
	leaq	l_switch.table.sec_irq_init(%rip), %rcx
	movq	(%rcx,%rax,8), %r9
	movl	4(%rbx), %edi
	movl	28(%rbx), %esi
	movq	_IRQF_TRIGGER_FALLING@GOTPCREL(%rip), %rax
	movq	_IRQF_ONESHOT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	16(%rbx), %r8
	leaq	8(%rbx), %rax
	movq	%rax, (%rsp)
	callq	_devm_regmap_add_irq_chip
	testl	%eax, %eax
	je	LBB0_6
## %bb.5:
	movl	%eax, %r14d
	movl	4(%rbx), %edi
	leaq	L_.str.2(%rip), %rsi
	movl	%eax, %edx
	callq	_dev_err
	jmp	LBB0_8
LBB0_1:
	movl	4(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	callq	_dev_warn
	movq	$0, 16(%rbx)
	jmp	LBB0_7
LBB0_3:
	movl	4(%rbx), %edi
	leaq	L_.str.1(%rip), %rsi
	movl	%eax, %edx
	callq	_dev_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
	jmp	LBB0_8
LBB0_6:
	movq	_S2MPS11_IRQ_RTCA0@GOTPCREL(%rip), %rax
	movq	_S2MPS14_IRQ_RTCA0@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	xorl	%edi, %edi
	cmpl	(%rax), %ecx
	setne	%dil
	callq	_BUILD_BUG_ON
LBB0_7:
	xorl	%r14d, %r14d
LBB0_8:
	movl	%r14d, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"No interrupt specified, no interrupts\n"

	.comm	_s5m8763_irq_chip,4,2           ## @s5m8763_irq_chip
	.comm	_s5m8767_irq_chip,4,2           ## @s5m8767_irq_chip
	.comm	_s2mps14_irq_chip,4,2           ## @s2mps14_irq_chip
	.comm	_s2mps11_irq_chip,4,2           ## @s2mps11_irq_chip
	.comm	_s2mps13_irq_chip,4,2           ## @s2mps13_irq_chip
	.comm	_s2mps15_irq_chip,4,2           ## @s2mps15_irq_chip
	.comm	_s2mpu02_irq_chip,4,2           ## @s2mpu02_irq_chip
L_.str.1:                               ## @.str.1
	.asciz	"Unknown device type %lu\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_IRQF_TRIGGER_FALLING,4,2       ## @IRQF_TRIGGER_FALLING
	.comm	_IRQF_ONESHOT,4,2               ## @IRQF_ONESHOT
L_.str.2:                               ## @.str.2
	.asciz	"Failed to register IRQ chip: %d\n"

	.comm	_S2MPS11_IRQ_RTCA0,8,3          ## @S2MPS11_IRQ_RTCA0
	.comm	_S2MPS14_IRQ_RTCA0,4,2          ## @S2MPS14_IRQ_RTCA0
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.sec_irq_init
l_switch.table.sec_irq_init:
	.quad	_s5m8767_irq_chip
	.quad	_s5m8763_irq_chip
	.quad	_s2mpu02_irq_chip
	.quad	_s2mps15_irq_chip
	.quad	_s2mps14_irq_chip
	.quad	_s2mps13_irq_chip
	.quad	_s2mps11_irq_chip
	.quad	_s2mps14_irq_chip

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sec_irq_init                   ; -- Begin function sec_irq_init
	.p2align	2
_sec_irq_init:                          ; @sec_irq_init
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	w2, [x0, #24]
	cbz	w2, LBB0_4
; %bb.1:
	ldr	w8, [x19]
	sub	w9, w8, #128
	cmp	w9, #8
	b.hs	LBB0_5
; %bb.2:
Lloh0:
	adrp	x8, l_switch.table.sec_irq_init@PAGE
Lloh1:
	add	x8, x8, l_switch.table.sec_irq_init@PAGEOFF
	ldr	x5, [x8, w9, sxtw #3]
	ldr	w0, [x19, #4]
	ldr	w1, [x19, #28]
Lloh2:
	adrp	x8, _IRQF_TRIGGER_FALLING@GOTPAGE
Lloh3:
	ldr	x8, [x8, _IRQF_TRIGGER_FALLING@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _IRQF_ONESHOT@GOTPAGE
Lloh6:
	ldr	x9, [x9, _IRQF_ONESHOT@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	orr	w3, w9, w8
	ldr	x4, [x19, #16]
	add	x6, x19, #8
	bl	_devm_regmap_add_irq_chip
	mov	x20, x0
	cbz	w0, LBB0_6
; %bb.3:
	ldr	w0, [x19, #4]
Lloh8:
	adrp	x1, l_.str.2@PAGE
Lloh9:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x2, x20
	bl	_dev_err
	b	LBB0_7
LBB0_4:
	ldr	w0, [x19, #4]
Lloh10:
	adrp	x1, l_.str@PAGE
Lloh11:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_warn
	mov	w20, #0
	str	xzr, [x19, #16]
	b	LBB0_7
LBB0_5:
	ldr	w0, [x19, #4]
Lloh12:
	adrp	x1, l_.str.1@PAGE
Lloh13:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x8
	bl	_dev_err
Lloh14:
	adrp	x8, _EINVAL@GOTPAGE
Lloh15:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	neg	w20, w8
	b	LBB0_7
LBB0_6:
Lloh17:
	adrp	x8, _S2MPS11_IRQ_RTCA0@GOTPAGE
Lloh18:
	ldr	x8, [x8, _S2MPS11_IRQ_RTCA0@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
Lloh20:
	adrp	x9, _S2MPS14_IRQ_RTCA0@GOTPAGE
Lloh21:
	ldr	x9, [x9, _S2MPS14_IRQ_RTCA0@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	cmp	w9, w8
	cset	w0, ne
	bl	_BUILD_BUG_ON
LBB0_7:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"No interrupt specified, no interrupts\n"

	.comm	_s5m8763_irq_chip,4,2           ; @s5m8763_irq_chip
	.comm	_s5m8767_irq_chip,4,2           ; @s5m8767_irq_chip
	.comm	_s2mps14_irq_chip,4,2           ; @s2mps14_irq_chip
	.comm	_s2mps11_irq_chip,4,2           ; @s2mps11_irq_chip
	.comm	_s2mps13_irq_chip,4,2           ; @s2mps13_irq_chip
	.comm	_s2mps15_irq_chip,4,2           ; @s2mps15_irq_chip
	.comm	_s2mpu02_irq_chip,4,2           ; @s2mpu02_irq_chip
l_.str.1:                               ; @.str.1
	.asciz	"Unknown device type %lu\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_IRQF_TRIGGER_FALLING,4,2       ; @IRQF_TRIGGER_FALLING
	.comm	_IRQF_ONESHOT,4,2               ; @IRQF_ONESHOT
l_.str.2:                               ; @.str.2
	.asciz	"Failed to register IRQ chip: %d\n"

	.comm	_S2MPS11_IRQ_RTCA0,8,3          ; @S2MPS11_IRQ_RTCA0
	.comm	_S2MPS14_IRQ_RTCA0,4,2          ; @S2MPS14_IRQ_RTCA0
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.sec_irq_init
l_switch.table.sec_irq_init:
	.quad	_s5m8767_irq_chip
	.quad	_s5m8763_irq_chip
	.quad	_s2mpu02_irq_chip
	.quad	_s2mps15_irq_chip
	.quad	_s2mps14_irq_chip
	.quad	_s2mps13_irq_chip
	.quad	_s2mps11_irq_chip
	.quad	_s2mps14_irq_chip

.subsections_via_symbols
