	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function display_menu
_display_menu:                          ## @display_menu
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_video_cards@GOTPCREL(%rip), %r14
	movq	(%r14), %rsi
	movq	_video_cards_end@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movl	$1, %ebx
	cmpq	%rcx, %rsi
	jae	LBB0_8
## %bb.1:
	leaq	24(%rsi), %rax
	cmpq	%rax, %rcx
	cmovaq	%rcx, %rax
	addq	$-24, %rax
	xorl	%edi, %edi
	cmpq	%rsi, %rax
	setne	%dil
	subq	%rsi, %rax
	subq	%rdi, %rax
	movabsq	$-6148914691236517205, %rdx     ## imm = 0xAAAAAAAAAAAAAAAB
	mulq	%rdx
	shrq	$4, %rdx
	addq	%rdi, %rdx
	xorl	%edi, %edi
	cmpq	$8, %rdx
	jae	LBB0_3
## %bb.2:
	movq	%rsi, %rax
	jmp	LBB0_6
LBB0_3:
	incq	%rdx
	movl	%edx, %eax
	andl	$7, %eax
	testq	%rax, %rax
	movl	$8, %edi
	cmovneq	%rax, %rdi
	subq	%rdi, %rdx
	leaq	(%rdx,%rdx,2), %rax
	leaq	(%rsi,%rax,8), %rax
	pxor	%xmm0, %xmm0
	pxor	%xmm1, %xmm1
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movd	(%rsi), %xmm2                   ## xmm2 = mem[0],zero,zero,zero
	pinsrd	$1, 24(%rsi), %xmm2
	pinsrd	$2, 48(%rsi), %xmm2
	pinsrd	$3, 72(%rsi), %xmm2
	movd	96(%rsi), %xmm3                 ## xmm3 = mem[0],zero,zero,zero
	pinsrd	$1, 120(%rsi), %xmm3
	pinsrd	$2, 144(%rsi), %xmm3
	pinsrd	$3, 168(%rsi), %xmm3
	paddd	%xmm2, %xmm0
	paddd	%xmm3, %xmm1
	addq	$192, %rsi
	addq	$-8, %rdx
	jne	LBB0_4
## %bb.5:
	paddd	%xmm0, %xmm1
	pshufd	$238, %xmm1, %xmm0              ## xmm0 = xmm1[2,3,2,3]
	paddd	%xmm1, %xmm0
	pshufd	$85, %xmm0, %xmm1               ## xmm1 = xmm0[1,1,1,1]
	paddd	%xmm0, %xmm1
	movd	%xmm1, %edi
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	addl	(%rax), %edi
	addq	$24, %rax
	cmpq	%rcx, %rax
	jb	LBB0_6
## %bb.7:
	xorl	%eax, %eax
	cmpl	$20, %edi
	setge	%al
	leal	(%rax,%rax), %ebx
	incl	%ebx
LBB0_8:
	leaq	L_.str(%rip), %r15
	movl	%ebx, -84(%rbp)                 ## 4-byte Spill
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	callq	_puts
	decl	%ebx
	jne	LBB0_9
## %bb.10:
	movl	$10, %edi
	callq	_putchar
	movq	(%r14), %rsi
	movq	_video_cards_end@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	%rax, %rsi
	jae	LBB0_36
## %bb.11:
	movb	$48, %r15b
	leaq	-80(%rbp), %r12
	xorl	%edi, %edi
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_32:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	_video_cards_end@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_33:                                ##   in Loop: Header=BB0_12 Depth=1
	addq	$24, %rsi
	cmpq	%rax, %rsi
	jae	LBB0_34
LBB0_12:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_14 Depth 2
	cmpl	$0, (%rsi)
	jle	LBB0_33
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	16(%rsi), %r13
	xorl	%r14d, %r14d
	movq	%rsi, -96(%rbp)                 ## 8-byte Spill
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_30:                                ##   in Loop: Header=BB0_14 Depth=2
	movb	$32, %r15b
