	.file	"extr_spi-pl022.c_load_ssp_default_config.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	load_ssp_default_config, @function
load_ssp_default_config:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	rax, QWORD PTR 8[rdi]
	mov	rbx, rdi
	mov	edi, DWORD PTR [rdi]
	cmp	QWORD PTR 8[rax], 0
	jne	.L7
	cmp	QWORD PTR [rax], 0
	jne	.L8
	call	SSP_CR0@PLT
	mov	edi, DWORD PTR DEFAULT_SSP_REG_CR0[rip]
	mov	esi, eax
	call	writew@PLT
	mov	edi, DWORD PTR [rbx]
	call	SSP_CR1@PLT
	mov	edi, DWORD PTR DEFAULT_SSP_REG_CR1[rip]
	mov	esi, eax
	call	writew@PLT
.L3:
	mov	edi, DWORD PTR [rbx]
	call	SSP_DMACR@PLT
	mov	edi, DWORD PTR DEFAULT_SSP_REG_DMACR[rip]
	mov	esi, eax
	call	writew@PLT
	mov	edi, DWORD PTR [rbx]
	call	SSP_CPSR@PLT
	mov	edi, DWORD PTR DEFAULT_SSP_REG_CPSR[rip]
	mov	esi, eax
	call	writew@PLT
	mov	edi, DWORD PTR [rbx]
	call	SSP_IMSC@PLT
	mov	edi, DWORD PTR DISABLE_ALL_INTERRUPTS[rip]
	mov	esi, eax
	call	writew@PLT
	mov	edi, DWORD PTR [rbx]
	call	SSP_ICR@PLT
	mov	edi, DWORD PTR CLEAR_ALL_INTERRUPTS[rip]
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	mov	esi, eax
	jmp	writew@PLT
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	call	SSP_CR0@PLT
	mov	edi, DWORD PTR DEFAULT_SSP_REG_CR0_ST[rip]
	mov	esi, eax
	call	writel@PLT
	mov	edi, DWORD PTR [rbx]
	call	SSP_CR1@PLT
	mov	edi, DWORD PTR DEFAULT_SSP_REG_CR1_ST[rip]
	mov	esi, eax
	call	writew@PLT
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L7:
	call	SSP_CR0@PLT
	mov	edi, DWORD PTR DEFAULT_SSP_REG_CR0_ST_PL023[rip]
	mov	esi, eax
	call	writel@PLT
	mov	edi, DWORD PTR [rbx]
	call	SSP_CR1@PLT
	mov	edi, DWORD PTR DEFAULT_SSP_REG_CR1_ST_PL023[rip]
	mov	esi, eax
	call	writew@PLT
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	load_ssp_default_config, .-load_ssp_default_config
	.comm	DISABLE_ALL_INTERRUPTS,4,4
	.comm	DEFAULT_SSP_REG_DMACR,4,4
	.comm	DEFAULT_SSP_REG_CR1_ST_PL023,4,4
	.comm	DEFAULT_SSP_REG_CR1_ST,4,4
	.comm	DEFAULT_SSP_REG_CR1,4,4
	.comm	DEFAULT_SSP_REG_CR0_ST_PL023,4,4
	.comm	DEFAULT_SSP_REG_CR0_ST,4,4
	.comm	DEFAULT_SSP_REG_CR0,4,4
	.comm	DEFAULT_SSP_REG_CPSR,4,4
	.comm	CLEAR_ALL_INTERRUPTS,4,4
	.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_spi-pl022.c_load_ssp_default_config.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	load_ssp_default_config, %function
load_ssp_default_config:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	ldm	r0, {r0, r3}
	ldr	r2, [r3, #4]
	cmp	r2, #0
	bne	.L8
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L9
	ldr	r3, .L10
	ldr	r5, [r3]
	bl	SSP_CR0
	mov	r1, r0
	mov	r0, r5
	bl	writew
	ldr	r3, .L10+4
.L6:
	ldr	r0, [r4]
	ldr	r5, [r3]
	bl	SSP_CR1
	mov	r1, r0
	mov	r0, r5
	bl	writew
	ldr	r3, .L10+8
	ldr	r0, [r4]
	ldr	r5, [r3]
	bl	SSP_DMACR
	mov	r1, r0
	mov	r0, r5
	bl	writew
	ldr	r3, .L10+12
	ldr	r0, [r4]
	ldr	r5, [r3]
	bl	SSP_CPSR
	mov	r1, r0
	mov	r0, r5
	bl	writew
	ldr	r3, .L10+16
	ldr	r0, [r4]
	ldr	r5, [r3]
	bl	SSP_IMSC
	mov	r1, r0
	mov	r0, r5
	bl	writew
	ldr	r3, .L10+20
	ldr	r0, [r4]
	ldr	r4, [r3]
	bl	SSP_ICR
	mov	r1, r0
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	b	writew
.L9:
	ldr	r3, .L10+24
	ldr	r5, [r3]
	bl	SSP_CR0
	mov	r1, r0
	mov	r0, r5
	bl	writel
	ldr	r3, .L10+28
	b	.L6
.L8:
	ldr	r3, .L10+32
	ldr	r5, [r3]
	bl	SSP_CR0
	mov	r1, r0
	mov	r0, r5
	bl	writel
	ldr	r3, .L10+36
	b	.L6
.L11:
	.align	2
.L10:
	.word	DEFAULT_SSP_REG_CR0
	.word	DEFAULT_SSP_REG_CR1
	.word	DEFAULT_SSP_REG_DMACR
	.word	DEFAULT_SSP_REG_CPSR
	.word	DISABLE_ALL_INTERRUPTS
	.word	CLEAR_ALL_INTERRUPTS
	.word	DEFAULT_SSP_REG_CR0_ST
	.word	DEFAULT_SSP_REG_CR1_ST
	.word	DEFAULT_SSP_REG_CR0_ST_PL023
	.word	DEFAULT_SSP_REG_CR1_ST_PL023
	.size	load_ssp_default_config, .-load_ssp_default_config
	.comm	DISABLE_ALL_INTERRUPTS,4,4
	.comm	DEFAULT_SSP_REG_DMACR,4,4
	.comm	DEFAULT_SSP_REG_CR1_ST_PL023,4,4
	.comm	DEFAULT_SSP_REG_CR1_ST,4,4
	.comm	DEFAULT_SSP_REG_CR1,4,4
	.comm	DEFAULT_SSP_REG_CR0_ST_PL023,4,4
	.comm	DEFAULT_SSP_REG_CR0_ST,4,4
	.comm	DEFAULT_SSP_REG_CR0,4,4
	.comm	DEFAULT_SSP_REG_CPSR,4,4
	.comm	CLEAR_ALL_INTERRUPTS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
