	.file	"extr_cxd2880_top.c_cxd2880_read_ucblocks.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"invalid arg\n"
.LC1:
	.string	"invalid system\n"
.LC2:
	.string	"ret = %d\n"
	.text
	.p2align 4
	.type	cxd2880_read_ucblocks, @function
cxd2880_read_ucblocks:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	test	rdi, rdi
	je	.L8
	mov	r12, rsi
	test	rsi, rsi
	je	.L8
	mov	rbp, QWORD PTR 8[rdi]
	mov	rbx, rdi
	mov	edi, DWORD PTR 0[rbp]
	call	mutex_lock@PLT
	mov	rax, QWORD PTR [rbx]
	cmp	rax, QWORD PTR SYS_DVBT[rip]
	je	.L14
	cmp	rax, QWORD PTR SYS_DVBT2[rip]
	jne	.L7
	mov	rsi, r12
	lea	rdi, 4[rbp]
	call	cxd2880_tnrdmd_dvbt2_mon_packet_error_number@PLT
	mov	r12d, eax
.L6:
	mov	edi, DWORD PTR 0[rbp]
	call	mutex_unlock@PLT
	test	r12d, r12d
	je	.L1
	mov	esi, r12d
	lea	rdi, .LC2[rip]
	call	pr_debug@PLT
	mov	eax, r12d
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	lea	rdi, .LC1[rip]
	call	pr_err@PLT
	mov	edi, DWORD PTR 0[rbp]
	call	mutex_unlock@PLT
	mov	r12d, DWORD PTR EINVAL[rip]
	neg	r12d
.L1:
	mov	eax, r12d
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	lea	rdi, .LC0[rip]
	call	pr_err@PLT
	mov	r12d, DWORD PTR EINVAL[rip]
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	neg	r12d
	mov	eax, r12d
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L14:
	.cfi_restore_state
	mov	rsi, r12
	lea	rdi, 4[rbp]
	call	cxd2880_tnrdmd_dvbt_mon_packet_error_number@PLT
	mov	r12d, eax
	jmp	.L6
	.cfi_endproc
.LFE0:
	.size	cxd2880_read_ucblocks, .-cxd2880_read_ucblocks
	.comm	SYS_DVBT2,8,8
	.comm	SYS_DVBT,8,8
	.comm	EINVAL,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_cxd2880_top.c_cxd2880_read_ucblocks.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"invalid arg\012\000"
	.align	2
.LC1:
	.ascii	"invalid system\012\000"
	.align	2
.LC2:
	.ascii	"ret = %d\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	cxd2880_read_ucblocks, %function
cxd2880_read_ucblocks:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	cmp	r1, #0
	cmpne	r0, #0
	push	{r4, r5, r6, lr}
	beq	.L12
	mov	r4, r0
	ldr	r6, [r0, #4]
	mov	r5, r1
	ldr	r0, [r6]
	bl	mutex_lock
	ldr	r2, .L14
	ldr	r3, [r4]
	ldr	r2, [r2]
	cmp	r3, r2
	beq	.L13
	ldr	r2, .L14+4
	ldr	r2, [r2]
	cmp	r3, r2
	bne	.L6
	mov	r1, r5
	add	r0, r6, #4
	bl	cxd2880_tnrdmd_dvbt2_mon_packet_error_number
	mov	r4, r0
.L5:
	ldr	r0, [r6]
	bl	mutex_unlock
	cmp	r4, #0
	beq	.L1
	mov	r1, r4
	ldr	r0, .L14+8
	bl	pr_debug
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L6:
	ldr	r0, .L14+12
	bl	pr_err
	ldr	r0, [r6]
	bl	mutex_unlock
	ldr	r3, .L14+16
	ldr	r4, [r3]
	rsb	r4, r4, #0
.L1:
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L12:
	ldr	r0, .L14+20
	bl	pr_err
	ldr	r3, .L14+16
	ldr	r4, [r3]
	rsb	r4, r4, #0
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L13:
	mov	r1, r5
	add	r0, r6, #4
	bl	cxd2880_tnrdmd_dvbt_mon_packet_error_number
	mov	r4, r0
	b	.L5
.L15:
	.align	2
.L14:
	.word	SYS_DVBT
	.word	SYS_DVBT2
	.word	.LC2
	.word	.LC1
	.word	EINVAL
	.word	.LC0
	.size	cxd2880_read_ucblocks, .-cxd2880_read_ucblocks
	.comm	SYS_DVBT2,4,4
	.comm	SYS_DVBT,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
