	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function archive_write_set_format_mtree_default
_archive_write_set_format_mtree_default: ## @archive_write_set_format_mtree_default
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rcx
	movq	%rdi, %r14
	movq	_ARCHIVE_WRITE_MAGIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ARCHIVE_STATE_NEW@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_archive_check_magic
	movq	48(%r14), %rax
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%r14, %rdi
	callq	*%rax
LBB0_2:
	movl	$1, %edi
	movl	$48, %esi
	callq	_calloc
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	%rax, %rbx
	movq	$0, 40(%rax)
	movl	$1, (%rax)
	leaq	36(%rax), %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movq	_DEFAULT_KEYS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%rbx)
	leaq	8(%rbx), %rdi
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rbx)
	callq	_archive_string_init
	movq	%rbx, %rdi
	addq	$4, %rdi
	callq	_archive_string_init
	movq	%rbx, %rdi
	callq	_mtree_entry_register_init
	movq	%rbx, 56(%r14)
	movq	_archive_write_mtree_free@GOTPCREL(%rip), %rax
	movq	%rax, 48(%r14)
	leaq	L_.str.1(%rip), %rax
	movq	%rax, (%r14)
	movq	_archive_write_mtree_options@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 40(%r14)
	movq	_archive_write_mtree_header@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 36(%r14)
	movq	_archive_write_mtree_close@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 32(%r14)
	movq	_archive_write_mtree_data@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 28(%r14)
	movq	_archive_write_mtree_finish_entry@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 24(%r14)
	movq	_ARCHIVE_FORMAT_MTREE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 16(%r14)
	movq	%rax, 8(%r14)
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_3:
	addq	$8, %r14
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%r14, %rdi
	callq	_archive_set_error
	movq	_ARCHIVE_FATAL@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ARCHIVE_WRITE_MAGIC,4,2        ## @ARCHIVE_WRITE_MAGIC
	.comm	_ARCHIVE_STATE_NEW,4,2          ## @ARCHIVE_STATE_NEW
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Can't allocate mtree data"

	.comm	_ARCHIVE_FATAL,4,2              ## @ARCHIVE_FATAL
	.comm	_DEFAULT_KEYS,4,2               ## @DEFAULT_KEYS
