	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xz_ver_to_str
_xz_ver_to_str:                         ## @xz_ver_to_str
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	%edi, %eax
	imulq	$1801439851, %rax, %rcx         ## imm = 0x6B5FCA6B
	shrq	$54, %rcx
	imull	$-10000000, %ecx, %eax          ## imm = 0xFF676980
	addl	%edi, %eax
	movl	$3518437209, %r8d               ## imm = 0xD1B71759
	imulq	%rax, %r8
	shrq	$45, %r8
	imull	$-10000, %r8d, %edx             ## imm = 0xD8F0
	addl	%eax, %edx
	movl	$3435973837, %r9d               ## imm = 0xCCCCCCCD
	imulq	%rdx, %r9
	shrq	$35, %r9
	leal	(%r9,%r9), %eax
	leal	(%rax,%rax,4), %eax
	movl	%edx, %esi
	subl	%eax, %esi
	cmpl	$1, %esi
	leaq	L_.str.1(%rip), %rsi
	leaq	L_.str.2(%rip), %rdi
	cmoveq	%rsi, %rdi
	cmpl	%eax, %edx
	leaq	L_.str(%rip), %rax
	cmovneq	%rdi, %rax
	movq	%rax, (%rsp)
	leaq	_xz_ver_to_str.buf(%rip), %rbx
	leaq	L_.str.3(%rip), %rdx
	movq	%rbx, %rdi
	movl	$32, %esi
                                        ## kill: def $ecx killed $ecx killed $rcx
                                        ## kill: def $r8d killed $r8d killed $r8
                                        ## kill: def $r9d killed $r9d killed $r9
	callq	_snprintf
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_xz_ver_to_str.buf,32,4 ## @xz_ver_to_str.buf
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"alpha"

L_.str.1:                               ## @.str.1
	.asciz	"beta"

L_.str.2:                               ## @.str.2
	.space	1

L_.str.3:                               ## @.str.3
	.asciz	"%u.%u.%u%s"

	.no_dead_strip	_xz_ver_to_str
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xz_ver_to_str
_xz_ver_to_str:                         ; @xz_ver_to_str
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	w8, #51819
	movk	w8, #27487, lsl #16
	umull	x8, w0, w8
	lsr	x3, x8, #54
	mov	w8, #27008
	movk	w8, #65383, lsl #16
	madd	w8, w3, w8, w0
	mov	w9, #5977
	movk	w9, #53687, lsl #16
	umull	x9, w8, w9
	lsr	x4, x9, #45
	mov	w9, #-10000
	madd	w8, w4, w9, w8
	mov	w9, #52429
	movk	w9, #52428, lsl #16
	umull	x9, w8, w9
	lsr	x5, x9, #35
	mov	w9, #-10
	madd	w8, w5, w9, w8
Lloh0:
	adrp	x9, l_.str.2@PAGE
Lloh1:
	add	x9, x9, l_.str.2@PAGEOFF
Lloh2:
	adrp	x10, l_.str.1@PAGE
Lloh3:
	add	x10, x10, l_.str.1@PAGEOFF
	cmp	w8, #1
	csel	x9, x10, x9, eq
Lloh4:
	adrp	x10, l_.str@PAGE
Lloh5:
	add	x10, x10, l_.str@PAGEOFF
	cmp	w8, #0
	csel	x6, x10, x9, eq
Lloh6:
	adrp	x19, _xz_ver_to_str.buf@PAGE
Lloh7:
	add	x19, x19, _xz_ver_to_str.buf@PAGEOFF
Lloh8:
	adrp	x2, l_.str.3@PAGE
Lloh9:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	x0, x19
	mov	w1, #32
                                        ; kill: def $w3 killed $w3 killed $x3
                                        ; kill: def $w4 killed $w4 killed $x4
                                        ; kill: def $w5 killed $w5 killed $x5
	bl	_snprintf
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_xz_ver_to_str.buf,32,0 ; @xz_ver_to_str.buf
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"alpha"

l_.str.1:                               ; @.str.1
	.asciz	"beta"

l_.str.2:                               ; @.str.2
	.space	1

l_.str.3:                               ; @.str.3
	.asciz	"%u.%u.%u%s"

	.no_dead_strip	_xz_ver_to_str
.subsections_via_symbols
