	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function weight
_weight:                                ## @weight
	.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 $edx killed $edx def $rdx
                                        ## kill: def $esi killed $esi def $rsi
                                        ## kill: def $edi killed $edi def $rdi
	leal	(%rdx,%rdx), %r8d
	cmpl	%edi, %r8d
	jle	LBB0_5
## %bb.1:
	cmpl	$1, %edx
	jne	LBB0_4
## %bb.2:
	xorl	%eax, %eax
	testl	%edi, %edi
	jmp	LBB0_3
LBB0_5:
	decl	%esi
	movl	%esi, %ecx
	subl	%r8d, %ecx
	movl	$8, %eax
	cmpl	%edi, %ecx
	jge	LBB0_10
## %bb.6:
	cmpl	$1, %edx
	jne	LBB0_8
## %bb.7:
	xorl	%eax, %eax
	cmpl	%edi, %esi
LBB0_3:
	setne	%al
	addl	%eax, %eax
	addl	$3, %eax
	popq	%rbp
	retq
LBB0_4:
	leal	(%rdi,%rdi,2), %eax
	jmp	LBB0_9
LBB0_8:
	subl	%edi, %esi
	leal	(%rsi,%rsi,2), %eax
LBB0_9:
	leal	(%rdx,%rax,2), %eax
	decl	%eax
	decl	%r8d
	cltd
	idivl	%r8d
	incl	%eax
LBB0_10:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_weight
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function weight
_weight:                                ; @weight
	.cfi_startproc
; %bb.0:
	lsl	w8, w2, #1
	cmp	w8, w0
	b.le	LBB0_3
; %bb.1:
	cmp	w2, #1
	b.ne	LBB0_6
; %bb.2:
	mov	w8, #5
	mov	w9, #3
	cmp	w0, #0
	csel	w0, w9, w8, eq
	ret
LBB0_3:
	sub	w9, w1, #1
	sub	w10, w9, w8
	cmp	w10, w0
	b.ge	LBB0_7
; %bb.4:
	cmp	w2, #1
	b.ne	LBB0_8
; %bb.5:
	mov	w8, #5
	mov	w10, #3
	cmp	w9, w0
	csel	w0, w10, w8, eq
	ret
LBB0_6:
	mov	w9, #6
	madd	w9, w0, w9, w2
	b	LBB0_9
LBB0_7:
	mov	w0, #8
	ret
LBB0_8:
	sub	w9, w9, w0
	mov	w10, #6
	madd	w9, w9, w10, w2
LBB0_9:
	sub	w9, w9, #1
	sub	w8, w8, #1
	sdiv	w8, w9, w8
	add	w0, w8, #1
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_weight
.subsections_via_symbols
