	.file	"extr_amd7930.c_amd7930_disable_ints.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	amd7930_disable_ints, @function
amd7930_disable_ints:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	xor	r12d, r12d
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rsi, r12
	mov	rbp, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	spin_lock_irqsave@PLT
	mov	edi, DWORD PTR AMR_INIT[rip]
	mov	rsi, QWORD PTR AMD7930_CR[rip]
	add	rsi, QWORD PTR 8[rbp]
	call	sbus_writeb@PLT
	mov	rsi, QWORD PTR AMD7930_DR[rip]
	add	rsi, QWORD PTR 8[rbp]
	mov	edi, DWORD PTR AM_INIT_ACTIVE[rip]
	or	edi, DWORD PTR AM_INIT_DISABLE_INTS[rip]
	call	sbus_writeb@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 24
	mov	rsi, r12
	mov	rdi, rbp
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	spin_unlock_irqrestore@PLT
	.cfi_endproc
.LFE0:
	.size	amd7930_disable_ints, .-amd7930_disable_ints
	.comm	AM_INIT_DISABLE_INTS,4,4
	.comm	AM_INIT_ACTIVE,4,4
	.comm	AMR_INIT,4,4
	.comm	AMD7930_DR,8,8
	.comm	AMD7930_CR,8,8
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_amd7930.c_amd7930_disable_ints.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	amd7930_disable_ints, %function
amd7930_disable_ints:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, #0
	mov	r4, r0
	mov	r1, r5
	bl	spin_lock_irqsave
	ldr	r3, .L4
	ldr	r1, [r4, #4]
	ldr	r2, [r3]
	ldr	r3, .L4+4
	add	r1, r1, r2
	ldr	r0, [r3]
	bl	sbus_writeb
	ldr	r2, .L4+8
	ldr	r0, .L4+12
	ldr	r3, .L4+16
	ldr	r1, [r4, #4]
	ldr	r2, [r2]
	ldr	r0, [r0]
	ldr	r3, [r3]
	add	r1, r1, r2
	orr	r0, r0, r3
	bl	sbus_writeb
	mov	r1, r5
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	b	spin_unlock_irqrestore
.L5:
	.align	2
.L4:
	.word	AMD7930_CR
	.word	AMR_INIT
	.word	AMD7930_DR
	.word	AM_INIT_ACTIVE
	.word	AM_INIT_DISABLE_INTS
	.size	amd7930_disable_ints, .-amd7930_disable_ints
	.comm	AM_INIT_DISABLE_INTS,4,4
	.comm	AM_INIT_ACTIVE,4,4
	.comm	AMR_INIT,4,4
	.comm	AMD7930_DR,4,4
	.comm	AMD7930_CR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
