	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rza1_irqc_eoi
_rza1_irqc_eoi:                         ## @rza1_irqc_eoi
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	callq	_irq_data_to_priv
	movq	%rax, %r14
	movq	%r15, %rdi
	callq	_irqd_to_hwirq
	movl	%eax, %edi
	callq	_BIT
	movl	%eax, %ebx
	movq	_IRQRR@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	addq	(%r14), %rdi
	callq	_readw_relaxed
	testl	%ebx, %eax
	je	LBB0_2
## %bb.1:
	movq	_IRQC_NUM_IRQ@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	decq	%rdi
	xorl	%esi, %esi
	callq	_GENMASK
	notl	%ebx
	andl	%eax, %ebx
	movq	(%r12), %rsi
	addq	(%r14), %rsi
	movl	%ebx, %edi
	callq	_writew_relaxed
LBB0_2:
	movq	%r15, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_irq_chip_eoi_parent            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IRQRR,8,3                      ## @IRQRR
	.comm	_IRQC_NUM_IRQ,8,3               ## @IRQC_NUM_IRQ
	.no_dead_strip	_rza1_irqc_eoi
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rza1_irqc_eoi
_rza1_irqc_eoi:                         ; @rza1_irqc_eoi
	.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, x0
	bl	_irq_data_to_priv
	mov	x20, x0
	mov	x0, x19
	bl	_irqd_to_hwirq
	bl	_BIT
	mov	x21, x0
	ldr	x8, [x20]
Lloh0:
	adrp	x22, _IRQRR@GOTPAGE
Lloh1:
	ldr	x22, [x22, _IRQRR@GOTPAGEOFF]
	ldr	x9, [x22]
	add	x0, x9, x8
	bl	_readw_relaxed
	tst	w0, w21
	b.eq	LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _IRQC_NUM_IRQ@GOTPAGE
Lloh3:
	ldr	x8, [x8, _IRQC_NUM_IRQ@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	sub	x0, x8, #1
	mov	w1, #0
	bl	_GENMASK
	bic	w0, w0, w21
	ldr	x8, [x20]
	ldr	x9, [x22]
	add	x1, x9, x8
	bl	_writew_relaxed
LBB0_2:
	mov	x0, x19
	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
	b	_irq_chip_eoi_parent
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_IRQRR,8,3                      ; @IRQRR
	.comm	_IRQC_NUM_IRQ,8,3               ; @IRQC_NUM_IRQ
	.no_dead_strip	_rza1_irqc_eoi
.subsections_via_symbols
