	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function armada_37xx_irq_ack
_armada_37xx_irq_ack:                   ## @armada_37xx_irq_ack
	.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
	callq	_irq_data_get_irq_chip_data
	movq	%rax, %rdi
	callq	_gpiochip_get_data
	movq	%rax, %r14
	movq	_IRQ_STATUS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -24(%rbp)
	leaq	-24(%rbp), %rdi
	movq	%rbx, %rsi
	callq	_armada_37xx_irq_update_reg
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	movl	(%rbx), %edi
	movq	-24(%rbp), %rsi
	addq	8(%r14), %rsi
	callq	_writel
	movq	%r14, %rdi
	callq	_spin_unlock_irqrestore
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IRQ_STATUS,8,3                 ## @IRQ_STATUS
	.no_dead_strip	_armada_37xx_irq_ack
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function armada_37xx_irq_ack
_armada_37xx_irq_ack:                   ; @armada_37xx_irq_ack
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
	bl	_irq_data_get_irq_chip_data
	bl	_gpiochip_get_data
	mov	x20, x0
Lloh0:
	adrp	x8, _IRQ_STATUS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IRQ_STATUS@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #8]
	add	x0, sp, #8
	mov	x1, x19
	bl	_armada_37xx_irq_update_reg
	mov	x0, x20
	bl	_spin_lock_irqsave
	ldr	w0, [x19]
	ldr	x8, [x20, #8]
	ldr	x9, [sp, #8]
	add	x1, x9, x8
	bl	_writel
	mov	x0, x20
	bl	_spin_unlock_irqrestore
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_IRQ_STATUS,8,3                 ; @IRQ_STATUS
	.no_dead_strip	_armada_37xx_irq_ack
.subsections_via_symbols
