	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function menu_display_check_compatibility
_menu_display_check_compatibility:      ## @menu_display_check_compatibility
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%edi, %ebx
	xorl	%eax, %eax
	callq	_video_driver_get_ident
	addl	$-128, %ebx
	cmpl	$19, %ebx
	ja	LBB0_22
## %bb.1:
	movl	$1, %r14d
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rbx,4), %rdx
	addq	%rcx, %rdx
	jmpq	*%rdx
LBB0_14:
	leaq	L_.str.12(%rip), %rsi
	jmp	LBB0_21
LBB0_5:
	leaq	L_.str.3(%rip), %rsi
	jmp	LBB0_21
LBB0_12:
	leaq	L_.str.10(%rip), %rsi
	jmp	LBB0_21
LBB0_18:
	leaq	L_.str.16(%rip), %rsi
	jmp	LBB0_21
LBB0_20:
	leaq	L_.str.18(%rip), %rsi
	jmp	LBB0_21
LBB0_15:
	leaq	L_.str.13(%rip), %rsi
	jmp	LBB0_21
LBB0_4:
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_21
LBB0_3:
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_21
LBB0_2:
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_21
LBB0_6:
	leaq	L_.str.4(%rip), %rsi
	jmp	LBB0_21
LBB0_17:
	leaq	L_.str.15(%rip), %rsi
	jmp	LBB0_21
LBB0_19:
	leaq	L_.str.17(%rip), %rsi
	jmp	LBB0_21
LBB0_8:
	leaq	L_.str.6(%rip), %rsi
	jmp	LBB0_21
LBB0_7:
	leaq	L_.str.5(%rip), %rsi
	jmp	LBB0_21
LBB0_11:
	leaq	L_.str.9(%rip), %rsi
	jmp	LBB0_21
LBB0_10:
	leaq	L_.str.8(%rip), %rsi
	jmp	LBB0_21
LBB0_9:
	leaq	L_.str.7(%rip), %rsi
	jmp	LBB0_21
LBB0_13:
	leaq	L_.str.11(%rip), %rsi
	jmp	LBB0_21
LBB0_16:
	leaq	L_.str.14(%rip), %rsi
LBB0_21:
	movq	%rax, %rdi
	callq	_string_is_equal
	testl	%eax, %eax
	jne	LBB0_23
LBB0_22:
	xorl	%r14d, %r14d
LBB0_23:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_20, LBB0_20-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_23, LBB0_23-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_19, LBB0_19-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
LJTI0_0:
	.long	L0_0_set_14
	.long	L0_0_set_5
	.long	L0_0_set_12
	.long	L0_0_set_18
	.long	L0_0_set_20
	.long	L0_0_set_15
	.long	L0_0_set_4
	.long	L0_0_set_3
	.long	L0_0_set_2
	.long	L0_0_set_6
	.long	L0_0_set_23
	.long	L0_0_set_17
	.long	L0_0_set_19
	.long	L0_0_set_8
	.long	L0_0_set_7
	.long	L0_0_set_11
	.long	L0_0_set_10
	.long	L0_0_set_9
	.long	L0_0_set_13
	.long	L0_0_set_16
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"gl"

L_.str.1:                               ## @.str.1
	.asciz	"gl1"

L_.str.2:                               ## @.str.2
	.asciz	"glcore"

L_.str.3:                               ## @.str.3
	.asciz	"vulkan"

L_.str.4:                               ## @.str.4
	.asciz	"metal"

L_.str.5:                               ## @.str.5
	.asciz	"d3d8"

L_.str.6:                               ## @.str.6
	.asciz	"d3d9"

L_.str.7:                               ## @.str.7
	.asciz	"d3d10"

L_.str.8:                               ## @.str.8
	.asciz	"d3d11"

L_.str.9:                               ## @.str.9
	.asciz	"d3d12"

L_.str.10:                              ## @.str.10
	.asciz	"vita2d"

L_.str.11:                              ## @.str.11
	.asciz	"ctr"

L_.str.12:                              ## @.str.12
	.asciz	"gx2"

L_.str.13:                              ## @.str.13
	.asciz	"sixel"

L_.str.14:                              ## @.str.14
	.asciz	"caca"

L_.str.15:                              ## @.str.15
	.asciz	"gdi"

L_.str.16:                              ## @.str.16
	.asciz	"vga"

L_.str.17:                              ## @.str.17
	.asciz	"fpga"

L_.str.18:                              ## @.str.18
	.asciz	"switch"

	.no_dead_strip	_menu_display_check_compatibility
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function menu_display_check_compatibility
_menu_display_check_compatibility:      ; @menu_display_check_compatibility
	.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
	bl	_video_driver_get_ident
	sub	w8, w19, #128
	cmp	w8, #19
	b.hi	LBB0_23
; %bb.1:
	mov	x2, x0
	mov	w0, #1
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
Lloh2:
	adrp	x1, l_.str.12@PAGE
Lloh3:
	add	x1, x1, l_.str.12@PAGEOFF
	b	LBB0_21
LBB0_3:
Lloh4:
	adrp	x1, l_.str.3@PAGE
Lloh5:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_21
LBB0_4:
Lloh6:
	adrp	x1, l_.str.10@PAGE
