	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__glfwChooseFBConfig            ## -- Begin function _glfwChooseFBConfig
	.p2align	4, 0x90
__glfwChooseFBConfig:                   ## @_glfwChooseFBConfig
	.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
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testl	%edx, %edx
	je	LBB0_1
## %bb.2:
	movq	_UINT_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	(%rdi), %rcx
	movq	_GLFW_DONT_CARE@GOTPCREL(%rip), %rax
	movq	(%rax), %r8
	movl	%edx, %edx
	xorl	%eax, %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	%ebx, -48(%rbp)                 ## 4-byte Spill
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	movl	%ebx, -52(%rbp)                 ## 4-byte Spill
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_47:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	%r13d, -52(%rbp)                ## 4-byte Spill
	movl	%r14d, -48(%rbp)                ## 4-byte Spill
	movl	%r9d, -44(%rbp)                 ## 4-byte Spill
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
LBB0_48:                                ##   in Loop: Header=BB0_3 Depth=1
	subq	$-128, %rsi
	decq	%rdx
	je	LBB0_49
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	testq	%rcx, %rcx
	jle	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpq	$0, (%rsi)
	je	LBB0_48
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	8(%rdi), %rax
	cmpq	8(%rsi), %rax
	jne	LBB0_48
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	16(%rdi), %r11
	xorl	%r13d, %r13d
	testq	%r11, %r11
	jle	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpq	$0, 16(%rsi)
	sete	%r13b
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	24(%rdi), %rax
	testq	%rax, %rax
	jle	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpq	$1, 24(%rsi)
	adcl	$0, %r13d
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	32(%rdi), %r10
	testq	%r10, %r10
	jle	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_3 Depth=1
	cmpq	$1, 32(%rsi)
	adcl	$0, %r13d
LBB0_12:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	40(%rdi), %rcx
	testq	%rcx, %rcx
	jle	LBB0_15
## %bb.13:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	40(%rsi), %rbx
	cmpq	%rbx, %rcx
	jle	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_3 Depth=1
	subl	%ebx, %ecx
	addl	%ecx, %r13d
LBB0_15:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	48(%rdi), %r15
	testq	%r15, %r15
	jle	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_3 Depth=1
	cmpq	$1, 48(%rsi)
	adcl	$0, %r13d
LBB0_17:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	56(%rdi), %rcx
	xorl	%r12d, %r12d
	cmpq	56(%rsi), %rcx
	movq	64(%rdi), %rcx
	setne	%bl
	xorl	%r14d, %r14d
	cmpq	%r8, %rcx
	je	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_3 Depth=1
	subl	64(%rsi), %ecx
	imull	%ecx, %ecx
	movl	%ecx, %r14d
LBB0_19:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	72(%rdi), %rcx
	cmpq	%r8, %rcx
	je	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_3 Depth=1
	subl	72(%rsi), %ecx
	imull	%ecx, %ecx
	addl	%ecx, %r14d
LBB0_21:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	80(%rdi), %rcx
	cmpq	%r8, %rcx
	je	LBB0_23
## %bb.22:                              ##   in Loop: Header=BB0_3 Depth=1
	subl	80(%rsi), %ecx
	imull	%ecx, %ecx
	addl	%ecx, %r14d
LBB0_23:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	xorl	%r9d, %r9d
	cmpq	%r8, %r11
	jne	LBB0_24
## %bb.25:                              ##   in Loop: Header=BB0_3 Depth=1
	cmpq	%r8, %rax
	jne	LBB0_26
LBB0_27:                                ##   in Loop: Header=BB0_3 Depth=1
	cmpq	%r8, %r10
	je	LBB0_29
LBB0_28:                                ##   in Loop: Header=BB0_3 Depth=1
	subl	32(%rsi), %r10d
	imull	%r10d, %r10d
	addl	%r10d, %r9d
LBB0_29:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	88(%rdi), %rax
	cmpq	%r8, %rax
	je	LBB0_31
## %bb.30:                              ##   in Loop: Header=BB0_3 Depth=1
	subl	88(%rsi), %eax
	imull	%eax, %eax
	addl	%eax, %r9d
LBB0_31:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	96(%rdi), %rax
	cmpq	%r8, %rax
	je	LBB0_33
## %bb.32:                              ##   in Loop: Header=BB0_3 Depth=1
	subl	96(%rsi), %eax
	imull	%eax, %eax
	addl	%eax, %r9d
LBB0_33:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	104(%rdi), %rax
	cmpq	%r8, %rax
	je	LBB0_35
