	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_version_header
_get_version_header:                    ## @get_version_header
	.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	%r9, -64(%rbp)                  ## 8-byte Spill
	movq	%r8, -56(%rbp)                  ## 8-byte Spill
	movq	%rcx, %rbx
	movl	%edx, %r14d
	movq	%rsi, %r12
	movq	%rdi, %r15
	movq	32(%rbp), %r13
	cmpl	$7, %edx
	jg	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_toosmall
LBB0_2:
	movq	%r15, %rdi
	movq	%r12, %rsi
	movl	$2, %edx
	callq	_windres_get_16
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx)
	leaq	16(%r12), %rsi
	movq	%r15, %rdi
	movl	$2, %edx
	callq	_windres_get_16
	movq	16(%rbp), %rcx
	movl	%eax, (%rcx)
	leaq	32(%r12), %rsi
	movq	%r15, %rdi
	movl	$2, %edx
	callq	_windres_get_16
	movq	24(%rbp), %rcx
	movl	%eax, (%rcx)
	movl	$6, (%r13)
	addl	$-6, %r14d
	addq	$48, %r12
	testq	%rbx, %rbx
	je	LBB0_3
	.p2align	4, 0x90
## %bb.5:
	cmpl	$1, %r14d
	jg	LBB0_7
LBB0_6:
	movq	%rbx, %rdi
	callq	_toosmall
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movq	%r12, %rsi
	movl	$2, %edx
	callq	_windres_get_16
	movsbq	(%rbx), %rcx
	cmpq	%rcx, %rax
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	leaq	L_.str(%rip), %rdi
	callq	__
	movl	%eax, %edi
	callq	_fatal
LBB0_9:                                 ##   in Loop: Header=BB0_7 Depth=1
	movl	(%r13), %eax
	addl	$2, %eax
	movl	%eax, (%r13)
	cmpb	$0, (%rbx)
	je	LBB0_4
## %bb.10:                              ##   in Loop: Header=BB0_7 Depth=1
	addq	$16, %r12
	addl	$-2, %r14d
	incq	%rbx
	cmpl	$1, %r14d
	jle	LBB0_6
	jmp	LBB0_7
LBB0_3:
	leaq	-44(%rbp), %rcx
	movq	%r15, %rdi
	movq	%r12, %rsi
	movl	%r14d, %edx
	callq	_get_unicode
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
	movl	-44(%rbp), %eax
	movl	(%r13), %ecx
	leal	(%rcx,%rax,4), %eax
	addl	$4, %eax
LBB0_4:
	addl	$3, %eax
	andl	$-4, %eax
	movl	%eax, (%r13)
	addq	$24, %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	"unexpected version string"

	.no_dead_strip	_get_version_header
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_version_header
_get_version_header:                    ; @get_version_header
	.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	x21, x7
	mov	x25, x6
	mov	x26, x5
	mov	x23, x4
	mov	x20, x3
	mov	x24, x2
	mov	x22, x1
	mov	x19, x0
	ldr	x27, [x29, #16]
	cmp	w2, #7
	b.gt	LBB0_2
; %bb.1:
	mov	x0, x20
	bl	_toosmall
LBB0_2:
	mov	x0, x19
	mov	x1, x22
	mov	w2, #2
	bl	_windres_get_16
	str	w0, [x26]
	add	x1, x22, #16
	mov	x0, x19
	mov	w2, #2
	bl	_windres_get_16
	str	w0, [x25]
	add	x1, x22, #32
	mov	x0, x19
	mov	w2, #2
	bl	_windres_get_16
	str	w0, [x21]
	mov	w8, #6
	str	w8, [x27]
	sub	w21, w24, #6
	add	x22, x22, #48
	cbz	x20, LBB0_9
; %bb.3:
Lloh0:
	adrp	x23, l_.str@PAGE
Lloh1:
	add	x23, x23, l_.str@PAGEOFF
	cmp	w21, #1
	b.gt	LBB0_5
LBB0_4:
	mov	x0, x20
	bl	_toosmall
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x22
	mov	w2, #2
	bl	_windres_get_16
	ldrsb	x8, [x20]
	cmp	x0, x8
	b.eq	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x23
	bl	__
	bl	_fatal
LBB0_7:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x27]
	add	w8, w8, #2
	str	w8, [x27]
	ldrb	w9, [x20]
	cbz	w9, LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x22, x22, #16
	sub	w21, w21, #2
	add	x20, x20, #1
	cmp	w21, #1
	b.le	LBB0_4
	b	LBB0_5
LBB0_9:
	add	x3, sp, #12
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	bl	_get_unicode
	str	x0, [x23]
	ldr	w8, [sp, #12]
	ldr	w9, [x27]
	add	w8, w9, w8, lsl #2
	add	w8, w8, #4
LBB0_10:
	add	w8, w8, #3
	and	w8, w8, #0xfffffffc
	str	w8, [x27]
	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
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unexpected version string"

	.no_dead_strip	_get_version_header
.subsections_via_symbols
