	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_scale_factor               ## -- Begin function get_scale_factor
	.p2align	4, 0x90
_get_scale_factor:                      ## @get_scale_factor
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -24
	movq	_g@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	movl	(%rax), %edi
	leaq	-16(%rbp), %rsi
	leaq	-24(%rbp), %rdx
	callq	_glfwGetWindowSize
	movq	(%rbx), %rax
	movl	(%rax), %edi
	leaq	-12(%rbp), %rsi
	leaq	-20(%rbp), %rdx
	callq	_glfwGetFramebufferSize
	movl	-12(%rbp), %eax
	cltd
	idivl	-16(%rbp)
	movl	$1, %edi
	movl	%eax, %esi
	callq	_MAX
	movl	$2, %edi
	movl	%eax, %esi
	callq	_MIN
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_g,8,3                          ## @g
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_scale_factor               ; -- Begin function get_scale_factor
	.p2align	2
_get_scale_factor:                      ; @get_scale_factor
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
Lloh0:
	adrp	x19, _g@GOTPAGE
Lloh1:
	ldr	x19, [x19, _g@GOTPAGEOFF]
	ldr	x8, [x19]
	ldr	w0, [x8]
	add	x1, sp, #12
	add	x2, sp, #8
	bl	_glfwGetWindowSize
	ldr	x8, [x19]
	ldr	w0, [x8]
	add	x1, sp, #4
	mov	x2, sp
	bl	_glfwGetFramebufferSize
	ldr	w8, [sp, #4]
	ldr	w9, [sp, #12]
	sdiv	w1, w8, w9
	mov	w0, #1
	bl	_MAX
	mov	x1, x0
	mov	w0, #2
	bl	_MIN
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_g,8,3                          ; @g
.subsections_via_symbols
