	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bttv_get_width_mask_vid_cap
_bttv_get_width_mask_vid_cap:           ## @bttv_get_width_mask_vid_cap
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_FORMAT_FLAGS_PLANAR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	(%rdi), %eax
	movl	$-4, %eax
	movl	$-16, %ecx
	cmovel	%eax, %ecx
	movl	$2, %eax
	movl	$8, %edi
	cmovel	%eax, %edi
	movl	%ecx, (%rsi)
	movl	%edi, (%rdx)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FORMAT_FLAGS_PLANAR,4,2        ## @FORMAT_FLAGS_PLANAR
	.no_dead_strip	_bttv_get_width_mask_vid_cap
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bttv_get_width_mask_vid_cap
_bttv_get_width_mask_vid_cap:           ; @bttv_get_width_mask_vid_cap
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _FORMAT_FLAGS_PLANAR@GOTPAGE
Lloh1:
	ldr	x9, [x9, _FORMAT_FLAGS_PLANAR@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	mov	w8, #-16
	mov	w9, #-4
	csel	w8, w9, w8, eq
	mov	w9, #8
	mov	w10, #2
	csel	w9, w10, w9, eq
	str	w8, [x1]
	str	w9, [x2]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_FORMAT_FLAGS_PLANAR,4,2        ; @FORMAT_FLAGS_PLANAR
	.no_dead_strip	_bttv_get_width_mask_vid_cap
.subsections_via_symbols
