	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function query_view_class
_query_view_class:                      ## @query_view_class
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movl	20(%rdi), %edi
	callq	_lookup_gl_view_class
	movq	%rax, %r14
	movl	16(%rbx), %edi
	callq	_lookup_gl_view_class
	movq	%rax, %r15
	movl	12(%rbx), %edi
	callq	_lookup_gl_view_class
	cmpq	%r15, %r14
	je	LBB0_3
## %bb.1:
	cmpq	%rax, %r15
	je	LBB0_3
## %bb.2:
	movq	_GL_NONE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	%r14, (%rbx)
	movl	8(%rbx), %edi
	callq	_debug_d3dformat
	movq	(%rbx), %rdx
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_TRACE                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Format %s is member of GL view class %#x.\n"

	.comm	_GL_NONE,8,3                    ## @GL_NONE
	.no_dead_strip	_query_view_class
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function query_view_class
_query_view_class:                      ; @query_view_class
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
	ldr	w0, [x0, #20]
	bl	_lookup_gl_view_class
	mov	x20, x0
	ldr	w0, [x19, #16]
	bl	_lookup_gl_view_class
	mov	x21, x0
	ldr	w0, [x19, #12]
	bl	_lookup_gl_view_class
	cmp	x20, x21
	ccmp	x21, x0, #4, ne
	b.ne	LBB0_2
; %bb.1:
	str	x20, [x19]
	ldr	w0, [x19, #8]
	bl	_debug_d3dformat
	mov	x1, x0
	ldr	x2, [x19]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_TRACE
LBB0_2:
Lloh2:
	adrp	x8, _GL_NONE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GL_NONE@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	str	x8, [x19]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Format %s is member of GL view class %#x.\n"

	.comm	_GL_NONE,8,3                    ; @GL_NONE
	.no_dead_strip	_query_view_class
.subsections_via_symbols
