	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_omap_intc_save_context         ## -- Begin function omap_intc_save_context
	.p2align	4, 0x90
_omap_intc_save_context:                ## @omap_intc_save_context
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_INTC_SYSCONFIG@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_intc_readl
	movq	_intc_context@GOTPCREL(%rip), %r15
	movq	%rax, 40(%r15)
	movq	_INTC_PROTECTION@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_intc_readl
	movq	%rax, 32(%r15)
	movq	_INTC_IDLE@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_intc_readl
	movq	%rax, 24(%r15)
	movq	_INTC_THRESHOLD@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_intc_readl
	movq	%rax, 16(%r15)
	movq	_omap_nr_irqs@GOTPCREL(%rip), %r14
	cmpl	$0, (%r14)
	jle	LBB0_3
## %bb.1:
	xorl	%ebx, %ebx
	movq	_INTC_ILR0@GOTPCREL(%rip), %r12
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rdi
	addq	%rbx, %rdi
	callq	_intc_readl
	movq	8(%r15), %rcx
	movq	%rax, (%rcx,%rbx,2)
	incq	%r13
	movslq	(%r14), %rax
	addq	$4, %rbx
	cmpq	%rax, %r13
	jl	LBB0_2
LBB0_3:
	movq	_INTCPS_NR_MIR_REGS@GOTPCREL(%rip), %r14
	cmpl	$0, (%r14)
	jle	LBB0_6
## %bb.4:
	xorl	%r13d, %r13d
	movq	_INTC_MIR0@GOTPCREL(%rip), %r12
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rdi
	addq	%r13, %rdi
	callq	_intc_readl
	movq	(%r15), %rcx
	movq	%rax, (%rcx,%rbx,8)
	incq	%rbx
	movslq	(%r14), %rax
	addq	$32, %r13
	cmpq	%rax, %rbx
	jl	LBB0_5
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_INTC_SYSCONFIG,8,3             ## @INTC_SYSCONFIG
	.comm	_intc_context,48,3              ## @intc_context
	.comm	_INTC_PROTECTION,8,3            ## @INTC_PROTECTION
	.comm	_INTC_IDLE,8,3                  ## @INTC_IDLE
	.comm	_INTC_THRESHOLD,8,3             ## @INTC_THRESHOLD
	.comm	_omap_nr_irqs,4,2               ## @omap_nr_irqs
	.comm	_INTC_ILR0,8,3                  ## @INTC_ILR0
	.comm	_INTCPS_NR_MIR_REGS,4,2         ## @INTCPS_NR_MIR_REGS
	.comm	_INTC_MIR0,8,3                  ## @INTC_MIR0
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_omap_intc_save_context         ; -- Begin function omap_intc_save_context
	.p2align	2
_omap_intc_save_context:                ; @omap_intc_save_context
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
Lloh0:
	adrp	x8, _INTC_SYSCONFIG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _INTC_SYSCONFIG@GOTPAGEOFF]
Lloh2:
	ldr	x0, [x8]
	bl	_intc_readl
Lloh3:
	adrp	x19, _intc_context@GOTPAGE
Lloh4:
	ldr	x19, [x19, _intc_context@GOTPAGEOFF]
	str	x0, [x19, #40]
Lloh5:
	adrp	x8, _INTC_PROTECTION@GOTPAGE
Lloh6:
	ldr	x8, [x8, _INTC_PROTECTION@GOTPAGEOFF]
Lloh7:
	ldr	x0, [x8]
	bl	_intc_readl
	str	x0, [x19, #32]
Lloh8:
	adrp	x8, _INTC_IDLE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _INTC_IDLE@GOTPAGEOFF]
Lloh10:
	ldr	x0, [x8]
	bl	_intc_readl
	str	x0, [x19, #24]
Lloh11:
	adrp	x8, _INTC_THRESHOLD@GOTPAGE
Lloh12:
	ldr	x8, [x8, _INTC_THRESHOLD@GOTPAGEOFF]
Lloh13:
	ldr	x0, [x8]
	bl	_intc_readl
	str	x0, [x19, #16]
Lloh14:
	adrp	x20, _omap_nr_irqs@GOTPAGE
Lloh15:
	ldr	x20, [x20, _omap_nr_irqs@GOTPAGEOFF]
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x21, #0
	mov	x22, #0
Lloh16:
	adrp	x23, _INTC_ILR0@GOTPAGE
Lloh17:
	ldr	x23, [x23, _INTC_ILR0@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x23]
	add	x0, x21, x8
	bl	_intc_readl
	ldr	x8, [x19, #8]
	str	x0, [x8, x22, lsl #3]
	add	x22, x22, #1
	ldrsw	x8, [x20]
	add	x21, x21, #4
	cmp	x22, x8
	b.lt	LBB0_2
LBB0_3:
Lloh18:
	adrp	x20, _INTCPS_NR_MIR_REGS@GOTPAGE
Lloh19:
	ldr	x20, [x20, _INTCPS_NR_MIR_REGS@GOTPAGEOFF]
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.4:
	mov	x21, #0
	mov	x22, #0
Lloh20:
	adrp	x23, _INTC_MIR0@GOTPAGE
Lloh21:
	ldr	x23, [x23, _INTC_MIR0@GOTPAGEOFF]
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x23]
	add	x0, x21, x8
	bl	_intc_readl
	ldr	x8, [x19]
	str	x0, [x8, x22, lsl #3]
	add	x22, x22, #1
	ldrsw	x8, [x20]
	add	x21, x21, #32
	cmp	x22, x8
	b.lt	LBB0_5
LBB0_6:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_INTC_SYSCONFIG,8,3             ; @INTC_SYSCONFIG
	.comm	_intc_context,48,3              ; @intc_context
	.comm	_INTC_PROTECTION,8,3            ; @INTC_PROTECTION
	.comm	_INTC_IDLE,8,3                  ; @INTC_IDLE
	.comm	_INTC_THRESHOLD,8,3             ; @INTC_THRESHOLD
	.comm	_omap_nr_irqs,4,2               ; @omap_nr_irqs
	.comm	_INTC_ILR0,8,3                  ; @INTC_ILR0
	.comm	_INTCPS_NR_MIR_REGS,4,2         ; @INTCPS_NR_MIR_REGS
	.comm	_INTC_MIR0,8,3                  ; @INTC_MIR0
.subsections_via_symbols
