	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qcom_rpm_ack_interrupt
_qcom_rpm_ack_interrupt:                ## @qcom_rpm_ack_interrupt
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	16(%rsi), %rax
	movq	8(%rax), %rsi
	movq	%r15, %rdi
	callq	_RPM_CTRL_REG
	movl	%eax, %edi
	callq	_readl_relaxed
	movl	%eax, %r14d
	movq	16(%r15), %rax
	cmpl	$0, (%rax)
	jle	LBB0_3
## %bb.1:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%rax), %rsi
	addq	%rbx, %rsi
	movq	%r15, %rdi
	callq	_RPM_CTRL_REG
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_writel_relaxed
	incq	%rbx
	movq	16(%r15), %rax
	movslq	(%rax), %rcx
	cmpq	%rcx, %rbx
	jl	LBB0_2
LBB0_3:
	movq	8(%rax), %rsi
	movq	%r15, %rdi
	callq	_RPM_CTRL_REG
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_writel
	movq	_RPM_NOTIFICATION@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_5
## %bb.4:
	movl	8(%r15), %edi
	leaq	L_.str(%rip), %rsi
	callq	_dev_warn
	jmp	LBB0_6
LBB0_5:
	movl	%r14d, (%r15)
	addq	$4, %r15
	movq	%r15, %rdi
	callq	_complete
LBB0_6:
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RPM_NOTIFICATION,4,2           ## @RPM_NOTIFICATION
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ignoring notification!\n"

	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_qcom_rpm_ack_interrupt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qcom_rpm_ack_interrupt
_qcom_rpm_ack_interrupt:                ; @qcom_rpm_ack_interrupt
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x1
	ldr	x8, [x1, #16]
	ldr	x1, [x8, #8]
	mov	x0, x19
	bl	_RPM_CTRL_REG
	bl	_readl_relaxed
	mov	x20, x0
	ldr	x8, [x19, #16]
	ldr	w9, [x8]
	cmp	w9, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x21, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x8, #16]
	add	x1, x21, x8
	mov	x0, x19
	bl	_RPM_CTRL_REG
	mov	x1, x0
	mov	w0, #0
	bl	_writel_relaxed
	add	x21, x21, #1
	ldr	x8, [x19, #16]
	ldrsw	x9, [x8]
	cmp	x21, x9
	b.lt	LBB0_2
LBB0_3:
	ldr	x1, [x8, #8]
	mov	x0, x19
	bl	_RPM_CTRL_REG
	mov	x1, x0
	mov	w0, #0
	bl	_writel
Lloh0:
	adrp	x8, _RPM_NOTIFICATION@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RPM_NOTIFICATION@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_5
; %bb.4:
	ldr	w0, [x19, #8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_warn
	b	LBB0_6
LBB0_5:
	str	w20, [x19], #4
	mov	x0, x19
	bl	_complete
LBB0_6:
Lloh5:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh6:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_RPM_NOTIFICATION,4,2           ; @RPM_NOTIFICATION
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ignoring notification!\n"

	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_qcom_rpm_ack_interrupt
.subsections_via_symbols
