	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bws_month_score                ## -- Begin function bws_month_score
	.p2align	4, 0x90
_bws_month_score:                       ## @bws_month_score
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_MB_CUR_MAX@GOTPCREL(%rip), %rax
	cmpl	$1, (%rax)
	jne	LBB0_40
## %bb.1:
	movq	8(%rdi), %rbx
	movslq	(%rdi), %r14
	addq	%rbx, %r14
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rbx), %edi
	callq	_isblank
	leaq	1(%rbx), %r15
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%r14, %rbx
	movq	%r15, %rbx
	jb	LBB0_2
LBB0_4:
	movq	_cmonths@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movq	88(%rax), %rsi
	decq	%r15
	testq	%rsi, %rsi
	je	LBB0_7
## %bb.5:
	movq	%r15, %rdi
	callq	_strstr
	cmpq	%rax, %r15
	je	LBB0_80
## %bb.6:
	movq	(%r14), %rax
LBB0_7:
	movq	80(%rax), %rsi
	testq	%rsi, %rsi
	je	LBB0_10
## %bb.8:
	movq	%r15, %rdi
	callq	_strstr
	cmpq	%rax, %r15
	je	LBB0_82
## %bb.9:
	movq	(%r14), %rax
LBB0_10:
	movq	72(%rax), %rsi
	testq	%rsi, %rsi
	je	LBB0_13
## %bb.11:
	movq	%r15, %rdi
	callq	_strstr
	cmpq	%rax, %r15
	je	LBB0_84
## %bb.12:
	movq	(%r14), %rax
LBB0_13:
	movq	64(%rax), %rsi
	testq	%rsi, %rsi
	je	LBB0_16
## %bb.14:
	movq	%r15, %rdi
	callq	_strstr
	cmpq	%rax, %r15
	je	LBB0_86
## %bb.15:
	movq	(%r14), %rax
LBB0_16:
	movq	56(%rax), %rsi
	testq	%rsi, %rsi
	je	LBB0_19
## %bb.17:
	movq	%r15, %rdi
	callq	_strstr
	cmpq	%rax, %r15
	je	LBB0_88
## %bb.18:
	movq	(%r14), %rax
LBB0_19:
	movq	48(%rax), %rsi
	testq	%rsi, %rsi
	je	LBB0_22
## %bb.20:
	movq	%r15, %rdi
	callq	_strstr
	cmpq	%rax, %r15
	je	LBB0_90
## %bb.21:
	movq	(%r14), %rax
LBB0_22:
	movq	40(%rax), %rsi
	testq	%rsi, %rsi
	je	LBB0_25
## %bb.23:
	movq	%r15, %rdi
	callq	_strstr
	cmpq	%rax, %r15
	je	LBB0_92
## %bb.24:
	movq	(%r14), %rax
LBB0_25:
	movq	32(%rax), %rsi
	testq	%rsi, %rsi
	je	LBB0_28
## %bb.26:
	movq	%r15, %rdi
	callq	_strstr
	cmpq	%rax, %r15
	je	LBB0_94
## %bb.27:
	movq	(%r14), %rax
LBB0_28:
	movq	24(%rax), %rsi
	testq	%rsi, %rsi
	je	LBB0_31
## %bb.29:
	movq	%r15, %rdi
	callq	_strstr
	cmpq	%rax, %r15
	je	LBB0_96
## %bb.30:
	movq	(%r14), %rax
LBB0_31:
	movq	16(%rax), %rsi
	testq	%rsi, %rsi
	je	LBB0_34
## %bb.32:
	movq	%r15, %rdi
	callq	_strstr
	cmpq	%rax, %r15
	je	LBB0_98
## %bb.33:
	movq	(%r14), %rax
LBB0_34:
	movq	8(%rax), %rsi
	testq	%rsi, %rsi
	je	LBB0_37
## %bb.35:
	movq	%r15, %rdi
	callq	_strstr
	cmpq	%rax, %r15
	je	LBB0_100
## %bb.36:
	movq	(%r14), %rax
LBB0_37:
	movq	(%rax), %rsi
	testq	%rsi, %rsi
	je	LBB0_78
## %bb.38:
	movq	%r15, %rdi
	callq	_strstr
	cmpq	%rax, %r15
	jne	LBB0_78
	jmp	LBB0_101
LBB0_40:
	movq	16(%rdi), %rbx
	movslq	(%rdi), %rax
	leaq	(%rbx,%rax,4), %r14
	.p2align	4, 0x90
LBB0_41:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %edi
	callq	_iswblank
	leaq	4(%rbx), %r15
	testq	%rax, %rax
	je	LBB0_43
## %bb.42:                              ##   in Loop: Header=BB0_41 Depth=1
	cmpq	%r14, %rbx
	movq	%r15, %rbx
	jb	LBB0_41
