	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__glfwPlatformSwapBuffers       ## -- Begin function _glfwPlatformSwapBuffers
	.p2align	4, 0x90
__glfwPlatformSwapBuffers:              ## @_glfwPlatformSwapBuffers
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	xorl	%eax, %eax
	callq	__glfwIsCompositionEnabled
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	cmpl	$0, 8(%r14)
	jne	LBB0_5
## %bb.2:
	movl	4(%r14), %eax
	testl	%eax, %eax
	je	LBB0_5
## %bb.3:
	movl	%eax, %ebx
	negl	%ebx
	cmovsl	%eax, %ebx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%eax, %eax
	callq	__glfw_DwmFlush
	decl	%ebx
	jne	LBB0_4
LBB0_5:
	movl	(%r14), %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_SwapBuffers                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__glfwPlatformSwapBuffers       ; -- Begin function _glfwPlatformSwapBuffers
	.p2align	2
__glfwPlatformSwapBuffers:              ; @_glfwPlatformSwapBuffers
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	__glfwIsCompositionEnabled
	cbz	x0, LBB0_5
; %bb.1:
	ldr	w8, [x19, #8]
	cbnz	w8, LBB0_5
; %bb.2:
	ldr	w8, [x19, #4]
	cbz	w8, LBB0_5
; %bb.3:
	cmp	w8, #0
	cneg	w20, w8, mi
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	sub	w20, w20, #1
	bl	__glfw_DwmFlush
	cbnz	w20, LBB0_4
LBB0_5:
	ldr	w0, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_SwapBuffers
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
