	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_year_month_day
_parse_year_month_day:                  ## @parse_year_month_day
	.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	%rsi, %rdx
	movq	%rdi, -32(%rbp)
	movq	_SEC_PER_YEAR@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-32(%rbp), %rsi
	xorl	%edi, %edi
	callq	_parse_scaled_value
	movq	%rax, %rbx
	movq	-32(%rbp), %rdi
	addq	$4, %rdi
	movq	%rdi, -32(%rbp)
	movl	$45, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	_SEC_PER_MONTH@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	leaq	-32(%rbp), %r14
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movq	%rax, %rdx
	callq	_parse_scaled_value
	movq	%rax, %r15
	movq	-32(%rbp), %rbx
	leaq	4(%rbx), %rdi
	movq	%rdi, -32(%rbp)
	callq	_strlen
	cltq
	leaq	(%rbx,%rax,4), %rdx
	addq	$4, %rdx
	movq	_SEC_PER_DAY@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_parse_scaled_value
	jmp	LBB0_3
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_errno@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_BAD_TIME@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SEC_PER_YEAR,4,2               ## @SEC_PER_YEAR
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_errno,4,2                      ## @errno
	.comm	_BAD_TIME,8,3                   ## @BAD_TIME
	.comm	_SEC_PER_MONTH,4,2              ## @SEC_PER_MONTH
	.comm	_SEC_PER_DAY,4,2                ## @SEC_PER_DAY
	.no_dead_strip	_parse_year_month_day
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_year_month_day
_parse_year_month_day:                  ; @parse_year_month_day
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x2, x1
	str	x0, [sp, #8]
Lloh0:
	adrp	x8, _SEC_PER_YEAR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SEC_PER_YEAR@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
	add	x1, sp, #8
	mov	x0, #0
	bl	_parse_scaled_value
	mov	x19, x0
	ldr	x8, [sp, #8]
	add	x0, x8, #4
	str	x0, [sp, #8]
	mov	w1, #45
	bl	_strchr
	cbz	x0, LBB0_2
; %bb.1:
	mov	x2, x0
Lloh3:
	adrp	x8, _SEC_PER_MONTH@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SEC_PER_MONTH@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
	add	x1, sp, #8
	mov	x0, x19
	bl	_parse_scaled_value
	mov	x19, x0
	ldr	x8, [sp, #8]
	add	x20, x8, #4
	str	x20, [sp, #8]
	mov	x0, x20
	bl	_strlen
	add	x2, x20, w0, sxtw #2
Lloh6:
	adrp	x8, _SEC_PER_DAY@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SEC_PER_DAY@GOTPAGEOFF]
Lloh8:
	ldr	w3, [x8]
	add	x1, sp, #8
	mov	x0, x19
	bl	_parse_scaled_value
	b	LBB0_3
LBB0_2:
Lloh9:
	adrp	x8, _EINVAL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
Lloh12:
	adrp	x9, _errno@GOTPAGE
Lloh13:
	ldr	x9, [x9, _errno@GOTPAGEOFF]
Lloh14:
	str	w8, [x9]
Lloh15:
	adrp	x8, _BAD_TIME@GOTPAGE
Lloh16:
	ldr	x8, [x8, _BAD_TIME@GOTPAGEOFF]
Lloh17:
	ldr	x0, [x8]
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotStr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_SEC_PER_YEAR,4,2               ; @SEC_PER_YEAR
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_errno,4,2                      ; @errno
	.comm	_BAD_TIME,8,3                   ; @BAD_TIME
	.comm	_SEC_PER_MONTH,4,2              ; @SEC_PER_MONTH
	.comm	_SEC_PER_DAY,4,2                ; @SEC_PER_DAY
	.no_dead_strip	_parse_year_month_day
.subsections_via_symbols
