	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function omapfb_get_fb_device
_omapfb_get_fb_device:                  ## @omapfb_get_fb_device
	.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
	xorl	%eax, %eax
	callq	_config_get_ptr
	movl	(%rax), %ecx
	testl	%ecx, %ecx
	je	LBB0_1
## %bb.2:
	decl	%ecx
	leaq	_omapfb_get_fb_device.fbname(%rip), %rbx
	leaq	L_.str.1(%rip), %rdx
	movq	%rbx, %rdi
	movl	$12, %esi
	callq	_snprintf
	leaq	L_.str.2(%rip), %rdi
	movq	%rbx, %rsi
	callq	_RARCH_LOG
	jmp	LBB0_3
LBB0_1:
	leaq	L_.str(%rip), %rbx
LBB0_3:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_omapfb_get_fb_device.fbname,12,0 ## @omapfb_get_fb_device.fbname
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"/dev/fb0"

L_.str.1:                               ## @.str.1
	.asciz	"/dev/fb%d"

L_.str.2:                               ## @.str.2
	.asciz	"[video_omap]: Using %s as framebuffer device.\n"

	.no_dead_strip	_omapfb_get_fb_device
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function omapfb_get_fb_device
_omapfb_get_fb_device:                  ; @omapfb_get_fb_device
	.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
	bl	_config_get_ptr
	ldr	w8, [x0]
	cbz	w8, LBB0_2
; %bb.1:
	sub	w3, w8, #1
Lloh0:
	adrp	x19, _omapfb_get_fb_device.fbname@PAGE
Lloh1:
	add	x19, x19, _omapfb_get_fb_device.fbname@PAGEOFF
Lloh2:
	adrp	x2, l_.str.1@PAGE
Lloh3:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	w1, #12
	bl	_snprintf
Lloh4:
	adrp	x0, l_.str.2@PAGE
Lloh5:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x19
	bl	_RARCH_LOG
	b	LBB0_3
LBB0_2:
Lloh6:
	adrp	x19, l_.str@PAGE
Lloh7:
	add	x19, x19, l_.str@PAGEOFF
LBB0_3:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_omapfb_get_fb_device.fbname,12,0 ; @omapfb_get_fb_device.fbname
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"/dev/fb0"

l_.str.1:                               ; @.str.1
	.asciz	"/dev/fb%d"

l_.str.2:                               ; @.str.2
	.asciz	"[video_omap]: Using %s as framebuffer device.\n"

	.no_dead_strip	_omapfb_get_fb_device
.subsections_via_symbols
