	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bin_to_res_version
_bin_to_res_version:                    ## @bin_to_res_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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r12d
	movq	%rsi, %r15
	movq	%rdi, %r14
	subq	$8, %rsp
	leaq	-48(%rbp), %rax
	leaq	-60(%rbp), %rbx
	leaq	-44(%rbp), %r10
	leaq	L_.str(%rip), %rcx
	leaq	-52(%rbp), %r9
	xorl	%r8d, %r8d
	pushq	%rax
	pushq	%rbx
	pushq	%r10
	callq	_get_version_header
	addq	$32, %rsp
	cmpl	%r12d, -52(%rbp)
	je	LBB0_2
## %bb.1:
	leaq	L_.str.1(%rip), %rdi
	callq	__
	movl	-52(%rbp), %esi
	movl	%r12d, %edx
	movl	%eax, %edi
	xorl	%eax, %eax
	callq	_fatal
LBB0_2:
	cmpl	$0, -60(%rbp)
	je	LBB0_4
## %bb.3:
	leaq	L_.str.2(%rip), %rdi
	callq	__
	movl	-60(%rbp), %esi
	movl	%eax, %edi
	xorl	%eax, %eax
	callq	_fatal
LBB0_4:
	movl	-48(%rbp), %eax
	leaq	(%r15,%rax,4), %r15
	subl	%eax, %r12d
	movl	-44(%rbp), %eax
	testl	%eax, %eax
	je	LBB0_5
## %bb.6:
	cmpl	$52, %eax
	je	LBB0_8
## %bb.7:
	leaq	L_.str.3(%rip), %rdi
	callq	__
	movl	-44(%rbp), %esi
	movl	%eax, %edi
	xorl	%eax, %eax
	callq	_fatal
LBB0_8:
	cmpl	$51, %r12d
	ja	LBB0_10
## %bb.9:
	leaq	L_.str.4(%rip), %rdi
	callq	__
	movl	%eax, %edi
	callq	_toosmall
LBB0_10:
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	$4, %edx
	callq	_windres_get_32
	movq	%rax, %rbx
	movl	$4277077181, %eax               ## imm = 0xFEEF04BD
	cmpq	%rax, %rbx
	je	LBB0_12
## %bb.11:
	leaq	L_.str.5(%rip), %rdi
	callq	__
	movl	%eax, %edi
	movq	%rbx, %rsi
	xorl	%eax, %eax
	callq	_fatal
LBB0_12:
	leaq	16(%r15), %rsi
	movq	%r14, %rdi
	movl	$4, %edx
	callq	_windres_get_32
	testq	$-65537, %rax                   ## imm = 0xFFFEFFFF
	je	LBB0_14
## %bb.13:
	movq	%rax, %rbx
	leaq	L_.str.6(%rip), %rdi
	callq	__
	movl	%eax, %edi
	movq	%rbx, %rsi
	xorl	%eax, %eax
	callq	_fatal
LBB0_14:
	movl	$88, %edi
	callq	_res_alloc
	movq	%rax, %rbx
	leaq	32(%r15), %rsi
	movq	%r14, %rdi
	movl	$4, %edx
	callq	_windres_get_32
	movq	%rax, 80(%rbx)
	leaq	48(%r15), %rsi
	movq	%r14, %rdi
	movl	$4, %edx
	callq	_windres_get_32
	movq	%rax, 72(%rbx)
	leaq	64(%r15), %rsi
	movq	%r14, %rdi
	movl	$4, %edx
	callq	_windres_get_32
	movq	%rax, 64(%rbx)
	leaq	80(%r15), %rsi
	movq	%r14, %rdi
	movl	$4, %edx
	callq	_windres_get_32
	movq	%rax, 56(%rbx)
	leaq	96(%r15), %rsi
	movq	%r14, %rdi
	movl	$4, %edx
	callq	_windres_get_32
	movq	%rax, 48(%rbx)
	leaq	112(%r15), %rsi
	movq	%r14, %rdi
	movl	$4, %edx
	callq	_windres_get_32
	movq	%rax, 40(%rbx)
	leaq	128(%r15), %rsi
	movq	%r14, %rdi
	movl	$4, %edx
	callq	_windres_get_32
	movq	%rax, 32(%rbx)
	leaq	144(%r15), %rsi
	movq	%r14, %rdi
	movl	$4, %edx
	callq	_windres_get_32
	movq	%rax, 24(%rbx)
	leaq	160(%r15), %rsi
	movq	%r14, %rdi
	movl	$4, %edx
	callq	_windres_get_32
	movq	%rax, 16(%rbx)
	leaq	176(%r15), %rsi
	movq	%r14, %rdi
	movl	$4, %edx
	callq	_windres_get_32
	movq	%rax, 8(%rbx)
	leaq	192(%r15), %rsi
	movq	%r14, %rdi
	movl	$4, %edx
	callq	_windres_get_32
	movq	%rbx, %rcx
	movq	%rbx, -88(%rbp)                 ## 8-byte Spill
	movq	%rax, (%rbx)
	addq	$208, %r15
	addl	$-52, %r12d
	jmp	LBB0_15
