	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vid_pollux_init                ## -- Begin function vid_pollux_init
	.p2align	4, 0x90
_vid_pollux_init:                       ## @vid_pollux_init
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_O_RDWR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdi
	callq	_open
	movq	_fbdev@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	testq	%rax, %rax
	js	LBB0_1
## %bb.3:
	movq	_FBIOGET_FSCREENINFO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	leaq	-56(%rbp), %rdx
	movq	%rax, %rdi
	callq	_ioctl
	cmpl	$-1, %eax
	je	LBB0_4
## %bb.5:
	movq	-56(%rbp), %rsi
	movl	-48(%rbp), %edx
	leaq	L_.str.3(%rip), %rdi
	callq	_printf
	movl	-48(%rbp), %r9d
	movq	_fb_paddr@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movl	%r9d, (%rax)
	movq	_FB_MEM_SIZE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	_PROT_READ@GOTPCREL(%rip), %rax
	movq	_PROT_WRITE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	_MAP_SHARED@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_memdev@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	xorl	%edi, %edi
	callq	_mmap
	movq	_gp2x_screens@GOTPCREL(%rip), %r13
	movq	(%r13), %rcx
	movq	%rax, (%rcx)
	movq	(%r13), %rax
	movq	(%rax), %rdi
	movq	_MAP_FAILED@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdi
	je	LBB0_6
## %bb.7:
	movl	(%rbx), %edx
	xorl	%esi, %esi
	callq	_memset
	movq	(%r13), %rax
	movq	(%rax), %rsi
	movq	(%r14), %rax
	movl	(%rax), %edx
	leaq	L_.str.5(%rip), %rdi
	callq	_printf
	movq	_FB_BUF_COUNT@GOTPCREL(%rip), %r12
	cmpl	$2, (%r12)
	jl	LBB0_10
## %bb.8:
	movl	$1, %ebx
	leaq	L_.str.5(%rip), %r15
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %rax
	movl	-4(%rax,%rbx,4), %ecx
	movl	$153600, %edx                   ## imm = 0x25800
	addl	%edx, %ecx
	movl	%ecx, (%rax,%rbx,4)
	movq	(%r13), %rax
	movq	-8(%rax,%rbx,8), %rcx
	movl	$153600, %edx                   ## imm = 0x25800
	addq	%rdx, %rcx
	movq	%rcx, (%rax,%rbx,8)
	movq	(%r13), %rax
	movq	(%rax,%rbx,8), %rsi
	movq	(%r14), %rax
	movl	(%rax,%rbx,4), %edx
	movq	%r15, %rdi
	callq	_printf
	incq	%rbx
	movslq	(%r12), %rax
	cmpq	%rax, %rbx
	jl	LBB0_9
LBB0_10:
	movq	_fb_work_buf@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	(%r13), %rax
	movq	(%rax), %rax
	movq	_g_screen_ptr@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	_gp2x_video_flip_@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_gp2x_video_flip@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_gp2x_video_flip2_@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_gp2x_video_flip2@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_gp2x_video_changemode_ll_@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_gp2x_video_changemode_ll@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_gp2x_video_setpalette_@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_gp2x_video_setpalette@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_gp2x_video_RGB_setscaling_@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_gp2x_video_RGB_setscaling@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_gp2x_video_wait_vsync_@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_gp2x_video_wait_vsync@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
LBB0_2:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	callq	_vid_pollux_init.cold.1
	jmp	LBB0_2
LBB0_4:
	callq	_vid_pollux_init.cold.2
	jmp	LBB0_2
LBB0_6:
	callq	_vid_pollux_init.cold.3
	jmp	LBB0_2
	.cfi_endproc
                                        ## -- End function
	.p2align	4, 0x90                         ## -- Begin function vid_pollux_init.cold.1
_vid_pollux_init.cold.1:                ## @vid_pollux_init.cold.1
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	leaq	L_.str.1(%rip), %rdi
	callq	_perror
	pushq	$1
	popq	%rdi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.p2align	4, 0x90                         ## -- Begin function vid_pollux_init.cold.2
