	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_twl6030_init_irq               ## -- Begin function twl6030_init_irq
	.p2align	4, 0x90
_twl6030_init_irq:                      ## @twl6030_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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	(%rdi), %rbx
	movq	_twl6030_of_match@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r12, %rsi
	callq	_of_match_device
	testq	%rax, %rax
	je	LBB0_7
## %bb.1:
	movq	%rax, %r13
	cmpq	$0, (%rax)
	je	LBB0_7
## %bb.2:
	movq	_TWL6030_NR_IRQS@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	movl	$56, %esi
	callq	_devm_kzalloc
	movq	_twl6030_irq@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	testq	%rax, %rax
	je	LBB0_11
## %bb.3:
	movl	%r15d, -68(%rbp)                ## 4-byte Spill
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	movl	%r14d, -64(%rbp)                ## 4-byte Spill
	movabsq	$1095216660735, %rax            ## imm = 0xFF000000FF
	movq	%rax, -60(%rbp)
	movl	$255, -52(%rbp)
	movq	_TWL_MODULE_PIH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rax, %rbx
	movq	_REG_INT_MSK_LINE_A@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-60(%rbp), %r15
	movq	%r15, %rsi
	movl	$3, %ecx
	callq	_twl_i2c_write
	movl	%eax, %r14d
	movl	(%rbx), %edi
	movq	_REG_INT_MSK_STS_A@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rsi
	movl	$3, %ecx
	callq	_twl_i2c_write
	movl	%eax, %r15d
	orl	%r14d, %r15d
	movl	(%rbx), %edi
	movq	_REG_INT_STS_A@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-60(%rbp), %rsi
	movl	$3, %ecx
	callq	_twl_i2c_write
	movl	%eax, %ebx
	orl	%r15d, %ebx
	js	LBB0_12
## %bb.4:
	movq	_twl6030_irq@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	movq	_dummy_irq_chip@GOTPCREL(%rip), %rax
	movups	(%rax), %xmm0
	movups	%xmm0, 32(%rdi)
	leaq	L_.str.2(%rip), %rax
	movq	%rax, 32(%rdi)
	movq	$0, 48(%rdi)
	movq	_twl6030_irq_set_wake@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%rdi)
	movq	_twl6030_irq_pm_notifier@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rdi)
	addq	$24, %rdi
	xorl	%ebx, %ebx
	xorl	%esi, %esi
	callq	_atomic_set
	movq	(%r13), %rax
	movq	(%r15), %rcx
	movq	%rax, 16(%rcx)
	movq	_twl6030_irq_domain_ops@GOTPCREL(%rip), %rdx
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movl	-68(%rbp), %esi                 ## 4-byte Reload
	callq	_irq_domain_add_linear
	movq	(%r15), %rcx
	movl	%eax, 4(%rcx)
	testl	%eax, %eax
	je	LBB0_13
## %bb.5:
	leaq	L_.str.4(%rip), %rsi
	movq	%r12, %rdi
	movl	-64(%rbp), %r14d                ## 4-byte Reload
	movl	%r14d, %edx
	callq	_dev_info
	movq	_twl6030_irq_thread@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_IRQF_ONESHOT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	(%r15), %r9
	leaq	L_.str.5(%rip), %r8
	xorl	%ebx, %ebx
	movl	%r14d, %edi
	xorl	%esi, %esi
	callq	_request_threaded_irq
	movq	%r15, %r13
	testl	%eax, %eax
	js	LBB0_14
## %bb.6:
	movq	(%r13), %rdi
	movl	%r14d, (%rdi)
	addq	$8, %rdi
	callq	_register_pm_notifier
	jmp	LBB0_9
LBB0_7:
	leaq	L_.str(%rip), %rsi
	xorl	%ebx, %ebx
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_8:
	subl	(%rax), %ebx
LBB0_9:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_15
## %bb.10:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	jmp	LBB0_8
LBB0_12:
	leaq	L_.str.1(%rip), %rsi
	movq	%r12, %rdi
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_9
LBB0_13:
	leaq	L_.str.3(%rip), %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_14:
	movl	%eax, %r15d
	leaq	L_.str.6(%rip), %rsi
	movq	%r12, %rdi
	movl	%r14d, %edx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_dev_err
	movq	(%r13), %rax
	movl	4(%rax), %edi
	callq	_irq_domain_remove
	movl	%r15d, %ebx
	jmp	LBB0_9
LBB0_15:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_twl6030_of_match,4,2           ## @twl6030_of_match
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unknown TWL device model\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_TWL6030_NR_IRQS,4,2            ## @TWL6030_NR_IRQS
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_twl6030_irq,8,3                ## @twl6030_irq
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_TWL_MODULE_PIH,4,2             ## @TWL_MODULE_PIH
	.comm	_REG_INT_MSK_LINE_A,4,2         ## @REG_INT_MSK_LINE_A
	.comm	_REG_INT_MSK_STS_A,4,2          ## @REG_INT_MSK_STS_A
	.comm	_REG_INT_STS_A,4,2              ## @REG_INT_STS_A
