	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function __wceex_offtime
LCPI0_0:
	.quad	-8                              ## 0xfffffffffffffff8
	.quad	-8                              ## 0xfffffffffffffff8
	.section	__TEXT,__text,regular,pure_instructions
	.globl	___wceex_offtime
	.p2align	4, 0x90
___wceex_offtime:                       ## @__wceex_offtime
	.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	(%rdi), %rax
	movq	_SECS_PER_DAY@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdi
	movq	%rax, %rcx
	orq	%rdi, %rcx
	shrq	$32, %rcx
	je	LBB0_1
## %bb.2:
	cqto
	idivq	%rdi
	movq	%rax, %r14
	jmp	LBB0_3
LBB0_1:
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%edi
                                        ## kill: def $edx killed $edx def $rdx
	movl	%eax, %r14d
LBB0_3:
	movq	%rdx, %rcx
	addq	%rsi, %rcx
	jns	LBB0_18
## %bb.4:
	addq	%rdi, %rdx
	addq	%rsi, %rdx
	xorl	%eax, %eax
	testq	%rdx, %rdx
	cmovgq	%rdx, %rax
	movq	%rdx, %rsi
	shrq	$63, %rsi
	addq	%rsi, %rdx
	subq	%rdx, %rax
	movq	%rax, %rdx
	orq	%rdi, %rdx
	shrq	$32, %rdx
	je	LBB0_5
## %bb.6:
	xorl	%edx, %edx
	divq	%rdi
	jmp	LBB0_7
LBB0_5:
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%edi
                                        ## kill: def $eax killed $eax def $rax
LBB0_7:
	leaq	(%rsi,%rax), %r8
	incq	%r8
	cmpq	$4, %r8
	jb	LBB0_16
## %bb.8:
	movq	%r8, %rdx
	andq	$-4, %rdx
	movq	%r14, %xmm0
	leaq	-4(%rdx), %rax
	movq	%rax, %rsi
	shrq	$2, %rsi
	incq	%rsi
	movl	%esi, %ebx
	andl	$7, %ebx
	cmpq	$28, %rax
	jae	LBB0_10
## %bb.9:
	pxor	%xmm1, %xmm1
	jmp	LBB0_12
LBB0_10:
	andq	$-8, %rsi
	pxor	%xmm1, %xmm1
	xorl	%eax, %eax
	movdqa	LCPI0_0(%rip), %xmm2            ## xmm2 = [18446744073709551608,18446744073709551608]
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	paddq	%xmm2, %xmm0
	paddq	%xmm2, %xmm1
	addq	$8, %rax
	cmpq	%rsi, %rax
	jne	LBB0_11
LBB0_12:
	movq	%rdx, %rsi
	imulq	%rdi, %rsi
	testq	%rbx, %rbx
	je	LBB0_15
## %bb.13:
	xorl	%eax, %eax
	pcmpeqd	%xmm2, %xmm2
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	paddq	%xmm2, %xmm0
	paddq	%xmm2, %xmm1
	incq	%rax
	cmpq	%rbx, %rax
	jne	LBB0_14
LBB0_15:
	paddq	%xmm1, %xmm0
	addq	%rsi, %rcx
	pshufd	$238, %xmm0, %xmm1              ## xmm1 = xmm0[2,3,2,3]
	paddq	%xmm0, %xmm1
	movq	%xmm1, %r14
	cmpq	%rdx, %r8
	je	LBB0_18
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	decq	%r14
	addq	%rdi, %rcx
	js	LBB0_16
	jmp	LBB0_18
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_18 Depth=1
	subq	%rdi, %rcx
	incq	%r14
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	cmpq	%rdi, %rcx
	jge	LBB0_17
## %bb.19:
	movq	_SECS_PER_HOUR@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%rcx, %rax
	orq	%rsi, %rax
	shrq	$32, %rax
	je	LBB0_20
