	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function zoran_s_ctrl
_zoran_s_ctrl:                          ## @zoran_s_ctrl
	.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
	movq	(%rdx), %rax
	movq	_V4L2_CID_BRIGHTNESS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jl	LBB0_2
## %bb.1:
	movq	_V4L2_CID_HUE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jg	LBB0_2
## %bb.3:
	movq	%rdx, %rbx
	movq	(%rsi), %r14
	movq	%r14, %rdi
	callq	_mutex_lock
	movq	_core@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_s_ctrl@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movq	%rbx, %rcx
	callq	_decoder_call
	movq	%r14, %rdi
	callq	_mutex_unlock
	xorl	%eax, %eax
	jmp	LBB0_4
LBB0_2:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_4:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_V4L2_CID_BRIGHTNESS,8,3        ## @V4L2_CID_BRIGHTNESS
	.comm	_V4L2_CID_HUE,8,3               ## @V4L2_CID_HUE
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_core,4,2                       ## @core
	.comm	_s_ctrl,4,2                     ## @s_ctrl
	.no_dead_strip	_zoran_s_ctrl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function zoran_s_ctrl
_zoran_s_ctrl:                          ; @zoran_s_ctrl
	.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	x8, [x2]
Lloh0:
	adrp	x9, _V4L2_CID_BRIGHTNESS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _V4L2_CID_BRIGHTNESS@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x10, _V4L2_CID_HUE@GOTPAGE
Lloh4:
	ldr	x10, [x10, _V4L2_CID_HUE@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #0, ge
	b.le	LBB0_2
; %bb.1:
Lloh6:
	adrp	x8, _EINVAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_3
LBB0_2:
	mov	x19, x2
	ldr	x20, [x1]
	mov	x0, x20
	bl	_mutex_lock
Lloh9:
	adrp	x8, _core@GOTPAGE
Lloh10:
	ldr	x8, [x8, _core@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
Lloh12:
	adrp	x8, _s_ctrl@GOTPAGE
Lloh13:
	ldr	x8, [x8, _s_ctrl@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x3, x19
	bl	_decoder_call
	mov	x0, x20
	bl	_mutex_unlock
	mov	w0, #0
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_V4L2_CID_BRIGHTNESS,8,3        ; @V4L2_CID_BRIGHTNESS
	.comm	_V4L2_CID_HUE,8,3               ; @V4L2_CID_HUE
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_core,4,2                       ; @core
	.comm	_s_ctrl,4,2                     ; @s_ctrl
	.no_dead_strip	_zoran_s_ctrl
.subsections_via_symbols
