	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function version_compare_spec_function
_version_compare_spec_function:         ## @version_compare_spec_function
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movl	%edi, %r14d
	cmpl	$2, %edi
	jg	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_fatal
LBB0_2:
	movq	(%r12), %rcx
	movb	(%rcx), %al
	testb	%al, %al
	je	LBB0_40
## %bb.3:
	movb	1(%rcx), %cl
	orb	$2, %cl
	cmpb	$62, %cl
	jne	LBB0_5
## %bb.4:
	xorl	%ecx, %ecx
	cmpb	$33, %al
	setne	%r13b
	sete	%cl
	movl	$2, %ebx
	subl	%ecx, %ebx
	jmp	LBB0_6
LBB0_5:
	movl	$1, %ebx
	xorl	%r13d, %r13d
LBB0_6:
	leal	3(%rbx), %eax
	cmpl	%r14d, %eax
	je	LBB0_8
## %bb.7:
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_fatal
LBB0_8:
	movl	%ebx, %ebx
	movq	8(%r12,%rbx,8), %r14
	movq	%r14, %rdi
	callq	_strlen
	movq	%rax, %r15
	movq	_n_switches@GOTPCREL(%rip), %rcx
	movl	$-1, %eax
	movb	$1, %dil
	cmpl	$0, (%rcx)
	jle	LBB0_18
## %bb.9:
	movl	%r13d, -44(%rbp)                ## 4-byte Spill
	movq	%r12, %r13
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	leaq	1(%rbx), %r12
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	_switches@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax,%rbx,8), %rdi
	movq	%r14, %rsi
	movq	%r15, %rdx
	callq	_strncmp
	testl	%eax, %eax
	jne	LBB0_13
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	movl	%ebx, %edi
	movq	%r15, %rsi
	callq	_check_live_switch
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	_switches@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax,%rbx,8), %rax
	addq	%r15, %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
LBB0_13:                                ##   in Loop: Header=BB0_10 Depth=1
	incq	%rbx
	movq	_n_switches@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	cmpq	%rax, %rbx
	jge	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	(%r13,%r12,8), %r14
	jmp	LBB0_10
LBB0_15:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	testq	%rdi, %rdi
	je	LBB0_19
## %bb.16:
	movq	%r13, %r12
	movq	8(%r13), %rsi
	movq	%rdi, %r14
	callq	_compare_version_strings
	movl	%eax, %r15d
	cmpb	$0, -44(%rbp)                   ## 1-byte Folded Reload
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_20
## %bb.17:
	movq	16(%r12), %rsi
	movq	%r14, %rdi
	callq	_compare_version_strings
	xorl	%edi, %edi
	jmp	LBB0_21
LBB0_18:
	movl	$-1, %r15d
	jmp	LBB0_21
LBB0_19:
	movl	$-1, %r15d
	movq	%r13, %r12
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movl	$-1, %eax
	movb	$1, %dil
	jmp	LBB0_21
LBB0_20:
	xorl	%edi, %edi
	movl	$-1, %eax
LBB0_21:
	movq	(%r12), %rsi
	movsbl	(%rsi), %ecx
	shll	$8, %ecx
	movsbl	1(%rsi), %edx
	orl	%ecx, %edx
	cmpl	$15421, %edx                    ## imm = 0x3C3D
	jg	LBB0_26
## %bb.22:
	cmpl	$8508, %edx                     ## imm = 0x213C
	je	LBB0_30
## %bb.23:
	cmpl	$8510, %edx                     ## imm = 0x213E
	je	LBB0_31
## %bb.24:
	cmpl	$15360, %edx                    ## imm = 0x3C00
	je	LBB0_25
	jmp	LBB0_37
LBB0_26:
	cmpl	$15422, %edx                    ## imm = 0x3C3E
	je	LBB0_33
## %bb.27:
	cmpl	$15932, %edx                    ## imm = 0x3E3C
	je	LBB0_34
## %bb.28:
	cmpl	$15933, %edx                    ## imm = 0x3E3D
	jne	LBB0_37
## %bb.29:
	notl	%r15d
LBB0_25:
	shrl	$31, %r15d
	testl	%r15d, %r15d
	jne	LBB0_38
	jmp	LBB0_36
LBB0_30:
	testl	%r15d, %r15d
	setns	%al
	jmp	LBB0_32
LBB0_31:
	testl	%r15d, %r15d
	sets	%al
LBB0_32:
	orb	%dil, %al
	movzbl	%al, %r15d
	testl	%r15d, %r15d
	jne	LBB0_38
	jmp	LBB0_36
LBB0_33:
	testl	%r15d, %r15d
	sets	%dl
	testl	%eax, %eax
	setns	%cl
	orb	%dl, %cl
	jmp	LBB0_35
LBB0_34:
	testl	%r15d, %r15d
	setns	%dl
	testl	%eax, %eax
	sets	%cl
	andb	%dl, %cl
LBB0_35:
	movzbl	%cl, %r15d
	testl	%r15d, %r15d
	jne	LBB0_38
LBB0_36:
	xorl	%eax, %eax
	jmp	LBB0_39
LBB0_37:
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_fatal
LBB0_38:
	movq	16(%r12,%rbx,8), %rax
LBB0_39:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_40:
	xorl	%eax, %eax
	callq	_abort
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"too few arguments to %%:version-compare"

L_.str.1:                               ## @.str.1
	.asciz	"too many arguments to %%:version-compare"

	.comm	_n_switches,4,2                 ## @n_switches
	.comm	_switches,8,3                   ## @switches
