	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function raspicamcontrol_set_awb_gains
LCPI0_0:
	.long	0x47800000                      ## float 65536
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_raspicamcontrol_set_awb_gains
	.p2align	4, 0x90
_raspicamcontrol_set_awb_gains:         ## @raspicamcontrol_set_awb_gains
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$48, %rsp
	xorps	%xmm2, %xmm2
	movups	%xmm2, -28(%rbp)
	movq	$0, -12(%rbp)
	movq	_MMAL_PARAMETER_CUSTOM_AWB_GAINS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	xorl	%eax, %eax
	xorps	%xmm2, %xmm2
	ucomiss	%xmm2, %xmm0
	jne	LBB0_3
	jnp	LBB0_5
LBB0_3:
	ucomiss	%xmm2, %xmm1
	jne	LBB0_4
	jnp	LBB0_5
LBB0_4:
	movss	LCPI0_0(%rip), %xmm2            ## xmm2 = mem[0],zero,zero,zero
	mulss	%xmm2, %xmm0
	cvttss2si	%xmm0, %rax
	movl	%eax, -36(%rbp)
	mulss	%xmm2, %xmm1
	cvttss2si	%xmm1, %rax
	movl	%eax, -44(%rbp)
	movl	$65536, -40(%rbp)               ## imm = 0x10000
	movl	$65536, -32(%rbp)               ## imm = 0x10000
	movl	(%rdi), %edi
	leaq	-48(%rbp), %rsi
	callq	_mmal_port_parameter_set
	movl	%eax, %edi
	callq	_mmal_status_to_int
	jmp	LBB0_5
LBB0_1:
	movl	$1, %eax
LBB0_5:
	addq	$48, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MMAL_PARAMETER_CUSTOM_AWB_GAINS,4,2 ## @MMAL_PARAMETER_CUSTOM_AWB_GAINS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_raspicamcontrol_set_awb_gains  ; -- Begin function raspicamcontrol_set_awb_gains
	.p2align	2
_raspicamcontrol_set_awb_gains:         ; @raspicamcontrol_set_awb_gains
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	stur	xzr, [sp, #28]
	stur	xzr, [sp, #20]
	stur	xzr, [sp, #36]
Lloh0:
	adrp	x8, _MMAL_PARAMETER_CUSTOM_AWB_GAINS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MMAL_PARAMETER_CUSTOM_AWB_GAINS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp]
	cbz	x0, LBB0_4
; %bb.1:
	mov	w8, #0
	fcmp	s0, #0.0
	b.eq	LBB0_5
; %bb.2:
	fcmp	s1, #0.0
	b.eq	LBB0_5
; %bb.3:
	fcvtzu	w8, s0, #16
	fcvtzu	w9, s1, #16
	mov	w10, #65536
	stp	w9, w10, [sp, #4]
	stp	w8, w10, [sp, #12]
	ldr	w0, [x0]
	mov	x1, sp
	bl	_mmal_port_parameter_set
	bl	_mmal_status_to_int
	mov	x8, x0
	b	LBB0_5
LBB0_4:
	mov	w8, #1
LBB0_5:
	mov	x0, x8
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MMAL_PARAMETER_CUSTOM_AWB_GAINS,4,2 ; @MMAL_PARAMETER_CUSTOM_AWB_GAINS
.subsections_via_symbols
