	.file	"extr_vsp1_histo.c_histo_set_format.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	histo_set_format, @function
histo_set_format:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rdx
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	call	subdev_to_histo@PLT
	mov	rcx, QWORD PTR HISTO_PAD_SINK[rip]
	cmp	QWORD PTR [r12], rcx
	je	.L2
	mov	rdx, r12
	mov	rsi, r13
	mov	rdi, rbp
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	histo_get_format@PLT
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	edx, DWORD PTR HISTO_MAX_SIZE[rip]
	sub	rsp, 8
	.cfi_def_cfa_offset 40
	mov	ecx, DWORD PTR 4[rax]
	mov	rsi, r13
	mov	r9d, DWORD PTR HISTO_MIN_SIZE[rip]
	mov	rdi, rbp
	push	rdx
	.cfi_def_cfa_offset 48
	push	rdx
	.cfi_def_cfa_offset 56
	mov	rdx, r12
	push	r9
	.cfi_def_cfa_offset 64
	mov	r8d, DWORD PTR [rax]
	call	vsp1_subdev_set_pad_format@PLT
	add	rsp, 32
	.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
	.cfi_endproc
.LFE0:
	.size	histo_set_format, .-histo_set_format
	.comm	HISTO_PAD_SINK,8,8
	.comm	HISTO_MIN_SIZE,4,4
	.comm	HISTO_MAX_SIZE,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_vsp1_histo.c_histo_set_format.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	histo_set_format, %function
histo_set_format:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r2
	sub	sp, sp, #24
	mov	r6, r1
	mov	r5, r0
	bl	subdev_to_histo
	ldr	r3, .L5
	ldr	r2, [r4]
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L2
	mov	r2, r4
	mov	r1, r6
	mov	r0, r5
	add	sp, sp, #24
	@ sp needed
	pop	{r4, r5, r6, lr}
	b	histo_get_format
.L2:
	ldr	r2, .L5+4
	ldr	r3, .L5+8
	ldr	r1, [r2]
	ldr	r2, [r3]
	ldr	r3, [r0, #4]
	str	r1, [sp, #8]
	str	r1, [sp, #4]
	str	r2, [sp, #16]
	str	r2, [sp, #12]
	ldr	ip, [r0]
	mov	r2, r4
	mov	r1, r6
	mov	r0, r5
	str	ip, [sp]
	bl	vsp1_subdev_set_pad_format
	add	sp, sp, #24
	@ sp needed
	pop	{r4, r5, r6, pc}
.L6:
	.align	2
.L5:
	.word	HISTO_PAD_SINK
	.word	HISTO_MIN_SIZE
	.word	HISTO_MAX_SIZE
	.size	histo_set_format, .-histo_set_format
	.comm	HISTO_PAD_SINK,4,4
	.comm	HISTO_MIN_SIZE,4,4
	.comm	HISTO_MAX_SIZE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
