	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __scale_limit_check
___scale_limit_check:                   ## @__scale_limit_check
	.cfi_startproc
## %bb.0:
	movl	%esi, %r10d
	movl	%edi, %r11d
	testl	%ecx, %ecx
	je	LBB0_2
## %bb.1:
	movl	%r10d, %eax
	shll	$16, %eax
	movl	%ecx, %edi
	imull	%r11d, %edi
	cmpl	%edi, %eax
	ja	LBB0_4
LBB0_2:
	movl	$1, %eax
	testl	%edx, %edx
	je	LBB0_5
## %bb.3:
	movl	%r10d, %edi
	shll	$16, %edi
	movl	%edx, %esi
	imull	%r11d, %esi
	cmpl	%esi, %edi
	jae	LBB0_5
LBB0_4:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	movl	%edx, %eax
	shrl	$16, %eax
	movzwl	%dx, %edx
	imull	$100000, %edx, %r8d             ## imm = 0x186A0
	shrl	$16, %r8d
	movl	%ecx, %r9d
	shrl	$16, %r9d
	movzwl	%cx, %ecx
	imull	$100000, %ecx, %ecx             ## imm = 0x186A0
	shrl	$16, %ecx
	movl	%ecx, (%rsp)
	leaq	L_.str(%rip), %rdi
	movl	%r11d, %esi
	movl	%r10d, %edx
	movl	%eax, %ecx
	callq	_DRM_DEBUG_DRIVER
	xorl	%eax, %eax
	addq	$16, %rsp
	popq	%rbp
LBB0_5:
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Scale from %d to %d exceeds HW limits (ratio min %d.%05d, max %d.%05d)\n"

	.no_dead_strip	___scale_limit_check
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __scale_limit_check
___scale_limit_check:                   ; @__scale_limit_check
	.cfi_startproc
; %bb.0:
	mov	x8, x1
	mov	x1, x0
	cbz	w3, LBB0_2
; %bb.1:
	mul	w9, w3, w1
	cmp	w9, w8, lsl #16
	b.lo	LBB0_4
LBB0_2:
	cbz	w2, LBB0_5
; %bb.3:
	mul	w9, w2, w1
	cmp	w9, w8, lsl #16
	b.ls	LBB0_5
LBB0_4:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	lsr	w9, w2, #16
	and	w10, w2, #0xffff
	mov	w11, #34464
	movk	w11, #1, lsl #16
	mul	w10, w10, w11
	lsr	w4, w10, #16
	lsr	w5, w3, #16
	and	w10, w3, #0xffff
	mul	w10, w10, w11
	lsr	w6, w10, #16
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x2, x8
	mov	x3, x9
	bl	_DRM_DEBUG_DRIVER
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_5:
	.cfi_def_cfa wsp, 0
	.cfi_same_value w30
	.cfi_same_value w29
	mov	w0, #1
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Scale from %d to %d exceeds HW limits (ratio min %d.%05d, max %d.%05d)\n"

	.no_dead_strip	___scale_limit_check
.subsections_via_symbols
