	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function count_frame_bits_fixed
_count_frame_bits_fixed:                ## @count_frame_bits_fixed
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	32(%rdi), %r9
	testq	%r9, %r9
	je	LBB0_5
## %bb.1:
	movl	(%rdi), %r8d
	xorl	%ecx, %ecx
	cmpl	$6, %r8d
	sete	%cl
	addl	$65, %ecx
	cmpq	$0, 48(%rdi)
	je	LBB0_3
## %bb.2:
	movl	4(%rdi), %edx
	leal	(%rdx,%rdx,4), %esi
	jmp	LBB0_4
LBB0_5:
	movq	16(%rdi), %rcx
	leaq	_count_frame_bits_fixed.frame_bits_inc(%rip), %rdx
	movl	(%rdx,%rcx,4), %edx
	addl	$65, %edx
	movl	(%rdi), %r8d
	testl	%r8d, %r8d
	jg	LBB0_7
	jmp	LBB0_12
LBB0_3:
	movl	4(%rdi), %edx
	movl	%r8d, %esi
	imull	%edx, %esi
	addl	%esi, %esi
LBB0_4:
	addl	%ecx, %esi
	xorl	%ecx, %ecx
	cmpq	$0, 40(%rdi)
	cmovnel	%r8d, %ecx
	addl	%esi, %ecx
	cmpl	$3, 8(%rdi)
	leal	(%rdx,%rdx,4), %esi
	movl	$1, %edx
	cmovel	%esi, %edx
	addl	%ecx, %edx
	xorl	%ecx, %ecx
	cmpl	$1, %r8d
	sete	%cl
	subl	%ecx, %edx
	addl	$11, %edx
	testl	%r8d, %r8d
	jle	LBB0_12
LBB0_7:
	xorl	%esi, %esi
	testq	%r9, %r9
	setne	%sil
	xorl	%ecx, %ecx
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_8 Depth=1
	movl	4(%rdi), %r10d
	leal	1(%rdx), %eax
	addl	$12, %edx
	testl	%ecx, %ecx
	cmovnel	%eax, %edx
	cmpq	$1, 40(%rdi)
	leal	(%rdx,%r10,4), %edx
	sbbl	$-1, %edx
	incl	%edx
LBB0_11:                                ##   in Loop: Header=BB0_8 Depth=1
	leal	(%rdx,%rsi), %eax
	testq	%r9, %r9
	leal	2(%rdx,%rsi), %edx
	cmovnel	%eax, %edx
	incl	%ecx
	cmpl	%ecx, %r8d
	je	LBB0_12
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	testq	%r9, %r9
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	addl	$2, %edx
	jmp	LBB0_11
LBB0_12:
	addl	$18, %edx
	movl	%edx, 24(%rdi)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @count_frame_bits_fixed.frame_bits_inc
_count_frame_bits_fixed.frame_bits_inc:
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	2                               ## 0x2
	.long	2                               ## 0x2
	.long	2                               ## 0x2
	.long	4                               ## 0x4
	.long	2                               ## 0x2
	.long	4                               ## 0x4

	.no_dead_strip	_count_frame_bits_fixed
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function count_frame_bits_fixed
_count_frame_bits_fixed:                ; @count_frame_bits_fixed
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0, #32]
	cbz	x8, LBB0_3
; %bb.1:
	ldr	w9, [x0]
	cmp	w9, #6
	mov	w10, #65
	cinc	w10, w10, eq
	ldr	x11, [x0, #48]
	cbz	x11, LBB0_4
; %bb.2:
	ldr	w11, [x0, #4]
	add	w12, w11, w11, lsl #2
	b	LBB0_5
LBB0_3:
	ldr	x9, [x0, #16]
Lloh0:
	adrp	x10, _count_frame_bits_fixed.frame_bits_inc@PAGE
Lloh1:
	add	x10, x10, _count_frame_bits_fixed.frame_bits_inc@PAGEOFF
	ldr	w9, [x10, x9, lsl #2]
	add	w10, w9, #65
	ldr	w9, [x0]
	cmp	w9, #1
	b.ge	LBB0_6
	b	LBB0_11
LBB0_4:
	ldr	w11, [x0, #4]
	mul	w12, w9, w11
	lsl	w12, w12, #1
LBB0_5:
	ldr	x13, [x0, #40]
	cmp	x13, #0
	csel	w13, wzr, w9, eq
	add	w10, w12, w10
	add	w10, w10, w13
	ldr	w12, [x0, #8]
	add	w11, w11, w11, lsl #2
	cmp	w12, #3
	csinc	w11, w11, wzr, eq
	cmp	w9, #1
	mov	w12, #10
	cinc	w12, w12, ne
	add	w10, w10, w11
	add	w10, w10, w12
	cmp	w9, #1
	b.lt	LBB0_11
LBB0_6:
	mov	w11, #0
	cmp	x8, #0
	cset	w12, ne
	b	LBB0_9
LBB0_7:                                 ;   in Loop: Header=BB0_9 Depth=1
	ldr	w13, [x0, #4]
	ldr	x14, [x0, #40]
	cmp	w11, #0
	add	w15, w10, #12
	csinc	w10, w15, w10, eq
	cmp	x14, #0
	add	w10, w10, w13, lsl #2
	cinc	w10, w10, ne
	add	w10, w10, #1
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	add	w10, w10, w12
	add	w13, w10, #2
	cmp	x8, #0
	csel	w10, w13, w10, eq
	add	w11, w11, #1
	cmp	w9, w11
	b.eq	LBB0_11
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	cbz	x8, LBB0_7
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	add	w10, w10, #2
	b	LBB0_8
LBB0_11:
	add	w8, w10, #18
	str	w8, [x0, #24]
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @count_frame_bits_fixed.frame_bits_inc
_count_frame_bits_fixed.frame_bits_inc:
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	2                               ; 0x2
	.long	2                               ; 0x2
	.long	2                               ; 0x2
	.long	4                               ; 0x4
	.long	2                               ; 0x2
	.long	4                               ; 0x4

	.no_dead_strip	_count_frame_bits_fixed
.subsections_via_symbols
