	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function window_maximize_callback
_window_maximize_callback:              ## @window_maximize_callback
	.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
	movl	%esi, %r14d
	callq	_glfwGetWindowUserPointer
	movq	_counter@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	leal	1(%rbx), %edx
	movl	%edx, (%rcx)
	movl	(%rax), %r15d
	xorl	%eax, %eax
	callq	_glfwGetTime
	testl	%r14d, %r14d
	leaq	L_.str.2(%rip), %rax
	leaq	L_.str.1(%rip), %rcx
	cmoveq	%rax, %rcx
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %esi
	movl	%r15d, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_printf                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%08x to %i at %0.3f: Window was %s\n"

	.comm	_counter,4,2                    ## @counter
L_.str.1:                               ## @.str.1
	.asciz	"maximized"

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

	.no_dead_strip	_window_maximize_callback
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function window_maximize_callback
_window_maximize_callback:              ; @window_maximize_callback
	.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, x1
	bl	_glfwGetWindowUserPointer
Lloh0:
	adrp	x8, _counter@GOTPAGE
Lloh1:
	ldr	x8, [x8, _counter@GOTPAGEOFF]
	ldr	w20, [x8]
	add	w9, w20, #1
	str	w9, [x8]
	ldr	w21, [x0]
	bl	_glfwGetTime
Lloh2:
	adrp	x8, l_.str.1@PAGE
Lloh3:
	add	x8, x8, l_.str.1@PAGEOFF
Lloh4:
	adrp	x9, l_.str.2@PAGE
Lloh5:
	add	x9, x9, l_.str.2@PAGEOFF
	cmp	w19, #0
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	csel	x3, x9, x8, eq
	mov	x1, x20
	mov	x2, x21
	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	_printf
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%08x to %i at %0.3f: Window was %s\n"

	.comm	_counter,4,2                    ; @counter
l_.str.1:                               ; @.str.1
	.asciz	"maximized"

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

	.no_dead_strip	_window_maximize_callback
.subsections_via_symbols
