	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _unmarshal_itsf_header
__unmarshal_itsf_header:                ## @_unmarshal_itsf_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movl	(%rsi), %eax
	movq	__CHM_ITSF_V2_LEN@GOTPCREL(%rip), %rcx
	movq	__CHM_ITSF_V3_LEN@GOTPCREL(%rip), %rdx
	movq	_FALSE@GOTPCREL(%rip), %r13
	cmpl	(%rcx), %eax
	je	LBB0_2
## %bb.1:
	cmpl	(%rdx), %eax
	jne	LBB0_11
LBB0_2:
	movl	40(%r14), %edx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movl	$4, %ecx
	callq	__unmarshal_char_array
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	callq	__unmarshal_int32
	leaq	4(%r14), %r12
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movq	%r12, %rdx
	callq	__unmarshal_int32
	leaq	8(%r14), %rdx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	__unmarshal_int32
	leaq	76(%r14), %rdx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	__unmarshal_uint32
	leaq	72(%r14), %rdx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	__unmarshal_uint32
	movl	68(%r14), %edx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	__unmarshal_uuid
	movl	64(%r14), %edx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	__unmarshal_uuid
	leaq	56(%r14), %rdx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	__unmarshal_uint64
	leaq	48(%r14), %rdx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	__unmarshal_uint64
	leaq	24(%r14), %rdx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	__unmarshal_uint64
	leaq	16(%r14), %rdx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	__unmarshal_uint64
	movl	40(%r14), %edi
	leaq	L_.str(%rip), %rsi
	movl	$4, %edx
	callq	_memcmp
	testq	%rax, %rax
	je	LBB0_3
LBB0_11:
	movl	(%r13), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movl	(%r14), %eax
	cmpl	$3, %eax
	je	LBB0_7
## %bb.4:
	cmpl	$2, %eax
	jne	LBB0_11
## %bb.5:
	movl	(%r12), %eax
	movq	__CHM_ITSF_V2_LEN@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jb	LBB0_11
## %bb.6:
	movq	16(%r14), %rax
	addq	24(%r14), %rax
	movq	%rax, 32(%r14)
	jmp	LBB0_10
LBB0_7:
	movl	(%r12), %eax
	movq	__CHM_ITSF_V3_LEN@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jb	LBB0_11
## %bb.8:
	cmpl	$0, (%rbx)
	je	LBB0_11
## %bb.9:
	addq	$32, %r14
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	callq	__unmarshal_uint64
LBB0_10:
	movq	_TRUE@GOTPCREL(%rip), %r13
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	__CHM_ITSF_V2_LEN,4,2           ## @_CHM_ITSF_V2_LEN
	.comm	__CHM_ITSF_V3_LEN,4,2           ## @_CHM_ITSF_V3_LEN
	.comm	_FALSE,4,2                      ## @FALSE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ITSF"

	.comm	_TRUE,4,2                       ## @TRUE
	.no_dead_strip	__unmarshal_itsf_header
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _unmarshal_itsf_header
__unmarshal_itsf_header:                ; @_unmarshal_itsf_header
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	ldr	w8, [x1]
Lloh0:
	adrp	x23, __CHM_ITSF_V2_LEN@GOTPAGE
Lloh1:
	ldr	x23, [x23, __CHM_ITSF_V2_LEN@GOTPAGEOFF]
	ldr	w9, [x23]
Lloh2:
	adrp	x24, __CHM_ITSF_V3_LEN@GOTPAGE
Lloh3:
	ldr	x24, [x24, __CHM_ITSF_V3_LEN@GOTPAGEOFF]
	ldr	w10, [x24]
	cmp	w8, w9
	ccmp	w8, w10, #4, ne
	b.ne	LBB0_2
; %bb.1:
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	ldr	w2, [x2, #40]
	mov	w3, #4
	bl	__unmarshal_char_array
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	bl	__unmarshal_int32
	add	x22, x19, #4
	mov	x0, x21
	mov	x1, x20
	mov	x2, x22
	bl	__unmarshal_int32
	add	x2, x19, #8
	mov	x0, x21
	mov	x1, x20
	bl	__unmarshal_int32
	add	x2, x19, #76
	mov	x0, x21
	mov	x1, x20
	bl	__unmarshal_uint32
	add	x2, x19, #72
	mov	x0, x21
	mov	x1, x20
	bl	__unmarshal_uint32
	ldr	w2, [x19, #68]
	mov	x0, x21
	mov	x1, x20
	bl	__unmarshal_uuid
	ldr	w2, [x19, #64]
	mov	x0, x21
	mov	x1, x20
	bl	__unmarshal_uuid
	add	x2, x19, #56
	mov	x0, x21
	mov	x1, x20
	bl	__unmarshal_uint64
	add	x2, x19, #48
	mov	x0, x21
	mov	x1, x20
	bl	__unmarshal_uint64
	add	x2, x19, #24
	mov	x0, x21
	mov	x1, x20
	bl	__unmarshal_uint64
	add	x2, x19, #16
	mov	x0, x21
	mov	x1, x20
	bl	__unmarshal_uint64
	ldr	w0, [x19, #40]
Lloh4:
	adrp	x1, l_.str@PAGE
Lloh5:
	add	x1, x1, l_.str@PAGEOFF
	mov	w2, #4
	bl	_memcmp
	cbz	x0, LBB0_4
LBB0_2:
Lloh6:
	adrp	x8, _FALSE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
LBB0_3:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_4:
	ldr	w8, [x19]
	cmp	w8, #3
	b.eq	LBB0_8
; %bb.5:
	cmp	w8, #2
	b.ne	LBB0_2
; %bb.6:
	ldr	w8, [x22]
	ldr	w9, [x23]
	cmp	w8, w9
	b.lo	LBB0_2
; %bb.7:
	ldp	x9, x8, [x19, #16]
	add	x8, x9, x8
	str	x8, [x19, #32]
	b	LBB0_11
LBB0_8:
	ldr	w8, [x22]
	ldr	w9, [x24]
	cmp	w8, w9
	b.lo	LBB0_2
; %bb.9:
	ldr	w8, [x20]
	cbz	w8, LBB0_2
; %bb.10:
	add	x2, x19, #32
	mov	x0, x21
	mov	x1, x20
	bl	__unmarshal_uint64
LBB0_11:
Lloh8:
	adrp	x8, _TRUE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
	b	LBB0_3
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	__CHM_ITSF_V2_LEN,4,2           ; @_CHM_ITSF_V2_LEN
	.comm	__CHM_ITSF_V3_LEN,4,2           ; @_CHM_ITSF_V3_LEN
	.comm	_FALSE,4,2                      ; @FALSE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ITSF"

	.comm	_TRUE,4,2                       ; @TRUE
	.no_dead_strip	__unmarshal_itsf_header
.subsections_via_symbols
