	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cx231xx_is_vbi_buffer_done     ## -- Begin function cx231xx_is_vbi_buffer_done
	.p2align	4, 0x90
_cx231xx_is_vbi_buffer_done:            ## @cx231xx_is_vbi_buffer_done
	.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_625_50@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rdi)
	jne	LBB0_1
## %bb.2:
	movq	_NTSC_VBI_LINES@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_PAL_VBI_LINES@GOTPCREL(%rip), %rax
LBB0_3:
	movq	(%rsi), %rcx
	cmpq	(%rax), %rcx
	jne	LBB0_5
## %bb.4:
	movl	$1, %eax
	cmpl	$2, 8(%rsi)
	je	LBB0_6
LBB0_5:
	xorl	%eax, %eax
LBB0_6:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_V4L2_STD_625_50,4,2            ## @V4L2_STD_625_50
	.comm	_PAL_VBI_LINES,8,3              ## @PAL_VBI_LINES
	.comm	_NTSC_VBI_LINES,8,3             ## @NTSC_VBI_LINES
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cx231xx_is_vbi_buffer_done     ; -- Begin function cx231xx_is_vbi_buffer_done
	.p2align	2
_cx231xx_is_vbi_buffer_done:            ; @cx231xx_is_vbi_buffer_done
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _V4L2_STD_625_50@GOTPAGE
Lloh1:
	ldr	x9, [x9, _V4L2_STD_625_50@GOTPAGEOFF]
Lloh2:
	adrp	x10, _PAL_VBI_LINES@GOTPAGE
Lloh3:
	ldr	x10, [x10, _PAL_VBI_LINES@GOTPAGEOFF]
Lloh4:
	adrp	x11, _NTSC_VBI_LINES@GOTPAGE
Lloh5:
	ldr	x11, [x11, _NTSC_VBI_LINES@GOTPAGEOFF]
Lloh6:
	ldr	w9, [x9]
	tst	w9, w8
	csel	x8, x11, x10, eq
	ldr	x8, [x8]
	ldr	x9, [x1]
	cmp	x9, x8
	b.ne	LBB0_3
; %bb.1:
	ldr	w8, [x1, #8]
	cmp	w8, #2
	b.ne	LBB0_3
; %bb.2:
	mov	w0, #1
	ret
LBB0_3:
	mov	w0, #0
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_V4L2_STD_625_50,4,2            ; @V4L2_STD_625_50
	.comm	_PAL_VBI_LINES,8,3              ; @PAL_VBI_LINES
	.comm	_NTSC_VBI_LINES,8,3             ; @NTSC_VBI_LINES
.subsections_via_symbols