LBB0_31:                                ##   in Loop: Header=BB0_14 Depth=2
	incl	%r14d
	addq	$16, %r13
	cmpl	(%rsi), %r14d
	jge	LBB0_32
LBB0_14:                                ##   Parent Loop BB0_12 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%r13), %eax
	testl	%eax, %eax
	je	LBB0_15
## %bb.16:                              ##   in Loop: Header=BB0_14 Depth=2
	cmpl	$0, 4(%r13)
	setne	%cl
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_14 Depth=2
	xorl	%ecx, %ecx
LBB0_17:                                ##   in Loop: Header=BB0_14 Depth=2
	movl	8(%r13), %ebx
	testl	%ebx, %ebx
	je	LBB0_18
## %bb.19:                              ##   in Loop: Header=BB0_14 Depth=2
	testb	%cl, %cl
	je	LBB0_31
	jmp	LBB0_20
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_14 Depth=2
	movl	4(%r13), %ebx
	shll	$8, %ebx
	addl	%eax, %ebx
	testb	%cl, %cl
	je	LBB0_31
LBB0_20:                                ##   in Loop: Header=BB0_14 Depth=2
	movl	%edi, -88(%rbp)                 ## 4-byte Spill
	movl	4(%r13), %edx
	movl	12(%r13), %ecx
	movq	%r12, %rdi
	testl	%ecx, %ecx
	je	LBB0_22
## %bb.21:                              ##   in Loop: Header=BB0_14 Depth=2
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_sprintf
	jmp	LBB0_23
LBB0_22:                                ##   in Loop: Header=BB0_14 Depth=2
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_sprintf
LBB0_23:                                ##   in Loop: Header=BB0_14 Depth=2
	movl	(%r13), %ecx
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %r9
	movsbl	%r15b, %esi
	leaq	L_.str.3(%rip), %rdi
	movl	%ebx, %edx
	movq	%r12, %rbx
	movq	%r12, %r8
	callq	_printf
	movl	-88(%rbp), %edi                 ## 4-byte Reload
	incl	%edi
	cmpl	-84(%rbp), %edi                 ## 4-byte Folded Reload
	jl	LBB0_25
## %bb.24:                              ##   in Loop: Header=BB0_14 Depth=2
	movl	$10, %edi
	callq	_putchar
	xorl	%edi, %edi
LBB0_25:                                ##   in Loop: Header=BB0_14 Depth=2
	cmpb	$32, %r15b
	movq	%rbx, %r12
	movq	-96(%rbp), %rsi                 ## 8-byte Reload
	je	LBB0_30
## %bb.26:                              ##   in Loop: Header=BB0_14 Depth=2
	cmpb	$57, %r15b
	je	LBB0_27
## %bb.28:                              ##   in Loop: Header=BB0_14 Depth=2
	cmpb	$122, %r15b
	je	LBB0_30
## %bb.29:                              ##   in Loop: Header=BB0_14 Depth=2
	incb	%r15b
	jmp	LBB0_31
LBB0_27:                                ##   in Loop: Header=BB0_14 Depth=2
	movb	$97, %r15b
	jmp	LBB0_31
LBB0_34:
	testl	%edi, %edi
	je	LBB0_36
## %bb.35:
	movl	$10, %edi
	callq	_putchar
LBB0_36:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_38
## %bb.37:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_38:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_video_cards,8,3                ## @video_cards
	.comm	_video_cards_end,8,3            ## @video_cards_end
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Mode: Resolution:  Type: "

L_.str.1:                               ## @.str.1
	.asciz	"%dx%d"

L_.str.2:                               ## @.str.2
	.asciz	"%d"

