	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_twl_init_irq                   ## -- Begin function twl_init_irq
	.p2align	4, 0x90
_twl_init_irq:                          ## @twl_init_irq
	.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
	movl	%edx, %r14d
	movl	%esi, %r13d
	movl	%edi, %r15d
	movq	_twl_irq_line@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_twl4030_init_sih_modules
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	leaq	L_.str(%rip), %rdi
	callq	_create_singlethread_workqueue
	movq	_wq@GOTPCREL(%rip), %rbx
	movq	%rax, (%rbx)
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	_twl4030_irq_base@GOTPCREL(%rip), %rax
	movl	%r13d, (%rax)
	movq	_dummy_irq_chip@GOTPCREL(%rip), %rax
	movups	(%rax), %xmm0
	movups	%xmm0, _twl_init_irq.twl4030_irq_chip(%rip)
	leaq	L_.str.2(%rip), %rcx
	movq	%rcx, _twl_init_irq.twl4030_irq_chip(%rip)
	movl	8(%rax), %eax
	movq	_twl4030_sih_irq_chip@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movl	%r13d, %r8d
	cmpl	%r14d, %r13d
	jae	LBB0_8
## %bb.5:
	movl	%r15d, -48(%rbp)                ## 4-byte Spill
	movq	_handle_simple_irq@GOTPCREL(%rip), %r15
	leaq	_twl_init_irq.twl4030_irq_chip(%rip), %r12
	movl	%r13d, %ebx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rdx
	movl	%ebx, %edi
	movq	%r12, %rsi
	callq	_set_irq_chip_and_handler
	movl	%ebx, %edi
	callq	_activate_irq
	incl	%ebx
	cmpl	%ebx, %r14d
	jne	LBB0_6
## %bb.7:
	movl	%r14d, %r8d
	movq	_wq@GOTPCREL(%rip), %rbx
	movl	-48(%rbp), %r15d                ## 4-byte Reload
LBB0_8:
	movq	_twl4030_irq_next@GOTPCREL(%rip), %rax
	movl	%r8d, (%rax)
	decl	%r8d
	leaq	L_.str.3(%rip), %rdi
	leaq	L_.str.4(%rip), %rsi
	movl	%r15d, %edx
	movl	%r13d, %ecx
	callq	_pr_info
	movq	_TWL4030_MODULE_INT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_twl4030_sih_setup
	testl	%eax, %eax
	js	LBB0_9
## %bb.10:
	movq	_irq_event@GOTPCREL(%rip), %r12
	movq	%r12, %rdi
	callq	_init_completion
	movq	_handle_twl4030_pih@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_IRQF_DISABLED@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.6(%rip), %rcx
	movl	%r15d, %edi
	movq	%r12, %r8
	callq	_request_irq
	movl	%eax, %r12d
	testl	%eax, %eax
	js	LBB0_11
## %bb.12:
	movq	_twl4030_irq_thread@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movslq	%r15d, %rsi
	leaq	L_.str.8(%rip), %rdx
	callq	_kthread_run
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_17
## %bb.13:
	leaq	L_.str.9(%rip), %rdi
	movl	%r15d, %esi
	xorl	%eax, %eax
	callq	_pr_err
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_PTR_ERR
	movl	%eax, %r12d
	movq	_irq_event@GOTPCREL(%rip), %rsi
	movl	%r15d, %edi
	callq	_free_irq
	cmpl	%r14d, %r13d
	jb	LBB0_15
	jmp	LBB0_16
LBB0_1:
	movl	%eax, %r12d
	jmp	LBB0_17
LBB0_3:
	leaq	L_.str.1(%rip), %rdi
	xorl	%r12d, %r12d
	xorl	%eax, %eax
	callq	_pr_err
	movq	_ESRCH@GOTPCREL(%rip), %rax
	subl	(%rax), %r12d
	jmp	LBB0_17
