	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function asf_read_object_header
_asf_read_object_header:                ## @asf_read_object_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	%rsi, %r12
	movq	%rdi, %r14
	movq	(%rdi), %rax
	movq	(%rax), %rbx
	movq	_VC_CONTAINER_SUCCESS@GOTPCREL(%rip), %r13
	movq	(%r13), %r15
	callq	_STREAM_POSITION
	cmpq	$5, %r12
	jg	LBB0_2
## %bb.1:
	movq	_VC_CONTAINER_ERROR_CORRUPTED@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	jmp	LBB0_9
LBB0_2:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_SKIP_U32
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	callq	_SKIP_U8
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	callq	_SKIP_U8
	movl	(%rbx), %eax
	incl	%eax
	movl	%eax, (%rbx)
	cmpq	(%r13), %r15
	jne	LBB0_8
## %bb.3:
	addq	$-6, %r12
	movq	_ASF_OBJECT_HEADER_SIZE@GOTPCREL(%rip), %r13
	cmpq	(%r13), %r12
	jl	LBB0_8
## %bb.4:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	callq	_STREAM_POSITION
	movq	%rax, %rbx
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_asf_read_object
	movq	%rax, %r15
	movq	%r14, %rdi
	callq	_STREAM_POSITION
	movq	_VC_CONTAINER_SUCCESS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %r15
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	addq	%r12, %rbx
	subq	%rax, %rbx
	movq	%rbx, %r12
	cmpq	(%r13), %rbx
	jge	LBB0_5
LBB0_7:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movl	(%rbx), %eax
LBB0_8:
	decl	%eax
	movl	%eax, (%rbx)
LBB0_9:
	movq	%r15, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VC_CONTAINER_SUCCESS,8,3       ## @VC_CONTAINER_SUCCESS
	.comm	_VC_CONTAINER_ERROR_CORRUPTED,8,3 ## @VC_CONTAINER_ERROR_CORRUPTED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Number of Header Objects"

L_.str.1:                               ## @.str.1
	.asciz	"Reserved1"

L_.str.2:                               ## @.str.2
	.asciz	"Reserved2"

	.comm	_ASF_OBJECT_HEADER_SIZE,8,3     ## @ASF_OBJECT_HEADER_SIZE
	.no_dead_strip	_asf_read_object_header
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function asf_read_object_header
_asf_read_object_header:                ; @asf_read_object_header
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x21, x1
	mov	x20, x0
	ldr	x8, [x0]
	ldr	x23, [x8]
Lloh0:
	adrp	x24, _VC_CONTAINER_SUCCESS@GOTPAGE
Lloh1:
	ldr	x24, [x24, _VC_CONTAINER_SUCCESS@GOTPAGEOFF]
	ldr	x19, [x24]
	bl	_STREAM_POSITION
	cmp	x21, #5
	b.gt	LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _VC_CONTAINER_ERROR_CORRUPTED@GOTPAGE
Lloh3:
	ldr	x8, [x8, _VC_CONTAINER_ERROR_CORRUPTED@GOTPAGEOFF]
Lloh4:
	ldr	x19, [x8]
	b	LBB0_6
LBB0_2:
	sub	x21, x21, #6
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_SKIP_U32
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_SKIP_U8
Lloh9:
	adrp	x1, l_.str.2@PAGE
Lloh10:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_SKIP_U8
	ldr	w8, [x23]
	add	w8, w8, #1
	str	w8, [x23]
	ldr	x9, [x24]
Lloh11:
	adrp	x25, _ASF_OBJECT_HEADER_SIZE@GOTPAGE
Lloh12:
	ldr	x25, [x25, _ASF_OBJECT_HEADER_SIZE@GOTPAGEOFF]
	ldr	x10, [x25]
	cmp	x19, x9
	ccmp	x21, x10, #8, eq
	b.lt	LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_STREAM_POSITION
	mov	x22, x0
	mov	x0, x20
	mov	x1, x21
	bl	_asf_read_object
	mov	x19, x0
	mov	x0, x20
	bl	_STREAM_POSITION
	add	x8, x22, x21
	sub	x21, x8, x0
	ldr	x8, [x24]
	ldr	x9, [x25]
	cmp	x19, x8
	ccmp	x21, x9, #8, eq
	b.ge	LBB0_3
; %bb.4:
	ldr	w8, [x23]
LBB0_5:
	sub	w8, w8, #1
	str	w8, [x23]
LBB0_6:
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_VC_CONTAINER_SUCCESS,8,3       ; @VC_CONTAINER_SUCCESS
	.comm	_VC_CONTAINER_ERROR_CORRUPTED,8,3 ; @VC_CONTAINER_ERROR_CORRUPTED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Number of Header Objects"

l_.str.1:                               ; @.str.1
	.asciz	"Reserved1"

l_.str.2:                               ; @.str.2
	.asciz	"Reserved2"

	.comm	_ASF_OBJECT_HEADER_SIZE,8,3     ; @ASF_OBJECT_HEADER_SIZE
	.no_dead_strip	_asf_read_object_header
.subsections_via_symbols