## %bb.34:                              ##   in Loop: Header=BB0_3 Depth=1
	subl	104(%rsi), %eax
	imull	%eax, %eax
	addl	%eax, %r9d
LBB0_35:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	112(%rdi), %rax
	cmpq	%r8, %rax
	je	LBB0_37
## %bb.36:                              ##   in Loop: Header=BB0_3 Depth=1
	subl	112(%rsi), %eax
	imull	%eax, %eax
	addl	%eax, %r9d
LBB0_37:                                ##   in Loop: Header=BB0_3 Depth=1
	cmpq	%r8, %r15
	je	LBB0_39
## %bb.38:                              ##   in Loop: Header=BB0_3 Depth=1
	subl	48(%rsi), %r15d
	imull	%r15d, %r15d
	addl	%r15d, %r9d
LBB0_39:                                ##   in Loop: Header=BB0_3 Depth=1
	movb	%bl, %r12b
	addl	%r12d, %r13d
	cmpq	$0, 120(%rdi)
	je	LBB0_41
## %bb.40:                              ##   in Loop: Header=BB0_3 Depth=1
	cmpq	$1, 120(%rsi)
	adcl	$0, %r9d
LBB0_41:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	%rsi, %rax
	cmpl	-52(%rbp), %r13d                ## 4-byte Folded Reload
	jb	LBB0_47
## %bb.42:                              ##   in Loop: Header=BB0_3 Depth=1
	jne	LBB0_46
## %bb.43:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%rsi, %rax
	cmpl	-48(%rbp), %r14d                ## 4-byte Folded Reload
	jb	LBB0_47
## %bb.44:                              ##   in Loop: Header=BB0_3 Depth=1
	jne	LBB0_46
## %bb.45:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%rsi, %rax
	cmpl	-44(%rbp), %r9d                 ## 4-byte Folded Reload
	jb	LBB0_47
LBB0_46:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rax
	cmpq	%rbx, %rsi
	jne	LBB0_48
	jmp	LBB0_47
LBB0_24:                                ##   in Loop: Header=BB0_3 Depth=1
	subl	16(%rsi), %r11d
	imull	%r11d, %r11d
	movl	%r11d, %r9d
	cmpq	%r8, %rax
	je	LBB0_27
LBB0_26:                                ##   in Loop: Header=BB0_3 Depth=1
	subl	24(%rsi), %eax
	imull	%eax, %eax
	addl	%eax, %r9d
	cmpq	%r8, %r10
	jne	LBB0_28
	jmp	LBB0_29
LBB0_1:
	xorl	%eax, %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
LBB0_49:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_UINT_MAX,4,2                   ## @UINT_MAX
	.comm	_GLFW_DONT_CARE,8,3             ## @GLFW_DONT_CARE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__glfwChooseFBConfig            ; -- Begin function _glfwChooseFBConfig
	.p2align	2
__glfwChooseFBConfig:                   ; @_glfwChooseFBConfig
	.cfi_startproc
; %bb.0:
	mov	x8, #0
	cbz	w2, LBB0_50
; %bb.1:
Lloh0:
	adrp	x9, _UINT_MAX@GOTPAGE
Lloh1:
	ldr	x9, [x9, _UINT_MAX@GOTPAGEOFF]
Lloh2:
	ldr	w12, [x9]
	ldr	x9, [x0]
Lloh3:
	adrp	x10, _GLFW_DONT_CARE@GOTPAGE