L_.str.1:                               ## @.str.1
	.asciz	"I2C err writing TWL_MODULE_PIH: %d\n"

	.comm	_dummy_irq_chip,24,3            ## @dummy_irq_chip
L_.str.2:                               ## @.str.2
	.asciz	"twl6030"

	.comm	_twl6030_irq_set_wake,4,2       ## @twl6030_irq_set_wake
	.comm	_twl6030_irq_pm_notifier,4,2    ## @twl6030_irq_pm_notifier
	.comm	_twl6030_irq_domain_ops,4,2     ## @twl6030_irq_domain_ops
L_.str.3:                               ## @.str.3
	.asciz	"Can't add irq_domain\n"

L_.str.4:                               ## @.str.4
	.asciz	"PIH (irq %d) nested IRQs\n"

	.comm	_twl6030_irq_thread,4,2         ## @twl6030_irq_thread
	.comm	_IRQF_ONESHOT,4,2               ## @IRQF_ONESHOT
L_.str.5:                               ## @.str.5
	.asciz	"TWL6030-PIH"

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

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_twl6030_init_irq               ; -- Begin function twl6030_init_irq
	.p2align	2
_twl6030_init_irq:                      ; @twl6030_init_irq
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #40]
	ldr	x21, [x0]
Lloh3:
	adrp	x8, _twl6030_of_match@GOTPAGE
Lloh4:
	ldr	x8, [x8, _twl6030_of_match@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_of_match_device
	cbz	x0, LBB0_7
; %bb.1:
	mov	x22, x0
	ldr	x8, [x0]
	cbz	x8, LBB0_7
; %bb.2:
Lloh6:
	adrp	x8, _TWL6030_NR_IRQS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _TWL6030_NR_IRQS@GOTPAGEOFF]
Lloh8:
	ldr	w23, [x8]
Lloh9:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #56
	bl	_devm_kzalloc
Lloh12:
	adrp	x25, _twl6030_irq@GOTPAGE
Lloh13:
	ldr	x25, [x25, _twl6030_irq@GOTPAGEOFF]
	str	x0, [x25]
	cbz	x0, LBB0_10