_vid_pollux_init.cold.2:                ## @vid_pollux_init.cold.2
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	leaq	L_.str.2(%rip), %rdi
	callq	_perror
	pushq	$1
	popq	%rdi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.p2align	4, 0x90                         ## -- Begin function vid_pollux_init.cold.3
_vid_pollux_init.cold.3:                ## @vid_pollux_init.cold.3
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	leaq	L_.str.4(%rip), %rdi
	callq	_perror
	pushq	$1
	popq	%rdi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"/dev/fb0"

	.comm	_O_RDWR,4,2                     ## @O_RDWR
	.comm	_fbdev,8,3                      ## @fbdev
L_.str.1:                               ## @.str.1
	.asciz	"can't open fbdev"

	.comm	_FBIOGET_FSCREENINFO,4,2        ## @FBIOGET_FSCREENINFO
L_.str.2:                               ## @.str.2
	.asciz	"ioctl(fbdev) failed"

L_.str.3:                               ## @.str.3
	.asciz	"framebuffer: \"%s\" @ %08lx\n"

	.comm	_fb_paddr,8,3                   ## @fb_paddr
	.comm	_FB_MEM_SIZE,4,2                ## @FB_MEM_SIZE
	.comm	_PROT_READ,4,2                  ## @PROT_READ
	.comm	_PROT_WRITE,4,2                 ## @PROT_WRITE
	.comm	_MAP_SHARED,4,2                 ## @MAP_SHARED
	.comm	_memdev,4,2                     ## @memdev
	.comm	_gp2x_screens,8,3               ## @gp2x_screens
	.comm	_MAP_FAILED,8,3                 ## @MAP_FAILED
L_.str.4:                               ## @.str.4
	.asciz	"mmap(gp2x_screens) failed"

L_.str.5:                               ## @.str.5
	.asciz	"  %p -> %08x\n"

	.comm	_FB_BUF_COUNT,4,2               ## @FB_BUF_COUNT
	.comm	_fb_work_buf,8,3                ## @fb_work_buf
	.comm	_g_screen_ptr,8,3               ## @g_screen_ptr
	.comm	_gp2x_video_flip_,4,2           ## @gp2x_video_flip_
	.comm	_gp2x_video_flip,4,2            ## @gp2x_video_flip
	.comm	_gp2x_video_flip2_,4,2          ## @gp2x_video_flip2_
	.comm	_gp2x_video_flip2,4,2           ## @gp2x_video_flip2
	.comm	_gp2x_video_changemode_ll_,4,2  ## @gp2x_video_changemode_ll_
	.comm	_gp2x_video_changemode_ll,4,2   ## @gp2x_video_changemode_ll
	.comm	_gp2x_video_setpalette_,4,2     ## @gp2x_video_setpalette_
	.comm	_gp2x_video_setpalette,4,2      ## @gp2x_video_setpalette
	.comm	_gp2x_video_RGB_setscaling_,4,2 ## @gp2x_video_RGB_setscaling_
	.comm	_gp2x_video_RGB_setscaling,4,2  ## @gp2x_video_RGB_setscaling
	.comm	_gp2x_video_wait_vsync_,4,2     ## @gp2x_video_wait_vsync_
	.comm	_gp2x_video_wait_vsync,4,2      ## @gp2x_video_wait_vsync
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vid_pollux_init                ; -- Begin function vid_pollux_init
	.p2align	2
_vid_pollux_init:                       ; @vid_pollux_init
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
Lloh0:
	adrp	x8, _O_RDWR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _O_RDWR@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_open
Lloh5:
	adrp	x8, _fbdev@GOTPAGE
Lloh6:
	ldr	x8, [x8, _fbdev@GOTPAGEOFF]
Lloh7:
	str	x0, [x8]
	tbnz	x0, #63, LBB0_7
; %bb.1:
Lloh8:
	adrp	x8, _FBIOGET_FSCREENINFO@GOTPAGE