LBB0_5:
	xorl	%eax, %eax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
LBB0_15:
	movq	$0, -96(%rbp)
	testl	%r12d, %r12d
	je	LBB0_16
## %bb.17:
	leaq	-96(%rbp), %rax
	movq	%r14, -72(%rbp)                 ## 8-byte Spill
	jmp	LBB0_18
	.p2align	4, 0x90
LBB0_43:                                ##   in Loop: Header=BB0_18 Depth=1
	leaq	L_.str.17(%rip), %rdi
	callq	__
	movl	%eax, %edi
	xorl	%eax, %eax
	callq	_fatal
LBB0_44:                                ##   in Loop: Header=BB0_18 Depth=1
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	movq	$0, (%rcx)
	movq	-112(%rbp), %rax                ## 8-byte Reload
	movq	%rcx, (%rax)
	movq	%rcx, %rax
	testl	%r12d, %r12d
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	je	LBB0_45
LBB0_18:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_28 Depth 2
                                        ##     Child Loop BB0_37 Depth 2
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	cmpl	$7, %r12d
	ja	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_18 Depth=1
	leaq	L_.str.7(%rip), %rdi
	callq	__
	movl	%eax, %edi
	callq	_toosmall
LBB0_20:                                ##   in Loop: Header=BB0_18 Depth=1
	movl	$48, %edi
	callq	_res_alloc
	movq	%rax, %r13
	leaq	24(%r15), %rsi
	movq	%r14, %rdi
	movl	$2, %edx
	callq	_windres_get_16
	cmpl	$86, %eax
	movq	%r13, -104(%rbp)                ## 8-byte Spill
	je	LBB0_33
## %bb.21:                              ##   in Loop: Header=BB0_18 Depth=1
	cmpl	$83, %eax
	jne	LBB0_43
## %bb.22:                              ##   in Loop: Header=BB0_18 Depth=1
	movq	_VERINFO_STRING@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%r13)
	subq	$8, %rsp
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	%r12d, %edx
	leaq	L_.str.8(%rip), %rcx
	xorl	%r8d, %r8d
	leaq	-52(%rbp), %r9
	leaq	-48(%rbp), %rax
	pushq	%rax
	leaq	-60(%rbp), %rax
	pushq	%rax
	leaq	-44(%rbp), %rax
	pushq	%rax
	callq	_get_version_header
	addq	$32, %rsp
	cmpl	$0, -44(%rbp)
	je	LBB0_24
## %bb.23:                              ##   in Loop: Header=BB0_18 Depth=1
	leaq	L_.str.9(%rip), %rdi
	callq	__
	movl	-44(%rbp), %esi
	movl	%eax, %edi
	xorl	%eax, %eax
	callq	_fatal
LBB0_24:                                ##   in Loop: Header=BB0_18 Depth=1
	movl	-48(%rbp), %eax
	leaq	(%r15,%rax,4), %rbx
	subl	%eax, %r12d
	leaq	32(%r13), %r8
	subq	$8, %rsp
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	%r12d, %edx
	xorl	%ecx, %ecx
	leaq	-52(%rbp), %r9
	leaq	-48(%rbp), %rax
	pushq	%rax
	leaq	-60(%rbp), %rax
	pushq	%rax
	leaq	-44(%rbp), %rax
	pushq	%rax
	callq	_get_version_header
	addq	$32, %rsp
	cmpl	$0, -44(%rbp)
	je	LBB0_26
## %bb.25:                              ##   in Loop: Header=BB0_18 Depth=1
	leaq	L_.str.10(%rip), %rdi
	callq	__
	movl	-44(%rbp), %esi
	movl	%eax, %edi
	xorl	%eax, %eax
	callq	_fatal