; %bb.3:
	movi	d0, #0x0000ff000000ff
	str	d0, [sp, #24]
	mov	w8, #255
	str	w8, [sp, #32]
Lloh14:
	adrp	x26, _TWL_MODULE_PIH@GOTPAGE
Lloh15:
	ldr	x26, [x26, _TWL_MODULE_PIH@GOTPAGEOFF]
	ldr	w0, [x26]
Lloh16:
	adrp	x8, _REG_INT_MSK_LINE_A@GOTPAGE
Lloh17:
	ldr	x8, [x8, _REG_INT_MSK_LINE_A@GOTPAGEOFF]
Lloh18:
	ldr	w2, [x8]
	add	x1, sp, #24
	mov	w3, #3
	bl	_twl_i2c_write
	mov	x24, x0
	ldr	w0, [x26]
Lloh19:
	adrp	x8, _REG_INT_MSK_STS_A@GOTPAGE
Lloh20:
	ldr	x8, [x8, _REG_INT_MSK_STS_A@GOTPAGEOFF]
Lloh21:
	ldr	w2, [x8]
	add	x1, sp, #24
	mov	w3, #3
	bl	_twl_i2c_write
	orr	w24, w0, w24
	ldr	w0, [x26]
Lloh22:
	adrp	x8, _REG_INT_STS_A@GOTPAGE
Lloh23:
	ldr	x8, [x8, _REG_INT_STS_A@GOTPAGEOFF]
Lloh24:
	ldr	w2, [x8]
	add	x1, sp, #24
	mov	w3, #3
	bl	_twl_i2c_write
	orr	w24, w24, w0
	tbnz	w24, #31, LBB0_8
; %bb.4:
	ldr	x8, [x25]
Lloh25:
	adrp	x9, _dummy_irq_chip@GOTPAGE
Lloh26:
	ldr	x9, [x9, _dummy_irq_chip@GOTPAGEOFF]
Lloh27:
	ldr	q0, [x9]
Lloh28:
	adrp	x9, l_.str.2@PAGE
Lloh29:
	add	x9, x9, l_.str.2@PAGEOFF
	str	q0, [x8, #32]
	str	x9, [x8, #32]
	str	xzr, [x8, #48]
Lloh30:
	adrp	x9, _twl6030_irq_set_wake@GOTPAGE
Lloh31:
	ldr	x9, [x9, _twl6030_irq_set_wake@GOTPAGEOFF]
Lloh32:
	ldr	w9, [x9]
	str	w9, [x8, #40]
Lloh33:
	adrp	x9, _twl6030_irq_pm_notifier@GOTPAGE
Lloh34:
	ldr	x9, [x9, _twl6030_irq_pm_notifier@GOTPAGEOFF]
Lloh35:
	ldr	w9, [x9]
	str	w9, [x8, #8]
	add	x0, x8, #24
	mov	w1, #0
	bl	_atomic_set
	ldr	x8, [x22]
	ldr	x3, [x25]
	str	x8, [x3, #16]
Lloh36:
	adrp	x2, _twl6030_irq_domain_ops@GOTPAGE
Lloh37:
	ldr	x2, [x2, _twl6030_irq_domain_ops@GOTPAGEOFF]
	mov	x0, x21
	mov	x1, x23
	bl	_irq_domain_add_linear
	ldr	x8, [x25]
	str	w0, [x8, #4]
	cbz	w0, LBB0_9
; %bb.5:
Lloh38:
	adrp	x1, l_.str.4@PAGE
Lloh39:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	mov	x2, x20
	bl	_dev_info
Lloh40:
	adrp	x8, _twl6030_irq_thread@GOTPAGE
Lloh41:
	ldr	x8, [x8, _twl6030_irq_thread@GOTPAGEOFF]
Lloh42:
	ldr	w2, [x8]
Lloh43:
	adrp	x8, _IRQF_ONESHOT@GOTPAGE
Lloh44:
	ldr	x8, [x8, _IRQF_ONESHOT@GOTPAGEOFF]
Lloh45:
	ldr	w3, [x8]
	ldr	x5, [x25]
Lloh46:
	adrp	x4, l_.str.5@PAGE
Lloh47:
	add	x4, x4, l_.str.5@PAGEOFF
	mov	x0, x20
	mov	x1, #0
	bl	_request_threaded_irq
	tbnz	w0, #31, LBB0_14
; %bb.6:
	ldr	x0, [x25]
	str	w20, [x0], #8
	bl	_register_pm_notifier
	mov	w24, #0
	b	LBB0_12
LBB0_7:
Lloh48:
	adrp	x1, l_.str@PAGE
Lloh49:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_err
Lloh50:
	adrp	x8, _EINVAL@GOTPAGE
Lloh51:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_11
LBB0_8:
	str	x24, [sp]
Lloh52:
	adrp	x1, l_.str.1@PAGE
Lloh53:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	b	LBB0_12
LBB0_9:
Lloh54:
	adrp	x1, l_.str.3@PAGE
Lloh55:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_dev_err
LBB0_10:
Lloh56:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh57:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_11:
	ldr	w8, [x8]
	neg	w24, w8
LBB0_12:
	ldr	x8, [sp, #40]
Lloh58:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh59:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh60:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_15
; %bb.13:
	mov	x0, x24
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_14:
	mov	x24, x0
	stp	x20, x24, [sp]
Lloh61:
	adrp	x1, l_.str.6@PAGE
Lloh62:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	ldr	x8, [x25]
	ldr	w0, [x8, #4]
	bl	_irq_domain_remove
                                        ; kill: def $w24 killed $w24 killed $x24 def $x24
	b	LBB0_12
LBB0_15:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh50, Lloh51
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpAdd	Lloh52, Lloh53
	.loh AdrpAdd	Lloh54, Lloh55
	.loh AdrpLdrGot	Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpAdd	Lloh61, Lloh62
	.cfi_endproc
                                        ; -- End function
	.comm	_twl6030_of_match,4,2           ; @twl6030_of_match
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unknown TWL device model\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_TWL6030_NR_IRQS,4,2            ; @TWL6030_NR_IRQS
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_twl6030_irq,8,3                ; @twl6030_irq
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_TWL_MODULE_PIH,4,2             ; @TWL_MODULE_PIH
	.comm	_REG_INT_MSK_LINE_A,4,2         ; @REG_INT_MSK_LINE_A
	.comm	_REG_INT_MSK_STS_A,4,2          ; @REG_INT_MSK_STS_A
	.comm	_REG_INT_STS_A,4,2              ; @REG_INT_STS_A
l_.str.1:                               ; @.str.1
	.asciz	"I2C err writing TWL_MODULE_PIH: %d\n"

	.comm	_dummy_irq_chip,24,3            ; @dummy_irq_chip
l_.str.2:                               ; @.str.2
	.asciz	"twl6030"

	.comm	_twl6030_irq_set_wake,4,2       ; @twl6030_irq_set_wake
	.comm	_twl6030_irq_pm_notifier,4,2    ; @twl6030_irq_pm_notifier
	.comm	_twl6030_irq_domain_ops,4,2     ; @twl6030_irq_domain_ops
l_.str.3:                               ; @.str.3
	.asciz	"Can't add irq_domain\n"

l_.str.4:                               ; @.str.4
	.asciz	"PIH (irq %d) nested IRQs\n"

	.comm	_twl6030_irq_thread,4,2         ; @twl6030_irq_thread
	.comm	_IRQF_ONESHOT,4,2               ; @IRQF_ONESHOT
l_.str.5:                               ; @.str.5
	.asciz	"TWL6030-PIH"

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

.subsections_via_symbols