L_.str.3:                               ## @.str.3
	.asciz	"%c %03X %4dx%-7s %-6s"

	.no_dead_strip	_display_menu
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function display_menu
_display_menu:                          ; @display_menu
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x20, _video_cards@GOTPAGE
Lloh4:
	ldr	x20, [x20, _video_cards@GOTPAGEOFF]
	str	x8, [sp, #40]
	ldr	x16, [x20]
Lloh5:
	adrp	x8, _video_cards_end@GOTPAGE
Lloh6:
	ldr	x8, [x8, _video_cards_end@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	cmp	x16, x8
	b.hs	LBB0_3
; %bb.1:
	add	x9, x16, #24
	cmp	x8, x9
	csel	x9, x8, x9, hi
	sub	x9, x9, #24
	cmp	x9, x16
	cinc	x10, x16, ne
	sub	x10, x9, x10
	cmp	x9, x16
	mov	x9, #-6148914691236517206
	movk	x9, #43691
	umulh	x9, x10, x9
	lsr	x9, x9, #4
	cinc	x9, x9, ne
	cmp	x9, #3
	b.hs	LBB0_4
; %bb.2:
	mov	w12, #0
	mov	x9, x16
	b	LBB0_7
LBB0_3:
	mov	w24, #1
	b	LBB0_9
LBB0_4:
	mov	w14, #0
	mov	w15, #0
	mov	w13, #0
	mov	w12, #0
	add	x10, x9, #1
	and	x11, x10, #0x3ffffffffffffffc
	mov	w9, #24
	madd	x9, x11, x9, x16
	add	x16, x16, #48
	mov	x17, x11
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldur	w0, [x16, #-48]
	ldur	w1, [x16, #-24]
	ldr	w2, [x16]
	add	w14, w0, w14
	add	w15, w1, w15
	ldr	w0, [x16, #24]
	add	w13, w2, w13
	add	w12, w0, w12
	add	x16, x16, #96
	subs	x17, x17, #4
	b.ne	LBB0_5
; %bb.6:
	add	w14, w15, w14
	add	w13, w13, w14
	add	w12, w12, w13
	cmp	x10, x11
	b.eq	LBB0_8
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x9], #24
	add	w12, w10, w12
	cmp	x9, x8
	b.lo	LBB0_7
LBB0_8:
	cmp	w12, #19
	mov	w8, #3
	csinc	w24, w8, wzr, gt
LBB0_9:
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	bl	_puts
	cmp	w24, #1
	b.eq	LBB0_11
; %bb.10:
Lloh10:
	adrp	x19, l_.str@PAGE
Lloh11:
	add	x19, x19, l_.str@PAGEOFF
	mov	x0, x19
	bl	_puts
	mov	x0, x19
	bl	_puts
LBB0_11:
	mov	w0, #10
	bl	_putchar
	ldr	x25, [x20]
Lloh12:
	adrp	x8, _video_cards_end@GOTPAGE
Lloh13:
	ldr	x8, [x8, _video_cards_end@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	cmp	x25, x8
	b.hs	LBB0_36
; %bb.12:
	mov	w27, #0
	mov	w26, #48
Lloh15:
	adrp	x19, l_.str.2@PAGE
Lloh16:
	add	x19, x19, l_.str.2@PAGEOFF
Lloh17:
	adrp	x20, l_.str.3@PAGE
Lloh18:
	add	x20, x20, l_.str.3@PAGEOFF
Lloh19:
	adrp	x21, l_.str.1@PAGE
Lloh20:
	add	x21, x21, l_.str.1@PAGEOFF
	b	LBB0_15
LBB0_13:                                ;   in Loop: Header=BB0_15 Depth=1
Lloh21:
	adrp	x8, _video_cards_end@GOTPAGE
Lloh22:
	ldr	x8, [x8, _video_cards_end@GOTPAGEOFF]
Lloh23:
	ldr	x8, [x8]
LBB0_14:                                ;   in Loop: Header=BB0_15 Depth=1
	add	x25, x25, #24
	cmp	x25, x8
	b.hs	LBB0_34
LBB0_15:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_19 Depth 2
	ldr	w9, [x25]
	cmp	w9, #1
	b.lt	LBB0_14
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=1
	mov	w28, #0
	ldr	x8, [x25, #16]
	add	x23, x8, #8
	b	LBB0_19
LBB0_17:                                ;   in Loop: Header=BB0_19 Depth=2
	mov	w26, #32
LBB0_18:                                ;   in Loop: Header=BB0_19 Depth=2
	add	w28, w28, #1
	ldr	w8, [x25]
	add	x23, x23, #16
	cmp	w28, w8
	b.ge	LBB0_13
LBB0_19:                                ;   Parent Loop BB0_15 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldur	w8, [x23, #-8]
	cbz	w8, LBB0_25
; %bb.20:                               ;   in Loop: Header=BB0_19 Depth=2
	ldur	w9, [x23, #-4]
	cmp	w9, #0
	cset	w9, ne
	ldr	w22, [x23]
	cbnz	w22, LBB0_22
LBB0_21:                                ;   in Loop: Header=BB0_19 Depth=2
	ldur	w10, [x23, #-4]
	add	w22, w8, w10, lsl #8
LBB0_22:                                ;   in Loop: Header=BB0_19 Depth=2
	cbz	w9, LBB0_18
; %bb.23:                               ;   in Loop: Header=BB0_19 Depth=2
	ldr	w8, [x23, #4]
	ldur	w2, [x23, #-4]
	cbz	w8, LBB0_26
; %bb.24:                               ;   in Loop: Header=BB0_19 Depth=2
	str	x8, [sp]
	add	x0, sp, #8
	mov	x1, x21
	b	LBB0_27
LBB0_25:                                ;   in Loop: Header=BB0_19 Depth=2
	mov	w9, #0
	ldr	w22, [x23]
	cbnz	w22, LBB0_22
	b	LBB0_21
LBB0_26:                                ;   in Loop: Header=BB0_19 Depth=2
	add	x0, sp, #8
	mov	x1, x19
LBB0_27:                                ;   in Loop: Header=BB0_19 Depth=2
	bl	_sprintf
	ldur	w3, [x23, #-8]
	ldr	x5, [x25, #8]
	sxtb	w1, w26
	add	x4, sp, #8
	mov	x0, x20
	mov	x2, x22
	bl	_printf
	add	w27, w27, #1
	cmp	w27, w24
	b.lt	LBB0_29
; %bb.28:                               ;   in Loop: Header=BB0_19 Depth=2
	mov	w0, #10
	bl	_putchar
	mov	w27, #0
LBB0_29:                                ;   in Loop: Header=BB0_19 Depth=2
	and	w8, w26, #0xff
	cmp	w8, #32
	b.eq	LBB0_17
; %bb.30:                               ;   in Loop: Header=BB0_19 Depth=2
	cmp	w8, #57
	b.eq	LBB0_33
; %bb.31:                               ;   in Loop: Header=BB0_19 Depth=2
	cmp	w8, #122
	b.eq	LBB0_17
; %bb.32:                               ;   in Loop: Header=BB0_19 Depth=2
	add	w26, w26, #1
	b	LBB0_18
LBB0_33:                                ;   in Loop: Header=BB0_19 Depth=2
	mov	w26, #97
	b	LBB0_18
LBB0_34:
	cbz	w27, LBB0_36
; %bb.35:
	mov	w0, #10
	bl	_putchar
LBB0_36:
	ldr	x8, [sp, #40]
Lloh24:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh25:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh26:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_38
; %bb.37:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_38:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_video_cards,8,3                ; @video_cards
	.comm	_video_cards_end,8,3            ; @video_cards_end
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Mode: Resolution:  Type: "

l_.str.1:                               ; @.str.1
	.asciz	"%dx%d"

l_.str.2:                               ; @.str.2
	.asciz	"%d"

l_.str.3:                               ; @.str.3
	.asciz	"%c %03X %4dx%-7s %-6s"

	.no_dead_strip	_display_menu
.subsections_via_symbols
