	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_isocal_date_to_ntp64           ## -- Begin function isocal_date_to_ntp64
	.p2align	4, 0x90
_isocal_date_to_ntp64:                  ## @isocal_date_to_ntp64
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movl	32(%rdi), %edi
	decl	%edi
	callq	_isocal_weeks_in_years
                                        ## kill: def $eax killed $eax def $rax
	addl	24(%r14), %eax
	leal	(,%rax,8), %ebx
	subl	%eax, %ebx
	movl	8(%r14), %edi
	movl	(%r14), %edx
	movl	4(%r14), %esi
	addl	16(%r14), %ebx
	callq	_ntpcal_etime_to_seconds
	movq	_DAY_NTP_STARTS@GOTPCREL(%rip), %rcx
	subl	(%rcx), %ebx
	addl	$-7, %ebx
	movl	%ebx, %edi
	movl	%eax, %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_ntpcal_dayjoin                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DAY_NTP_STARTS,4,2             ## @DAY_NTP_STARTS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_isocal_date_to_ntp64           ; -- Begin function isocal_date_to_ntp64
	.p2align	2
_isocal_date_to_ntp64:                  ; @isocal_date_to_ntp64
	.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
	mov	x19, x0
	ldr	w8, [x0, #32]
	sub	w0, w8, #1
	bl	_isocal_weeks_in_years
	ldr	w8, [x19, #24]
	add	w8, w0, w8
	lsl	w9, w8, #3
	sub	w20, w9, w8
	ldr	w21, [x19, #16]
	ldp	w1, w0, [x19, #4]
	ldr	w2, [x19]
	bl	_ntpcal_etime_to_seconds
	mov	x1, x0
Lloh0:
	adrp	x8, _DAY_NTP_STARTS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DAY_NTP_STARTS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	add	w9, w21, w20
	sub	w8, w9, w8
	sub	w0, w8, #7
	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
	b	_ntpcal_dayjoin
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DAY_NTP_STARTS,4,2             ; @DAY_NTP_STARTS
.subsections_via_symbols
