	.file	"extr_vibes.c__sv_indirect_set.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"sv_indirect_set register 0x%02x %d != %d line %d\n"
	.text
	.p2align 4
	.type	_sv_indirect_set, @function
_sv_indirect_set:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13d, ecx
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12d, edx
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	ebx, esi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	cmp	DWORD PTR SV_REG_FORMAT[rip], esi
	je	.L2
	cmp	DWORD PTR SV_REG_ANALOG_PWR[rip], esi
	je	.L2
.L3:
	mov	esi, DWORD PTR 4[rbp]
	mov	edi, DWORD PTR 8[rbp]
	mov	ecx, ebx
	mov	edx, DWORD PTR SV_CM_INDEX[rip]
	call	bus_space_write_1@PLT
	mov	esi, DWORD PTR 4[rbp]
	mov	edi, DWORD PTR 8[rbp]
	mov	ecx, r12d
	mov	edx, DWORD PTR SV_CM_DATA[rip]
	call	bus_space_write_1@PLT
	mov	edx, DWORD PTR SV_CM_INDEX_MCE[rip]
	not	edx
	and	ebx, edx
	cmp	DWORD PTR SV_REG_ADC_PLLM[rip], ebx
	jne	.L9
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	or	ebx, DWORD PTR SV_CM_INDEX_MCE[rip]
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L9:
	mov	esi, ebx
	mov	rdi, rbp
	call	sv_indirect_get@PLT
	mov	ecx, eax
	cmp	r12d, eax
	je	.L1
	mov	edi, DWORD PTR 0[rbp]
	add	rsp, 8
	.cfi_def_cfa_offset 40
	mov	r9d, r13d
	mov	r8d, r12d
	mov	edx, ebx
	lea	rsi, .LC0[rip]
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	device_printf@PLT
	.cfi_endproc
.LFE0:
	.size	_sv_indirect_set, .-_sv_indirect_set
	.comm	SV_REG_FORMAT,4,4
	.comm	SV_REG_ANALOG_PWR,4,4
	.comm	SV_REG_ADC_PLLM,4,4
	.comm	SV_CM_INDEX_MCE,4,4
	.comm	SV_CM_INDEX,4,4
	.comm	SV_CM_DATA,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_vibes.c__sv_indirect_set.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"sv_indirect_set register 0x%02x %d != %d line %d\012"
	.ascii	"\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	_sv_indirect_set, %function
_sv_indirect_set:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r1
	ldr	r1, .L11
	mov	r5, r0
	ldr	r1, [r1]
	mov	r6, r2
	cmp	r1, r4
	mov	r7, r3
	ldr	r8, .L11+4
	sub	sp, sp, #8
	beq	.L2
	ldr	r3, .L11+8
	ldr	r3, [r3]
	cmp	r3, r4
	beq	.L2
.L3:
	ldr	r2, .L11+12
	mov	r3, r4
	ldr	r2, [r2]
	ldr	r1, [r5, #4]
	ldr	r0, [r5, #8]
	bl	bus_space_write_1
	ldr	r2, .L11+16
	mov	r3, r6
	ldr	r1, [r5, #4]
	ldr	r2, [r2]
	ldr	r0, [r5, #8]
	bl	bus_space_write_1
	ldr	r3, .L11+20
	ldr	r1, [r8]
	ldr	r3, [r3]
	bic	r4, r4, r1
	cmp	r3, r4
	bne	.L10
.L1:
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L2:
	ldr	r3, [r8]
	orr	r4, r4, r3
	b	.L3
.L10:
	mov	r1, r4
	mov	r0, r5
	bl	sv_indirect_get
	cmp	r6, r0
	beq	.L1
	stm	sp, {r6, r7}
	mov	r3, r0
	mov	r2, r4
	ldr	r0, [r5]
	ldr	r1, .L11+24
	bl	device_printf
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L12:
	.align	2
.L11:
	.word	SV_REG_FORMAT
	.word	SV_CM_INDEX_MCE
	.word	SV_REG_ANALOG_PWR
	.word	SV_CM_INDEX
	.word	SV_CM_DATA
	.word	SV_REG_ADC_PLLM
	.word	.LC0
	.size	_sv_indirect_set, .-_sv_indirect_set
	.comm	SV_REG_FORMAT,4,4
	.comm	SV_REG_ANALOG_PWR,4,4
	.comm	SV_REG_ADC_PLLM,4,4
	.comm	SV_CM_INDEX_MCE,4,4
	.comm	SV_CM_INDEX,4,4
	.comm	SV_CM_DATA,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
