	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fixup_tag
_fixup_tag:                             ## @fixup_tag
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %r12
	xorl	%esi, %esi
	movl	$128, %edx
	callq	_memset
	movq	(%r12), %r15
	movq	_brand@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	%rbx, %rdi
	callq	_strlen
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
	callq	_memcpy
	movq	8(%r12), %r15
	movq	_product@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	%rbx, %rdi
	callq	_strlen
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
	callq	_memcpy
	movq	16(%r12), %r15
	movq	_platform@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	%rbx, %rdi
	callq	_strlen
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
	callq	_memcpy
	movq	24(%r12), %r15
	movq	_major@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	%rbx, %rdi
	callq	_strlen
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
	callq	_memcpy
	movq	32(%r12), %r15
	movq	_minor@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	%rbx, %rdi
	callq	_strlen
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
	callq	_memcpy
	movq	40(%r12), %r15
	movq	_language@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	%rbx, %rdi
	callq	_strlen
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
	callq	_memcpy
	movq	_num_regions@GOTPCREL(%rip), %rax
	cmpl	$2, (%rax)
	movq	48(%r12), %rdi
	jl	LBB0_2
## %bb.1:
	movb	$77, (%rdi)
	movq	48(%r12), %rax
	movb	$95, 1(%rax)
	movq	_region_mask@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htonl
	movq	%rax, 120(%r12)
	jmp	LBB0_3
LBB0_2:
	movq	_region_code@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movl	$2, %edx
	callq	_memcpy
LBB0_3:
	movl	%r14d, %edi
	callq	_htonl
	movq	%rax, 112(%r12)
	movq	_fsize@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %edi
	callq	_htonl
	movq	%rax, 104(%r12)
	movq	_base1@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htonl
	movq	%rax, 96(%r12)
	movq	_base2@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htonl
	movq	%rax, 88(%r12)
	movq	_flag@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 80(%r12)
	movq	_hwver@GOTPCREL(%rip), %rbx
	cmpq	$0, (%rbx)
	je	LBB0_5
## %bb.4:
	movq	56(%r12), %rdi
	leaq	L_.str(%rip), %rsi
	movl	$3, %edx
	callq	_memcpy
	movq	64(%r12), %r15
	movq	(%rbx), %rbx
	movq	%rbx, %rdi
	callq	_strlen
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
	callq	_memcpy
LBB0_5:
	movq	_skipcrc@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_7
## %bb.6:
	movq	%r12, %rdi
	movl	%r14d, %esi
	callq	_buffalo_crc
	movl	%eax, %edi
	callq	_htonl
	movq	%rax, 72(%r12)
LBB0_7:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_brand,8,3                      ## @brand
	.comm	_product,8,3                    ## @product
	.comm	_platform,8,3                   ## @platform
	.comm	_major,8,3                      ## @major
	.comm	_minor,8,3                      ## @minor
	.comm	_language,8,3                   ## @language
	.comm	_num_regions,4,2                ## @num_regions
	.comm	_region_mask,4,2                ## @region_mask
	.comm	_region_code,8,3                ## @region_code
	.comm	_fsize,8,3                      ## @fsize
	.comm	_base1,4,2                      ## @base1
	.comm	_base2,4,2                      ## @base2
	.comm	_flag,4,2                       ## @flag
	.comm	_hwver,8,3                      ## @hwver
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"hwv"

	.comm	_skipcrc,4,2                    ## @skipcrc
	.no_dead_strip	_fixup_tag
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fixup_tag
_fixup_tag:                             ; @fixup_tag
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x1
	mov	x19, x0
	mov	w1, #0
	mov	w2, #128
	bl	_memset
	ldr	x21, [x19]
Lloh0:
	adrp	x8, _brand@GOTPAGE
Lloh1:
	ldr	x8, [x8, _brand@GOTPAGEOFF]