LBB0_26:                                ##   in Loop: Header=BB0_18 Depth=1
	movl	-48(%rbp), %eax
	leaq	(%rbx,%rax,4), %r15
	subl	%eax, %r12d
	movl	-52(%rbp), %ecx
	subl	%eax, %ecx
	movq	$0, 24(%r13)
	addl	$3, %ecx
	andl	$-4, %ecx
	movl	%ecx, -52(%rbp)
	je	LBB0_44
## %bb.27:                              ##   in Loop: Header=BB0_18 Depth=1
	movq	%r13, %r14
	addq	$24, %r14
	jmp	LBB0_28
	.p2align	4, 0x90
LBB0_32:                                ##   in Loop: Header=BB0_28 Depth=2
	leaq	(%r15,%rbx,4), %r15
	movl	-64(%rbp), %edx                 ## 4-byte Reload
	subl	%r12d, %edx
	movl	%edx, %r12d
	movq	%r13, %r14
	subl	%eax, %ecx
	movl	%ecx, -52(%rbp)
	je	LBB0_44
LBB0_28:                                ##   Parent Loop BB0_18 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	$24, %edi
	callq	_res_alloc
	movq	%rax, %r13
	leaq	16(%rax), %r8
	subq	$8, %rsp
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movl	%r12d, %edx
	xorl	%ecx, %ecx
	leaq	-56(%rbp), %r9
	leaq	-48(%rbp), %rax
	pushq	%rax
	leaq	-60(%rbp), %rax
	pushq	%rax
	leaq	-44(%rbp), %rax
	pushq	%rax
	callq	_get_version_header
	addq	$32, %rsp
	movl	-56(%rbp), %eax
	addl	$3, %eax
	andl	$-4, %eax
	movl	%eax, -56(%rbp)
	movl	-48(%rbp), %eax
	leaq	(%r15,%rax,4), %r15
	subl	%eax, %r12d
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movl	%r12d, -64(%rbp)                ## 4-byte Spill
	movl	%r12d, %edx
	leaq	-76(%rbp), %rcx
	callq	_get_unicode
	movl	%eax, 8(%r13)
	movl	-76(%rbp), %eax
	leal	(%rax,%rax), %r12d
	addl	$5, %r12d
	andl	$-4, %r12d
	movl	-48(%rbp), %eax
	addl	%r12d, %eax
	movl	%r12d, %ebx
	cmpl	-56(%rbp), %eax
	je	LBB0_30
## %bb.29:                              ##   in Loop: Header=BB0_28 Depth=2
	leaq	L_.str.11(%rip), %rdi
	callq	__
	movl	-56(%rbp), %esi
	movl	-48(%rbp), %edx
	movl	%eax, %edi
	movq	%rbx, %rcx
	xorl	%eax, %eax
	callq	_fatal
	movl	-56(%rbp), %eax
LBB0_30:                                ##   in Loop: Header=BB0_28 Depth=2
	movq	$0, (%r13)
	movq	%r13, (%r14)
	movl	-52(%rbp), %ecx
	cmpl	%eax, %ecx
	jae	LBB0_32
## %bb.31:                              ##   in Loop: Header=BB0_28 Depth=2
	leaq	L_.str.12(%rip), %rdi
	callq	__
	movl	-52(%rbp), %esi
	movl	-56(%rbp), %edx
	movl	%eax, %edi
	xorl	%eax, %eax
	callq	_fatal
	movl	-56(%rbp), %eax
	movl	-52(%rbp), %ecx
	jmp	LBB0_32
	.p2align	4, 0x90
LBB0_33:                                ##   in Loop: Header=BB0_18 Depth=1
	movq	_VERINFO_VAR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%r13)
	subq	$8, %rsp
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	%r12d, %edx
	leaq	L_.str.13(%rip), %rcx
	xorl	%r8d, %r8d
	leaq	-52(%rbp), %r9
	leaq	-48(%rbp), %rax
	pushq	%rax
	leaq	-60(%rbp), %rax
	pushq	%rax
	leaq	-44(%rbp), %rax
	pushq	%rax
	callq	_get_version_header
	addq	$32, %rsp
	cmpl	$0, -44(%rbp)
	je	LBB0_35
## %bb.34:                              ##   in Loop: Header=BB0_18 Depth=1
	leaq	L_.str.14(%rip), %rdi
	callq	__
	movl	-44(%rbp), %esi
	movl	%eax, %edi
	xorl	%eax, %eax
	callq	_fatal
