	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___irq_init                     ## -- Begin function __irq_init
	.p2align	4, 0x90
___irq_init:                            ## @__irq_init
	.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	___intrstack_addr@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	___intrstack_end@GOTPCREL(%rip), %rax
	movslq	(%rax), %r14
	movq	_g_IRQHandler@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%ebx, %ebx
	xorl	%esi, %esi
	movl	$128, %edx
	callq	_memset
	movl	$-559038737, (%r14)             ## imm = 0xDEADBEEF
	movq	_CPU_MINIMUM_STACK_FRAME_SIZE@GOTPCREL(%rip), %rax
	subl	(%rax), %r15d
	movq	_CPU_STACK_ALIGNMENT@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	andl	%r15d, %ebx
	movslq	%ebx, %rbx
	movl	$0, (%rbx)
	movl	$272, %edi                      ## imm = 0x110
	xorl	%esi, %esi
	callq	_mtspr
	movl	$273, %edi                      ## imm = 0x111
	movl	%ebx, %esi
	callq	_mtspr
	movq	_prevIrqMask@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_currIrqMask@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	__piReg@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	movl	$240, 4(%rax)
	movl	$-32, %edi
	callq	___MaskIrq
	movq	(%rbx), %rax
	movl	$1, (%rax)
	movq	_IM_PI_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	___UnmaskIrq                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	___intrstack_addr,4,2           ## @__intrstack_addr
	.comm	___intrstack_end,4,2            ## @__intrstack_end
	.comm	_g_IRQHandler,4,2               ## @g_IRQHandler
	.comm	_CPU_MINIMUM_STACK_FRAME_SIZE,4,2 ## @CPU_MINIMUM_STACK_FRAME_SIZE
	.comm	_CPU_STACK_ALIGNMENT,4,2        ## @CPU_STACK_ALIGNMENT
	.comm	_prevIrqMask,8,3                ## @prevIrqMask
	.comm	_currIrqMask,8,3                ## @currIrqMask
	.comm	__piReg,8,3                     ## @_piReg
	.comm	_IM_PI_ERROR,4,2                ## @IM_PI_ERROR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___irq_init                     ; -- Begin function __irq_init
	.p2align	2
___irq_init:                            ; @__irq_init
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, ___intrstack_addr@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___intrstack_addr@GOTPAGEOFF]
Lloh2:
	ldr	w19, [x8]
Lloh3:
	adrp	x8, ___intrstack_end@GOTPAGE
Lloh4:
	ldr	x8, [x8, ___intrstack_end@GOTPAGEOFF]
Lloh5:
	ldrsw	x20, [x8]
Lloh6:
	adrp	x8, _g_IRQHandler@GOTPAGE
Lloh7:
	ldr	x8, [x8, _g_IRQHandler@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	mov	w1, #0
	mov	w2, #128
	bl	_memset
	mov	w8, #48879
	movk	w8, #57005, lsl #16
	str	w8, [x20]
Lloh9:
	adrp	x8, _CPU_MINIMUM_STACK_FRAME_SIZE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _CPU_MINIMUM_STACK_FRAME_SIZE@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
Lloh12:
	adrp	x9, _CPU_STACK_ALIGNMENT@GOTPAGE
Lloh13:
	ldr	x9, [x9, _CPU_STACK_ALIGNMENT@GOTPAGEOFF]
	sub	w8, w19, w8
Lloh14:
	ldr	w9, [x9]
	neg	w9, w9
	and	w19, w8, w9
	sxtw	x8, w19
	str	wzr, [x8]
	mov	w0, #272
	mov	w1, #0
	bl	_mtspr
	mov	w0, #273
	mov	x1, x19
	bl	_mtspr
Lloh15:
	adrp	x8, _prevIrqMask@GOTPAGE
Lloh16:
	ldr	x8, [x8, _prevIrqMask@GOTPAGEOFF]
Lloh17:
	str	xzr, [x8]
Lloh18:
	adrp	x8, _currIrqMask@GOTPAGE
Lloh19:
	ldr	x8, [x8, _currIrqMask@GOTPAGEOFF]
Lloh20:
	str	xzr, [x8]
Lloh21:
	adrp	x19, __piReg@GOTPAGE
Lloh22:
	ldr	x19, [x19, __piReg@GOTPAGEOFF]
	ldr	x8, [x19]
	mov	w9, #240
	str	w9, [x8, #4]
	mov	w0, #-32
	bl	___MaskIrq
	ldr	x8, [x19]
	mov	w9, #1
	str	w9, [x8]
Lloh23:
	adrp	x8, _IM_PI_ERROR@GOTPAGE
Lloh24:
	ldr	x8, [x8, _IM_PI_ERROR@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	___UnmaskIrq
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotStr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotStr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	___intrstack_addr,4,2           ; @__intrstack_addr
	.comm	___intrstack_end,4,2            ; @__intrstack_end
	.comm	_g_IRQHandler,4,2               ; @g_IRQHandler
	.comm	_CPU_MINIMUM_STACK_FRAME_SIZE,4,2 ; @CPU_MINIMUM_STACK_FRAME_SIZE
	.comm	_CPU_STACK_ALIGNMENT,4,2        ; @CPU_STACK_ALIGNMENT
	.comm	_prevIrqMask,8,3                ; @prevIrqMask
	.comm	_currIrqMask,8,3                ; @currIrqMask
	.comm	__piReg,8,3                     ; @_piReg
	.comm	_IM_PI_ERROR,4,2                ; @IM_PI_ERROR
.subsections_via_symbols
