	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_leapsec_raw                    ## -- Begin function leapsec_raw
	.p2align	4, 0x90
_leapsec_raw:                           ## @leapsec_raw
	.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	%r12
	pushq	%rbx
	subq	$64, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r14d
	movl	%edx, %r15d
	movq	%rsi, %r12
	movq	%rdi, %rbx
	cmpq	$0, 8(%rdi)
	je	LBB0_4
## %bb.1:
	movq	(%rbx), %rsi
	addq	$4, %rsi
	movq	%r12, %rdi
	callq	_ucmpv64
	testl	%eax, %eax
	je	LBB0_10
## %bb.2:
	testl	%eax, %eax
	js	LBB0_11
LBB0_3:
	je	LBB0_13
LBB0_4:
	leaq	-64(%rbp), %rdi
	movq	%r12, %rsi
	callq	_ntpcal_ntp64_to_date
	cmpl	$1, -64(%rbp)
	jne	LBB0_9
## %bb.5:
	cmpq	$0, -40(%rbp)
	jne	LBB0_9
## %bb.6:
	cmpq	$0, -48(%rbp)
	jne	LBB0_9
## %bb.7:
	cmpq	$0, -56(%rbp)
	jne	LBB0_9
## %bb.8:
	decl	-60(%rbp)
	leaq	-64(%rbp), %rdi
	callq	_ntpcal_date_to_ntp64
	movq	(%r12), %rcx
	movq	%rcx, -72(%rbp)
	subq	%rax, %rcx
	movq	%rcx, -80(%rbp)
	movslq	%r15d, %rax
	movq	%rax, -88(%rbp)
	xorl	%eax, %eax
	testl	%r14d, %r14d
	setne	%al
	movl	%eax, -96(%rbp)
	leaq	-96(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_add_range
	jmp	LBB0_15
LBB0_9:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_12
LBB0_10:
	movq	(%rbx), %rcx
	xorl	%eax, %eax
	cmpl	%r15d, (%rcx)
	setne	%al
	negl	%eax
	testl	%eax, %eax
	jns	LBB0_3
LBB0_11:
	movq	_ERANGE@GOTPCREL(%rip), %rax
LBB0_12:
	movl	(%rax), %eax
	movq	_errno@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_FALSE@GOTPCREL(%rip), %rax
	jmp	LBB0_14
LBB0_13:
	movq	_TRUE@GOTPCREL(%rip), %rax
LBB0_14:
	movl	(%rax), %eax
LBB0_15:
	addq	$64, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ERANGE,4,2                     ## @ERANGE
	.comm	_errno,4,2                      ## @errno
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_EINVAL,4,2                     ## @EINVAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_leapsec_raw                    ; -- Begin function leapsec_raw
	.p2align	2
_leapsec_raw:                           ; @leapsec_raw
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x20, x3
	mov	x21, x2
	mov	x22, x1
	mov	x19, x0
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_4
; %bb.1:
	ldr	x8, [x19]
	add	x1, x8, #4
	mov	x0, x22
	bl	_ucmpv64
	cbz	w0, LBB0_7
; %bb.2:
	tbnz	w0, #31, LBB0_8
LBB0_3:
	cbz	w0, LBB0_10
LBB0_4:
	add	x0, sp, #32
	mov	x1, x22
	bl	_ntpcal_ntp64_to_date
	ldr	w8, [sp, #32]
	ldp	x10, x9, [sp, #48]
	ldr	x11, [sp, #40]
	cmp	w8, #1
	ccmp	x9, #0, #0, eq
	ccmp	x10, #0, #0, eq
	ccmp	x11, #0, #0, eq
	b.eq	LBB0_6
; %bb.5:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_9
LBB0_6:
	ldr	w8, [sp, #36]
	sub	w8, w8, #1
	str	w8, [sp, #36]
	add	x0, sp, #32
	bl	_ntpcal_date_to_ntp64
	ldr	x8, [x22]
	str	x8, [sp, #24]
	sub	x8, x8, x0
	sxtw	x9, w21
	stp	x9, x8, [sp, #8]
	cmp	w20, #0
	cset	w8, ne
	str	w8, [sp]
	mov	x1, sp
	mov	x0, x19
	bl	_add_range
	b	LBB0_12
LBB0_7:
	ldr	x8, [x19]
	ldr	w8, [x8]
	cmp	w8, w21
	csetm	w0, ne
	tbz	w0, #31, LBB0_3
LBB0_8:
Lloh2:
	adrp	x8, _ERANGE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ERANGE@GOTPAGEOFF]
LBB0_9:
	ldr	w8, [x8]
Lloh4:
	adrp	x9, _errno@GOTPAGE
Lloh5:
	ldr	x9, [x9, _errno@GOTPAGEOFF]
Lloh6:
	str	w8, [x9]
Lloh7:
	adrp	x8, _FALSE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
	b	LBB0_11
LBB0_10:
Lloh9:
	adrp	x8, _TRUE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
LBB0_11:
	ldr	w0, [x8]
LBB0_12:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotStr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_ERANGE,4,2                     ; @ERANGE
	.comm	_errno,4,2                      ; @errno
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_EINVAL,4,2                     ; @EINVAL
.subsections_via_symbols
