	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function meyeioc_s_params
_meyeioc_s_params:                      ## @meyeioc_s_params
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	cmpl	$2, (%rdi)
	jge	LBB0_1
## %bb.2:
	movq	%rdi, %rbx
	cmpl	$11, 4(%rdi)
	jge	LBB0_1
## %bb.3:
	cmpl	$63, 8(%rbx)
	jg	LBB0_1
## %bb.4:
	cmpl	$63, 12(%rbx)
	jg	LBB0_1
## %bb.5:
	cmpl	$64, 16(%rbx)
	jge	LBB0_1
## %bb.6:
	cmpl	$32, 20(%rbx)
	jl	LBB0_7
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_11:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_7:
	movq	_meye@GOTPCREL(%rip), %r14
	movq	%r14, %rdi
	callq	_mutex_lock
	movl	4(%r14), %eax
	cmpl	(%rbx), %eax
	jne	LBB0_9
## %bb.8:
	movl	8(%r14), %eax
	cmpl	4(%rbx), %eax
	je	LBB0_10
LBB0_9:
	xorl	%eax, %eax
	callq	_mchip_hic_stop
LBB0_10:
	movups	(%rbx), %xmm0
	movups	%xmm0, 4(%r14)
	movq	16(%rbx), %rax
	movq	%rax, 20(%r14)
	movq	_SONY_PIC_COMMAND_SETCAMERASHARPNESS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	12(%r14), %esi
	callq	_sony_pic_camera_command
	movq	_SONY_PIC_COMMAND_SETCAMERAAGC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	16(%r14), %esi
	callq	_sony_pic_camera_command
	movq	_SONY_PIC_COMMAND_SETCAMERAPICTURE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	20(%r14), %esi
	callq	_sony_pic_camera_command
	movq	%r14, %rdi
	callq	_mutex_unlock
	xorl	%eax, %eax
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_meye,28,2                      ## @meye
	.comm	_SONY_PIC_COMMAND_SETCAMERASHARPNESS,4,2 ## @SONY_PIC_COMMAND_SETCAMERASHARPNESS
	.comm	_SONY_PIC_COMMAND_SETCAMERAAGC,4,2 ## @SONY_PIC_COMMAND_SETCAMERAAGC
	.comm	_SONY_PIC_COMMAND_SETCAMERAPICTURE,4,2 ## @SONY_PIC_COMMAND_SETCAMERAPICTURE
	.no_dead_strip	_meyeioc_s_params
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function meyeioc_s_params
_meyeioc_s_params:                      ; @meyeioc_s_params
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	w8, [x0]
	cmp	w8, #2
	b.ge	LBB0_6
; %bb.1:
	mov	x19, x0
	ldr	w8, [x0, #4]
	cmp	w8, #11
	b.ge	LBB0_6
; %bb.2:
	ldr	w8, [x19, #8]
	cmp	w8, #63
	b.gt	LBB0_6
; %bb.3:
	ldr	w8, [x19, #12]
	cmp	w8, #63
	b.gt	LBB0_6
; %bb.4:
	ldr	w8, [x19, #16]
	cmp	w8, #64
	b.ge	LBB0_6
; %bb.5:
	ldr	w8, [x19, #20]
	cmp	w8, #32
	b.lt	LBB0_8
LBB0_6:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_8:
Lloh3:
	adrp	x20, _meye@GOTPAGE
Lloh4:
	ldr	x20, [x20, _meye@GOTPAGEOFF]
	mov	x0, x20
	bl	_mutex_lock
	ldr	w8, [x20, #4]
	ldr	w9, [x19]
	cmp	w8, w9
	b.ne	LBB0_10
; %bb.9:
	ldr	w8, [x20, #8]
	ldr	w9, [x19, #4]
	cmp	w8, w9
	b.eq	LBB0_11
LBB0_10:
	bl	_mchip_hic_stop
LBB0_11:
	ldr	x8, [x19, #16]
	ldr	q0, [x19]
	stur	q0, [x20, #4]
	stur	x8, [x20, #20]
Lloh5:
	adrp	x8, _SONY_PIC_COMMAND_SETCAMERASHARPNESS@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SONY_PIC_COMMAND_SETCAMERASHARPNESS@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	ldr	w1, [x20, #12]
	bl	_sony_pic_camera_command
Lloh8:
	adrp	x8, _SONY_PIC_COMMAND_SETCAMERAAGC@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SONY_PIC_COMMAND_SETCAMERAAGC@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	ldr	w1, [x20, #16]
	bl	_sony_pic_camera_command
Lloh11:
	adrp	x8, _SONY_PIC_COMMAND_SETCAMERAPICTURE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _SONY_PIC_COMMAND_SETCAMERAPICTURE@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	ldr	w1, [x20, #20]
	bl	_sony_pic_camera_command
	mov	x0, x20
	bl	_mutex_unlock
	mov	w0, #0
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_meye,28,2                      ; @meye
	.comm	_SONY_PIC_COMMAND_SETCAMERASHARPNESS,4,2 ; @SONY_PIC_COMMAND_SETCAMERASHARPNESS
	.comm	_SONY_PIC_COMMAND_SETCAMERAAGC,4,2 ; @SONY_PIC_COMMAND_SETCAMERAAGC
	.comm	_SONY_PIC_COMMAND_SETCAMERAPICTURE,4,2 ; @SONY_PIC_COMMAND_SETCAMERAPICTURE
	.no_dead_strip	_meyeioc_s_params
.subsections_via_symbols
