	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function greatest_version
_greatest_version:                      ## @greatest_version
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r12
	movq	(%rdi), %rax
	movq	_ISC_LOG_TOFILE@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	sete	%dil
	callq	_REQUIRE
	movq	%r12, %rdi
	callq	_FILE_NAME
	movq	%rax, %rdi
	movl	$47, %esi
	callq	_strrchr
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rax, %r15
	incq	%r15
	movb	$0, (%rax)
	movq	%r12, %rdi
	callq	_FILE_NAME
	movq	%rax, %r13
	jmp	LBB0_3
LBB0_2:
	movq	%r12, %rdi
	callq	_FILE_NAME
	xorl	%r15d, %r15d
	movq	%rax, %rdi
	xorl	%esi, %esi
	callq	_DE_CONST
	leaq	L_.str(%rip), %r13
LBB0_3:
	movq	%r15, %rdi
	callq	_strlen
	movq	%rax, %rbx
	leaq	-56(%rbp), %r14
	movq	%r14, %rdi
	callq	_isc_dir_init
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_isc_dir_open
	movq	%rax, %r13
	movq	%r12, %rdi
	callq	_FILE_NAME
	cmpq	%rax, %r15
	je	LBB0_5
## %bb.4:
	movb	$47, -1(%r15)
LBB0_5:
	movq	_ISC_R_SUCCESS@GOTPCREL(%rip), %r14
	cmpq	(%r14), %r13
	jne	LBB0_14
## %bb.6:
	leaq	-56(%rbp), %rdi
	callq	_isc_dir_read
	movl	$-1, %r12d
	cmpq	(%r14), %rax
	jne	LBB0_13
## %bb.7:
	leaq	1(%rbx), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	$-1, %r12d
	leaq	-56(%rbp), %r13
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	%r13, %rdi
	callq	_isc_dir_read
	cmpq	(%r14), %rax
	jne	LBB0_13
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rbx, -56(%rbp)
	jbe	LBB0_12
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movq	-48(%rbp), %rdi
	movq	%r15, %rsi
	movq	%rbx, %rdx
	callq	_strncmp
	testq	%rax, %rax
	jne	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	-48(%rbp), %rdi
	cmpb	$46, (%rdi,%rbx)
	jne	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_8 Depth=1
	addq	-64(%rbp), %rdi                 ## 8-byte Folded Reload
	leaq	-80(%rbp), %rsi
	movl	$10, %edx
	callq	_strtol
	movq	-80(%rbp), %rcx
	cmpl	%r12d, %eax
	cmovlel	%r12d, %eax
	cmpb	$0, (%rcx)
	cmovel	%eax, %r12d
	jmp	LBB0_12
LBB0_13:
	leaq	-56(%rbp), %rdi
	callq	_isc_dir_close
	incl	%r12d
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	%r12d, (%rax)
	movq	(%r14), %r13
LBB0_14:
	movq	%r13, %rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ISC_LOG_TOFILE,8,3             ## @ISC_LOG_TOFILE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"."

	.comm	_ISC_R_SUCCESS,8,3              ## @ISC_R_SUCCESS
	.no_dead_strip	_greatest_version
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function greatest_version
_greatest_version:                      ; @greatest_version
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x1
	mov	x22, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _ISC_LOG_TOFILE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ISC_LOG_TOFILE@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, eq
	bl	_REQUIRE
	mov	x0, x22
	bl	_FILE_NAME
	mov	w1, #47
	bl	_strrchr
	mov	x20, x0
	cbz	x0, LBB0_2
; %bb.1:
	strb	wzr, [x20], #1
	mov	x0, x22
	bl	_FILE_NAME
	mov	x23, x0
	b	LBB0_3
LBB0_2:
	mov	x0, x22
	bl	_FILE_NAME
	mov	x1, #0
	bl	_DE_CONST
Lloh3:
	adrp	x23, l_.str@PAGE
Lloh4:
	add	x23, x23, l_.str@PAGEOFF
LBB0_3:
	mov	x0, x20
	bl	_strlen
	mov	x21, x0
	add	x0, sp, #8
	bl	_isc_dir_init
	add	x0, sp, #8
	mov	x1, x23
	bl	_isc_dir_open
	mov	x23, x0
	mov	x0, x22
	bl	_FILE_NAME
	cmp	x20, x0
	b.eq	LBB0_5
; %bb.4:
	mov	w8, #47
	sturb	w8, [x20, #-1]
LBB0_5:
Lloh5:
	adrp	x22, _ISC_R_SUCCESS@GOTPAGE
Lloh6:
	ldr	x22, [x22, _ISC_R_SUCCESS@GOTPAGEOFF]
	ldr	x8, [x22]
	cmp	x23, x8
	b.ne	LBB0_15
; %bb.6:
	add	x0, sp, #8
	bl	_isc_dir_read
	ldr	x8, [x22]
	cmp	x0, x8
	b.ne	LBB0_13
; %bb.7:
	add	x24, x21, #1
	mov	w23, #-1
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	add	x0, sp, #8
	bl	_isc_dir_read
	ldr	x8, [x22]
	cmp	x0, x8
	b.ne	LBB0_14
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [sp, #8]
	cmp	x8, x21
	b.ls	LBB0_8
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	x0, [sp, #16]
	mov	x1, x20
	mov	x2, x21
	bl	_strncmp
	cbnz	x0, LBB0_8
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	x8, [sp, #16]
	ldrb	w9, [x8, x21]
	cmp	w9, #46
	b.ne	LBB0_8
; %bb.12:                               ;   in Loop: Header=BB0_9 Depth=1
	add	x0, x8, x24
	add	x1, sp, #24
	mov	w2, #10
	bl	_strtol
	ldr	x8, [sp, #24]
	ldrb	w8, [x8]
	cmp	w0, w23
	ccmp	w8, #0, #0, gt
	csel	w23, w0, w23, eq
	b	LBB0_8
LBB0_13:
	mov	w23, #-1
LBB0_14:
	add	x0, sp, #8
	bl	_isc_dir_close
	add	w8, w23, #1
	str	w8, [x19]
	ldr	x23, [x22]
LBB0_15:
	mov	x0, x23
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_ISC_LOG_TOFILE,8,3             ; @ISC_LOG_TOFILE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"."

	.comm	_ISC_R_SUCCESS,8,3              ; @ISC_R_SUCCESS
	.no_dead_strip	_greatest_version
.subsections_via_symbols
