	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sa1100irq_suspend
_sa1100irq_suspend:                     ## @sa1100irq_suspend
	.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	_sa1100irq_state@GOTPCREL(%rip), %rbx
	movl	$1, (%rbx)
	movq	_iobase@GOTPCREL(%rip), %r14
	movq	_ICMR@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	addq	(%r14), %rdi
	callq	_readl_relaxed
	movl	%eax, 4(%rbx)
	movq	_ICLR@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	(%r14), %rdi
	callq	_readl_relaxed
	movq	%rax, 16(%rbx)
	movq	_ICCR@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	(%r14), %rdi
	callq	_readl_relaxed
	movq	%rax, 8(%rbx)
	movl	$-4096, %edi                    ## imm = 0xF000
	andl	4(%rbx), %edi
	movq	(%r15), %rsi
	addq	(%r14), %rsi
	callq	_writel_relaxed
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_sa1100irq_state,24,3           ## @sa1100irq_state
	.comm	_iobase,8,3                     ## @iobase
	.comm	_ICMR,8,3                       ## @ICMR
	.comm	_ICLR,8,3                       ## @ICLR
	.comm	_ICCR,8,3                       ## @ICCR
	.no_dead_strip	_sa1100irq_suspend
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sa1100irq_suspend
_sa1100irq_suspend:                     ; @sa1100irq_suspend
	.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
Lloh0:
	adrp	x19, _sa1100irq_state@GOTPAGE
Lloh1:
	ldr	x19, [x19, _sa1100irq_state@GOTPAGEOFF]
	mov	w8, #1
Lloh2:
	adrp	x20, _iobase@GOTPAGE
Lloh3:
	ldr	x20, [x20, _iobase@GOTPAGEOFF]
	str	w8, [x19]
	ldr	x8, [x20]
Lloh4:
	adrp	x21, _ICMR@GOTPAGE
Lloh5:
	ldr	x21, [x21, _ICMR@GOTPAGEOFF]
	ldr	x9, [x21]
	add	x0, x9, x8
	bl	_readl_relaxed
	str	w0, [x19, #4]
	ldr	x8, [x20]
Lloh6:
	adrp	x9, _ICLR@GOTPAGE
Lloh7:
	ldr	x9, [x9, _ICLR@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_readl_relaxed
	str	x0, [x19, #16]
	ldr	x8, [x20]
Lloh9:
	adrp	x9, _ICCR@GOTPAGE
Lloh10:
	ldr	x9, [x9, _ICCR@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_readl_relaxed
	str	x0, [x19, #8]
	ldr	w8, [x19, #4]
	and	w0, w8, #0xfffff000
	ldr	x8, [x20]
	ldr	x9, [x21]
	add	x1, x9, x8
	bl	_writel_relaxed
	mov	w0, #0
	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
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_sa1100irq_state,24,3           ; @sa1100irq_state
	.comm	_iobase,8,3                     ; @iobase
	.comm	_ICMR,8,3                       ; @ICMR
	.comm	_ICLR,8,3                       ; @ICLR
	.comm	_ICCR,8,3                       ; @ICCR
	.no_dead_strip	_sa1100irq_suspend
.subsections_via_symbols
