	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function aic5_unmask
_aic5_unmask:                           ## @aic5_unmask
	.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	%rdi, %rbx
	movq	8(%rdi), %rdi
	xorl	%esi, %esi
	callq	_irq_get_domain_generic_chip
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_irq_data_get_irq_chip_data
	movq	%rax, %r15
	movq	%r14, %rdi
	callq	_irq_gc_lock
	movl	(%rbx), %esi
	movq	_AT91_AIC5_SSR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	callq	_irq_reg_writel
	movq	_AT91_AIC5_IECR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movl	$1, %esi
	callq	_irq_reg_writel
	movl	4(%rbx), %eax
	orl	%eax, (%r15)
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_irq_gc_unlock                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_AT91_AIC5_SSR,4,2              ## @AT91_AIC5_SSR
	.comm	_AT91_AIC5_IECR,4,2             ## @AT91_AIC5_IECR
	.no_dead_strip	_aic5_unmask
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function aic5_unmask
_aic5_unmask:                           ; @aic5_unmask
	.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
	ldr	x0, [x0, #8]
	mov	w1, #0
	bl	_irq_get_domain_generic_chip
	mov	x20, x0
	mov	x0, x19
	bl	_irq_data_get_irq_chip_data
	mov	x21, x0
	mov	x0, x20
	bl	_irq_gc_lock
	ldr	w1, [x19]
Lloh0:
	adrp	x8, _AT91_AIC5_SSR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AT91_AIC5_SSR@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x21
	bl	_irq_reg_writel
Lloh3:
	adrp	x8, _AT91_AIC5_IECR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AT91_AIC5_IECR@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x21
	mov	w1, #1
	bl	_irq_reg_writel
	ldr	w8, [x19, #4]
	ldr	w9, [x21]
	orr	w8, w9, w8
	str	w8, [x21]
	mov	x0, x20
	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_gc_unlock
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AT91_AIC5_SSR,4,2              ; @AT91_AIC5_SSR
	.comm	_AT91_AIC5_IECR,4,2             ; @AT91_AIC5_IECR
	.no_dead_strip	_aic5_unmask
.subsections_via_symbols
