	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function trailname_to_tstamp
_trailname_to_tstamp:                   ## @trailname_to_tstamp
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	%rsp, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_TIMESTAMP_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	incl	%ebx
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	movl	$0, (%r14)
	movq	%r15, %rdi
	movl	$46, %esi
	callq	_strchr
	movl	$1, %r15d
	testq	%rax, %rax
	je	LBB0_9
## %bb.1:
	incq	%rax
	movq	%r12, %rdi
	movq	%rax, %rsi
	movl	%ebx, %edx
	callq	_strlcpy
	movq	%r12, %rdi
	callq	_strlen
	movq	%rax, %rbx
	movq	_POSTFIX_LEN@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	jne	LBB0_9
## %bb.2:
	leaq	-80(%rbp), %rdi
	movl	$32, %esi
	callq	_bzero
	addq	%r12, %rbx
	addq	$-2, %rbx
	movq	%rbx, %rdi
	callq	_atol
	movl	%eax, -80(%rbp)
	cmpl	$60, %eax
	ja	LBB0_9
## %bb.3:
	movb	$0, (%rbx)
	addq	$-2, %rbx
	movq	%rbx, %rdi
	callq	_atol
	movl	%eax, -76(%rbp)
	cmpl	$59, %eax
	ja	LBB0_9
## %bb.4:
	movb	$0, (%rbx)
	addq	$-2, %rbx
	movq	%rbx, %rdi
	callq	_atol
	movl	%eax, -72(%rbp)
	cmpl	$23, %eax
	ja	LBB0_9
## %bb.5:
	movb	$0, (%rbx)
	addq	$-2, %rbx
	movq	%rbx, %rdi
	callq	_atol
	movl	%eax, -68(%rbp)
	addl	$-32, %eax
	cmpl	$-31, %eax
	jb	LBB0_9
## %bb.6:
	movb	$0, (%rbx)
	addq	$-2, %rbx
	movq	%rbx, %rdi
	callq	_atol
	decl	%eax
	movl	%eax, -64(%rbp)
	cmpl	$11, %eax
	ja	LBB0_9
## %bb.7:
	movb	$0, (%rbx)
	addq	$-4, %rbx
	movq	%rbx, %rdi
	callq	_atol
	addq	$-1900, %rax                    ## imm = 0xF894
	movq	%rax, -56(%rbp)
	js	LBB0_9
## %bb.8:
	leaq	-80(%rbp), %rdi
	callq	_timegm
	movl	%eax, (%r14)
	xorl	%r15d, %r15d
LBB0_9:
	movq	%r13, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_11
## %bb.10:
	movl	%r15d, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_TIMESTAMP_LEN,4,2              ## @TIMESTAMP_LEN
	.comm	_POSTFIX_LEN,8,3                ## @POSTFIX_LEN
	.no_dead_strip	_trailname_to_tstamp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function trailname_to_tstamp
_trailname_to_tstamp:                   ; @trailname_to_tstamp
	.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
	sub	sp, sp, #48
	mov	x19, x1
	mov	x22, sp
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
Lloh3:
	adrp	x8, _TIMESTAMP_LEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TIMESTAMP_LEN@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	add	w21, w8, #1
	mov	x9, x21
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x21, #15
	and	x9, x9, #0x1fffffff0
	sub	x20, x8, x9
	mov	sp, x20
	str	wzr, [x1]
	mov	w1, #46
	bl	_strchr
	cbz	x0, LBB0_8
; %bb.1:
	add	x1, x0, #1
	mov	x0, x20
	mov	x2, x21
	bl	_strlcpy
	mov	x0, x20
	bl	_strlen
Lloh8:
	adrp	x8, _POSTFIX_LEN@GOTPAGE
Lloh9:
	ldr	x8, [x8, _POSTFIX_LEN@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_8
; %bb.2:
	mov	x21, x0
	sub	x0, x29, #72
	mov	w1, #32
	bl	_bzero
	add	x8, x20, x21
	sub	x20, x8, #2
	mov	x0, x20
	bl	_atol
	stur	w0, [x29, #-72]
	cmp	w0, #60
	b.hi	LBB0_8
; %bb.3:
	strb	wzr, [x20], #-2
	mov	x0, x20
	bl	_atol
	stur	w0, [x29, #-68]
	cmp	w0, #59
	b.hi	LBB0_8
; %bb.4:
	strb	wzr, [x20], #-2
	mov	x0, x20
	bl	_atol
	stur	w0, [x29, #-64]
	cmp	w0, #23
	b.hi	LBB0_8
; %bb.5:
	strb	wzr, [x20], #-2
	mov	x0, x20
	bl	_atol
	stur	w0, [x29, #-60]
	sub	w8, w0, #32
	cmn	w8, #31
	b.lo	LBB0_8
; %bb.6:
	strb	wzr, [x20], #-2
	mov	x0, x20
	bl	_atol
	sub	w8, w0, #1
	stur	w8, [x29, #-56]
	cmp	w8, #11
	b.hi	LBB0_8
; %bb.7:
	strb	wzr, [x20], #-4
	mov	x0, x20
	bl	_atol
	subs	x8, x0, #1900
	stur	x8, [x29, #-48]
	b.pl	LBB0_11
LBB0_8:
	mov	w0, #1
LBB0_9:
	mov	sp, x22
	ldur	x8, [x29, #-40]
Lloh11:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh12:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_12
; %bb.10:
	sub	sp, x29, #32
	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
LBB0_11:
	sub	x0, x29, #72
	bl	_timegm
	mov	x8, x0
	mov	w0, #0
	str	w8, [x19]
	b	LBB0_9
LBB0_12:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_TIMESTAMP_LEN,4,2              ; @TIMESTAMP_LEN
	.comm	_POSTFIX_LEN,8,3                ; @POSTFIX_LEN
	.no_dead_strip	_trailname_to_tstamp
.subsections_via_symbols
