	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_glfwSetWindowMonitor           ## -- Begin function glfwSetWindowMonitor
	.p2align	4, 0x90
_glfwSetWindowMonitor:                  ## @glfwSetWindowMonitor
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, %r14d
	movl	%r8d, %ebx
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movq	%rsi, %r12
	movq	%rdi, %r13
	movl	16(%rbp), %r15d
	xorl	%edi, %edi
	testq	%r13, %r13
	setne	%dil
	callq	_assert
	movl	%ebx, %edi
	notl	%edi
	shrl	$31, %edi
	callq	_assert
	movl	%r14d, %edi
	notl	%edi
	shrl	$31, %edi
	callq	_assert
	xorl	%eax, %eax
	callq	__GLFW_REQUIRE_INIT
	testl	%ebx, %ebx
	jle	LBB0_5
## %bb.1:
	testl	%r14d, %r14d
	jle	LBB0_5
## %bb.2:
	testl	%r15d, %r15d
	jns	LBB0_4
## %bb.3:
	movq	_GLFW_DONT_CARE@GOTPCREL(%rip), %rax
	cmpl	%r15d, (%rax)
	je	LBB0_4
## %bb.6:
	movq	_GLFW_INVALID_VALUE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	movl	%r15d, %edx
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	__glfwInputError                ## TAILCALL
LBB0_5:
	movq	_GLFW_INVALID_VALUE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edx
	movl	%r14d, %ecx
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	__glfwInputError                ## TAILCALL
LBB0_4:
	movl	%ebx, (%r13)
	movl	%r14d, 4(%r13)
	movl	%r15d, 8(%r13)
	movl	%r15d, (%rsp)
	movq	%r13, %rdi
	movq	%r12, %rsi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	movl	%ebx, %r8d
	movl	%r14d, %r9d
	callq	__glfwPlatformSetWindowMonitor
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GLFW_INVALID_VALUE,4,2         ## @GLFW_INVALID_VALUE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid window size %ix%i"

	.comm	_GLFW_DONT_CARE,4,2             ## @GLFW_DONT_CARE
L_.str.1:                               ## @.str.1
	.asciz	"Invalid refresh rate %i"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_glfwSetWindowMonitor           ; -- Begin function glfwSetWindowMonitor
	.p2align	2
_glfwSetWindowMonitor:                  ; @glfwSetWindowMonitor
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x6
	mov	x21, x5
	mov	x19, x4
	mov	x22, x3
	mov	x23, x2
	mov	x24, x1
	mov	x25, x0
	cmp	x0, #0
	cset	w0, ne
	bl	_assert
	mvn	w8, w19
	lsr	w0, w8, #31
	bl	_assert
	mvn	w8, w21
	lsr	w0, w8, #31
	bl	_assert
	bl	__GLFW_REQUIRE_INIT
	cmp	w19, #1
	b.lt	LBB0_5
; %bb.1:
	cmp	w21, #0
	b.le	LBB0_5
; %bb.2:
	tbz	w20, #31, LBB0_6
; %bb.3:
Lloh0:
	adrp	x8, _GLFW_DONT_CARE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GLFW_DONT_CARE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w20
	b.eq	LBB0_6
; %bb.4:
Lloh3:
	adrp	x8, _GLFW_INVALID_VALUE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GLFW_INVALID_VALUE@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x1, l_.str.1@PAGE
Lloh7:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x20
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	b	__glfwInputError
LBB0_5:
Lloh8:
	adrp	x8, _GLFW_INVALID_VALUE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _GLFW_INVALID_VALUE@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	str	x21, [sp]
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x19
	bl	__glfwInputError
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_6:
	stp	w19, w21, [x25]
	str	w20, [x25, #8]
	mov	x0, x25
	mov	x1, x24
	mov	x2, x23
	mov	x3, x22
	mov	x4, x19
	mov	x5, x21
	mov	x6, x20
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	b	__glfwPlatformSetWindowMonitor
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_GLFW_INVALID_VALUE,4,2         ; @GLFW_INVALID_VALUE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid window size %ix%i"

	.comm	_GLFW_DONT_CARE,4,2             ; @GLFW_DONT_CARE
l_.str.1:                               ; @.str.1
	.asciz	"Invalid refresh rate %i"

.subsections_via_symbols
