	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tod
_tod:                                   ## @tod
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_sc_token@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	callq	_atoi
	movl	%eax, %r12d
	movl	(%r13), %edi
	callq	_strlen
	movl	%eax, %ebx
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_token
	movq	_DOT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.1:
	movq	_NUMBER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_expect
	movl	(%r13), %edi
	callq	_atoi
	movl	%eax, %r15d
	cmpl	$60, %eax
	jl	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rdi
	callq	_panic
LBB0_3:
	xorl	%eax, %eax
	callq	_token
	jmp	LBB0_8
LBB0_4:
	cmpl	$4, %ebx
	jne	LBB0_8
## %bb.5:
	movslq	%r12d, %rax
	imulq	$1374389535, %rax, %rbx         ## imm = 0x51EB851F
	movq	%rbx, %rax
	shrq	$63, %rax
	sarq	$37, %rbx
	addl	%eax, %ebx
	imull	$100, %ebx, %eax
	subl	%eax, %r12d
	cmpl	$60, %r12d
	jl	LBB0_7
## %bb.6:
	leaq	L_.str(%rip), %rdi
	callq	_panic
LBB0_7:
	movl	%r12d, %r15d
	movl	%ebx, %r12d
LBB0_8:
	movq	_sc_tokid@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	movq	_AM@GOTPCREL(%rip), %rdx
	movq	_PM@GOTPCREL(%rip), %r13
	movq	(%r13), %rcx
	cmpq	(%rdx), %rax
	je	LBB0_10
## %bb.9:
	cmpq	%rcx, %rax
	je	LBB0_10
## %bb.13:
	cmpl	$24, %r12d
	jl	LBB0_15
## %bb.14:
	leaq	L_.str(%rip), %rdi
	callq	_panic
	jmp	LBB0_15
LBB0_10:
	cmpl	$13, %r12d
	jl	LBB0_12
## %bb.11:
	leaq	L_.str(%rip), %rdi
	callq	_panic
	movq	(%rbx), %rax
	movq	(%r13), %rcx
LBB0_12:
	movq	%rbx, %r13
	leal	12(%r12), %ebx
	xorl	%edx, %edx
	cmpl	$12, %r12d
	movl	%r12d, %esi
	cmovel	%edx, %esi
	cmovel	%r12d, %ebx
	cmpq	%rcx, %rax
	cmovnel	%esi, %ebx
	xorl	%eax, %eax
	callq	_token
	movl	%ebx, %r12d
	movq	%r13, %rbx
LBB0_15:
	movq	(%rbx), %rax
	movq	_EOF@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_18
## %bb.16:
	movq	_PLUS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_18
## %bb.17:
	movq	_MINUS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_20
LBB0_18:
	cmpl	%r12d, (%r14)
	jle	LBB0_20
## %bb.19:
	incl	8(%r14)
	incl	12(%r14)
LBB0_20:
	movl	%r12d, (%r14)
	movl	%r15d, 4(%r14)
	cmpl	$24, %r12d
	jne	LBB0_22
## %bb.21:
	movl	$0, (%r14)
	incl	8(%r14)
LBB0_22:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_sc_token,4,2                   ## @sc_token
	.comm	_DOT,8,3                        ## @DOT
	.comm	_NUMBER,4,2                     ## @NUMBER
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"garbled time"

	.comm	_sc_tokid,8,3                   ## @sc_tokid
	.comm	_AM,8,3                         ## @AM
	.comm	_PM,8,3                         ## @PM
	.comm	_EOF,8,3                        ## @EOF
	.comm	_PLUS,8,3                       ## @PLUS
	.comm	_MINUS,8,3                      ## @MINUS
	.no_dead_strip	_tod
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tod
_tod:                                   ; @tod
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
Lloh0:
	adrp	x22, _sc_token@GOTPAGE
Lloh1:
	ldr	x22, [x22, _sc_token@GOTPAGEOFF]
	ldr	w0, [x22]
	bl	_atoi
	mov	x20, x0
	ldr	w0, [x22]
	bl	_strlen
	mov	x21, x0
	bl	_token
Lloh2:
	adrp	x8, _DOT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _DOT@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_4
; %bb.1:
Lloh5:
	adrp	x8, _NUMBER@GOTPAGE
