	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vidioc_s_ctrl
_vidioc_s_ctrl:                         ## @vidioc_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
	movl	(%rdx), %eax
	addl	$-128, %eax
	cmpl	$4, %eax
	ja	LBB0_4
## %bb.1:
	movq	%rdx, %rbx
	movq	(%rdi), %rcx
	movq	(%rcx), %r14
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_2:
	movq	_CTRL_SHARPNESS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	4(%rbx), %edx
	movq	%r14, %rdi
	callq	_hdpvr_config_call
	testl	%eax, %eax
	jne	LBB0_14
## %bb.3:
	movl	4(%rbx), %eax
	movl	%eax, (%r14)
	jmp	LBB0_13
LBB0_4:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_14
LBB0_5:
	movq	_CTRL_SATURATION@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	4(%rbx), %edx
	movq	%r14, %rdi
	callq	_hdpvr_config_call
	testl	%eax, %eax
	jne	LBB0_14
## %bb.6:
	movl	4(%rbx), %eax
	movl	%eax, 8(%r14)
	jmp	LBB0_13
LBB0_7:
	movq	_CTRL_HUE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	4(%rbx), %edx
	movq	%r14, %rdi
	callq	_hdpvr_config_call
	testl	%eax, %eax
	jne	LBB0_14
## %bb.8:
	movl	4(%rbx), %eax
	movl	%eax, 4(%r14)
	jmp	LBB0_13
LBB0_9:
	movq	_CTRL_CONTRAST@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	4(%rbx), %edx
	movq	%r14, %rdi
	callq	_hdpvr_config_call
	testl	%eax, %eax
	jne	LBB0_14
## %bb.10:
	movl	4(%rbx), %eax
	movl	%eax, 12(%r14)
	jmp	LBB0_13
LBB0_11:
	movq	_CTRL_BRIGHTNESS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	4(%rbx), %edx
	movq	%r14, %rdi
	callq	_hdpvr_config_call
	testl	%eax, %eax
	jne	LBB0_14
## %bb.12:
	movl	4(%rbx), %eax
	movl	%eax, 16(%r14)
LBB0_13:
	xorl	%eax, %eax
LBB0_14:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_5
	.long	L0_0_set_7
	.long	L0_0_set_9
	.long	L0_0_set_11
	.end_data_region
                                        ## -- End function
	.comm	_CTRL_BRIGHTNESS,4,2            ## @CTRL_BRIGHTNESS
	.comm	_CTRL_CONTRAST,4,2              ## @CTRL_CONTRAST
	.comm	_CTRL_SATURATION,4,2            ## @CTRL_SATURATION
	.comm	_CTRL_HUE,4,2                   ## @CTRL_HUE
	.comm	_CTRL_SHARPNESS,4,2             ## @CTRL_SHARPNESS
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_vidioc_s_ctrl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vidioc_s_ctrl
_vidioc_s_ctrl:                         ; @vidioc_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	w8, [x2]
	sub	w8, w8, #128
	cmp	w8, #4
	b.hi	LBB0_4
; %bb.1:
	mov	x19, x2
	ldr	x9, [x0]
	ldr	x20, [x9]
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
Lloh2:
	adrp	x8, _CTRL_SHARPNESS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _CTRL_SHARPNESS@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	ldr	w2, [x19, #4]
	mov	x0, x20
	bl	_hdpvr_config_call
	cbnz	w0, LBB0_13
; %bb.3:
	ldr	w8, [x19, #4]
	str	w8, [x20]
	b	LBB0_13
LBB0_4:
Lloh5:
	adrp	x8, _EINVAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_13
LBB0_5:
Lloh8:
	adrp	x8, _CTRL_SATURATION@GOTPAGE
Lloh9:
	ldr	x8, [x8, _CTRL_SATURATION@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	ldr	w2, [x19, #4]
	mov	x0, x20
	bl	_hdpvr_config_call
	cbnz	w0, LBB0_13
; %bb.6:
	ldr	w8, [x19, #4]
	str	w8, [x20, #8]
	b	LBB0_13
LBB0_7:
Lloh11:
	adrp	x8, _CTRL_HUE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _CTRL_HUE@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	ldr	w2, [x19, #4]
	mov	x0, x20
	bl	_hdpvr_config_call
	cbnz	w0, LBB0_13
; %bb.8:
	ldr	w8, [x19, #4]
	str	w8, [x20, #4]
	b	LBB0_13
LBB0_9:
Lloh14:
	adrp	x8, _CTRL_CONTRAST@GOTPAGE
Lloh15:
	ldr	x8, [x8, _CTRL_CONTRAST@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	ldr	w2, [x19, #4]
	mov	x0, x20
	bl	_hdpvr_config_call
	cbnz	w0, LBB0_13
; %bb.10:
	ldr	w8, [x19, #4]
	str	w8, [x20, #12]
	b	LBB0_13
LBB0_11:
Lloh17:
	adrp	x8, _CTRL_BRIGHTNESS@GOTPAGE
Lloh18:
	ldr	x8, [x8, _CTRL_BRIGHTNESS@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	ldr	w2, [x19, #4]
	mov	x0, x20
	bl	_hdpvr_config_call
	cbnz	w0, LBB0_13
; %bb.12:
	ldr	w8, [x19, #4]
	str	w8, [x20, #16]
LBB0_13:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_11-LBB0_2)>>2
                                        ; -- End function
	.comm	_CTRL_BRIGHTNESS,4,2            ; @CTRL_BRIGHTNESS
	.comm	_CTRL_CONTRAST,4,2              ; @CTRL_CONTRAST
	.comm	_CTRL_SATURATION,4,2            ; @CTRL_SATURATION
	.comm	_CTRL_HUE,4,2                   ; @CTRL_HUE
	.comm	_CTRL_SHARPNESS,4,2             ; @CTRL_SHARPNESS
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_vidioc_s_ctrl
.subsections_via_symbols