## %bb.21:
	movq	%rcx, %rax
	cqto
	idivq	%rsi
	jmp	LBB0_22
LBB0_20:
	movl	%ecx, %eax
	xorl	%edx, %edx
	divl	%esi
                                        ## kill: def $edx killed $edx def $rdx
                                        ## kill: def $eax killed $eax def $rax
LBB0_22:
	movl	%eax, ___wceex_offtime.tm(%rip)
	movq	_SECS_PER_MIN@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	%rdx, %rax
	orq	%rcx, %rax
	shrq	$32, %rax
	je	LBB0_23
## %bb.24:
	movq	%rdx, %rax
	cqto
	idivq	%rcx
	jmp	LBB0_25
LBB0_23:
	movl	%edx, %eax
	xorl	%edx, %edx
	divl	%ecx
                                        ## kill: def $edx killed $edx def $rdx
                                        ## kill: def $eax killed $eax def $rax
LBB0_25:
	movl	%eax, ___wceex_offtime.tm+4(%rip)
	movl	%edx, ___wceex_offtime.tm+8(%rip)
	movq	_EPOCH_WDAY@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	addq	%r14, %rax
	movq	_DAYS_PER_WEEK@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rax, %rdx
	orq	%rcx, %rdx
	shrq	$32, %rdx
	je	LBB0_26
## %bb.27:
	cqto
	idivq	%rcx
	jmp	LBB0_28
LBB0_26:
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%ecx
                                        ## kill: def $edx killed $edx def $rdx
LBB0_28:
	addl	%edx, %ecx
	testl	%edx, %edx
	cmovnsl	%edx, %ecx
	movl	%ecx, ___wceex_offtime.tm+12(%rip)
	movq	_EPOCH_YEAR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	testq	%r14, %r14
	js	LBB0_29
## %bb.31:
	movl	%ebx, %edi
	callq	_isleap
	movq	_year_lengths@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_33:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rcx
	cltq
	movq	(%rcx,%rax,8), %rcx
	cmpq	%rcx, %r14
	jl	LBB0_34
## %bb.32:                              ##   in Loop: Header=BB0_33 Depth=1
	subq	%rcx, %r14
	incl	%ebx
	movl	%ebx, %edi
	callq	_isleap
	jmp	LBB0_33
LBB0_29:
	movq	_year_lengths@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_30:                                ## =>This Inner Loop Header: Depth=1
	decl	%ebx
	movl	%ebx, %edi
	callq	_isleap
	movq	(%r15), %rcx
	cltq
	addq	(%rcx,%rax,8), %r14
	js	LBB0_30
LBB0_34:
	movslq	%ebx, %rcx
	movq	_TM_YEAR_BASE@GOTPCREL(%rip), %rdx
	subq	(%rdx), %rcx
	movq	%rcx, ___wceex_offtime.tm+48(%rip)
	movl	%r14d, ___wceex_offtime.tm+16(%rip)
	movq	_mon_lengths@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rcx,%rax,8), %rcx
	movslq	(%rcx), %rdx
	xorl	%eax, %eax
	cmpq	%rdx, %r14
	jl	LBB0_37
	.p2align	4, 0x90
LBB0_35:                                ## =>This Inner Loop Header: Depth=1
	subq	%rdx, %r14
	movslq	4(%rcx,%rax,4), %rdx
	incq	%rax
	cmpq	%rdx, %r14
	jge	LBB0_35
