	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ## -- Begin function main
	.p2align	4, 0x90
_main:                                  ## @main
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movl	%edi, %r12d
	movq	_LIST_MODE@GOTPCREL(%rip), %rcx
	leaq	L_.str(%rip), %r15
	movq	_TEST_MODE@GOTPCREL(%rip), %rbx
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rcx), %r13d
	movl	%r12d, %edi
	movq	%r14, %rsi
	movq	%r15, %rdx
	callq	_getopt
	movq	%rbx, %rcx
	cmpl	$116, %eax
	je	LBB0_1
## %bb.2:
	cmpl	$-1, %eax
	je	LBB0_8
## %bb.3:
	cmpl	$104, %eax
	jne	LBB0_6
## %bb.4:
	xorl	%eax, %eax
	callq	_usage
	jmp	LBB0_5
LBB0_8:
	movq	_error_callback@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_glfwSetErrorCallback
	xorl	%eax, %eax
	callq	_glfwInit
	testl	%eax, %eax
	je	LBB0_7
## %bb.9:
	leaq	-44(%rbp), %rdi
	callq	_glfwGetMonitors
	cmpl	$0, -44(%rbp)
	jle	LBB0_16
## %bb.10:
	movq	%rax, %r14
	xorl	%ebx, %ebx
	movq	_LIST_MODE@GOTPCREL(%rip), %r15
	movq	_TEST_MODE@GOTPCREL(%rip), %r12
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_11 Depth=1
	movq	(%r14,%rbx,8), %rdi
	callq	_list_modes
LBB0_15:                                ##   in Loop: Header=BB0_11 Depth=1
	incq	%rbx
	movslq	-44(%rbp), %rax
	cmpq	%rax, %rbx
	jge	LBB0_16
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	cmpl	(%r15), %r13d
	je	LBB0_12
## %bb.13:                              ##   in Loop: Header=BB0_11 Depth=1
	cmpl	(%r12), %r13d
	jne	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	(%r14,%rbx,8), %rdi
	callq	_test_modes
	jmp	LBB0_15
LBB0_6:
	xorl	%eax, %eax
	callq	_usage
LBB0_7:
	movq	_EXIT_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_exit
LBB0_16:
	xorl	%eax, %eax
	callq	_glfwTerminate
LBB0_5:
	movq	_EXIT_SUCCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_LIST_MODE,4,2                  ## @LIST_MODE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"th"

	.comm	_EXIT_SUCCESS,4,2               ## @EXIT_SUCCESS
	.comm	_TEST_MODE,4,2                  ## @TEST_MODE
	.comm	_EXIT_FAILURE,4,2               ## @EXIT_FAILURE
	.comm	_error_callback,4,2             ## @error_callback
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ; -- Begin function main
	.p2align	2
_main:                                  ; @main
	.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
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x22, _LIST_MODE@GOTPAGE
Lloh1:
	ldr	x22, [x22, _LIST_MODE@GOTPAGEOFF]
Lloh2:
	adrp	x21, l_.str@PAGE
Lloh3:
	add	x21, x21, l_.str@PAGEOFF
Lloh4:
	adrp	x23, _TEST_MODE@GOTPAGE
Lloh5:
	ldr	x23, [x23, _TEST_MODE@GOTPAGEOFF]
	mov	x8, x22
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w24, [x8]
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	bl	_getopt
	mov	x8, x23
	cmp	w0, #116
	b.eq	LBB0_1
; %bb.2:
	cmn	w0, #1
	b.eq	LBB0_5
; %bb.3:
	cmp	w0, #104
	b.ne	LBB0_13
; %bb.4:
	bl	_usage
	b	LBB0_16
LBB0_5:
Lloh6:
	adrp	x8, _error_callback@GOTPAGE
Lloh7:
	ldr	x8, [x8, _error_callback@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_glfwSetErrorCallback
	bl	_glfwInit
	cbz	w0, LBB0_14
; %bb.6:
	add	x0, sp, #12
	bl	_glfwGetMonitors
	ldr	w8, [sp, #12]
	cmp	w8, #1
	b.lt	LBB0_15
; %bb.7:
	mov	x19, x0
	mov	x20, #0
	b	LBB0_10
LBB0_8:                                 ;   in Loop: Header=BB0_10 Depth=1
	ldr	x0, [x19, x20, lsl #3]
	bl	_list_modes
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	add	x20, x20, #1
	ldrsw	x8, [sp, #12]
	cmp	x20, x8
	b.ge	LBB0_15
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x22]
	cmp	w24, w8
	b.eq	LBB0_8
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	w8, [x23]
	cmp	w24, w8
	b.ne	LBB0_9
; %bb.12:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	x0, [x19, x20, lsl #3]
	bl	_test_modes
	b	LBB0_9
LBB0_13:
	bl	_usage
LBB0_14:
Lloh9:
	adrp	x8, _EXIT_FAILURE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EXIT_FAILURE@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	bl	_exit
LBB0_15:
	bl	_glfwTerminate
LBB0_16:
Lloh12:
	adrp	x8, _EXIT_SUCCESS@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EXIT_SUCCESS@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	bl	_exit
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_LIST_MODE,4,2                  ; @LIST_MODE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"th"

	.comm	_EXIT_SUCCESS,4,2               ; @EXIT_SUCCESS
	.comm	_TEST_MODE,4,2                  ; @TEST_MODE
	.comm	_EXIT_FAILURE,4,2               ; @EXIT_FAILURE
	.comm	_error_callback,4,2             ; @error_callback
.subsections_via_symbols