LBB0_43:
	movq	_wmonths@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movq	88(%rax), %rsi
	addq	$-4, %r15
	testq	%rsi, %rsi
	je	LBB0_46
## %bb.44:
	movq	%r15, %rdi
	callq	_wcsstr
	cmpq	%rax, %r15
	je	LBB0_80
## %bb.45:
	movq	(%r14), %rax
LBB0_46:
	movq	80(%rax), %rsi
	testq	%rsi, %rsi
	je	LBB0_49
## %bb.47:
	movq	%r15, %rdi
	callq	_wcsstr
	cmpq	%rax, %r15
	je	LBB0_82
## %bb.48:
	movq	(%r14), %rax
LBB0_49:
	movq	72(%rax), %rsi
	testq	%rsi, %rsi
	je	LBB0_52
## %bb.50:
	movq	%r15, %rdi
	callq	_wcsstr
	cmpq	%rax, %r15
	je	LBB0_84
## %bb.51:
	movq	(%r14), %rax
LBB0_52:
	movq	64(%rax), %rsi
	testq	%rsi, %rsi
	je	LBB0_55
## %bb.53:
	movq	%r15, %rdi
	callq	_wcsstr
	cmpq	%rax, %r15
	je	LBB0_86
## %bb.54:
	movq	(%r14), %rax
LBB0_55:
	movq	56(%rax), %rsi
	testq	%rsi, %rsi
	je	LBB0_58
## %bb.56:
	movq	%r15, %rdi
	callq	_wcsstr
	cmpq	%rax, %r15
	je	LBB0_88
## %bb.57:
	movq	(%r14), %rax
LBB0_58:
	movq	48(%rax), %rsi
	testq	%rsi, %rsi
	je	LBB0_61
## %bb.59:
	movq	%r15, %rdi
	callq	_wcsstr
	cmpq	%rax, %r15
	je	LBB0_90
## %bb.60:
	movq	(%r14), %rax
LBB0_61:
	movq	40(%rax), %rsi
	testq	%rsi, %rsi
	je	LBB0_64
## %bb.62:
	movq	%r15, %rdi
	callq	_wcsstr
	cmpq	%rax, %r15
	je	LBB0_92
## %bb.63:
	movq	(%r14), %rax
LBB0_64:
	movq	32(%rax), %rsi
	testq	%rsi, %rsi
	je	LBB0_67
## %bb.65:
	movq	%r15, %rdi
	callq	_wcsstr
	cmpq	%rax, %r15
	je	LBB0_94
## %bb.66:
	movq	(%r14), %rax
LBB0_67:
	movq	24(%rax), %rsi
	testq	%rsi, %rsi
	je	LBB0_70
## %bb.68:
	movq	%r15, %rdi
	callq	_wcsstr
	cmpq	%rax, %r15
	je	LBB0_96
## %bb.69:
	movq	(%r14), %rax
LBB0_70:
	movq	16(%rax), %rsi
	testq	%rsi, %rsi
	je	LBB0_73
## %bb.71:
	movq	%r15, %rdi
	callq	_wcsstr
	cmpq	%rax, %r15
	je	LBB0_98
## %bb.72:
	movq	(%r14), %rax
LBB0_73:
	movq	8(%rax), %rsi
	testq	%rsi, %rsi
	je	LBB0_76
## %bb.74:
	movq	%r15, %rdi
	callq	_wcsstr
	cmpq	%rax, %r15
	je	LBB0_100
## %bb.75:
	movq	(%r14), %rax
LBB0_76:
	movq	(%rax), %rsi
	testq	%rsi, %rsi
	je	LBB0_78
## %bb.77:
	movq	%r15, %rdi
	callq	_wcsstr
	cmpq	%rax, %r15
	je	LBB0_101
LBB0_78:
	movl	$-1, %eax
	jmp	LBB0_102
LBB0_80:
	movl	$11, %eax
	jmp	LBB0_102
LBB0_82:
	movl	$10, %eax
	jmp	LBB0_102
LBB0_84:
	movl	$9, %eax
	jmp	LBB0_102
LBB0_86:
	movl	$8, %eax
	jmp	LBB0_102
LBB0_88:
	movl	$7, %eax
	jmp	LBB0_102
LBB0_90:
	movl	$6, %eax
	jmp	LBB0_102
LBB0_92:
	movl	$5, %eax
	jmp	LBB0_102
LBB0_94:
	movl	$4, %eax
	jmp	LBB0_102
LBB0_96:
	movl	$3, %eax
	jmp	LBB0_102
LBB0_98:
	movl	$2, %eax
	jmp	LBB0_102
LBB0_100:
	movl	$1, %eax
	jmp	LBB0_102
