	.file	"extr_spibus.c_spibus_write_ivar.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	spibus_write_ivar, @function
spibus_write_ivar:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14, rcx
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rdi
	mov	rdi, rsi
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12d, edx
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	call	SPIBUS_IVAR@PLT
	test	rax, rax
	je	.L4
	mov	rdi, rbp
	mov	rbx, rax
	call	device_get_parent@PLT
	cmp	rax, r13
	je	.L11
.L4:
	mov	eax, DWORD PTR EDOOFUS[rip]
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	cmp	r12d, 128
	je	.L5
	mov	eax, DWORD PTR EINVAL[rip]
	cmp	r12d, 130
	jne	.L1
	test	r14, r14
	je	.L8
	mov	QWORD PTR 8[rbx], r14
	xor	eax, eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L5:
	cmp	r14, 3
	ja	.L8
	mov	QWORD PTR [rbx], r14
	xor	eax, eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L8:
	mov	eax, DWORD PTR EINVAL[rip]
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	spibus_write_ivar, .-spibus_write_ivar
	.comm	EINVAL,4,4
	.comm	EDOOFUS,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_spibus.c_spibus_write_ivar.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	spibus_write_ivar, %function
spibus_write_ivar:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r8, r0
	mov	r0, r1
	mov	r4, r1
	mov	r6, r2
	mov	r7, r3
	bl	SPIBUS_IVAR
	subs	r5, r0, #0
	beq	.L4
	mov	r0, r4
	bl	device_get_parent
	cmp	r0, r8
	bne	.L4
	cmp	r6, #128
	beq	.L5
	cmp	r6, #130
	beq	.L11
.L6:
	ldr	r3, .L12
	ldr	r0, [r3]
	pop	{r4, r5, r6, r7, r8, pc}
.L4:
	ldr	r3, .L12+4
	ldr	r0, [r3]
	pop	{r4, r5, r6, r7, r8, pc}
.L5:
	cmp	r7, #3
	bhi	.L6
	mov	r0, #0
	str	r7, [r5]
	pop	{r4, r5, r6, r7, r8, pc}
.L11:
	cmp	r7, #0
	beq	.L6
	mov	r0, #0
	str	r7, [r5, #4]
	pop	{r4, r5, r6, r7, r8, pc}
.L13:
	.align	2
.L12:
	.word	EINVAL
	.word	EDOOFUS
	.size	spibus_write_ivar, .-spibus_write_ivar
	.comm	EINVAL,4,4
	.comm	EDOOFUS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