L_.str.2:                               ## @.str.2
	.asciz	"unknown operator '%s' in %%:version-compare"

	.no_dead_strip	_version_compare_spec_function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function version_compare_spec_function
_version_compare_spec_function:         ; @version_compare_spec_function
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x1
	mov	x20, x0
	cmp	w0, #2
	b.gt	LBB0_2
; %bb.1:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_fatal
LBB0_2:
	ldr	x9, [x19]
	ldrb	w8, [x9]
	cbz	w8, LBB0_39
; %bb.3:
	ldrb	w9, [x9, #1]
	mov	w24, #1
	orr	w9, w9, #0x2
	cmp	w9, #62
	b.ne	LBB0_5
; %bb.4:
	cmp	w8, #33
	cset	w25, ne
	cinc	w24, w24, ne
	b	LBB0_6
LBB0_5:
	mov	w25, #0
LBB0_6:
	add	w8, w24, #3
	cmp	w8, w20
	b.eq	LBB0_8
; %bb.7:
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_fatal
LBB0_8:
	add	w26, w24, #1
	ldr	x23, [x19, w26, uxtw #3]
	mov	x0, x23
	bl	_strlen
Lloh4:
	adrp	x27, _n_switches@GOTPAGE
Lloh5:
	ldr	x27, [x27, _n_switches@GOTPAGEOFF]
	ldr	w8, [x27]
	cmp	w8, #1
	b.lt	LBB0_18
; %bb.9:
	mov	x20, x0
	mov	x22, #0
	mov	x21, #0
Lloh6:
	adrp	x28, _switches@GOTPAGE
Lloh7:
	ldr	x28, [x28, _switches@GOTPAGEOFF]
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x28]
	ldr	x0, [x8, x22, lsl #3]
	mov	x1, x23
	mov	x2, x20
	bl	_strncmp
	cbnz	w0, LBB0_13
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x22
	mov	x1, x20
	bl	_check_live_switch
	cbz	x0, LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	x8, [x28]
	ldr	x8, [x8, x22, lsl #3]
	add	x21, x8, x20
LBB0_13:                                ;   in Loop: Header=BB0_10 Depth=1
	add	x22, x22, #1
	ldrsw	x8, [x27]
	cmp	x22, x8
	b.ge	LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	x23, [x19, x26, lsl #3]
	b	LBB0_10
LBB0_15:
	cbz	x21, LBB0_18
; %bb.16:
	ldr	x1, [x19, #8]
	mov	x0, x21
	bl	_compare_version_strings
	mov	x20, x0
	cbz	w25, LBB0_19
; %bb.17:
	ldr	x1, [x19, #16]
	mov	x0, x21
	bl	_compare_version_strings
	mov	w8, #0
	b	LBB0_21
LBB0_18:
	mov	w20, #-1
	mov	w8, #1
	b	LBB0_20
LBB0_19:
	mov	w8, #0
LBB0_20:
	mov	w0, #-1
LBB0_21:
	ldr	x9, [x19]
	ldrsb	w10, [x9]
	ldrsb	w11, [x9, #1]
	orr	w10, w11, w10, lsl #8
	mov	w11, #15421
	cmp	w10, w11
	b.gt	LBB0_26
; %bb.22:
	mov	w11, #8508
	cmp	w10, w11
	b.eq	LBB0_30
; %bb.23:
	mov	w11, #8510
	cmp	w10, w11
	b.eq	LBB0_31
; %bb.24:
	mov	w8, #15360
	cmp	w10, w8
	b.ne	LBB0_36
; %bb.25:
	lsr	w8, w20, #31
	cbnz	w8, LBB0_37
	b	LBB0_35
LBB0_26:
	mov	w8, #15422
	cmp	w10, w8
	b.eq	LBB0_33
; %bb.27:
	mov	w8, #15932
	cmp	w10, w8
	b.eq	LBB0_34
; %bb.28:
	mov	w8, #15933
	cmp	w10, w8
	b.ne	LBB0_36
; %bb.29:
	mvn	w8, w20
	lsr	w8, w8, #31
	cbnz	w8, LBB0_37
	b	LBB0_35
LBB0_30:
	cmp	w20, #0
	cset	w9, ge
	b	LBB0_32
LBB0_31:
	cmp	w20, #0
	cset	w9, lt
LBB0_32:
	orr	w8, w9, w8
	cbnz	w8, LBB0_37
	b	LBB0_35
LBB0_33:
	cmp	w20, #0
	ccmp	w0, #0, #0, ge
	cset	w8, ge
	cbnz	w8, LBB0_37
	b	LBB0_35
LBB0_34:
	cmp	w20, #0
	ccmp	w0, #0, #0, ge
	cset	w8, lt
	cbnz	w8, LBB0_37
LBB0_35:
	mov	x0, #0
	b	LBB0_38
LBB0_36:
	str	x9, [sp]
Lloh8:
	adrp	x0, l_.str.2@PAGE
Lloh9:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_fatal
LBB0_37:
	add	w8, w24, #2
	ldr	x0, [x19, w8, uxtw #3]
LBB0_38:
	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
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_39:
	bl	_abort
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"too few arguments to %%:version-compare"

l_.str.1:                               ; @.str.1
	.asciz	"too many arguments to %%:version-compare"

	.comm	_n_switches,4,2                 ; @n_switches
	.comm	_switches,8,3                   ; @switches
l_.str.2:                               ; @.str.2
	.asciz	"unknown operator '%s' in %%:version-compare"

	.no_dead_strip	_version_compare_spec_function
.subsections_via_symbols