LBB0_9:
	movl	%eax, %r12d
	leaq	L_.str.5(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_pr_err
	cmpl	%r14d, %r13d
	jae	LBB0_16
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movl	%r13d, %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_set_irq_chip_and_handler
	incl	%r13d
	cmpl	%r13d, %r14d
	jne	LBB0_15
LBB0_16:
	movq	(%rbx), %rdi
	callq	_destroy_workqueue
	movq	$0, (%rbx)
LBB0_17:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	leaq	L_.str.7(%rip), %rdi
	movl	%r15d, %esi
	movl	%r12d, %edx
	xorl	%eax, %eax
	callq	_pr_err
	cmpl	%r14d, %r13d
	jb	LBB0_15
	jmp	LBB0_16
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_twl_init_irq.twl4030_irq_chip,16,3 ## @twl_init_irq.twl4030_irq_chip
	.comm	_twl_irq_line,4,2               ## @twl_irq_line
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"twl4030-irqchip"

	.comm	_wq,8,3                         ## @wq
L_.str.1:                               ## @.str.1
	.asciz	"twl4030: workqueue FAIL\n"

	.comm	_ESRCH,4,2                      ## @ESRCH
	.comm	_twl4030_irq_base,4,2           ## @twl4030_irq_base
	.comm	_dummy_irq_chip,16,3            ## @dummy_irq_chip
L_.str.2:                               ## @.str.2
	.asciz	"twl4030"

	.comm	_twl4030_sih_irq_chip,4,2       ## @twl4030_sih_irq_chip
	.comm	_handle_simple_irq,8,3          ## @handle_simple_irq
	.comm	_twl4030_irq_next,4,2           ## @twl4030_irq_next
L_.str.3:                               ## @.str.3
	.asciz	"twl4030: %s (irq %d) chaining IRQs %d..%d\n"

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

	.comm	_TWL4030_MODULE_INT,4,2         ## @TWL4030_MODULE_INT
L_.str.5:                               ## @.str.5
	.asciz	"twl4030: sih_setup PWR INT --> %d\n"

	.comm	_irq_event,4,2                  ## @irq_event
	.comm	_handle_twl4030_pih,4,2         ## @handle_twl4030_pih
	.comm	_IRQF_DISABLED,4,2              ## @IRQF_DISABLED
L_.str.6:                               ## @.str.6
	.asciz	"TWL4030-PIH"

L_.str.7:                               ## @.str.7
	.asciz	"twl4030: could not claim irq%d: %d\n"

	.comm	_twl4030_irq_thread,4,2         ## @twl4030_irq_thread
L_.str.8:                               ## @.str.8
	.asciz	"twl4030-irq"

L_.str.9:                               ## @.str.9
	.asciz	"twl4030: could not create irq %d thread!\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_twl_init_irq                   ; -- Begin function twl_init_irq
	.p2align	2
_twl_init_irq:                          ; @twl_init_irq
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.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
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _twl_irq_line@GOTPAGE
Lloh1:
	ldr	x8, [x8, _twl_irq_line@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_twl4030_init_sih_modules
	tbnz	w0, #31, LBB0_10
; %bb.1:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_create_singlethread_workqueue
Lloh5:
	adrp	x24, _wq@GOTPAGE
Lloh6:
	ldr	x24, [x24, _wq@GOTPAGEOFF]
	str	x0, [x24]
	cbz	x0, LBB0_11
; %bb.2:
Lloh7:
	adrp	x8, _twl4030_irq_base@GOTPAGE
Lloh8:
	ldr	x8, [x8, _twl4030_irq_base@GOTPAGEOFF]
Lloh9:
	str	w20, [x8]
Lloh10:
	adrp	x8, _dummy_irq_chip@GOTPAGE
Lloh11:
	ldr	x8, [x8, _dummy_irq_chip@GOTPAGEOFF]
Lloh12:
	adrp	x9, _twl_init_irq.twl4030_irq_chip@PAGE
Lloh13:
	add	x9, x9, _twl_init_irq.twl4030_irq_chip@PAGEOFF
	ldr	q0, [x8]
Lloh14:
	str	q0, [x9]
Lloh15:
	adrp	x9, l_.str.2@PAGE
Lloh16:
	add	x9, x9, l_.str.2@PAGEOFF
	adrp	x10, _twl_init_irq.twl4030_irq_chip@PAGE
	str	x9, [x10, _twl_init_irq.twl4030_irq_chip@PAGEOFF]
	ldr	w8, [x8, #8]
Lloh17:
	adrp	x9, _twl4030_sih_irq_chip@GOTPAGE
Lloh18:
	ldr	x9, [x9, _twl4030_sih_irq_chip@GOTPAGEOFF]
Lloh19:
	str	w8, [x9]
	mov	x8, x20
	cmp	w20, w19
	b.hs	LBB0_6
; %bb.3:
Lloh20:
	adrp	x25, _handle_simple_irq@GOTPAGE
Lloh21:
	ldr	x25, [x25, _handle_simple_irq@GOTPAGEOFF]
Lloh22:
	adrp	x22, _twl_init_irq.twl4030_irq_chip@PAGE
Lloh23:
	add	x22, x22, _twl_init_irq.twl4030_irq_chip@PAGEOFF
	mov	x23, x20
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x2, [x25]
	mov	x0, x23
	mov	x1, x22
	bl	_set_irq_chip_and_handler
	mov	x0, x23
	bl	_activate_irq
	add	w23, w23, #1
	cmp	w19, w23
	b.ne	LBB0_4
; %bb.5:
	mov	x8, x19
LBB0_6:
Lloh24:
	adrp	x9, _twl4030_irq_next@GOTPAGE
Lloh25:
	ldr	x9, [x9, _twl4030_irq_next@GOTPAGEOFF]
Lloh26:
	str	w8, [x9]
	sub	w4, w8, #1
Lloh27:
	adrp	x0, l_.str.3@PAGE
Lloh28:
	add	x0, x0, l_.str.3@PAGEOFF
Lloh29:
	adrp	x1, l_.str.4@PAGE
Lloh30:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x2, x21
	mov	x3, x20
	bl	_pr_info
Lloh31:
	adrp	x8, _TWL4030_MODULE_INT@GOTPAGE
Lloh32:
	ldr	x8, [x8, _TWL4030_MODULE_INT@GOTPAGEOFF]
Lloh33:
	ldr	w0, [x8]
	bl	_twl4030_sih_setup
	tbnz	w0, #31, LBB0_12
; %bb.7:
Lloh34:
	adrp	x22, _irq_event@GOTPAGE
Lloh35:
	ldr	x22, [x22, _irq_event@GOTPAGEOFF]
	mov	x0, x22
	bl	_init_completion
Lloh36:
	adrp	x8, _handle_twl4030_pih@GOTPAGE
Lloh37:
	ldr	x8, [x8, _handle_twl4030_pih@GOTPAGEOFF]
Lloh38:
	ldr	w1, [x8]
Lloh39:
	adrp	x8, _IRQF_DISABLED@GOTPAGE
Lloh40:
	ldr	x8, [x8, _IRQF_DISABLED@GOTPAGEOFF]
Lloh41:
	ldr	w2, [x8]
Lloh42:
	adrp	x3, l_.str.6@PAGE
Lloh43:
	add	x3, x3, l_.str.6@PAGEOFF
	mov	x0, x21
	mov	x4, x22
	bl	_request_irq
	mov	x22, x0
	tbnz	w0, #31, LBB0_13
; %bb.8:
Lloh44:
	adrp	x8, _twl4030_irq_thread@GOTPAGE
Lloh45:
	ldr	x8, [x8, _twl4030_irq_thread@GOTPAGEOFF]
Lloh46:
	ldr	w0, [x8]
	sxtw	x1, w21
Lloh47:
	adrp	x2, l_.str.8@PAGE
Lloh48:
	add	x2, x2, l_.str.8@PAGEOFF
	bl	_kthread_run
	mov	x23, x0
	bl	_IS_ERR
	cbz	x0, LBB0_17
; %bb.9:
	mov	x8, x21
	str	x8, [sp]
Lloh49:
	adrp	x0, l_.str.9@PAGE
Lloh50:
	add	x0, x0, l_.str.9@PAGEOFF
	bl	_pr_err
	mov	x0, x23
	bl	_PTR_ERR
	mov	x22, x0
Lloh51:
	adrp	x1, _irq_event@GOTPAGE
Lloh52:
	ldr	x1, [x1, _irq_event@GOTPAGEOFF]
	mov	x0, x21
	bl	_free_irq
	cmp	w20, w19
	b.lo	LBB0_15
	b	LBB0_16
LBB0_10:
	mov	x22, x0
	b	LBB0_17
LBB0_11:
Lloh53:
	adrp	x0, l_.str.1@PAGE
Lloh54:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_pr_err
Lloh55:
	adrp	x8, _ESRCH@GOTPAGE
Lloh56:
	ldr	x8, [x8, _ESRCH@GOTPAGEOFF]
Lloh57:
	ldr	w8, [x8]
	neg	w22, w8
	b	LBB0_17
LBB0_12:
	mov	x22, x0
	str	x22, [sp]
Lloh58:
	adrp	x0, l_.str.5@PAGE
Lloh59:
	add	x0, x0, l_.str.5@PAGEOFF
	b	LBB0_14
LBB0_13:
	mov	x8, x22
                                        ; kill: def $w21 killed $w21 killed $x21 def $x21
	stp	x21, x8, [sp]
Lloh60:
	adrp	x0, l_.str.7@PAGE
Lloh61:
	add	x0, x0, l_.str.7@PAGEOFF
LBB0_14:
	bl	_pr_err
	cmp	w20, w19
	b.hs	LBB0_16
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, #0
	mov	x2, #0
	bl	_set_irq_chip_and_handler
	add	w20, w20, #1
	cmp	w19, w20
	b.ne	LBB0_15
LBB0_16:
	ldr	x0, [x24]
	bl	_destroy_workqueue
	str	xzr, [x24]
LBB0_17:
	mov	x0, x22
	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
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotStr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAddStr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotStr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotStr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGot	Lloh51, Lloh52
	.loh AdrpAdd	Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpAdd	Lloh53, Lloh54
	.loh AdrpAdd	Lloh58, Lloh59
	.loh AdrpAdd	Lloh60, Lloh61
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_twl_init_irq.twl4030_irq_chip,16,3 ; @twl_init_irq.twl4030_irq_chip
	.comm	_twl_irq_line,4,2               ; @twl_irq_line
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"twl4030-irqchip"

	.comm	_wq,8,3                         ; @wq
l_.str.1:                               ; @.str.1
	.asciz	"twl4030: workqueue FAIL\n"

	.comm	_ESRCH,4,2                      ; @ESRCH
	.comm	_twl4030_irq_base,4,2           ; @twl4030_irq_base
	.comm	_dummy_irq_chip,16,3            ; @dummy_irq_chip
l_.str.2:                               ; @.str.2
	.asciz	"twl4030"

	.comm	_twl4030_sih_irq_chip,4,2       ; @twl4030_sih_irq_chip
	.comm	_handle_simple_irq,8,3          ; @handle_simple_irq
	.comm	_twl4030_irq_next,4,2           ; @twl4030_irq_next
l_.str.3:                               ; @.str.3
	.asciz	"twl4030: %s (irq %d) chaining IRQs %d..%d\n"

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

	.comm	_TWL4030_MODULE_INT,4,2         ; @TWL4030_MODULE_INT
l_.str.5:                               ; @.str.5
	.asciz	"twl4030: sih_setup PWR INT --> %d\n"

	.comm	_irq_event,4,2                  ; @irq_event
	.comm	_handle_twl4030_pih,4,2         ; @handle_twl4030_pih
	.comm	_IRQF_DISABLED,4,2              ; @IRQF_DISABLED
l_.str.6:                               ; @.str.6
	.asciz	"TWL4030-PIH"

l_.str.7:                               ; @.str.7
	.asciz	"twl4030: could not claim irq%d: %d\n"

	.comm	_twl4030_irq_thread,4,2         ; @twl4030_irq_thread
l_.str.8:                               ; @.str.8
	.asciz	"twl4030-irq"

l_.str.9:                               ; @.str.9
	.asciz	"twl4030: could not create irq %d thread!\n"

.subsections_via_symbols