L_.str.1:                               ## @.str.1
	.asciz	"mtree"

	.comm	_archive_write_mtree_options,4,2 ## @archive_write_mtree_options
	.comm	_archive_write_mtree_header,4,2 ## @archive_write_mtree_header
	.comm	_archive_write_mtree_close,4,2  ## @archive_write_mtree_close
	.comm	_archive_write_mtree_data,4,2   ## @archive_write_mtree_data
	.comm	_archive_write_mtree_finish_entry,4,2 ## @archive_write_mtree_finish_entry
	.comm	_ARCHIVE_FORMAT_MTREE,4,2       ## @ARCHIVE_FORMAT_MTREE
	.comm	_ARCHIVE_OK,4,2                 ## @ARCHIVE_OK
	.no_dead_strip	_archive_write_set_format_mtree_default
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function archive_write_set_format_mtree_default
_archive_write_set_format_mtree_default: ; @archive_write_set_format_mtree_default
	.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	x3, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _ARCHIVE_WRITE_MAGIC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ARCHIVE_WRITE_MAGIC@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _ARCHIVE_STATE_NEW@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ARCHIVE_STATE_NEW@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	bl	_archive_check_magic
	ldr	x8, [x19, #48]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x0, x19
	blr	x8
LBB0_2:
	mov	w21, #1
	mov	w0, #1
	mov	w1, #48
	bl	_calloc
	cbz	x0, LBB0_4
; %bb.3:
	mov	x20, x0
	str	xzr, [x0, #40]
	str	w21, [x0], #36
	mov	w1, #0
	mov	w2, #4
	bl	_memset
Lloh6:
	adrp	x8, _DEFAULT_KEYS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DEFAULT_KEYS@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	w8, [x20, #32]
	add	x0, x20, #8
	stp	xzr, xzr, [x20, #16]
	bl	_archive_string_init
	add	x0, x20, #4
	bl	_archive_string_init
	mov	x0, x20
	bl	_mtree_entry_register_init
Lloh9:
	adrp	x8, _archive_write_mtree_free@GOTPAGE
Lloh10:
	ldr	x8, [x8, _archive_write_mtree_free@GOTPAGEOFF]
	stp	x8, x20, [x19, #48]
Lloh11:
	adrp	x8, l_.str.1@PAGE
Lloh12:
	add	x8, x8, l_.str.1@PAGEOFF
Lloh13:
	adrp	x9, _archive_write_mtree_options@GOTPAGE
Lloh14:
	ldr	x9, [x9, _archive_write_mtree_options@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	str	w9, [x19, #40]
Lloh16:
	adrp	x9, _archive_write_mtree_header@GOTPAGE
Lloh17:
	ldr	x9, [x9, _archive_write_mtree_header@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
Lloh19:
	adrp	x10, _archive_write_mtree_close@GOTPAGE
Lloh20:
	ldr	x10, [x10, _archive_write_mtree_close@GOTPAGEOFF]
Lloh21:
	ldr	w10, [x10]
	stp	w10, w9, [x19, #32]
Lloh22:
	adrp	x9, _archive_write_mtree_data@GOTPAGE
Lloh23:
	ldr	x9, [x9, _archive_write_mtree_data@GOTPAGEOFF]
Lloh24:
	adrp	x10, _archive_write_mtree_finish_entry@GOTPAGE
Lloh25:
	ldr	x10, [x10, _archive_write_mtree_finish_entry@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
Lloh27:
	ldr	w10, [x10]
	stp	w10, w9, [x19, #24]
Lloh28:
	adrp	x9, _ARCHIVE_FORMAT_MTREE@GOTPAGE
Lloh29:
	ldr	x9, [x9, _ARCHIVE_FORMAT_MTREE@GOTPAGEOFF]
Lloh30:
	ldr	w9, [x9]
	str	w9, [x19, #16]
	stp	x8, x8, [x19]
Lloh31:
	adrp	x8, _ARCHIVE_OK@GOTPAGE
Lloh32:
	ldr	x8, [x8, _ARCHIVE_OK@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
	add	x0, x19, #8
Lloh33:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh34:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh35:
	ldr	w1, [x8]
Lloh36:
	adrp	x2, l_.str@PAGE
Lloh37:
	add	x2, x2, l_.str@PAGEOFF
	bl	_archive_set_error
Lloh38:
	adrp	x8, _ARCHIVE_FATAL@GOTPAGE
Lloh39:
	ldr	x8, [x8, _ARCHIVE_FATAL@GOTPAGEOFF]
LBB0_5:
	ldr	w0, [x8]
	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	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh26
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh38, Lloh39
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.cfi_endproc
                                        ; -- End function
	.comm	_ARCHIVE_WRITE_MAGIC,4,2        ; @ARCHIVE_WRITE_MAGIC
	.comm	_ARCHIVE_STATE_NEW,4,2          ; @ARCHIVE_STATE_NEW
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Can't allocate mtree data"

	.comm	_ARCHIVE_FATAL,4,2              ; @ARCHIVE_FATAL
	.comm	_DEFAULT_KEYS,4,2               ; @DEFAULT_KEYS
l_.str.1:                               ; @.str.1
	.asciz	"mtree"

	.comm	_archive_write_mtree_options,4,2 ; @archive_write_mtree_options
	.comm	_archive_write_mtree_header,4,2 ; @archive_write_mtree_header
	.comm	_archive_write_mtree_close,4,2  ; @archive_write_mtree_close
	.comm	_archive_write_mtree_data,4,2   ; @archive_write_mtree_data
	.comm	_archive_write_mtree_finish_entry,4,2 ; @archive_write_mtree_finish_entry
	.comm	_ARCHIVE_FORMAT_MTREE,4,2       ; @ARCHIVE_FORMAT_MTREE
	.comm	_ARCHIVE_OK,4,2                 ; @ARCHIVE_OK
	.no_dead_strip	_archive_write_set_format_mtree_default
.subsections_via_symbols
