	.file	"extr_RaspiCamControl.c_raspicamcontrol_set_brightness.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Invalid brightness value"
	.text
	.p2align 4
	.globl	raspicamcontrol_set_brightness
	.type	raspicamcontrol_set_brightness, @function
raspicamcontrol_set_brightness:
.LFB0:
	.cfi_startproc
	endbr64
	test	rdi, rdi
	je	.L7
	sub	rsp, 8
	.cfi_def_cfa_offset 16
	cmp	esi, 100
	ja	.L3
	mov	edx, esi
	mov	edi, DWORD PTR [rdi]
	movabs	rsi, 429496729600
	or	rdx, rsi
	mov	esi, DWORD PTR MMAL_PARAMETER_BRIGHTNESS[rip]
	call	mmal_port_parameter_set_rational@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	mov	edi, eax
	jmp	mmal_status_to_int@PLT
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	lea	rdi, .LC0[rip]
	call	vcos_log_error@PLT
	mov	eax, 1
	add	rsp, 8
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	mov	eax, 1
	ret
	.cfi_endproc
.LFE0:
	.size	raspicamcontrol_set_brightness, .-raspicamcontrol_set_brightness
	.comm	MMAL_PARAMETER_BRIGHTNESS,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_RaspiCamControl.c_raspicamcontrol_set_brightness.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Invalid brightness value\000"
	.text
	.align	2
	.global	raspicamcontrol_set_brightness
	.syntax unified
	.arm
	.fpu softvfp
	.type	raspicamcontrol_set_brightness, %function
raspicamcontrol_set_brightness:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	cmp	r0, #0
	beq	.L7
	str	lr, [sp, #-4]!
	cmp	r1, #100
	sub	sp, sp, #12
	bhi	.L3
	mov	r3, #100
	stm	sp, {r1, r3}
	ldr	ip, .L11
	add	r3, sp, #8
	ldr	r1, [ip]
	ldmdb	r3, {r2, r3}
	ldr	r0, [r0]
	bl	mmal_port_parameter_set_rational
	add	sp, sp, #12
	@ sp needed
	ldr	lr, [sp], #4
	b	mmal_status_to_int
.L3:
	ldr	r0, .L11+4
	bl	vcos_log_error
	mov	r0, #1
	add	sp, sp, #12
	@ sp needed
	ldr	pc, [sp], #4
.L7:
	mov	r0, #1
	bx	lr
.L12:
	.align	2
.L11:
	.word	MMAL_PARAMETER_BRIGHTNESS
	.word	.LC0
	.size	raspicamcontrol_set_brightness, .-raspicamcontrol_set_brightness
	.comm	MMAL_PARAMETER_BRIGHTNESS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