Lloh7:
	add	x1, x1, l_.str.10@PAGEOFF
	b	LBB0_21
LBB0_5:
Lloh8:
	adrp	x1, l_.str.16@PAGE
Lloh9:
	add	x1, x1, l_.str.16@PAGEOFF
	b	LBB0_21
LBB0_6:
Lloh10:
	adrp	x1, l_.str.18@PAGE
Lloh11:
	add	x1, x1, l_.str.18@PAGEOFF
	b	LBB0_21
LBB0_7:
Lloh12:
	adrp	x1, l_.str.13@PAGE
Lloh13:
	add	x1, x1, l_.str.13@PAGEOFF
	b	LBB0_21
LBB0_8:
Lloh14:
	adrp	x1, l_.str.2@PAGE
Lloh15:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_21
LBB0_9:
Lloh16:
	adrp	x1, l_.str.1@PAGE
Lloh17:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_21
LBB0_10:
Lloh18:
	adrp	x1, l_.str@PAGE
Lloh19:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_21
LBB0_11:
Lloh20:
	adrp	x1, l_.str.4@PAGE
Lloh21:
	add	x1, x1, l_.str.4@PAGEOFF
	b	LBB0_21
LBB0_12:
Lloh22:
	adrp	x1, l_.str.15@PAGE
Lloh23:
	add	x1, x1, l_.str.15@PAGEOFF
	b	LBB0_21
LBB0_13:
Lloh24:
	adrp	x1, l_.str.17@PAGE
Lloh25:
	add	x1, x1, l_.str.17@PAGEOFF
	b	LBB0_21
LBB0_14:
Lloh26:
	adrp	x1, l_.str.6@PAGE
Lloh27:
	add	x1, x1, l_.str.6@PAGEOFF
	b	LBB0_21
LBB0_15:
Lloh28:
	adrp	x1, l_.str.5@PAGE
Lloh29:
	add	x1, x1, l_.str.5@PAGEOFF
	b	LBB0_21
LBB0_16:
Lloh30:
	adrp	x1, l_.str.9@PAGE
Lloh31:
	add	x1, x1, l_.str.9@PAGEOFF
	b	LBB0_21
LBB0_17:
Lloh32:
	adrp	x1, l_.str.8@PAGE
Lloh33:
	add	x1, x1, l_.str.8@PAGEOFF
	b	LBB0_21
LBB0_18:
Lloh34:
	adrp	x1, l_.str.7@PAGE
Lloh35:
	add	x1, x1, l_.str.7@PAGEOFF
	b	LBB0_21
LBB0_19:
Lloh36:
	adrp	x1, l_.str.11@PAGE
Lloh37:
	add	x1, x1, l_.str.11@PAGEOFF
	b	LBB0_21
LBB0_20:
Lloh38:
	adrp	x1, l_.str.14@PAGE
Lloh39:
	add	x1, x1, l_.str.14@PAGEOFF
LBB0_21:
	mov	x0, x2
	bl	_string_is_equal
	cbz	w0, LBB0_23
; %bb.22:
	mov	w0, #1
	b	LBB0_24
LBB0_23:
	mov	w0, #0
LBB0_24:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpAdd	Lloh38, Lloh39
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
	.byte	(LBB0_11-LBB0_2)>>2
	.byte	(LBB0_24-LBB0_2)>>2
	.byte	(LBB0_12-LBB0_2)>>2
	.byte	(LBB0_13-LBB0_2)>>2
	.byte	(LBB0_14-LBB0_2)>>2
	.byte	(LBB0_15-LBB0_2)>>2
	.byte	(LBB0_16-LBB0_2)>>2
	.byte	(LBB0_17-LBB0_2)>>2
	.byte	(LBB0_18-LBB0_2)>>2
	.byte	(LBB0_19-LBB0_2)>>2
	.byte	(LBB0_20-LBB0_2)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"gl"

l_.str.1:                               ; @.str.1
	.asciz	"gl1"

l_.str.2:                               ; @.str.2
	.asciz	"glcore"

l_.str.3:                               ; @.str.3
	.asciz	"vulkan"

l_.str.4:                               ; @.str.4
	.asciz	"metal"

l_.str.5:                               ; @.str.5
	.asciz	"d3d8"

l_.str.6:                               ; @.str.6
	.asciz	"d3d9"

l_.str.7:                               ; @.str.7
	.asciz	"d3d10"

l_.str.8:                               ; @.str.8
	.asciz	"d3d11"

l_.str.9:                               ; @.str.9
	.asciz	"d3d12"

l_.str.10:                              ; @.str.10
	.asciz	"vita2d"

l_.str.11:                              ; @.str.11
	.asciz	"ctr"

l_.str.12:                              ; @.str.12
	.asciz	"gx2"

l_.str.13:                              ; @.str.13
	.asciz	"sixel"

l_.str.14:                              ; @.str.14
	.asciz	"caca"

l_.str.15:                              ; @.str.15
	.asciz	"gdi"

l_.str.16:                              ; @.str.16
	.asciz	"vga"

l_.str.17:                              ; @.str.17
	.asciz	"fpga"

l_.str.18:                              ; @.str.18
	.asciz	"switch"

	.no_dead_strip	_menu_display_check_compatibility
.subsections_via_symbols
