	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vbi_setup
_vbi_setup:                             ## @vbi_setup
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_VBI_LINE_COUNT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_VBI_LINE_LENGTH@GOTPCREL(%rip), %rcx
	imull	(%rcx), %eax
	addl	%eax, %eax
	movl	%eax, (%rdx)
	movl	(%rsi), %eax
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movq	_vbibufs@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rsi)
LBB0_2:
	movl	$2, %ecx
	cmpl	$2, %eax
	jb	LBB0_4
## %bb.3:
	movl	$32, %ecx
	cmpl	$33, %eax
	jb	LBB0_5
LBB0_4:
	movl	%ecx, (%rsi)
LBB0_5:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VBI_LINE_COUNT,4,2             ## @VBI_LINE_COUNT
	.comm	_VBI_LINE_LENGTH,4,2            ## @VBI_LINE_LENGTH
	.comm	_vbibufs,4,2                    ## @vbibufs
	.no_dead_strip	_vbi_setup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vbi_setup
_vbi_setup:                             ; @vbi_setup
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _VBI_LINE_COUNT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VBI_LINE_COUNT@GOTPAGEOFF]
Lloh2:
	adrp	x9, _VBI_LINE_LENGTH@GOTPAGE
Lloh3:
	ldr	x9, [x9, _VBI_LINE_LENGTH@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	ldr	w9, [x9]
	mul	w8, w8, w9
	lsl	w8, w8, #1
	str	w8, [x2]
	ldr	w8, [x1]
	cbz	w8, LBB0_3
; %bb.1:
	cmp	w8, #2
	b.hs	LBB0_4
LBB0_2:
	mov	w8, #2
	b	LBB0_6
LBB0_3:
Lloh6:
	adrp	x8, _vbibufs@GOTPAGE
Lloh7:
	ldr	x8, [x8, _vbibufs@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	w8, [x1]
	cmp	w8, #2
	b.lo	LBB0_2
LBB0_4:
	cmp	w8, #33
	b.lo	LBB0_7
; %bb.5:
	mov	w8, #32
LBB0_6:
	str	w8, [x1]
LBB0_7:
	mov	w0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_VBI_LINE_COUNT,4,2             ; @VBI_LINE_COUNT
	.comm	_VBI_LINE_LENGTH,4,2            ; @VBI_LINE_LENGTH
	.comm	_vbibufs,4,2                    ; @vbibufs
	.no_dead_strip	_vbi_setup
.subsections_via_symbols