LBB0_37:
	movq	%rax, ___wceex_offtime.tm+24(%rip)
	leaq	___wceex_offtime.tm(%rip), %rax
	incl	%r14d
	movl	%r14d, ___wceex_offtime.tm+32(%rip)
	movq	$0, ___wceex_offtime.tm+40(%rip)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,___wceex_offtime.tm,56,3 ## @__wceex_offtime.tm
	.comm	_SECS_PER_DAY,8,3               ## @SECS_PER_DAY
	.comm	_SECS_PER_HOUR,8,3              ## @SECS_PER_HOUR
	.comm	_SECS_PER_MIN,8,3               ## @SECS_PER_MIN
	.comm	_EPOCH_WDAY,8,3                 ## @EPOCH_WDAY
	.comm	_DAYS_PER_WEEK,8,3              ## @DAYS_PER_WEEK
	.comm	_EPOCH_YEAR,4,2                 ## @EPOCH_YEAR
	.comm	_year_lengths,8,3               ## @year_lengths
	.comm	_TM_YEAR_BASE,8,3               ## @TM_YEAR_BASE
	.comm	_mon_lengths,8,3                ## @mon_lengths
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___wceex_offtime                ; -- Begin function __wceex_offtime
	.p2align	2
___wceex_offtime:                       ; @__wceex_offtime
	.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
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _SECS_PER_DAY@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SECS_PER_DAY@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	sdiv	x21, x8, x9
	msub	x10, x21, x9, x8
	adds	x8, x10, x1
	b.pl	LBB0_7
; %bb.1:
	add	x10, x9, x10
	add	x10, x10, x1
	cmp	x10, #0
	csel	x11, x10, xzr, gt
	lsr	x12, x10, #63
	add	x10, x12, x10
	sub	x10, x11, x10
	udiv	x10, x10, x9
	add	x10, x12, x10
	add	x10, x10, #1
	cmp	x10, #8
	b.lo	LBB0_5
; %bb.2:
	mov	x12, #0
	and	x11, x10, #0xfffffffffffffff8
	madd	x8, x11, x9, x8
	movi.2d	v0, #0000000000000000
	movi.2d	v1, #0000000000000000
	mov.d	v1[0], x21
	movi.2d	v2, #0xffffffffffffffff
	movi.2d	v3, #0000000000000000
	movi.2d	v4, #0000000000000000
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	add.2d	v1, v1, v2
	add.2d	v0, v0, v2
	add.2d	v3, v3, v2
	add.2d	v4, v4, v2
	add	x12, x12, #8
	cmp	x12, x11
	b.ne	LBB0_3
; %bb.4:
	add.2d	v0, v0, v1
	add.2d	v0, v3, v0
	add.2d	v0, v4, v0
	addp.2d	d0, v0
	fmov	x21, d0
	cmp	x10, x11
	b.eq	LBB0_7
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	add	x8, x8, x9
	sub	x21, x21, #1
	tbnz	x8, #63, LBB0_5
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	x21, x21, #1
	sub	x8, x8, x9
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	cmp	x8, x9
	b.ge	LBB0_6
; %bb.8:
Lloh3:
	adrp	x9, _SECS_PER_HOUR@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SECS_PER_HOUR@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	sdiv	x10, x8, x9
Lloh6:
	adrp	x19, ___wceex_offtime.tm@PAGE
Lloh7:
	add	x19, x19, ___wceex_offtime.tm@PAGEOFF
	msub	x8, x10, x9, x8
Lloh8:
	adrp	x9, _SECS_PER_MIN@GOTPAGE
