	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_file_header
_parse_file_header:                     ## @parse_file_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	incq	%rbx
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rbx), %eax
	cmpb	$32, %al
	je	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpb	$9, %al
	je	LBB0_3
## %bb.4:
	leaq	_parse_file_header.header_31(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmpW
	testl	%eax, %eax
	je	LBB0_5
## %bb.6:
	leaq	_parse_file_header.header_40(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmpW
	testl	%eax, %eax
	je	LBB0_7
## %bb.8:
	leaq	_parse_file_header.header_50(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmpW
	testl	%eax, %eax
	je	LBB0_9
## %bb.10:
	leaq	_parse_file_header.header_31(%rip), %rsi
	movq	%rbx, %rdi
	movl	$7, %edx
	callq	_strncmpW
	testl	%eax, %eax
	jne	LBB0_11
## %bb.12:
	movq	_REG_VERSION_FUZZY@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_5:
	movq	_REG_VERSION_31@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_7:
	movq	_REG_VERSION_40@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_9:
	movq	_REG_VERSION_50@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_11:
	movq	_REG_VERSION_INVALID@GOTPCREL(%rip), %rax
LBB0_13:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
_parse_file_header.header_31:           ## @parse_file_header.header_31
	.asciz	"REGEDIT"

_parse_file_header.header_40:           ## @parse_file_header.header_40
	.asciz	"REGEDIT4"

	.p2align	4                               ## @parse_file_header.header_50
_parse_file_header.header_50:
	.asciz	"Windows Registry Editor Version 5.00"

	.comm	_REG_VERSION_31,4,2             ## @REG_VERSION_31
	.comm	_REG_VERSION_40,4,2             ## @REG_VERSION_40
	.comm	_REG_VERSION_50,4,2             ## @REG_VERSION_50
	.comm	_REG_VERSION_FUZZY,4,2          ## @REG_VERSION_FUZZY
	.comm	_REG_VERSION_INVALID,4,2        ## @REG_VERSION_INVALID
	.no_dead_strip	_parse_file_header
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_file_header
_parse_file_header:                     ; @parse_file_header
	.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	x19, x0
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w8, [x19]
	cmp	w8, #32
	ccmp	w8, #9, #4, ne
	b.ne	LBB0_3
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	add	x19, x19, #1
	b	LBB0_1
LBB0_3:
Lloh0:
	adrp	x1, _parse_file_header.header_31@PAGE
Lloh1:
	add	x1, x1, _parse_file_header.header_31@PAGEOFF
	mov	x0, x19
	bl	_strcmpW
	cbz	w0, LBB0_7
; %bb.4:
Lloh2:
	adrp	x1, _parse_file_header.header_40@PAGE
Lloh3:
	add	x1, x1, _parse_file_header.header_40@PAGEOFF
	mov	x0, x19
	bl	_strcmpW
	cbz	w0, LBB0_8
; %bb.5:
Lloh4:
	adrp	x1, _parse_file_header.header_50@PAGE
Lloh5:
	add	x1, x1, _parse_file_header.header_50@PAGEOFF
	mov	x0, x19
	bl	_strcmpW
	cbz	w0, LBB0_9
; %bb.6:
Lloh6:
	adrp	x1, _parse_file_header.header_31@PAGE
Lloh7:
	add	x1, x1, _parse_file_header.header_31@PAGEOFF
	mov	x0, x19
	mov	w2, #7
	bl	_strncmpW
Lloh8:
	adrp	x8, _REG_VERSION_INVALID@GOTPAGE
Lloh9:
	ldr	x8, [x8, _REG_VERSION_INVALID@GOTPAGEOFF]
Lloh10:
	adrp	x9, _REG_VERSION_FUZZY@GOTPAGE
Lloh11:
	ldr	x9, [x9, _REG_VERSION_FUZZY@GOTPAGEOFF]
	cmp	w0, #0
	csel	x8, x9, x8, eq
	b	LBB0_10
LBB0_7:
Lloh12:
	adrp	x8, _REG_VERSION_31@GOTPAGE
Lloh13:
	ldr	x8, [x8, _REG_VERSION_31@GOTPAGEOFF]
	b	LBB0_10
LBB0_8:
Lloh14:
	adrp	x8, _REG_VERSION_40@GOTPAGE
Lloh15:
	ldr	x8, [x8, _REG_VERSION_40@GOTPAGEOFF]
	b	LBB0_10
LBB0_9:
Lloh16:
	adrp	x8, _REG_VERSION_50@GOTPAGE
Lloh17:
	ldr	x8, [x8, _REG_VERSION_50@GOTPAGEOFF]
LBB0_10:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
_parse_file_header.header_31:           ; @parse_file_header.header_31
	.asciz	"REGEDIT"

_parse_file_header.header_40:           ; @parse_file_header.header_40
	.asciz	"REGEDIT4"

_parse_file_header.header_50:           ; @parse_file_header.header_50
	.asciz	"Windows Registry Editor Version 5.00"

	.comm	_REG_VERSION_31,4,2             ; @REG_VERSION_31
	.comm	_REG_VERSION_40,4,2             ; @REG_VERSION_40
	.comm	_REG_VERSION_50,4,2             ; @REG_VERSION_50
	.comm	_REG_VERSION_FUZZY,4,2          ; @REG_VERSION_FUZZY
	.comm	_REG_VERSION_INVALID,4,2        ; @REG_VERSION_INVALID
	.no_dead_strip	_parse_file_header
.subsections_via_symbols
