	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_scale_precondition             ## -- Begin function scale_precondition
	.p2align	4, 0x90
_scale_precondition:                    ## @scale_precondition
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $edi killed $edi def $rdi
	leal	-2(%rdi), %r8d
	movl	$-1, %eax
	cmpl	$2, %r8d
	ja	LBB0_7
## %bb.1:
	cmpl	$4, %esi
	ja	LBB0_7
## %bb.2:
	movl	$22, %r9d
	btl	%esi, %r9d
	jae	LBB0_7
## %bb.3:
	cmpl	$2, %r8d
	jae	LBB0_4
## %bb.8:
	cmpl	$2, %ecx
	jae	LBB0_6
LBB0_7:
	popq	%rbp
	retq
LBB0_4:
	cmpl	$4, %edi
	jne	LBB0_6
## %bb.5:
	cmpl	$4, %ecx
	jb	LBB0_7
LBB0_6:
	xorl	%eax, %eax
	cmpl	$2, %edx
	sbbl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_scale_precondition             ; -- Begin function scale_precondition
	.p2align	2
_scale_precondition:                    ; @scale_precondition
	.cfi_startproc
; %bb.0:
	sub	w9, w0, #2
	cmp	w9, #2
	b.hi	LBB0_7
; %bb.1:
	mov	x8, x0
	mov	w0, #-1
	cmp	w1, #4
	b.hi	LBB0_9
; %bb.2:
	mov	w10, #1
	lsl	w10, w10, w1
	mov	w11, #22
	tst	w10, w11
	b.eq	LBB0_9
; %bb.3:
	cmp	w9, #2
	b.hs	LBB0_5
; %bb.4:
	cmp	w3, #2
	b.hs	LBB0_8
	b	LBB0_7
LBB0_5:
	cmp	w8, #4
	b.ne	LBB0_8
; %bb.6:
	cmp	w3, #4
	b.hs	LBB0_8
LBB0_7:
	mov	w0, #-1
	ret
LBB0_8:
	cmp	w2, #2
	csetm	w0, lo
LBB0_9:
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
