	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hdpvr_set_options              ## -- Begin function hdpvr_set_options
	.p2align	4, 0x90
_hdpvr_set_options:                     ## @hdpvr_set_options
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	_CTRL_VIDEO_STD_TYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	80(%rdi), %rdx
	callq	_hdpvr_config_call
	movq	_CTRL_VIDEO_INPUT_VALUE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	72(%rbx), %rdx
	incq	%rdx
	movq	%rbx, %rdi
	callq	_hdpvr_config_call
	movq	64(%rbx), %rsi
	incq	%rsi
	movl	56(%rbx), %edx
	movq	%rbx, %rdi
	callq	_hdpvr_set_audio
	movq	%rbx, %rdi
	callq	_hdpvr_set_bitrate
	movq	_CTRL_BITRATE_MODE_VALUE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	48(%rbx), %rdx
	movq	%rbx, %rdi
	callq	_hdpvr_config_call
	movq	_CTRL_GOP_MODE_VALUE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	40(%rbx), %rdx
	movq	%rbx, %rdi
	callq	_hdpvr_config_call
	movq	_CTRL_BRIGHTNESS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	32(%rbx), %rdx
	movq	%rbx, %rdi
	callq	_hdpvr_config_call
	movq	_CTRL_CONTRAST@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	24(%rbx), %rdx
	movq	%rbx, %rdi
	callq	_hdpvr_config_call
	movq	_CTRL_HUE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	16(%rbx), %rdx
	movq	%rbx, %rdi
	callq	_hdpvr_config_call
	movq	_CTRL_SATURATION@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	8(%rbx), %rdx
	movq	%rbx, %rdi
	callq	_hdpvr_config_call
	movq	_CTRL_SHARPNESS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	(%rbx), %rdx
	movq	%rbx, %rdi
	callq	_hdpvr_config_call
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CTRL_VIDEO_STD_TYPE,4,2        ## @CTRL_VIDEO_STD_TYPE
	.comm	_CTRL_VIDEO_INPUT_VALUE,4,2     ## @CTRL_VIDEO_INPUT_VALUE
	.comm	_CTRL_BITRATE_MODE_VALUE,4,2    ## @CTRL_BITRATE_MODE_VALUE
	.comm	_CTRL_GOP_MODE_VALUE,4,2        ## @CTRL_GOP_MODE_VALUE
	.comm	_CTRL_BRIGHTNESS,4,2            ## @CTRL_BRIGHTNESS
	.comm	_CTRL_CONTRAST,4,2              ## @CTRL_CONTRAST
	.comm	_CTRL_HUE,4,2                   ## @CTRL_HUE
	.comm	_CTRL_SATURATION,4,2            ## @CTRL_SATURATION
	.comm	_CTRL_SHARPNESS,4,2             ## @CTRL_SHARPNESS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hdpvr_set_options              ; -- Begin function hdpvr_set_options
	.p2align	2
_hdpvr_set_options:                     ; @hdpvr_set_options
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _CTRL_VIDEO_STD_TYPE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CTRL_VIDEO_STD_TYPE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	ldr	x2, [x0, #80]
	bl	_hdpvr_config_call
Lloh3:
	adrp	x8, _CTRL_VIDEO_INPUT_VALUE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CTRL_VIDEO_INPUT_VALUE@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	ldr	x8, [x19, #72]
	add	x2, x8, #1
	mov	x0, x19
	bl	_hdpvr_config_call
	ldr	x8, [x19, #64]
	add	x1, x8, #1
	ldr	w2, [x19, #56]
	mov	x0, x19
	bl	_hdpvr_set_audio
	mov	x0, x19
	bl	_hdpvr_set_bitrate
Lloh6:
	adrp	x8, _CTRL_BITRATE_MODE_VALUE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CTRL_BITRATE_MODE_VALUE@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	ldr	x2, [x19, #48]
	mov	x0, x19
	bl	_hdpvr_config_call
Lloh9:
	adrp	x8, _CTRL_GOP_MODE_VALUE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _CTRL_GOP_MODE_VALUE@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	ldr	x2, [x19, #40]
	mov	x0, x19
	bl	_hdpvr_config_call
Lloh12:
	adrp	x8, _CTRL_BRIGHTNESS@GOTPAGE
Lloh13:
	ldr	x8, [x8, _CTRL_BRIGHTNESS@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	ldr	x2, [x19, #32]
	mov	x0, x19
	bl	_hdpvr_config_call
Lloh15:
	adrp	x8, _CTRL_CONTRAST@GOTPAGE
Lloh16:
	ldr	x8, [x8, _CTRL_CONTRAST@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	ldr	x2, [x19, #24]
	mov	x0, x19
	bl	_hdpvr_config_call
Lloh18:
	adrp	x8, _CTRL_HUE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _CTRL_HUE@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	ldr	x2, [x19, #16]
	mov	x0, x19
	bl	_hdpvr_config_call
Lloh21:
	adrp	x8, _CTRL_SATURATION@GOTPAGE
Lloh22:
	ldr	x8, [x8, _CTRL_SATURATION@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	ldr	x2, [x19, #8]
	mov	x0, x19
	bl	_hdpvr_config_call
Lloh24:
	adrp	x8, _CTRL_SHARPNESS@GOTPAGE
Lloh25:
	ldr	x8, [x8, _CTRL_SHARPNESS@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
	ldr	x2, [x19]
	mov	x0, x19
	bl	_hdpvr_config_call
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_CTRL_VIDEO_STD_TYPE,4,2        ; @CTRL_VIDEO_STD_TYPE
	.comm	_CTRL_VIDEO_INPUT_VALUE,4,2     ; @CTRL_VIDEO_INPUT_VALUE
	.comm	_CTRL_BITRATE_MODE_VALUE,4,2    ; @CTRL_BITRATE_MODE_VALUE
	.comm	_CTRL_GOP_MODE_VALUE,4,2        ; @CTRL_GOP_MODE_VALUE
	.comm	_CTRL_BRIGHTNESS,4,2            ; @CTRL_BRIGHTNESS
	.comm	_CTRL_CONTRAST,4,2              ; @CTRL_CONTRAST
	.comm	_CTRL_HUE,4,2                   ; @CTRL_HUE
	.comm	_CTRL_SATURATION,4,2            ; @CTRL_SATURATION
	.comm	_CTRL_SHARPNESS,4,2             ; @CTRL_SHARPNESS
.subsections_via_symbols
