	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_raspicamcontrol_set_awb_mode   ## -- Begin function raspicamcontrol_set_awb_mode
	.p2align	4, 0x90
_raspicamcontrol_set_awb_mode:          ## @raspicamcontrol_set_awb_mode
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	movq	_MMAL_PARAMETER_AWB_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -16(%rbp)
	movl	%esi, -12(%rbp)
	movq	$0, -8(%rbp)
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	movl	(%rdi), %edi
	leaq	-16(%rbp), %rsi
	callq	_mmal_port_parameter_set
	movl	%eax, %edi
	callq	_mmal_status_to_int
	jmp	LBB0_3
LBB0_1:
	movl	$1, %eax
LBB0_3:
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MMAL_PARAMETER_AWB_MODE,4,2    ## @MMAL_PARAMETER_AWB_MODE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_raspicamcontrol_set_awb_mode   ; -- Begin function raspicamcontrol_set_awb_mode
	.p2align	2
_raspicamcontrol_set_awb_mode:          ; @raspicamcontrol_set_awb_mode
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _MMAL_PARAMETER_AWB_MODE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MMAL_PARAMETER_AWB_MODE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	stp	w8, w1, [sp]
	str	xzr, [sp, #8]
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w0, [x0]
	mov	x1, sp
	bl	_mmal_port_parameter_set
	bl	_mmal_status_to_int
	b	LBB0_3
LBB0_2:
	mov	w0, #1
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MMAL_PARAMETER_AWB_MODE,4,2    ; @MMAL_PARAMETER_AWB_MODE
.subsections_via_symbols