Lloh9:
	ldr	x9, [x9, _SECS_PER_MIN@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	sdiv	x11, x8, x9
	stp	w10, w11, [x19]
	msub	w8, w11, w9, w8
Lloh11:
	adrp	x9, _EPOCH_WDAY@GOTPAGE
Lloh12:
	ldr	x9, [x9, _EPOCH_WDAY@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
Lloh14:
	adrp	x10, _DAYS_PER_WEEK@GOTPAGE
Lloh15:
	ldr	x10, [x10, _DAYS_PER_WEEK@GOTPAGEOFF]
	add	x9, x9, x21
Lloh16:
	ldr	x10, [x10]
	sdiv	x11, x9, x10
	msub	w9, w11, w10, w9
	add	w10, w9, w10
	cmp	w9, #0
	csel	w9, w10, w9, lt
	stp	w8, w9, [x19, #8]
Lloh17:
	adrp	x8, _EPOCH_YEAR@GOTPAGE
Lloh18:
	ldr	x8, [x8, _EPOCH_YEAR@GOTPAGEOFF]
Lloh19:
	ldr	w20, [x8]
	tbnz	x21, #63, LBB0_12
; %bb.9:
	mov	x0, x20
	bl	_isleap
                                        ; kill: def $w0 killed $w0 def $x0
Lloh20:
	adrp	x22, _year_lengths@GOTPAGE
Lloh21:
	ldr	x22, [x22, _year_lengths@GOTPAGEOFF]
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22]
	ldr	x8, [x8, w0, sxtw #3]
	cmp	x21, x8
	b.lt	LBB0_14
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	add	w20, w20, #1
	sub	x21, x21, x8
	mov	x0, x20
	bl	_isleap
                                        ; kill: def $w0 killed $w0 def $x0
	b	LBB0_10
LBB0_12:
Lloh22:
	adrp	x22, _year_lengths@GOTPAGE
Lloh23:
	ldr	x22, [x22, _year_lengths@GOTPAGEOFF]
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	sub	w20, w20, #1
	mov	x0, x20
	bl	_isleap
                                        ; kill: def $w0 killed $w0 def $x0
	ldr	x8, [x22]
	ldr	x8, [x8, w0, sxtw #3]
	adds	x21, x8, x21
	b.mi	LBB0_13
LBB0_14:
	sxtw	x8, w0
	sxtw	x9, w20
Lloh24:
	adrp	x10, _TM_YEAR_BASE@GOTPAGE
Lloh25:
	ldr	x10, [x10, _TM_YEAR_BASE@GOTPAGEOFF]
Lloh26:
	ldr	x10, [x10]
	sub	x9, x9, x10
Lloh27:
	adrp	x10, ___wceex_offtime.tm@PAGE+16
Lloh28:
	add	x10, x10, ___wceex_offtime.tm@PAGEOFF+16
	str	x9, [x10, #32]
Lloh29:
	adrp	x9, _mon_lengths@GOTPAGE
Lloh30:
	ldr	x9, [x9, _mon_lengths@GOTPAGEOFF]
	str	w21, [x10]
Lloh31:
	ldr	x9, [x9]
	ldr	x10, [x9, x8, lsl #3]
	ldrsw	x9, [x10]
	cmp	x21, x9
	b.ge	LBB0_16
; %bb.15:
	mov	x8, #0
	b	LBB0_18
LBB0_16:
	mov	x8, #0
	add	x10, x10, #4
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	sub	x21, x21, x9
	ldrsw	x9, [x10, x8, lsl #2]
	add	x8, x8, #1
	cmp	x21, x9
	b.ge	LBB0_17
LBB0_18:
	str	x8, [x19, #24]
	add	w8, w21, #1
	str	w8, [x19, #32]
	str	xzr, [x19, #40]
	mov	x0, x19
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,___wceex_offtime.tm,56,3 ; @__wceex_offtime.tm
	.comm	_SECS_PER_DAY,8,3               ; @SECS_PER_DAY
	.comm	_SECS_PER_HOUR,8,3              ; @SECS_PER_HOUR
	.comm	_SECS_PER_MIN,8,3               ; @SECS_PER_MIN
	.comm	_EPOCH_WDAY,8,3                 ; @EPOCH_WDAY
	.comm	_DAYS_PER_WEEK,8,3              ; @DAYS_PER_WEEK
	.comm	_EPOCH_YEAR,4,2                 ; @EPOCH_YEAR
	.comm	_year_lengths,8,3               ; @year_lengths
	.comm	_TM_YEAR_BASE,8,3               ; @TM_YEAR_BASE
	.comm	_mon_lengths,8,3                ; @mon_lengths
.subsections_via_symbols
