	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vidioc_s_std
_vidioc_s_std:                          ## @vidioc_s_std
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_V4L2_STD_NTSC@GOTPCREL(%rip), %rax
	movq	_V4L2_STD_PAL_60@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	(%rdi), %rsi
	xorl	%eax, %eax
	andl	(%rdx), %ecx
	movq	(%rsi), %rdi
	sete	%al
	movq	_CTRL_VIDEO_STD_TYPE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edx
	popq	%rbp
	jmp	_hdpvr_config_call              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_V4L2_STD_NTSC,4,2              ## @V4L2_STD_NTSC
	.comm	_V4L2_STD_PAL_60,4,2            ## @V4L2_STD_PAL_60
	.comm	_CTRL_VIDEO_STD_TYPE,4,2        ## @CTRL_VIDEO_STD_TYPE
	.no_dead_strip	_vidioc_s_std
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vidioc_s_std
_vidioc_s_std:                          ; @vidioc_s_std
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
	ldr	x0, [x8]
	ldr	w8, [x2]
Lloh0:
	adrp	x9, _V4L2_STD_NTSC@GOTPAGE
Lloh1:
	ldr	x9, [x9, _V4L2_STD_NTSC@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
Lloh3:
	adrp	x10, _V4L2_STD_PAL_60@GOTPAGE
Lloh4:
	ldr	x10, [x10, _V4L2_STD_PAL_60@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	orr	w9, w10, w9
	tst	w9, w8
	cset	w2, eq
Lloh6:
	adrp	x8, _CTRL_VIDEO_STD_TYPE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CTRL_VIDEO_STD_TYPE@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	b	_hdpvr_config_call
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_V4L2_STD_NTSC,4,2              ; @V4L2_STD_NTSC
	.comm	_V4L2_STD_PAL_60,4,2            ; @V4L2_STD_PAL_60
	.comm	_CTRL_VIDEO_STD_TYPE,4,2        ; @CTRL_VIDEO_STD_TYPE
	.no_dead_strip	_vidioc_s_std
.subsections_via_symbols