LBB0_101:
	xorl	%eax, %eax
LBB0_102:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MB_CUR_MAX,4,2                 ## @MB_CUR_MAX
	.comm	_cmonths,8,3                    ## @cmonths
	.comm	_wmonths,8,3                    ## @wmonths
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bws_month_score                ; -- Begin function bws_month_score
	.p2align	2
_bws_month_score:                       ; @bws_month_score
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
Lloh0:
	adrp	x8, _MB_CUR_MAX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MB_CUR_MAX@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, #1
	b.ne	LBB0_38
; %bb.1:
	ldr	x20, [x0, #8]
	ldrsw	x8, [x0]
	add	x21, x20, x8
	mov	x19, x20
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w0, [x19], #1
	bl	_isblank
	cmp	x0, #0
	ccmp	x20, x21, #2, ne
	mov	x20, x19
	b.lo	LBB0_2
; %bb.3:
Lloh3:
	adrp	x20, _cmonths@GOTPAGE
Lloh4:
	ldr	x20, [x20, _cmonths@GOTPAGEOFF]
	ldr	x8, [x20]
	ldr	x1, [x8, #88]
	sub	x19, x19, #1
	cbz	x1, LBB0_6
; %bb.4:
	mov	x0, x19
	bl	_strstr
	cmp	x19, x0
	b.eq	LBB0_76
; %bb.5:
	ldr	x8, [x20]
LBB0_6:
	ldr	x1, [x8, #80]
	cbz	x1, LBB0_9
; %bb.7:
	mov	x0, x19
	bl	_strstr
	cmp	x19, x0
	b.eq	LBB0_77
; %bb.8:
	ldr	x8, [x20]
LBB0_9:
	ldr	x1, [x8, #72]
	cbz	x1, LBB0_12
; %bb.10:
	mov	x0, x19
	bl	_strstr
	cmp	x19, x0
	b.eq	LBB0_78
; %bb.11:
	ldr	x8, [x20]
LBB0_12:
	ldr	x1, [x8, #64]
	cbz	x1, LBB0_15
; %bb.13:
	mov	x0, x19
	bl	_strstr
	cmp	x19, x0
	b.eq	LBB0_79
; %bb.14:
	ldr	x8, [x20]
LBB0_15:
	ldr	x1, [x8, #56]
	cbz	x1, LBB0_18
; %bb.16:
	mov	x0, x19
	bl	_strstr
	cmp	x19, x0
	b.eq	LBB0_80
; %bb.17:
	ldr	x8, [x20]
LBB0_18:
	ldr	x1, [x8, #48]
	cbz	x1, LBB0_21
; %bb.19:
	mov	x0, x19
	bl	_strstr
	cmp	x19, x0
	b.eq	LBB0_81
; %bb.20:
	ldr	x8, [x20]
LBB0_21:
	ldr	x1, [x8, #40]
	cbz	x1, LBB0_24
; %bb.22:
	mov	x0, x19
	bl	_strstr
	cmp	x19, x0
	b.eq	LBB0_82
; %bb.23:
	ldr	x8, [x20]
LBB0_24:
	ldr	x1, [x8, #32]
	cbz	x1, LBB0_27
; %bb.25:
	mov	x0, x19
	bl	_strstr
	cmp	x19, x0
	b.eq	LBB0_83
; %bb.26:
	ldr	x8, [x20]
LBB0_27:
	ldr	x1, [x8, #24]
	cbz	x1, LBB0_30
; %bb.28:
	mov	x0, x19
	bl	_strstr
	cmp	x19, x0
	b.eq	LBB0_84
; %bb.29:
	ldr	x8, [x20]
LBB0_30:
	ldr	x1, [x8, #16]
	cbz	x1, LBB0_33
; %bb.31:
	mov	x0, x19
	bl	_strstr
	cmp	x19, x0
	b.eq	LBB0_85
; %bb.32:
	ldr	x8, [x20]
LBB0_33:
	ldr	x1, [x8, #8]
	cbz	x1, LBB0_36
; %bb.34:
	mov	x0, x19
	bl	_strstr
	cmp	x19, x0
	b.eq	LBB0_86
; %bb.35:
	ldr	x8, [x20]
LBB0_36:
	ldr	x1, [x8]
	cbz	x1, LBB0_75
; %bb.37:
	mov	x0, x19
	bl	_strstr
	cmp	x19, x0
	b.ne	LBB0_75
	b	LBB0_87
LBB0_38:
	ldr	x20, [x0, #16]
	ldrsw	x8, [x0]
	add	x21, x20, x8, lsl #2
	mov	x19, x20
LBB0_39:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x19], #4
	bl	_iswblank
	cmp	x0, #0
	ccmp	x20, x21, #2, ne
	mov	x20, x19
	b.lo	LBB0_39
; %bb.40:
Lloh5:
	adrp	x20, _wmonths@GOTPAGE
Lloh6:
	ldr	x20, [x20, _wmonths@GOTPAGEOFF]
	ldr	x8, [x20]
	ldr	x1, [x8, #88]
	sub	x19, x19, #4
	cbz	x1, LBB0_43
; %bb.41:
	mov	x0, x19
	bl	_wcsstr
	cmp	x19, x0
	b.eq	LBB0_76
; %bb.42:
	ldr	x8, [x20]
LBB0_43:
	ldr	x1, [x8, #80]
	cbz	x1, LBB0_46
; %bb.44:
	mov	x0, x19
	bl	_wcsstr
	cmp	x19, x0
	b.eq	LBB0_77
; %bb.45:
	ldr	x8, [x20]
LBB0_46:
	ldr	x1, [x8, #72]
	cbz	x1, LBB0_49
; %bb.47:
	mov	x0, x19
	bl	_wcsstr
	cmp	x19, x0
	b.eq	LBB0_78
; %bb.48:
	ldr	x8, [x20]
LBB0_49:
	ldr	x1, [x8, #64]
	cbz	x1, LBB0_52
; %bb.50:
	mov	x0, x19
	bl	_wcsstr
	cmp	x19, x0
	b.eq	LBB0_79
; %bb.51:
	ldr	x8, [x20]
LBB0_52:
	ldr	x1, [x8, #56]
	cbz	x1, LBB0_55
; %bb.53:
	mov	x0, x19
	bl	_wcsstr
	cmp	x19, x0
	b.eq	LBB0_80
; %bb.54:
	ldr	x8, [x20]
LBB0_55:
	ldr	x1, [x8, #48]
	cbz	x1, LBB0_58
; %bb.56:
	mov	x0, x19
	bl	_wcsstr
	cmp	x19, x0
	b.eq	LBB0_81
; %bb.57:
	ldr	x8, [x20]
LBB0_58:
	ldr	x1, [x8, #40]
	cbz	x1, LBB0_61
; %bb.59:
	mov	x0, x19
	bl	_wcsstr
	cmp	x19, x0
	b.eq	LBB0_82
; %bb.60:
	ldr	x8, [x20]
LBB0_61:
	ldr	x1, [x8, #32]
	cbz	x1, LBB0_64
; %bb.62:
	mov	x0, x19
	bl	_wcsstr
	cmp	x19, x0
	b.eq	LBB0_83
; %bb.63:
	ldr	x8, [x20]
LBB0_64:
	ldr	x1, [x8, #24]
	cbz	x1, LBB0_67
; %bb.65:
	mov	x0, x19
	bl	_wcsstr
	cmp	x19, x0
	b.eq	LBB0_84
; %bb.66:
	ldr	x8, [x20]
LBB0_67:
	ldr	x1, [x8, #16]
	cbz	x1, LBB0_70
; %bb.68:
	mov	x0, x19
	bl	_wcsstr
	cmp	x19, x0
	b.eq	LBB0_85
; %bb.69:
	ldr	x8, [x20]
LBB0_70:
	ldr	x1, [x8, #8]
	cbz	x1, LBB0_73
; %bb.71:
	mov	x0, x19
	bl	_wcsstr
	cmp	x19, x0
	b.eq	LBB0_86
; %bb.72:
	ldr	x8, [x20]
LBB0_73:
	ldr	x1, [x8]
	cbz	x1, LBB0_75
; %bb.74:
	mov	x0, x19
	bl	_wcsstr
	cmp	x19, x0
	b.eq	LBB0_87
LBB0_75:
	mov	w0, #-1
	b	LBB0_88
LBB0_76:
	mov	w0, #11
	b	LBB0_88
LBB0_77:
	mov	w0, #10
	b	LBB0_88
LBB0_78:
	mov	w0, #9
	b	LBB0_88
LBB0_79:
	mov	w0, #8
	b	LBB0_88
LBB0_80:
	mov	w0, #7
	b	LBB0_88
LBB0_81:
	mov	w0, #6
	b	LBB0_88
LBB0_82:
	mov	w0, #5
	b	LBB0_88
LBB0_83:
	mov	w0, #4
	b	LBB0_88
LBB0_84:
	mov	w0, #3
	b	LBB0_88
LBB0_85:
	mov	w0, #2
	b	LBB0_88
LBB0_86:
	mov	w0, #1
	b	LBB0_88
LBB0_87:
	mov	w0, #0
LBB0_88:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_MB_CUR_MAX,4,2                 ; @MB_CUR_MAX
	.comm	_cmonths,8,3                    ; @cmonths
	.comm	_wmonths,8,3                    ; @wmonths
.subsections_via_symbols
