	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_chassis_check_version          ## -- Begin function chassis_check_version
	.p2align	4, 0x90
_chassis_check_version:                 ## @chassis_check_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	%r14
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rsi
	leaq	-40(%rbp), %rdx
	leaq	-36(%rbp), %rcx
	leaq	-32(%rbp), %r8
	callq	_sscanf
	cmpl	$3, %eax
	jne	LBB0_1
## %bb.3:
	leaq	L_.str(%rip), %rsi
	leaq	-28(%rbp), %rdx
	leaq	-24(%rbp), %rcx
	leaq	-20(%rbp), %r8
	movq	%r14, %rdi
	callq	_sscanf
	cmpl	$3, %eax
	jne	LBB0_4
## %bb.5:
	movl	-40(%rbp), %eax
	cmpl	-28(%rbp), %eax
	jne	LBB0_8
## %bb.6:
	movl	-36(%rbp), %eax
	cmpl	-24(%rbp), %eax
	jne	LBB0_8
## %bb.7:
	movl	-32(%rbp), %ecx
	xorl	%eax, %eax
	cmpl	-20(%rbp), %ecx
	jl	LBB0_8
	jmp	LBB0_9
LBB0_1:
	movq	_G_STRLOC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	leaq	L_.str.1(%rip), %rdi
	movq	%rbx, %rdx
	jmp	LBB0_2
LBB0_4:
	movq	_G_STRLOC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	leaq	L_.str.2(%rip), %rdi
	movq	%r14, %rdx
LBB0_2:
	movl	%eax, %ecx
	callq	_g_critical
LBB0_8:
	movl	$-1, %eax
LBB0_9:
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%d.%d.%d%*s"

L_.str.1:                               ## @.str.1
	.asciz	"%s: library version %s failed to parse: %d"

	.comm	_G_STRLOC,4,2                   ## @G_STRLOC
L_.str.2:                               ## @.str.2
	.asciz	"%s: header version %s failed to parse: %d"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_chassis_check_version          ; -- Begin function chassis_check_version
	.p2align	2
_chassis_check_version:                 ; @chassis_check_version
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	sub	x2, x29, #20
	add	x3, sp, #24
	add	x4, sp, #20
	bl	_sscanf
	cmp	w0, #3
	b.ne	LBB0_6
; %bb.1:
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #16
	add	x3, sp, #12
	add	x4, sp, #8
	mov	x0, x19
	bl	_sscanf
	cmp	w0, #3
	b.ne	LBB0_7
; %bb.2:
	ldur	w8, [x29, #-20]
	ldr	w9, [sp, #16]
	cmp	w8, w9
	b.ne	LBB0_9
; %bb.3:
	ldr	w8, [sp, #24]
	ldr	w9, [sp, #12]
	cmp	w8, w9
	b.ne	LBB0_9
; %bb.4:
	ldr	w8, [sp, #20]
	ldr	w9, [sp, #8]
	cmp	w8, w9
	b.lt	LBB0_9
; %bb.5:
	mov	w0, #0
	b	LBB0_10
LBB0_6:
	mov	x3, x0
Lloh4:
	adrp	x8, _G_STRLOC@GOTPAGE
Lloh5:
	ldr	x8, [x8, _G_STRLOC@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
Lloh7:
	adrp	x0, l_.str.1@PAGE
Lloh8:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x2, x20
	b	LBB0_8
LBB0_7:
	mov	x3, x0
Lloh9:
	adrp	x8, _G_STRLOC@GOTPAGE
Lloh10:
	ldr	x8, [x8, _G_STRLOC@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
Lloh12:
	adrp	x0, l_.str.2@PAGE
Lloh13:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x2, x19
LBB0_8:
	bl	_g_critical
LBB0_9:
	mov	w0, #-1
LBB0_10:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%d.%d.%d%*s"

l_.str.1:                               ; @.str.1
	.asciz	"%s: library version %s failed to parse: %d"

	.comm	_G_STRLOC,4,2                   ; @G_STRLOC
l_.str.2:                               ; @.str.2
	.asciz	"%s: header version %s failed to parse: %d"

.subsections_via_symbols
