	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_check_leap_file                ## -- Begin function check_leap_file
	.p2align	4, 0x90
_check_leap_file:                       ## @check_leap_file
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %ebx
	movq	_leapfile_name@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.1:
	cmpq	$0, (%rdi)
	je	LBB0_6
## %bb.2:
	movq	%rdx, %r14
	movl	%esi, %r15d
	movq	_have_leapfile@GOTPCREL(%rip), %r12
	xorl	%edx, %edx
	cmpq	$0, (%r12)
	sete	%dl
	movq	_leapfile_stat@GOTPCREL(%rip), %rsi
	movl	%ebx, %ecx
	callq	_leapsec_load_file
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movq	_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r12)
	jmp	LBB0_4
LBB0_5:
	cmpq	$0, (%r12)
	je	LBB0_6
LBB0_4:
	movl	%ebx, %edi
	movl	%r15d, %esi
	movq	%r14, %rdx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_check_leap_expiration          ## TAILCALL
LBB0_6:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_leapfile_name,8,3              ## @leapfile_name
	.comm	_leapfile_stat,4,2              ## @leapfile_stat
	.comm	_have_leapfile,8,3              ## @have_leapfile
	.comm	_TRUE,8,3                       ## @TRUE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_check_leap_file                ; -- Begin function check_leap_file
	.p2align	2
_check_leap_file:                       ; @check_leap_file
	.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	x21, x0
Lloh0:
	adrp	x8, _leapfile_name@GOTPAGE
Lloh1:
	ldr	x8, [x8, _leapfile_name@GOTPAGEOFF]
Lloh2:
	ldr	x0, [x8]
	cbz	x0, LBB0_6
; %bb.1:
	ldr	x8, [x0]
	cbz	x8, LBB0_6
; %bb.2:
	mov	x19, x2
	mov	x20, x1
Lloh3:
	adrp	x22, _have_leapfile@GOTPAGE
Lloh4:
	ldr	x22, [x22, _have_leapfile@GOTPAGEOFF]
	ldr	x8, [x22]
	cmp	x8, #0
	cset	w2, eq
Lloh5:
	adrp	x1, _leapfile_stat@GOTPAGE
Lloh6:
	ldr	x1, [x1, _leapfile_stat@GOTPAGEOFF]
	mov	x3, x21
	bl	_leapsec_load_file
	cbz	x0, LBB0_4
; %bb.3:
Lloh7:
	adrp	x8, _TRUE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
	str	x8, [x22]
	b	LBB0_5
LBB0_4:
	ldr	x8, [x22]
	cbz	x8, LBB0_6
LBB0_5:
	mov	x0, x21
	mov	x1, x20
	mov	x2, 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
	b	_check_leap_expiration
LBB0_6:
	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 AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_leapfile_name,8,3              ; @leapfile_name
	.comm	_leapfile_stat,4,2              ; @leapfile_stat
	.comm	_have_leapfile,8,3              ; @have_leapfile
	.comm	_TRUE,8,3                       ; @TRUE
.subsections_via_symbols