Lloh6:
	ldr	x8, [x8, _NUMBER@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	bl	_expect
	ldr	w0, [x22]
	bl	_atoi
	mov	x21, x0
	cmp	w0, #60
	b.lt	LBB0_3
; %bb.2:
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	bl	_panic
LBB0_3:
	bl	_token
	b	LBB0_9
LBB0_4:
	cmp	w21, #4
	b.ne	LBB0_8
; %bb.5:
	mov	w8, #34079
	movk	w8, #20971, lsl #16
	smull	x8, w20, w8
	lsr	x9, x8, #63
	asr	x8, x8, #37
	add	w22, w8, w9
	mov	w8, #100
	msub	w21, w22, w8, w20
	cmp	w21, #60
	b.lt	LBB0_7
; %bb.6:
Lloh10:
	adrp	x0, l_.str@PAGE
Lloh11:
	add	x0, x0, l_.str@PAGEOFF
	bl	_panic
LBB0_7:
	mov	x20, x22
	b	LBB0_9
LBB0_8:
	mov	w21, #0
LBB0_9:
Lloh12:
	adrp	x22, _sc_tokid@GOTPAGE
Lloh13:
	ldr	x22, [x22, _sc_tokid@GOTPAGEOFF]
	ldr	x8, [x22]
Lloh14:
	adrp	x9, _AM@GOTPAGE
Lloh15:
	ldr	x9, [x9, _AM@GOTPAGEOFF]
Lloh16:
	ldr	x10, [x9]
Lloh17:
	adrp	x23, _PM@GOTPAGE
Lloh18:
	ldr	x23, [x23, _PM@GOTPAGEOFF]
	ldr	x9, [x23]
	cmp	x8, x10
	ccmp	x8, x9, #4, ne
	b.ne	LBB0_13
; %bb.10:
	cmp	w20, #13
	b.lt	LBB0_12
; %bb.11:
Lloh19:
	adrp	x0, l_.str@PAGE
Lloh20:
	add	x0, x0, l_.str@PAGEOFF
	bl	_panic
	ldr	x8, [x22]
	ldr	x9, [x23]
LBB0_12:
	cmp	w20, #12
	csel	w10, wzr, w20, eq
	add	w11, w20, #12
	csel	w11, w20, w11, eq
	cmp	x8, x9
	csel	w20, w11, w10, eq
	bl	_token
	b	LBB0_15
LBB0_13:
	cmp	w20, #24
	b.lt	LBB0_15
; %bb.14:
Lloh21:
	adrp	x0, l_.str@PAGE
Lloh22:
	add	x0, x0, l_.str@PAGEOFF
	bl	_panic
LBB0_15:
	ldr	x8, [x22]
Lloh23:
	adrp	x9, _EOF@GOTPAGE
Lloh24:
	ldr	x9, [x9, _EOF@GOTPAGEOFF]
Lloh25:
	ldr	x9, [x9]
Lloh26:
	adrp	x10, _PLUS@GOTPAGE
Lloh27:
	ldr	x10, [x10, _PLUS@GOTPAGEOFF]
Lloh28:
	ldr	x10, [x10]
Lloh29:
	adrp	x11, _MINUS@GOTPAGE
Lloh30:
	ldr	x11, [x11, _MINUS@GOTPAGEOFF]
Lloh31:
	ldr	x11, [x11]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	ccmp	x8, x11, #4, ne
	b.ne	LBB0_18
; %bb.16:
	ldr	w8, [x19]
	cmp	w8, w20
	b.le	LBB0_18
; %bb.17:
	ldr	d0, [x19, #8]
	movi.2s	v1, #1
	add.2s	v0, v0, v1
	str	d0, [x19, #8]
LBB0_18:
	stp	w20, w21, [x19]
	cmp	w20, #24
	b.ne	LBB0_20
; %bb.19:
	str	wzr, [x19]
	ldr	w8, [x19, #8]
	add	w8, w8, #1
	str	w8, [x19, #8]
LBB0_20:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_sc_token,4,2                   ; @sc_token
	.comm	_DOT,8,3                        ; @DOT
	.comm	_NUMBER,4,2                     ; @NUMBER
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"garbled time"

	.comm	_sc_tokid,8,3                   ; @sc_tokid
	.comm	_AM,8,3                         ; @AM
	.comm	_PM,8,3                         ; @PM
	.comm	_EOF,8,3                        ; @EOF
	.comm	_PLUS,8,3                       ; @PLUS
	.comm	_MINUS,8,3                      ; @MINUS
	.no_dead_strip	_tod
.subsections_via_symbols
