	.file	"extr_lmc_media.c_lmc_hssi_set_status.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	lmc_hssi_set_status, @function
lmc_hssi_set_status:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	rsi, QWORD PTR 16[rdi]
	test	r12, r12
	je	.L11
	cmp	QWORD PTR [r12], 0
	je	.L3
	test	rsi, rsi
	jne	.L4
	mov	rax, QWORD PTR [rdi]
	mov	rsi, QWORD PTR LMC_CTL_CLOCK_SOURCE_INT[rip]
	call	[QWORD PTR [rax]]
	mov	rax, QWORD PTR LMC_CTL_CLOCK_SOURCE_INT[rip]
	mov	QWORD PTR 8[rbp], rax
.L4:
	add	rsp, 8
	.cfi_remember_state
	.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	lmc_set_protocol@PLT
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	test	rsi, rsi
	je	.L4
	mov	rsi, QWORD PTR LMC_CTL_CLOCK_SOURCE_EXT[rip]
	mov	rax, QWORD PTR [rdi]
	mov	QWORD PTR 8[rdi], rsi
	call	[QWORD PTR [rax]]
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L11:
	mov	rax, QWORD PTR [rdi]
	call	[QWORD PTR [rax]]
	add	rsp, 8
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	xor	esi, esi
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	lmc_set_protocol@PLT
	.cfi_endproc
.LFE0:
	.size	lmc_hssi_set_status, .-lmc_hssi_set_status
	.comm	LMC_CTL_CLOCK_SOURCE_INT,8,8
	.comm	LMC_CTL_CLOCK_SOURCE_EXT,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_lmc_media.c_lmc_hssi_set_status.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	lmc_hssi_set_status, %function
lmc_hssi_set_status:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	subs	r5, r1, #0
	mov	r4, r0
	ldr	r1, [r0, #8]
	beq	.L11
	ldr	r3, [r5]
	cmp	r3, #0
	beq	.L3
	cmp	r1, #0
	bne	.L4
	ldr	r6, .L12
	ldr	r3, [r0]
	ldr	r1, [r6]
	ldr	r3, [r3]
	blx	r3
	ldr	r3, [r6]
	str	r3, [r4, #4]
.L4:
	mov	r1, r5
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	b	lmc_set_protocol
.L3:
	cmp	r1, #0
	beq	.L4
	ldr	r2, .L12+4
	ldr	r3, [r0]
	ldr	r1, [r2]
	ldr	r3, [r3]
	str	r1, [r0, #4]
.L9:
	blx	r3
	mov	r1, r5
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	b	lmc_set_protocol
.L11:
	ldr	r3, [r0]
	ldr	r3, [r3]
	b	.L9
.L13:
	.align	2
.L12:
	.word	LMC_CTL_CLOCK_SOURCE_INT
	.word	LMC_CTL_CLOCK_SOURCE_EXT
	.size	lmc_hssi_set_status, .-lmc_hssi_set_status
	.comm	LMC_CTL_CLOCK_SOURCE_INT,4,4
	.comm	LMC_CTL_CLOCK_SOURCE_EXT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
