	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parsemonth
_parsemonth:                            ## @parsemonth
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %r14
	movq	%rdi, %rbx
	leaq	-40(%rbp), %rsi
	movl	$10, %edx
	callq	_strtol
	movq	%rax, %rcx
	movq	-40(%rbp), %rax
	cmpq	%rbx, %rax
	je	LBB0_11
## %bb.1:
	movl	(%r15), %edx
	movb	(%rax), %bl
	movl	$1, %eax
	cmpb	$79, %bl
	jle	LBB0_2
## %bb.4:
	cmpb	$80, %bl
	je	LBB0_8
## %bb.5:
	cmpb	$112, %bl
	je	LBB0_8
## %bb.6:
	cmpb	$102, %bl
	je	LBB0_7
	jmp	LBB0_16
LBB0_11:
	leaq	L_.str(%rip), %rsi
	leaq	-32(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_strptime
	testq	%rax, %rax
	jne	LBB0_14
## %bb.12:
	leaq	L_.str.1(%rip), %rsi
	leaq	-32(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_strptime
	testq	%rax, %rax
	je	LBB0_13
LBB0_14:
	movl	-32(%rbp), %eax
	incl	%eax
	movl	%eax, (%r14)
	jmp	LBB0_15
LBB0_2:
	testb	%bl, %bl
	je	LBB0_9
## %bb.3:
	cmpb	$70, %bl
	jne	LBB0_16
LBB0_7:
	xorl	%esi, %esi
	cmpl	%ecx, (%r14)
	setge	%sil
	addl	%esi, %edx
	jmp	LBB0_9
LBB0_8:
	xorl	%esi, %esi
	cmpl	%ecx, (%r14)
	setle	%sil
	subl	%esi, %edx
LBB0_9:
	leal	-13(%rcx), %esi
	cmpl	$-12, %esi
	jb	LBB0_16
## %bb.10:
	movl	%ecx, (%r14)
	movl	%edx, (%r15)
LBB0_15:
	xorl	%eax, %eax
LBB0_16:
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	movl	$1, %eax
	jmp	LBB0_16
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%B"

L_.str.1:                               ## @.str.1
	.asciz	"%b"

	.no_dead_strip	_parsemonth
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parsemonth
_parsemonth:                            ; @parsemonth
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x20, x2
	mov	x19, x1
	mov	x21, x0
	add	x1, sp, #8
	mov	w2, #10
	bl	_strtol
	ldr	x8, [sp, #8]
	cmp	x8, x21
	b.eq	LBB0_5
; %bb.1:
	ldr	w9, [x20]
	ldrb	w10, [x8]
	mov	w8, #1
	cmp	w10, #79
	b.le	LBB0_8
; %bb.2:
	cmp	w10, #80
	b.eq	LBB0_11
; %bb.3:
	cmp	w10, #112
	b.eq	LBB0_11
; %bb.4:
	cmp	w10, #102
	b.eq	LBB0_10
	b	LBB0_15
LBB0_5:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, sp
	mov	x0, x21
	bl	_strptime
	cbnz	x0, LBB0_7
; %bb.6:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, sp
	mov	x0, x21
	bl	_strptime
	cbz	x0, LBB0_13
LBB0_7:
	mov	w8, #0
	ldr	w9, [sp]
	add	w9, w9, #1
	str	w9, [x19]
	b	LBB0_15
LBB0_8:
	cbz	w10, LBB0_12
; %bb.9:
	cmp	w10, #70
	b.ne	LBB0_15
LBB0_10:
	ldr	w8, [x19]
	cmp	w8, w0
	cinc	w9, w9, ge
	b	LBB0_12
LBB0_11:
	ldr	w8, [x19]
	cmp	w8, w0
	cset	w8, le
	sub	w9, w9, w8
LBB0_12:
	sub	w8, w0, #13
	cmn	w8, #12
	b.hs	LBB0_14
LBB0_13:
	mov	w8, #1
	b	LBB0_15
LBB0_14:
	mov	w8, #0
	str	w0, [x19]
	str	w9, [x20]
LBB0_15:
	mov	x0, x8
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%B"

l_.str.1:                               ; @.str.1
	.asciz	"%b"

	.no_dead_strip	_parsemonth
.subsections_via_symbols