Lloh9:
	ldr	x8, [x8, _FBIOGET_FSCREENINFO@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x2, sp
	bl	_ioctl
	cmn	w0, #1
	b.eq	LBB0_8
; %bb.2:
	ldr	x1, [sp]
	ldr	w2, [sp, #8]
Lloh11:
	adrp	x0, l_.str.3@PAGE
Lloh12:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_printf
	ldr	w5, [sp, #8]
Lloh13:
	adrp	x20, _fb_paddr@GOTPAGE
Lloh14:
	ldr	x20, [x20, _fb_paddr@GOTPAGEOFF]
	ldr	x8, [x20]
	str	w5, [x8]
Lloh15:
	adrp	x19, _FB_MEM_SIZE@GOTPAGE
Lloh16:
	ldr	x19, [x19, _FB_MEM_SIZE@GOTPAGEOFF]
Lloh17:
	adrp	x8, _PROT_READ@GOTPAGE
Lloh18:
	ldr	x8, [x8, _PROT_READ@GOTPAGEOFF]
	ldr	w1, [x19]
Lloh19:
	ldr	w8, [x8]
Lloh20:
	adrp	x9, _PROT_WRITE@GOTPAGE
Lloh21:
	ldr	x9, [x9, _PROT_WRITE@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	orr	w2, w9, w8
Lloh23:
	adrp	x8, _MAP_SHARED@GOTPAGE
Lloh24:
	ldr	x8, [x8, _MAP_SHARED@GOTPAGEOFF]
Lloh25:
	ldr	w3, [x8]
Lloh26:
	adrp	x8, _memdev@GOTPAGE
Lloh27:
	ldr	x8, [x8, _memdev@GOTPAGEOFF]
Lloh28:
	ldr	w4, [x8]
	mov	w0, #0
	bl	_mmap
Lloh29:
	adrp	x21, _gp2x_screens@GOTPAGE
Lloh30:
	ldr	x21, [x21, _gp2x_screens@GOTPAGEOFF]
	ldr	x8, [x21]
	str	x0, [x8]
	ldr	x8, [x21]
	ldr	x0, [x8]
Lloh31:
	adrp	x8, _MAP_FAILED@GOTPAGE
Lloh32:
	ldr	x8, [x8, _MAP_FAILED@GOTPAGEOFF]
Lloh33:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_9
; %bb.3:
	ldr	w2, [x19]
	mov	w1, #0
	bl	_memset
	ldr	x8, [x21]
	ldr	x1, [x8]
	ldr	x8, [x20]
	ldr	w2, [x8]
Lloh34:
	adrp	x0, l_.str.5@PAGE
Lloh35:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_printf
Lloh36:
	adrp	x22, _FB_BUF_COUNT@GOTPAGE
Lloh37:
	ldr	x22, [x22, _FB_BUF_COUNT@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w8, #2
	b.lt	LBB0_6
; %bb.4:
	mov	x23, #0
	mov	w24, #22528
	movk	w24, #2, lsl #16
Lloh38:
	adrp	x19, l_.str.5@PAGE
Lloh39:
	add	x19, x19, l_.str.5@PAGEOFF
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20]
	lsl	x9, x23, #2
	add	x8, x8, x9
	ldr	w10, [x8]
	add	w10, w10, w24
	str	w10, [x8, #4]
	ldr	x8, [x21]
	lsl	x10, x23, #3
	add	x8, x8, x10
	ldr	x11, [x8]
	add	x11, x11, x24
	str	x11, [x8, #8]
	ldr	x8, [x21]
	add	x8, x8, x10
	ldr	x1, [x8, #8]
	ldr	x8, [x20]
	add	x8, x8, x9
	ldr	w2, [x8, #4]
	mov	x0, x19
	bl	_printf
	ldrsw	x8, [x22]
	add	x9, x23, #2
	add	x23, x23, #1
	cmp	x9, x8
	b.lt	LBB0_5
LBB0_6:
Lloh40:
	adrp	x8, _fb_work_buf@GOTPAGE
Lloh41:
	ldr	x8, [x8, _fb_work_buf@GOTPAGEOFF]
Lloh42:
	str	xzr, [x8]
	ldr	x8, [x21]
	ldr	x8, [x8]
Lloh43:
	adrp	x9, _g_screen_ptr@GOTPAGE
Lloh44:
	ldr	x9, [x9, _g_screen_ptr@GOTPAGEOFF]
Lloh45:
	str	x8, [x9]
Lloh46:
	adrp	x8, _gp2x_video_flip_@GOTPAGE
Lloh47:
	ldr	x8, [x8, _gp2x_video_flip_@GOTPAGEOFF]
Lloh48:
	ldr	w8, [x8]
Lloh49:
	adrp	x9, _gp2x_video_flip@GOTPAGE
Lloh50:
	ldr	x9, [x9, _gp2x_video_flip@GOTPAGEOFF]
Lloh51:
	str	w8, [x9]
Lloh52:
	adrp	x8, _gp2x_video_flip2_@GOTPAGE
Lloh53:
	ldr	x8, [x8, _gp2x_video_flip2_@GOTPAGEOFF]
Lloh54:
	ldr	w8, [x8]
Lloh55:
	adrp	x9, _gp2x_video_flip2@GOTPAGE
Lloh56:
	ldr	x9, [x9, _gp2x_video_flip2@GOTPAGEOFF]
Lloh57:
	str	w8, [x9]
Lloh58:
	adrp	x8, _gp2x_video_changemode_ll_@GOTPAGE
Lloh59:
	ldr	x8, [x8, _gp2x_video_changemode_ll_@GOTPAGEOFF]
Lloh60:
	ldr	w8, [x8]
Lloh61:
	adrp	x9, _gp2x_video_changemode_ll@GOTPAGE
Lloh62:
	ldr	x9, [x9, _gp2x_video_changemode_ll@GOTPAGEOFF]
Lloh63:
	str	w8, [x9]
Lloh64:
	adrp	x8, _gp2x_video_setpalette_@GOTPAGE
Lloh65:
	ldr	x8, [x8, _gp2x_video_setpalette_@GOTPAGEOFF]
Lloh66:
	ldr	w8, [x8]
Lloh67:
	adrp	x9, _gp2x_video_setpalette@GOTPAGE
Lloh68:
	ldr	x9, [x9, _gp2x_video_setpalette@GOTPAGEOFF]
Lloh69:
	str	w8, [x9]
Lloh70:
	adrp	x8, _gp2x_video_RGB_setscaling_@GOTPAGE
Lloh71:
	ldr	x8, [x8, _gp2x_video_RGB_setscaling_@GOTPAGEOFF]
Lloh72:
	ldr	w8, [x8]
Lloh73:
	adrp	x9, _gp2x_video_RGB_setscaling@GOTPAGE
Lloh74:
	ldr	x9, [x9, _gp2x_video_RGB_setscaling@GOTPAGEOFF]
Lloh75:
	str	w8, [x9]
Lloh76:
	adrp	x8, _gp2x_video_wait_vsync_@GOTPAGE
Lloh77:
	ldr	x8, [x8, _gp2x_video_wait_vsync_@GOTPAGEOFF]
Lloh78:
	ldr	w8, [x8]
Lloh79:
	adrp	x9, _gp2x_video_wait_vsync@GOTPAGE
Lloh80:
	ldr	x9, [x9, _gp2x_video_wait_vsync@GOTPAGEOFF]
Lloh81:
	str	w8, [x9]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_7:
	bl	_vid_pollux_init.cold.1
LBB0_8:
	bl	_vid_pollux_init.cold.2
LBB0_9:
	bl	_vid_pollux_init.cold.3
	.loh AdrpLdrGotStr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpLdrGotStr	Lloh79, Lloh80, Lloh81
	.loh AdrpLdrGotLdr	Lloh76, Lloh77, Lloh78
	.loh AdrpLdrGotStr	Lloh73, Lloh74, Lloh75
	.loh AdrpLdrGotLdr	Lloh70, Lloh71, Lloh72
	.loh AdrpLdrGotStr	Lloh67, Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpLdrGotStr	Lloh61, Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGotStr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotStr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotStr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotStr	Lloh40, Lloh41, Lloh42
	.cfi_endproc
                                        ; -- End function
	.p2align	2                               ; -- Begin function vid_pollux_init.cold.1
_vid_pollux_init.cold.1:                ; @vid_pollux_init.cold.1
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh82:
	adrp	x0, l_.str.1@PAGE
Lloh83:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_perror
	bl	_OUTLINED_FUNCTION_0
	.loh AdrpAdd	Lloh82, Lloh83
	.cfi_endproc
                                        ; -- End function
	.p2align	2                               ; -- Begin function vid_pollux_init.cold.2
_vid_pollux_init.cold.2:                ; @vid_pollux_init.cold.2
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh84:
	adrp	x0, l_.str.2@PAGE
Lloh85:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_perror
	bl	_OUTLINED_FUNCTION_0
	.loh AdrpAdd	Lloh84, Lloh85
	.cfi_endproc
                                        ; -- End function
	.p2align	2                               ; -- Begin function vid_pollux_init.cold.3
_vid_pollux_init.cold.3:                ; @vid_pollux_init.cold.3
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh86:
	adrp	x0, l_.str.4@PAGE
Lloh87:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_perror
	bl	_OUTLINED_FUNCTION_0
	.loh AdrpAdd	Lloh86, Lloh87
	.cfi_endproc
                                        ; -- End function
	.p2align	2                               ; -- Begin function OUTLINED_FUNCTION_0
_OUTLINED_FUNCTION_0:                   ; @OUTLINED_FUNCTION_0 Thunk
	.cfi_startproc
; %bb.0:
	mov	w0, #1
	b	_exit
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"/dev/fb0"

	.comm	_O_RDWR,4,2                     ; @O_RDWR
	.comm	_fbdev,8,3                      ; @fbdev
l_.str.1:                               ; @.str.1
	.asciz	"can't open fbdev"

	.comm	_FBIOGET_FSCREENINFO,4,2        ; @FBIOGET_FSCREENINFO
l_.str.2:                               ; @.str.2
	.asciz	"ioctl(fbdev) failed"

l_.str.3:                               ; @.str.3
	.asciz	"framebuffer: \"%s\" @ %08lx\n"

	.comm	_fb_paddr,8,3                   ; @fb_paddr
	.comm	_FB_MEM_SIZE,4,2                ; @FB_MEM_SIZE
	.comm	_PROT_READ,4,2                  ; @PROT_READ
	.comm	_PROT_WRITE,4,2                 ; @PROT_WRITE
	.comm	_MAP_SHARED,4,2                 ; @MAP_SHARED
	.comm	_memdev,4,2                     ; @memdev
	.comm	_gp2x_screens,8,3               ; @gp2x_screens
	.comm	_MAP_FAILED,8,3                 ; @MAP_FAILED
l_.str.4:                               ; @.str.4
	.asciz	"mmap(gp2x_screens) failed"

l_.str.5:                               ; @.str.5
	.asciz	"  %p -> %08x\n"

	.comm	_FB_BUF_COUNT,4,2               ; @FB_BUF_COUNT
	.comm	_fb_work_buf,8,3                ; @fb_work_buf
	.comm	_g_screen_ptr,8,3               ; @g_screen_ptr
	.comm	_gp2x_video_flip_,4,2           ; @gp2x_video_flip_
	.comm	_gp2x_video_flip,4,2            ; @gp2x_video_flip
	.comm	_gp2x_video_flip2_,4,2          ; @gp2x_video_flip2_
	.comm	_gp2x_video_flip2,4,2           ; @gp2x_video_flip2
	.comm	_gp2x_video_changemode_ll_,4,2  ; @gp2x_video_changemode_ll_
	.comm	_gp2x_video_changemode_ll,4,2   ; @gp2x_video_changemode_ll
	.comm	_gp2x_video_setpalette_,4,2     ; @gp2x_video_setpalette_
	.comm	_gp2x_video_setpalette,4,2      ; @gp2x_video_setpalette
	.comm	_gp2x_video_RGB_setscaling_,4,2 ; @gp2x_video_RGB_setscaling_
	.comm	_gp2x_video_RGB_setscaling,4,2  ; @gp2x_video_RGB_setscaling
	.comm	_gp2x_video_wait_vsync_,4,2     ; @gp2x_video_wait_vsync_
	.comm	_gp2x_video_wait_vsync,4,2      ; @gp2x_video_wait_vsync
.subsections_via_symbols
