	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function asf_write_object_header
_asf_write_object_header:               ## @asf_write_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	8(%rdi), %rax
	movq	(%rax), %r14
	leaq	L_.str(%rip), %rdx
	xorl	%esi, %esi
	callq	_WRITE_U32
	leaq	L_.str.1(%rip), %rdx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_WRITE_U8
	leaq	L_.str.2(%rip), %rdx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_WRITE_U8
	movq	_ASF_OBJECT_TYPE_FILE_PROPS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_asf_write_object
	movq	_ASF_OBJECT_TYPE_HEADER_EXT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_asf_write_object
	movq	$0, (%r14)
	cmpq	$0, (%rbx)
	jle	LBB0_3
## %bb.1:
	movq	_ASF_OBJECT_TYPE_STREAM_PROPS@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %esi
	movq	%rbx, %rdi
	callq	_asf_write_object
	movq	(%r14), %rcx
	incq	%rcx
	movq	%rcx, (%r14)
	cmpq	(%rbx), %rcx
	jl	LBB0_2
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VC_CONTAINER_SUCCESS,4,2       ## @VC_CONTAINER_SUCCESS
	.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_TYPE_FILE_PROPS,4,2 ## @ASF_OBJECT_TYPE_FILE_PROPS
	.comm	_ASF_OBJECT_TYPE_HEADER_EXT,4,2 ## @ASF_OBJECT_TYPE_HEADER_EXT
	.comm	_ASF_OBJECT_TYPE_STREAM_PROPS,4,2 ## @ASF_OBJECT_TYPE_STREAM_PROPS
	.no_dead_strip	_asf_write_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_write_object_header
_asf_write_object_header:               ; @asf_write_object_header
	.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	x19, x0
	ldr	x8, [x0, #8]
	ldr	x20, [x8]
Lloh0:
	adrp	x2, l_.str@PAGE
Lloh1:
	add	x2, x2, l_.str@PAGEOFF
	mov	w1, #0
	bl	_WRITE_U32
Lloh2:
	adrp	x2, l_.str.1@PAGE
Lloh3:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	w1, #0
	bl	_WRITE_U8
Lloh4:
	adrp	x2, l_.str.2@PAGE
Lloh5:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x19
	mov	w1, #0
	bl	_WRITE_U8
Lloh6:
	adrp	x8, _ASF_OBJECT_TYPE_FILE_PROPS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ASF_OBJECT_TYPE_FILE_PROPS@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_asf_write_object
Lloh9:
	adrp	x8, _ASF_OBJECT_TYPE_HEADER_EXT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ASF_OBJECT_TYPE_HEADER_EXT@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_asf_write_object
	str	xzr, [x20]
	ldr	x8, [x19]
	cmp	x8, #1
	b.lt	LBB0_3
; %bb.1:
Lloh12:
	adrp	x21, _ASF_OBJECT_TYPE_STREAM_PROPS@GOTPAGE
Lloh13:
	ldr	x21, [x21, _ASF_OBJECT_TYPE_STREAM_PROPS@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x21]
	mov	x0, x19
	bl	_asf_write_object
	ldr	x8, [x20]
	add	x8, x8, #1
	str	x8, [x20]
	ldr	x9, [x19]
	cmp	x8, x9
	b.lt	LBB0_2
LBB0_3:
	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	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_VC_CONTAINER_SUCCESS,4,2       ; @VC_CONTAINER_SUCCESS
	.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_TYPE_FILE_PROPS,4,2 ; @ASF_OBJECT_TYPE_FILE_PROPS
	.comm	_ASF_OBJECT_TYPE_HEADER_EXT,4,2 ; @ASF_OBJECT_TYPE_HEADER_EXT
	.comm	_ASF_OBJECT_TYPE_STREAM_PROPS,4,2 ; @ASF_OBJECT_TYPE_STREAM_PROPS
	.no_dead_strip	_asf_write_object_header
.subsections_via_symbols
