	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function parse_duration
LCPI0_0:
	.quad	0x40f5180000000000              ## double 86400
LCPI0_1:
	.quad	0x40ac200000000000              ## double 3600
LCPI0_2:
	.quad	0x404e000000000000              ## double 60
LCPI0_3:
	.quad	0x4197d78400000000              ## double 1.0E+8
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_parse_duration:                        ## @parse_duration
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	leaq	-32(%rbp), %rsi
	callq	_strtod
	xorpd	%xmm1, %xmm1
	ucomisd	%xmm1, %xmm0
	movq	-32(%rbp), %r14
	jne	LBB0_3
	jp	LBB0_3
## %bb.1:
	cmpq	%rbx, %r14
	jne	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rsi
	movl	$125, %edi
	movsd	%xmm0, -24(%rbp)                ## 8-byte Spill
	callq	_errx
	movsd	-24(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
LBB0_3:
	testq	%r14, %r14
	je	LBB0_16
## %bb.4:
	movb	(%r14), %al
	testb	%al, %al
	je	LBB0_16
## %bb.5:
	cmpb	$0, 1(%r14)
	je	LBB0_7
## %bb.6:
	movq	_EX_USAGE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movsd	%xmm0, -24(%rbp)                ## 8-byte Spill
	callq	_errx
	movsd	-24(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	movb	(%r14), %al
LBB0_7:
	movsbl	%al, %eax
	addl	$-100, %eax
	cmpl	$15, %eax
	ja	LBB0_12
## %bb.8:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_11:
	mulsd	LCPI0_0(%rip), %xmm0
	jmp	LBB0_13
LBB0_12:
	leaq	L_.str(%rip), %rsi
	movl	$125, %edi
	movsd	%xmm0, -24(%rbp)                ## 8-byte Spill
	callq	_errx
	movsd	-24(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	jmp	LBB0_13
LBB0_10:
	mulsd	LCPI0_1(%rip), %xmm0
	jmp	LBB0_13
LBB0_9:
	mulsd	LCPI0_2(%rip), %xmm0
LBB0_13:
	xorpd	%xmm1, %xmm1
	ucomisd	%xmm0, %xmm1
	ja	LBB0_15
## %bb.14:
	ucomisd	LCPI0_3(%rip), %xmm0
	jb	LBB0_16
LBB0_15:
	leaq	L_.str(%rip), %rsi
	movl	$125, %edi
	movsd	%xmm0, -24(%rbp)                ## 8-byte Spill
	callq	_errx
	movsd	-24(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
LBB0_16:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
LJTI0_0:
	.long	L0_0_set_11
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_10
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_9
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_13
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"invalid duration"

	.comm	_EX_USAGE,4,2                   ## @EX_USAGE
	.no_dead_strip	_parse_duration
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_duration
_parse_duration:                        ; @parse_duration
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	d9, d8, [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 b8, -40
	.cfi_offset b9, -48
	mov	x19, x0
	add	x1, sp, #8
	bl	_strtod
	fmov	d8, d0
	ldr	x20, [sp, #8]
	fcmp	d0, #0.0
	ccmp	x20, x19, #0, eq
	b.ne	LBB0_2
; %bb.1:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #125
	bl	_errx
LBB0_2:
	cbz	x20, LBB0_16
; %bb.3:
	ldrb	w8, [x20]
	cbz	w8, LBB0_16
; %bb.4:
	ldrb	w9, [x20, #1]
	cbz	w9, LBB0_6
; %bb.5:
Lloh2:
	adrp	x8, _EX_USAGE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EX_USAGE@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	bl	_errx
	ldrb	w8, [x20]
LBB0_6:
	sxtb	w8, w8
	sub	w8, w8, #100
	cmp	w8, #15
	b.hi	LBB0_9
; %bb.7:
Lloh7:
	adrp	x9, lJTI0_0@PAGE
Lloh8:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_8
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_8:
	mov	x8, #26388279066624
	movk	x8, #16629, lsl #48
	b	LBB0_12
LBB0_9:
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #125
	bl	_errx
	b	LBB0_13
LBB0_10:
	mov	x8, #35184372088832
	movk	x8, #16556, lsl #48
	b	LBB0_12
LBB0_11:
	mov	x8, #4633641066610819072
LBB0_12:
	fmov	d0, x8
	fmul	d8, d8, d0
LBB0_13:
	fcmp	d8, #0.0
	b.mi	LBB0_15
; %bb.14:
	mov	x8, #236961935654912
	movk	x8, #16791, lsl #48
	fmov	d0, x8
	fcmp	d8, d0
	b.lt	LBB0_16
LBB0_15:
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #125
	bl	_errx
LBB0_16:
	fmov	d0, d8
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #16]               ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_8-LBB0_8)>>2
	.byte	(LBB0_9-LBB0_8)>>2
	.byte	(LBB0_9-LBB0_8)>>2
	.byte	(LBB0_9-LBB0_8)>>2
	.byte	(LBB0_10-LBB0_8)>>2
	.byte	(LBB0_9-LBB0_8)>>2
	.byte	(LBB0_9-LBB0_8)>>2
	.byte	(LBB0_9-LBB0_8)>>2
	.byte	(LBB0_9-LBB0_8)>>2
	.byte	(LBB0_11-LBB0_8)>>2
	.byte	(LBB0_9-LBB0_8)>>2
	.byte	(LBB0_9-LBB0_8)>>2
	.byte	(LBB0_9-LBB0_8)>>2
	.byte	(LBB0_9-LBB0_8)>>2
	.byte	(LBB0_9-LBB0_8)>>2
	.byte	(LBB0_13-LBB0_8)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"invalid duration"

	.comm	_EX_USAGE,4,2                   ; @EX_USAGE
	.no_dead_strip	_parse_duration
.subsections_via_symbols