LBB0_35:                                ##   in Loop: Header=BB0_18 Depth=1
	movl	-48(%rbp), %eax
	leaq	(%r15,%rax,4), %rbx
	subl	%eax, %r12d
	leaq	16(%r13), %r8
	subq	$8, %rsp
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	%r12d, %edx
	xorl	%ecx, %ecx
	leaq	-52(%rbp), %r9
	leaq	-48(%rbp), %rax
	pushq	%rax
	leaq	-60(%rbp), %rax
	pushq	%rax
	leaq	-44(%rbp), %rax
	pushq	%rax
	callq	_get_version_header
	addq	$32, %rsp
	movl	-48(%rbp), %eax
	leaq	(%rbx,%rax,4), %r15
	subl	%eax, %r12d
	movq	$0, 8(%r13)
	cmpl	$0, -44(%rbp)
	je	LBB0_44
## %bb.36:                              ##   in Loop: Header=BB0_18 Depth=1
	movq	%r13, %r14
	addq	$8, %r14
	jmp	LBB0_37
	.p2align	4, 0x90
LBB0_41:                                ##   in Loop: Header=BB0_37 Depth=2
	addq	$8, %r15
	movq	%rbx, %r14
	addl	$-4, %eax
	movl	%eax, -44(%rbp)
	movl	-64(%rbp), %r12d                ## 4-byte Reload
	je	LBB0_42
LBB0_37:                                ##   Parent Loop BB0_18 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r15, %r13
	subl	$4, %r12d
	movl	%r12d, -64(%rbp)                ## 4-byte Spill
	jae	LBB0_39
## %bb.38:                              ##   in Loop: Header=BB0_37 Depth=2
	leaq	L_.str.15(%rip), %rdi
	callq	__
	movl	%eax, %edi
	callq	_toosmall
LBB0_39:                                ##   in Loop: Header=BB0_37 Depth=2
	movl	$24, %edi
	callq	_res_alloc
	movq	%rax, %rbx
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdi
	movq	%r13, %rsi
	movl	$2, %edx
	callq	_windres_get_16
	movq	%rax, 16(%rbx)
	leaq	8(%r13), %r15
	movq	%r12, %rdi
	movq	%r15, %rsi
	movl	$2, %edx
	callq	_windres_get_16
	movq	%rax, 8(%rbx)
	movq	$0, (%rbx)
	movq	%rbx, (%r14)
	movl	-44(%rbp), %eax
	cmpl	$3, %eax
	ja	LBB0_41
## %bb.40:                              ##   in Loop: Header=BB0_37 Depth=2
	leaq	L_.str.16(%rip), %rdi
	callq	__
	movl	-44(%rbp), %esi
	movl	%eax, %edi
	xorl	%eax, %eax
	callq	_fatal
	movl	-44(%rbp), %eax
	jmp	LBB0_41
	.p2align	4, 0x90
LBB0_42:                                ##   in Loop: Header=BB0_18 Depth=1
	addq	$16, %r13
	movq	%r13, %r15
	jmp	LBB0_44
LBB0_45:
	movq	-96(%rbp), %r14
	jmp	LBB0_46
LBB0_16:
	xorl	%r14d, %r14d
LBB0_46:
	movl	$16, %edi
	callq	_res_alloc
	movq	%rax, %rbx
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 8(%rbx)
	movq	%r14, (%rbx)
	movl	$16, %edi
	callq	_res_alloc
	movq	_RES_TYPE_VERSIONINFO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 8(%rax)
	movq	%rbx, (%rax)
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"VS_VERSION_INFO"

L_.str.1:                               ## @.str.1
	.asciz	"version length %d does not match resource length %lu"

L_.str.2:                               ## @.str.2
	.asciz	"unexpected version type %d"

L_.str.3:                               ## @.str.3
	.asciz	"unexpected fixed version information length %ld"

L_.str.4:                               ## @.str.4
	.asciz	"fixed version info"

L_.str.5:                               ## @.str.5
	.asciz	"unexpected fixed version signature %lu"

L_.str.6:                               ## @.str.6
	.asciz	"unexpected fixed version info version %lu"

L_.str.7:                               ## @.str.7
	.asciz	"version var info"

	.comm	_VERINFO_STRING,4,2             ## @VERINFO_STRING
L_.str.8:                               ## @.str.8
	.asciz	"StringFileInfo"

L_.str.9:                               ## @.str.9
	.asciz	"unexpected stringfileinfo value length %ld"

L_.str.10:                              ## @.str.10
	.asciz	"unexpected version stringtable value length %ld"

L_.str.11:                              ## @.str.11
	.asciz	"unexpected version string length %ld != %ld + %ld"

