	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function _vivid_fb_check_var
LCPI0_0:
	.long	24                              ## 0x18
	.long	2                               ## 0x2
	.long	84316                           ## 0x1495c
	.long	776                             ## 0x308
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
__vivid_fb_check_var:                   ## @_vivid_fb_check_var
	.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
	leaq	L_.str(%rip), %rdx
	movq	%rsi, %rdi
	movl	$1, %esi
	callq	_dprintk
	movl	$16, (%rbx)
	xorl	%eax, %eax
	xorl	%ecx, %ecx
	cmpl	$5, 96(%rbx)
	sete	%cl
	movl	$15, %edx
	cmovnel	%eax, %edx
	movl	%ecx, %eax
	xorl	$11, %eax
	movl	$6, %esi
	subl	%ecx, %esi
	movl	%eax, 104(%rbx)
	movl	$5, 108(%rbx)
	movl	$5, 100(%rbx)
	movl	%esi, 96(%rbx)
	movq	$0, 88(%rbx)
	movl	$5, 80(%rbx)
	movl	%edx, 72(%rbx)
	movl	%ecx, 76(%rbx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 32(%rbx)
	movups	%xmm0, 48(%rbx)
	movq	$0, 64(%rbx)
	movq	_FB_VMODE_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	24(%rbx), %eax
	movq	_FB_VMODE_NONINTERLACED@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, 24(%rbx)
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [24,2,84316,776]
	movups	%xmm0, 4(%rbx)
	movl	$591, 20(%rbx)                  ## imm = 0x24F
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"vivid_fb_check_var\n"

	.comm	_FB_VMODE_MASK,4,2              ## @FB_VMODE_MASK
	.comm	_FB_VMODE_NONINTERLACED,4,2     ## @FB_VMODE_NONINTERLACED
	.no_dead_strip	__vivid_fb_check_var
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function _vivid_fb_check_var
lCPI0_0:
	.long	24                              ; 0x18
	.long	2                               ; 0x2
	.long	84316                           ; 0x1495c
	.long	776                             ; 0x308
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
__vivid_fb_check_var:                   ; @_vivid_fb_check_var
	.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	x2, l_.str@PAGE
Lloh1:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x1
	mov	w1, #1
	bl	_dprintk
	mov	w8, #16
	str	w8, [x19]
	ldr	w8, [x19, #96]
	mov	w9, #15
	cmp	w8, #5
	csel	w8, w9, wzr, eq
	cset	w9, eq
	mov	w10, #10
	cinc	w10, w10, ne
	mov	w11, #5
	cinc	w12, w11, ne
	stp	w10, w11, [x19, #104]
	stp	w12, w11, [x19, #96]
	str	xzr, [x19, #88]
	stp	w9, w11, [x19, #76]
	str	w8, [x19, #72]
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [x19, #32]
	str	xzr, [x19, #64]
Lloh2:
	adrp	x8, _FB_VMODE_MASK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _FB_VMODE_MASK@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	ldr	w9, [x19, #24]
	bic	w8, w9, w8
Lloh5:
	adrp	x9, _FB_VMODE_NONINTERLACED@GOTPAGE
Lloh6:
	ldr	x9, [x9, _FB_VMODE_NONINTERLACED@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh8:
	adrp	x9, lCPI0_0@PAGE
Lloh9:
	ldr	q0, [x9, lCPI0_0@PAGEOFF]
	stur	q0, [x19, #4]
	mov	w9, #591
	stp	w9, w8, [x19, #20]
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdr	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"vivid_fb_check_var\n"

	.comm	_FB_VMODE_MASK,4,2              ; @FB_VMODE_MASK
	.comm	_FB_VMODE_NONINTERLACED,4,2     ; @FB_VMODE_NONINTERLACED
	.no_dead_strip	__vivid_fb_check_var
.subsections_via_symbols
