	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_glfwSetWindowAspectRatio       ## -- Begin function glfwSetWindowAspectRatio
	.p2align	4, 0x90
_glfwSetWindowAspectRatio:              ## @glfwSetWindowAspectRatio
	.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	%edx, %r14d
	movl	%esi, %r15d
	movq	%rdi, %rbx
	xorl	%edi, %edi
	testq	%rbx, %rbx
	setne	%dil
	callq	_assert
	xorl	%edi, %edi
	testl	%r15d, %r15d
	setne	%dil
	callq	_assert
	xorl	%edi, %edi
	testl	%r14d, %r14d
	setne	%dil
	callq	_assert
	xorl	%eax, %eax
	callq	__GLFW_REQUIRE_INIT
	movq	_GLFW_DONT_CARE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%r15d, %eax
	je	LBB0_4
## %bb.1:
	cmpl	%r14d, %eax
	je	LBB0_4
## %bb.2:
	testl	%r15d, %r15d
	jle	LBB0_7
## %bb.3:
	testl	%r14d, %r14d
	jle	LBB0_7
LBB0_4:
	movl	%r15d, (%rbx)
	movl	%r14d, 4(%rbx)
	cmpq	$0, 16(%rbx)
	je	LBB0_5
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	cmpl	$0, 8(%rbx)
	je	LBB0_6
## %bb.8:
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movl	%r14d, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	__glfwPlatformSetWindowAspectRatio ## TAILCALL
LBB0_7:
	movq	_GLFW_INVALID_VALUE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movl	%r15d, %edx
	movl	%r14d, %ecx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	__glfwInputError                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_GLFW_DONT_CARE,4,2             ## @GLFW_DONT_CARE
	.comm	_GLFW_INVALID_VALUE,4,2         ## @GLFW_INVALID_VALUE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid window aspect ratio %i:%i"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_glfwSetWindowAspectRatio       ; -- Begin function glfwSetWindowAspectRatio
	.p2align	2
_glfwSetWindowAspectRatio:              ; @glfwSetWindowAspectRatio
	.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, x2
	mov	x20, x1
	mov	x21, x0
	cmp	x0, #0
	cset	w0, ne
	bl	_assert
	cmp	w20, #0
	cset	w0, ne
	bl	_assert
	cmp	w19, #0
	cset	w0, ne
	bl	_assert
	bl	__GLFW_REQUIRE_INIT
Lloh0:
	adrp	x8, _GLFW_DONT_CARE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GLFW_DONT_CARE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w20
	ccmp	w8, w19, #4, ne
	b.eq	LBB0_3
; %bb.1:
	cmp	w20, #1
	b.lt	LBB0_7
; %bb.2:
	cmp	w19, #0
	b.le	LBB0_7
LBB0_3:
	stp	w20, w19, [x21]
	ldr	x8, [x21, #16]
	cbz	x8, LBB0_5
LBB0_4:
	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
LBB0_5:
	ldr	w8, [x21, #8]
	cbz	w8, LBB0_4
; %bb.6:
	mov	x0, x21
	mov	x1, x20
	mov	x2, 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
	b	__glfwPlatformSetWindowAspectRatio
LBB0_7:
Lloh3:
	adrp	x8, _GLFW_INVALID_VALUE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GLFW_INVALID_VALUE@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x20
	mov	x3, 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
	b	__glfwInputError
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_GLFW_DONT_CARE,4,2             ; @GLFW_DONT_CARE
	.comm	_GLFW_INVALID_VALUE,4,2         ; @GLFW_INVALID_VALUE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid window aspect ratio %i:%i"

.subsections_via_symbols