L_.str.12:                              ## @.str.12
	.asciz	"unexpected version string length %ld < %ld"

	.comm	_VERINFO_VAR,4,2                ## @VERINFO_VAR
L_.str.13:                              ## @.str.13
	.asciz	"VarFileInfo"

L_.str.14:                              ## @.str.14
	.asciz	"unexpected varfileinfo value length %ld"

L_.str.15:                              ## @.str.15
	.asciz	"version varfileinfo"

L_.str.16:                              ## @.str.16
	.asciz	"unexpected version value length %ld"

L_.str.17:                              ## @.str.17
	.asciz	"unexpected version string"

	.comm	_RES_TYPE_VERSIONINFO,4,2       ## @RES_TYPE_VERSIONINFO
	.no_dead_strip	_bin_to_res_version
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bin_to_res_version
_bin_to_res_version:                    ; @bin_to_res_version
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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	x20, x2
	mov	x21, x1
	mov	x19, x0
	add	x8, sp, #48
	str	x8, [sp]
Lloh0:
	adrp	x3, l_.str@PAGE
Lloh1:
	add	x3, x3, l_.str@PAGEOFF
	add	x5, sp, #60
	add	x6, sp, #56
	add	x7, sp, #52
	mov	x4, #0
	bl	_get_version_header
	ldr	w8, [sp, #60]
	cmp	w8, w20
	b.eq	LBB0_2
; %bb.1:
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	__
	mov	w8, w20
	ldr	w9, [sp, #60]
	stp	x9, x8, [sp]
	bl	_fatal
LBB0_2:
	ldr	w8, [sp, #52]
	cbz	w8, LBB0_4
; %bb.3:
Lloh4:
	adrp	x0, l_.str.2@PAGE
Lloh5:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	__
	ldr	w8, [sp, #52]
	str	x8, [sp]
	bl	_fatal
LBB0_4:
	ldr	w8, [sp, #48]
	add	x22, x21, x8, lsl #2
	sub	w21, w20, w8
	ldr	w8, [sp, #56]
	cbz	w8, LBB0_42
; %bb.5:
	cmp	w8, #52
	b.eq	LBB0_7
; %bb.6:
Lloh6:
	adrp	x0, l_.str.3@PAGE
Lloh7:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	__
	ldr	w8, [sp, #56]
	str	x8, [sp]
	bl	_fatal
LBB0_7:
	cmp	w21, #51
	b.hi	LBB0_9
; %bb.8:
Lloh8:
	adrp	x0, l_.str.4@PAGE
Lloh9:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	__
	bl	_toosmall
LBB0_9:
	mov	x0, x19
	mov	x1, x22
	mov	w2, #4
	bl	_windres_get_32
	mov	w8, #1213
	movk	w8, #65263, lsl #16
	cmp	x0, x8
	b.eq	LBB0_11
; %bb.10:
	mov	x20, x0
Lloh10:
	adrp	x0, l_.str.5@PAGE
Lloh11:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	__
	str	x20, [sp]
	bl	_fatal
LBB0_11:
	add	x1, x22, #16
	mov	x0, x19
	mov	w2, #4
	bl	_windres_get_32
	orr	x8, x0, #0x10000
	cmp	x8, #16, lsl #12                ; =65536
	b.eq	LBB0_13
; %bb.12:
	mov	x20, x0
Lloh12:
	adrp	x0, l_.str.6@PAGE
Lloh13:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	__
	str	x20, [sp]
	bl	_fatal
LBB0_13:
	mov	w0, #88
	bl	_res_alloc
	mov	x23, x0
	add	x1, x22, #32
	mov	x0, x19
	mov	w2, #4
	bl	_windres_get_32
	str	x0, [x23, #80]
	add	x1, x22, #48
	mov	x0, x19
	mov	w2, #4
	bl	_windres_get_32
	str	x0, [x23, #72]
	add	x1, x22, #64
	mov	x0, x19
	mov	w2, #4
	bl	_windres_get_32
	str	x0, [x23, #64]
	add	x1, x22, #80
	mov	x0, x19
	mov	w2, #4
	bl	_windres_get_32
	str	x0, [x23, #56]
	add	x1, x22, #96
	mov	x0, x19
	mov	w2, #4
	bl	_windres_get_32
	str	x0, [x23, #48]
	add	x1, x22, #112
	mov	x0, x19
	mov	w2, #4
	bl	_windres_get_32
	str	x0, [x23, #40]
	add	x1, x22, #128
	mov	x0, x19
	mov	w2, #4
	bl	_windres_get_32
	str	x0, [x23, #32]
	add	x1, x22, #144
	mov	x0, x19
	mov	w2, #4
	bl	_windres_get_32
	str	x0, [x23, #24]
	add	x1, x22, #160
	mov	x0, x19
	mov	w2, #4
	bl	_windres_get_32
	str	x0, [x23, #16]
	add	x1, x22, #176
	mov	x0, x19
	mov	w2, #4
	bl	_windres_get_32
	str	x0, [x23, #8]
	add	x1, x22, #192
	mov	x0, x19
	mov	w2, #4
	bl	_windres_get_32
	str	x0, [x23]
	add	x22, x22, #208
	sub	w21, w21, #52
	str	xzr, [sp, #40]
	cbz	w21, LBB0_43
LBB0_14:
	str	x23, [sp, #24]                  ; 8-byte Folded Spill
	add	x26, sp, #40
	add	x25, sp, #48
Lloh14:
	adrp	x24, l_.str.11@PAGE
Lloh15:
	add	x24, x24, l_.str.11@PAGEOFF
	b	LBB0_17
LBB0_15:                                ;   in Loop: Header=BB0_17 Depth=1
Lloh16:
	adrp	x0, l_.str.17@PAGE
Lloh17:
	add	x0, x0, l_.str.17@PAGEOFF
	bl	__
	bl	_fatal
LBB0_16:                                ;   in Loop: Header=BB0_17 Depth=1
	str	xzr, [x28]
	str	x28, [x26]
	mov	x26, x28
	cbz	w21, LBB0_41
LBB0_17:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_27 Depth 2
                                        ;     Child Loop BB0_36 Depth 2
	cmp	w21, #7
	b.hi	LBB0_19
; %bb.18:                               ;   in Loop: Header=BB0_17 Depth=1
Lloh18:
	adrp	x0, l_.str.7@PAGE
Lloh19:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	__
	bl	_toosmall
LBB0_19:                                ;   in Loop: Header=BB0_17 Depth=1
	mov	w0, #48
	bl	_res_alloc
	mov	x28, x0
	add	x1, x22, #24
	mov	x0, x19
	mov	w2, #2
	bl	_windres_get_16
	cmp	w0, #86
	b.eq	LBB0_32
; %bb.20:                               ;   in Loop: Header=BB0_17 Depth=1
	cmp	w0, #83
	b.ne	LBB0_15
; %bb.21:                               ;   in Loop: Header=BB0_17 Depth=1
Lloh20:
	adrp	x8, _VERINFO_STRING@GOTPAGE
Lloh21:
	ldr	x8, [x8, _VERINFO_STRING@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	str	w8, [x28, #40]
	str	x25, [sp]
	add	x5, sp, #60
	add	x6, sp, #56
	add	x7, sp, #52
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
Lloh23:
	adrp	x3, l_.str.8@PAGE
Lloh24:
	add	x3, x3, l_.str.8@PAGEOFF
	mov	x4, #0
	bl	_get_version_header
	ldr	w8, [sp, #56]
	cbz	w8, LBB0_23
; %bb.22:                               ;   in Loop: Header=BB0_17 Depth=1
Lloh25:
	adrp	x0, l_.str.9@PAGE
Lloh26:
	add	x0, x0, l_.str.9@PAGEOFF
	bl	__
	ldr	w8, [sp, #56]
	str	x8, [sp]
	bl	_fatal
LBB0_23:                                ;   in Loop: Header=BB0_17 Depth=1
	ldr	w8, [sp, #48]
	add	x22, x22, x8, lsl #2
	sub	w20, w21, w8
	add	x4, x28, #32
	str	x25, [sp]
	add	x5, sp, #60
	add	x6, sp, #56
	add	x7, sp, #52
	mov	x0, x19
	mov	x1, x22
	mov	x2, x20
	mov	x3, #0
	bl	_get_version_header
	ldr	w8, [sp, #56]
	cbz	w8, LBB0_25
; %bb.24:                               ;   in Loop: Header=BB0_17 Depth=1
Lloh27:
	adrp	x0, l_.str.10@PAGE
Lloh28:
	add	x0, x0, l_.str.10@PAGEOFF
	bl	__
	ldr	w8, [sp, #56]
	str	x8, [sp]
	bl	_fatal
LBB0_25:                                ;   in Loop: Header=BB0_17 Depth=1
	ldr	w8, [sp, #48]
	add	x22, x22, x8, lsl #2
	sub	w21, w20, w8
	ldr	w9, [sp, #60]
	sub	w8, w9, w8
	mov	x20, x28
	str	xzr, [x20, #24]!
	add	w8, w8, #3
	ands	w8, w8, #0xfffffffc
	b	LBB0_27
LBB0_26:                                ;   in Loop: Header=BB0_27 Depth=2
	add	x22, x22, x27, lsl #2
	mov	x20, x23
	subs	w8, w9, w8
LBB0_27:                                ;   Parent Loop BB0_17 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	str	w8, [sp, #60]
	b.eq	LBB0_16
; %bb.28:                               ;   in Loop: Header=BB0_27 Depth=2
	mov	w0, #24
	bl	_res_alloc
	mov	x23, x0
	add	x4, x0, #16
	str	x25, [sp]
	add	x5, sp, #36
	add	x6, sp, #56
	add	x7, sp, #52
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	mov	x3, #0
	bl	_get_version_header
	ldr	w8, [sp, #36]
	add	w8, w8, #3
	and	w8, w8, #0xfffffffc
	str	w8, [sp, #36]
	ldr	w8, [sp, #48]
	add	x22, x22, x8, lsl #2
	sub	w21, w21, w8
	add	x3, sp, #32
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	bl	_get_unicode
	str	w0, [x23, #8]
	ldp	w8, w9, [sp, #32]
	lsl	w8, w8, #1
	add	w8, w8, #5
	and	w27, w8, #0xfffffffc
	ldr	w8, [sp, #48]
	add	w8, w27, w8
	cmp	w8, w9
	b.eq	LBB0_30
; %bb.29:                               ;   in Loop: Header=BB0_27 Depth=2
	mov	x0, x24
	bl	__
	ldr	w8, [sp, #36]
	ldr	w9, [sp, #48]
	stp	x9, x27, [sp, #8]
	str	x8, [sp]
	bl	_fatal
	ldr	w8, [sp, #36]
LBB0_30:                                ;   in Loop: Header=BB0_27 Depth=2
	str	xzr, [x23]
	str	x23, [x20]
	sub	w21, w21, w27
	ldr	w9, [sp, #60]
	cmp	w9, w8
	b.hs	LBB0_26
; %bb.31:                               ;   in Loop: Header=BB0_27 Depth=2
Lloh29:
	adrp	x0, l_.str.12@PAGE
Lloh30:
	add	x0, x0, l_.str.12@PAGEOFF
	bl	__
	ldr	w8, [sp, #60]
	ldr	w9, [sp, #36]
	stp	x8, x9, [sp]
	bl	_fatal
	ldr	w8, [sp, #36]
	ldr	w9, [sp, #60]
	b	LBB0_26
LBB0_32:                                ;   in Loop: Header=BB0_17 Depth=1
Lloh31:
	adrp	x8, _VERINFO_VAR@GOTPAGE
Lloh32:
	ldr	x8, [x8, _VERINFO_VAR@GOTPAGEOFF]
Lloh33:
	ldr	w8, [x8]
	str	w8, [x28, #40]
	str	x25, [sp]
	add	x5, sp, #60
	add	x6, sp, #56
	add	x7, sp, #52
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
Lloh34:
	adrp	x3, l_.str.13@PAGE
Lloh35:
	add	x3, x3, l_.str.13@PAGEOFF
	mov	x4, #0
	bl	_get_version_header
	ldr	w8, [sp, #56]
	cbz	w8, LBB0_34
; %bb.33:                               ;   in Loop: Header=BB0_17 Depth=1
Lloh36:
	adrp	x0, l_.str.14@PAGE
Lloh37:
	add	x0, x0, l_.str.14@PAGEOFF
	bl	__
	ldr	w8, [sp, #56]
	str	x8, [sp]
	bl	_fatal
LBB0_34:                                ;   in Loop: Header=BB0_17 Depth=1
	ldr	w8, [sp, #48]
	add	x20, x22, x8, lsl #2
	sub	w21, w21, w8
	add	x4, x28, #16
	str	x25, [sp]
	add	x5, sp, #60
	add	x6, sp, #56
	add	x7, sp, #52
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	mov	x3, #0
	bl	_get_version_header
	ldr	w8, [sp, #48]
	add	x22, x20, x8, lsl #2
	sub	w21, w21, w8
	mov	x27, x28
	str	xzr, [x27, #8]!
	ldr	w8, [sp, #56]
	cbnz	w8, LBB0_36
	b	LBB0_16
LBB0_35:                                ;   in Loop: Header=BB0_36 Depth=2
	add	x22, x22, #8
	sub	w21, w21, #4
	mov	x27, x20
	sub	w8, w8, #4
	str	w8, [sp, #56]
	cbz	w8, LBB0_40
LBB0_36:                                ;   Parent Loop BB0_17 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x23, x22
	cmp	w21, #3
	b.hi	LBB0_38
; %bb.37:                               ;   in Loop: Header=BB0_36 Depth=2
Lloh38:
	adrp	x0, l_.str.15@PAGE
Lloh39:
	add	x0, x0, l_.str.15@PAGEOFF
	bl	__
	bl	_toosmall
LBB0_38:                                ;   in Loop: Header=BB0_36 Depth=2
	mov	w0, #24
	bl	_res_alloc
	mov	x20, x0
	mov	x0, x19
	mov	x1, x23
	mov	w2, #2
	bl	_windres_get_16
	str	x0, [x20, #16]
	add	x22, x23, #8
	mov	x0, x19
	mov	x1, x22
	mov	w2, #2
	bl	_windres_get_16
	stp	xzr, x0, [x20]
	str	x20, [x27]
	ldr	w8, [sp, #56]
	cmp	w8, #3
	b.hi	LBB0_35
; %bb.39:                               ;   in Loop: Header=BB0_36 Depth=2
Lloh40:
	adrp	x0, l_.str.16@PAGE
Lloh41:
	add	x0, x0, l_.str.16@PAGEOFF
	bl	__
	ldr	w8, [sp, #56]
	str	x8, [sp]
	bl	_fatal
	ldr	w8, [sp, #56]
	b	LBB0_35
LBB0_40:                                ;   in Loop: Header=BB0_17 Depth=1
	add	x22, x23, #16
	b	LBB0_16
LBB0_41:
	ldr	x20, [sp, #40]
	ldr	x23, [sp, #24]                  ; 8-byte Folded Reload
	b	LBB0_44
LBB0_42:
	mov	x23, #0
	str	xzr, [sp, #40]
	cbnz	w21, LBB0_14
LBB0_43:
	mov	x20, #0
LBB0_44:
	mov	w0, #16
	bl	_res_alloc
	mov	x19, x0
	stp	x20, x23, [x0]
	mov	w0, #16
	bl	_res_alloc
Lloh42:
	adrp	x8, _RES_TYPE_VERSIONINFO@GOTPAGE
Lloh43:
	ldr	x8, [x8, _RES_TYPE_VERSIONINFO@GOTPAGEOFF]
Lloh44:
	ldr	w8, [x8]
	str	w8, [x0, #8]
	str	x19, [x0]
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"VS_VERSION_INFO"

l_.str.1:                               ; @.str.1
	.asciz	"version length %d does not match resource length %lu"

l_.str.2:                               ; @.str.2
	.asciz	"unexpected version type %d"

l_.str.3:                               ; @.str.3
	.asciz	"unexpected fixed version information length %ld"

l_.str.4:                               ; @.str.4
	.asciz	"fixed version info"

l_.str.5:                               ; @.str.5
	.asciz	"unexpected fixed version signature %lu"

l_.str.6:                               ; @.str.6
	.asciz	"unexpected fixed version info version %lu"

l_.str.7:                               ; @.str.7
	.asciz	"version var info"

	.comm	_VERINFO_STRING,4,2             ; @VERINFO_STRING
l_.str.8:                               ; @.str.8
	.asciz	"StringFileInfo"

l_.str.9:                               ; @.str.9
	.asciz	"unexpected stringfileinfo value length %ld"

l_.str.10:                              ; @.str.10
	.asciz	"unexpected version stringtable value length %ld"

l_.str.11:                              ; @.str.11
	.asciz	"unexpected version string length %ld != %ld + %ld"

l_.str.12:                              ; @.str.12
	.asciz	"unexpected version string length %ld < %ld"

	.comm	_VERINFO_VAR,4,2                ; @VERINFO_VAR
l_.str.13:                              ; @.str.13
	.asciz	"VarFileInfo"

l_.str.14:                              ; @.str.14
	.asciz	"unexpected varfileinfo value length %ld"

l_.str.15:                              ; @.str.15
	.asciz	"version varfileinfo"

l_.str.16:                              ; @.str.16
	.asciz	"unexpected version value length %ld"

l_.str.17:                              ; @.str.17
	.asciz	"unexpected version string"

	.comm	_RES_TYPE_VERSIONINFO,4,2       ; @RES_TYPE_VERSIONINFO
	.no_dead_strip	_bin_to_res_version
.subsections_via_symbols
