	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function verify_scaling
_verify_scaling:                        ## @verify_scaling
	.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
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	%ecx, %eax
	movl	%esi, %ecx
	movl	24(%rbp), %r10d
	movl	16(%rbp), %r11d
	movl	%r8d, %edi
	sarl	%cl, %edi
	movl	%r9d, %esi
                                        ## kill: def $cl killed $cl killed $ecx
	sarl	%cl, %esi
	cmpl	%r11d, %edi
	jg	LBB0_2
## %bb.1:
	cmpl	%r10d, %esi
	jg	LBB0_2
## %bb.3:
	movl	%eax, %ecx
	orl	%edx, %ecx
	je	LBB0_4
## %bb.5:
	leaq	L_.str.1(%rip), %rdi
	xorl	%ebx, %ebx
	movl	%edx, %esi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_DRM_DEBUG_KMS
	jmp	LBB0_6
LBB0_2:
	leaq	L_.str(%rip), %rdi
	xorl	%ebx, %ebx
	movl	%r8d, %esi
	movl	%r9d, %edx
	movl	%r11d, %ecx
	movl	%r10d, %r8d
	xorl	%eax, %eax
	callq	_DRM_DEBUG_KMS
LBB0_6:
	movq	_ERANGE@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
LBB0_7:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_4:
	xorl	%ebx, %ebx
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unsuitable framebuffer scaling: %dx%d -> %dx%d\n"

	.comm	_ERANGE,4,2                     ## @ERANGE
L_.str.1:                               ## @.str.1
	.asciz	"Unsuitable framebuffer offset: %d,%d\n"

	.no_dead_strip	_verify_scaling
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function verify_scaling
_verify_scaling:                        ; @verify_scaling
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.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
                                        ; kill: def $w7 killed $w7 def $x7
                                        ; kill: def $w6 killed $w6 def $x6
	asr	w8, w4, w1
	asr	w9, w5, w1
	cmp	w8, w6
	ccmp	w9, w7, #0, le
	b.le	LBB0_2
; %bb.1:
	stp	x6, x7, [sp]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x4
	mov	x2, x5
	b	LBB0_4
LBB0_2:
	orr	w8, w3, w2
	cbz	w8, LBB0_5
; %bb.3:
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x2
	mov	x2, x3
LBB0_4:
	bl	_DRM_DEBUG_KMS
Lloh4:
	adrp	x8, _ERANGE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ERANGE@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_6
LBB0_5:
	mov	w0, #0
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unsuitable framebuffer scaling: %dx%d -> %dx%d\n"

	.comm	_ERANGE,4,2                     ; @ERANGE
l_.str.1:                               ; @.str.1
	.asciz	"Unsuitable framebuffer offset: %d,%d\n"

	.no_dead_strip	_verify_scaling
.subsections_via_symbols