Lloh2:
	ldr	x22, [x8]
	mov	x0, x22
	bl	_strlen
	mov	x2, x0
	mov	x0, x21
	mov	x1, x22
	bl	_memcpy
	ldr	x21, [x19, #8]
Lloh3:
	adrp	x8, _product@GOTPAGE
Lloh4:
	ldr	x8, [x8, _product@GOTPAGEOFF]
Lloh5:
	ldr	x22, [x8]
	mov	x0, x22
	bl	_strlen
	mov	x2, x0
	mov	x0, x21
	mov	x1, x22
	bl	_memcpy
	ldr	x21, [x19, #16]
Lloh6:
	adrp	x8, _platform@GOTPAGE
Lloh7:
	ldr	x8, [x8, _platform@GOTPAGEOFF]
Lloh8:
	ldr	x22, [x8]
	mov	x0, x22
	bl	_strlen
	mov	x2, x0
	mov	x0, x21
	mov	x1, x22
	bl	_memcpy
	ldr	x21, [x19, #24]
Lloh9:
	adrp	x8, _major@GOTPAGE
Lloh10:
	ldr	x8, [x8, _major@GOTPAGEOFF]
Lloh11:
	ldr	x22, [x8]
	mov	x0, x22
	bl	_strlen
	mov	x2, x0
	mov	x0, x21
	mov	x1, x22
	bl	_memcpy
	ldr	x21, [x19, #32]
Lloh12:
	adrp	x8, _minor@GOTPAGE
Lloh13:
	ldr	x8, [x8, _minor@GOTPAGEOFF]
Lloh14:
	ldr	x22, [x8]
	mov	x0, x22
	bl	_strlen
	mov	x2, x0
	mov	x0, x21
	mov	x1, x22
	bl	_memcpy
	ldr	x21, [x19, #40]
Lloh15:
	adrp	x8, _language@GOTPAGE
Lloh16:
	ldr	x8, [x8, _language@GOTPAGEOFF]
Lloh17:
	ldr	x22, [x8]
	mov	x0, x22
	bl	_strlen
	mov	x2, x0
	mov	x0, x21
	mov	x1, x22
	bl	_memcpy
Lloh18:
	adrp	x8, _num_regions@GOTPAGE
Lloh19:
	ldr	x8, [x8, _num_regions@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	ldr	x0, [x19, #48]
	cmp	w8, #2
	b.lt	LBB0_2
; %bb.1:
	mov	w8, #77
	strb	w8, [x0]
	ldr	x8, [x19, #48]
	mov	w9, #95
	strb	w9, [x8, #1]
Lloh21:
	adrp	x8, _region_mask@GOTPAGE
Lloh22:
	ldr	x8, [x8, _region_mask@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
	bl	_htonl
	str	x0, [x19, #120]
	b	LBB0_3
LBB0_2:
Lloh24:
	adrp	x8, _region_code@GOTPAGE
Lloh25:
	ldr	x8, [x8, _region_code@GOTPAGEOFF]
Lloh26:
	ldr	x1, [x8]
	mov	w2, #2
	bl	_memcpy
LBB0_3:
	mov	x0, x20
	bl	_htonl
	str	x0, [x19, #112]
Lloh27:
	adrp	x8, _fsize@GOTPAGE
Lloh28:
	ldr	x8, [x8, _fsize@GOTPAGEOFF]
Lloh29:
	ldr	x8, [x8]
	ldr	w0, [x8]
	bl	_htonl
	str	x0, [x19, #104]
Lloh30:
	adrp	x8, _base1@GOTPAGE
Lloh31:
	ldr	x8, [x8, _base1@GOTPAGEOFF]
Lloh32:
	ldr	w0, [x8]
	bl	_htonl
	str	x0, [x19, #96]
Lloh33:
	adrp	x8, _base2@GOTPAGE
Lloh34:
	ldr	x8, [x8, _base2@GOTPAGEOFF]
Lloh35:
	ldr	w0, [x8]
	bl	_htonl
Lloh36:
	adrp	x8, _flag@GOTPAGE
Lloh37:
	ldr	x8, [x8, _flag@GOTPAGEOFF]
	str	x0, [x19, #88]
Lloh38:
	ldr	w8, [x8]
	str	w8, [x19, #80]
Lloh39:
	adrp	x22, _hwver@GOTPAGE
Lloh40:
	ldr	x22, [x22, _hwver@GOTPAGEOFF]
	ldr	x8, [x22]
	cbz	x8, LBB0_5
; %bb.4:
	ldr	x0, [x19, #56]
Lloh41:
	adrp	x1, l_.str@PAGE
Lloh42:
	add	x1, x1, l_.str@PAGEOFF
	mov	w2, #3
	bl	_memcpy
	ldr	x21, [x19, #64]
	ldr	x22, [x22]
	mov	x0, x22
	bl	_strlen
	mov	x2, x0
	mov	x0, x21
	mov	x1, x22
	bl	_memcpy
LBB0_5:
Lloh43:
	adrp	x8, _skipcrc@GOTPAGE
Lloh44:
	ldr	x8, [x8, _skipcrc@GOTPAGEOFF]
Lloh45:
	ldr	w8, [x8]
	cbnz	w8, LBB0_7
; %bb.6:
	mov	x0, x19
	mov	x1, x20
	bl	_buffalo_crc
	bl	_htonl
	str	x0, [x19, #72]
LBB0_7:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.cfi_endproc
                                        ; -- End function
	.comm	_brand,8,3                      ; @brand
	.comm	_product,8,3                    ; @product
	.comm	_platform,8,3                   ; @platform
	.comm	_major,8,3                      ; @major
	.comm	_minor,8,3                      ; @minor
	.comm	_language,8,3                   ; @language
	.comm	_num_regions,4,2                ; @num_regions
	.comm	_region_mask,4,2                ; @region_mask
	.comm	_region_code,8,3                ; @region_code
	.comm	_fsize,8,3                      ; @fsize
	.comm	_base1,4,2                      ; @base1
	.comm	_base2,4,2                      ; @base2
	.comm	_flag,4,2                       ; @flag
	.comm	_hwver,8,3                      ; @hwver
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"hwv"

	.comm	_skipcrc,4,2                    ; @skipcrc
	.no_dead_strip	_fixup_tag
.subsections_via_symbols