Lloh4:
	ldr	x10, [x10, _GLFW_DONT_CARE@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	mov	w11, w2
	mov	x14, x12
	mov	x13, x12
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x13, x15
	mov	x14, x16
	mov	x12, x2
	mov	x8, x3
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x1, x1, #128
	subs	x11, x11, #1
	b.eq	LBB0_50
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	cmp	x9, #1
	b.lt	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x15, [x1]
	cbz	x15, LBB0_3
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x15, [x0, #8]
	ldr	x16, [x1, #8]
	cmp	x15, x16
	b.ne	LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x2, [x0, #16]
	cmp	x2, #1
	b.lt	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x15, [x1, #16]
	cmp	x15, #0
	cset	w15, eq
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	w15, #0
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x4, [x0, #24]
	cmp	x4, #1
	b.lt	LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x16, [x1, #24]
	cmp	x16, #0
	cinc	w15, w15, eq
LBB0_12:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x3, [x0, #32]
	cmp	x3, #1
	b.lt	LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x16, [x1, #32]
	cmp	x16, #0
	cinc	w15, w15, eq
LBB0_14:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x16, [x0, #40]
	cmp	x16, #1
	b.lt	LBB0_17
; %bb.15:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x17, [x1, #40]
	cmp	x16, x17
	b.le	LBB0_17
; %bb.16:                               ;   in Loop: Header=BB0_4 Depth=1
	sub	w16, w16, w17
	add	w15, w15, w16
LBB0_17:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x17, [x0, #48]
	cmp	x17, #1
	b.lt	LBB0_19
; %bb.18:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x16, [x1, #48]
	cmp	x16, #0
	cinc	w15, w15, eq
LBB0_19:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x5, [x1, #56]
	ldp	x6, x16, [x0, #56]
	cmp	x6, x5
	cinc	w15, w15, ne
	cmp	x16, x10
	b.ne	LBB0_21
; %bb.20:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	w16, #0
	b	LBB0_22
LBB0_21:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w5, [x1, #64]
	sub	w16, w16, w5
	mul	w16, w16, w16
LBB0_22:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x5, [x0, #72]
	cmp	x5, x10
	b.eq	LBB0_24
; %bb.23:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	w6, [x1, #72]
	sub	w5, w5, w6
	madd	w16, w5, w5, w16
LBB0_24:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x5, [x0, #80]
	cmp	x5, x10
	b.eq	LBB0_26
; %bb.25:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	w6, [x1, #80]
	sub	w5, w5, w6
	madd	w16, w5, w5, w16
LBB0_26:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	x2, x10
	b.ne	LBB0_28
; %bb.27:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	w2, #0
	cmp	x4, x10
	b.ne	LBB0_29
	b	LBB0_30
LBB0_28:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w5, [x1, #16]
	sub	w2, w2, w5
	mul	w2, w2, w2
	cmp	x4, x10
	b.eq	LBB0_30
LBB0_29:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w5, [x1, #24]
	sub	w4, w4, w5
	madd	w2, w4, w4, w2
LBB0_30:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	x3, x10
	b.eq	LBB0_32
; %bb.31:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	w4, [x1, #32]
	sub	w3, w3, w4
	madd	w2, w3, w3, w2
LBB0_32:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x3, [x0, #88]
	cmp	x3, x10
	b.eq	LBB0_34
; %bb.33:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	w4, [x1, #88]
	sub	w3, w3, w4
	madd	w2, w3, w3, w2
LBB0_34:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x3, [x0, #96]
	cmp	x3, x10
	b.eq	LBB0_36
; %bb.35:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	w4, [x1, #96]
	sub	w3, w3, w4
	madd	w2, w3, w3, w2
LBB0_36:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x3, [x0, #104]
	cmp	x3, x10
	b.eq	LBB0_38
; %bb.37:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	w4, [x1, #104]
	sub	w3, w3, w4
	madd	w2, w3, w3, w2
LBB0_38:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x3, [x0, #112]
	cmp	x3, x10
	b.ne	LBB0_48
; %bb.39:                               ;   in Loop: Header=BB0_4 Depth=1
	cmp	x17, x10
	b.ne	LBB0_49
LBB0_40:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x17, [x0, #120]
	cbz	x17, LBB0_42
LBB0_41:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x17, [x1, #120]
	cmp	x17, #0
	cinc	w2, w2, eq
LBB0_42:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x3, x1
	cmp	w15, w13
	b.lo	LBB0_2
; %bb.43:                               ;   in Loop: Header=BB0_4 Depth=1
	b.ne	LBB0_47
; %bb.44:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x3, x1
	cmp	w16, w14
	b.lo	LBB0_2
; %bb.45:                               ;   in Loop: Header=BB0_4 Depth=1
	b.ne	LBB0_47
; %bb.46:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x3, x1
	cmp	w2, w12
	b.lo	LBB0_2
LBB0_47:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x3, x8
	cmp	x1, x8
	b.ne	LBB0_3
	b	LBB0_2
LBB0_48:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w4, [x1, #112]
	sub	w3, w3, w4
	madd	w2, w3, w3, w2
	cmp	x17, x10
	b.eq	LBB0_40
LBB0_49:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w3, [x1, #48]
	sub	w17, w17, w3
	madd	w2, w17, w17, w2
	ldr	x17, [x0, #120]
	cbnz	x17, LBB0_41
	b	LBB0_42
LBB0_50:
	mov	x0, x8
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_UINT_MAX,4,2                   ; @UINT_MAX
	.comm	_GLFW_DONT_CARE,8,3             ; @GLFW_DONT_CARE
.subsections_via_symbols
