	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_archive_write_set_format_shar  ## -- Begin function archive_write_set_format_shar
	.p2align	4, 0x90
_archive_write_set_format_shar:         ## @archive_write_set_format_shar
	.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	%rdi, %rbx
	movq	_ARCHIVE_WRITE_MAGIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ARCHIVE_STATE_NEW@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rcx
	callq	_archive_check_magic
	movq	32(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	*%rax
LBB0_2:
	movl	$1, %edi
	movl	$8, %esi
	callq	_calloc
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	%rax, %r14
	movq	%rax, %rdi
	addq	$4, %rdi
	callq	_archive_string_init
	movq	%r14, %rdi
	callq	_archive_string_init
	movq	%r14, 48(%rbx)
	leaq	L_.str.2(%rip), %rax
	movq	%rax, (%rbx)
	movq	_archive_write_shar_header@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 44(%rbx)
	movq	_archive_write_shar_close@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 40(%rbx)
	movq	_archive_write_shar_free@GOTPCREL(%rip), %rcx
	movq	%rcx, 32(%rbx)
	movq	_archive_write_shar_data_sed@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 28(%rbx)
	movq	_archive_write_shar_finish_entry@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 24(%rbx)
	movq	_ARCHIVE_FORMAT_SHAR_BASE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 16(%rbx)
	movq	%rax, 8(%rbx)
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_3:
	addq	$8, %rbx
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	movq	%rbx, %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
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"archive_write_set_format_shar"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
L_.str.1:                               ## @.str.1
	.asciz	"Can't allocate shar data"

	.comm	_ARCHIVE_FATAL,4,2              ## @ARCHIVE_FATAL
L_.str.2:                               ## @.str.2
	.asciz	"shar"

	.comm	_archive_write_shar_header,4,2  ## @archive_write_shar_header
	.comm	_archive_write_shar_close,4,2   ## @archive_write_shar_close
	.comm	_archive_write_shar_data_sed,4,2 ## @archive_write_shar_data_sed
	.comm	_archive_write_shar_finish_entry,4,2 ## @archive_write_shar_finish_entry
	.comm	_ARCHIVE_FORMAT_SHAR_BASE,4,2   ## @ARCHIVE_FORMAT_SHAR_BASE
	.comm	_ARCHIVE_OK,4,2                 ## @ARCHIVE_OK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_archive_write_set_format_shar  ; -- Begin function archive_write_set_format_shar
	.p2align	2
_archive_write_set_format_shar:         ; @archive_write_set_format_shar
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	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]
Lloh6:
	adrp	x3, l_.str@PAGE
Lloh7:
	add	x3, x3, l_.str@PAGEOFF
	bl	_archive_check_magic
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x0, x19
	blr	x8
LBB0_2:
	mov	w0, #1
	mov	w1, #8
	bl	_calloc
	cbz	x0, LBB0_4
; %bb.3:
	mov	x20, x0
	add	x0, x0, #4
	bl	_archive_string_init
	mov	x0, x20
	bl	_archive_string_init
	str	x20, [x19, #48]
Lloh8:
	adrp	x8, l_.str.2@PAGE
Lloh9:
	add	x8, x8, l_.str.2@PAGEOFF
Lloh10:
	adrp	x9, _archive_write_shar_header@GOTPAGE
Lloh11:
	ldr	x9, [x9, _archive_write_shar_header@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
Lloh13:
	adrp	x10, _archive_write_shar_close@GOTPAGE
Lloh14:
	ldr	x10, [x10, _archive_write_shar_close@GOTPAGEOFF]
Lloh15:
	ldr	w10, [x10]
Lloh16:
	adrp	x11, _archive_write_shar_free@GOTPAGE
Lloh17:
	ldr	x11, [x11, _archive_write_shar_free@GOTPAGEOFF]
	stp	w10, w9, [x19, #40]
	str	x11, [x19, #32]
Lloh18:
	adrp	x9, _archive_write_shar_data_sed@GOTPAGE
Lloh19:
	ldr	x9, [x9, _archive_write_shar_data_sed@GOTPAGEOFF]
Lloh20:
	adrp	x10, _archive_write_shar_finish_entry@GOTPAGE
Lloh21:
	ldr	x10, [x10, _archive_write_shar_finish_entry@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
Lloh23:
	ldr	w10, [x10]
	stp	w10, w9, [x19, #24]
Lloh24:
	adrp	x9, _ARCHIVE_FORMAT_SHAR_BASE@GOTPAGE
Lloh25:
	ldr	x9, [x9, _ARCHIVE_FORMAT_SHAR_BASE@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	str	w9, [x19, #16]
	stp	x8, x8, [x19]
Lloh27:
	adrp	x8, _ARCHIVE_OK@GOTPAGE
Lloh28:
	ldr	x8, [x8, _ARCHIVE_OK@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
	add	x0, x19, #8
Lloh29:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh30:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh31:
	ldr	w1, [x8]
Lloh32:
	adrp	x2, l_.str.1@PAGE
Lloh33:
	add	x2, x2, l_.str.1@PAGEOFF
	bl	_archive_set_error
Lloh34:
	adrp	x8, _ARCHIVE_FATAL@GOTPAGE
Lloh35:
	ldr	x8, [x8, _ARCHIVE_FATAL@GOTPAGEOFF]
LBB0_5:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh22
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.cfi_endproc
                                        ; -- End function
	.comm	_ARCHIVE_WRITE_MAGIC,4,2        ; @ARCHIVE_WRITE_MAGIC
	.comm	_ARCHIVE_STATE_NEW,4,2          ; @ARCHIVE_STATE_NEW
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"archive_write_set_format_shar"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
l_.str.1:                               ; @.str.1
	.asciz	"Can't allocate shar data"

	.comm	_ARCHIVE_FATAL,4,2              ; @ARCHIVE_FATAL
l_.str.2:                               ; @.str.2
	.asciz	"shar"

	.comm	_archive_write_shar_header,4,2  ; @archive_write_shar_header
	.comm	_archive_write_shar_close,4,2   ; @archive_write_shar_close
	.comm	_archive_write_shar_data_sed,4,2 ; @archive_write_shar_data_sed
	.comm	_archive_write_shar_finish_entry,4,2 ; @archive_write_shar_finish_entry
	.comm	_ARCHIVE_FORMAT_SHAR_BASE,4,2   ; @ARCHIVE_FORMAT_SHAR_BASE
	.comm	_ARCHIVE_OK,4,2                 ; @ARCHIVE_OK
.subsections_via_symbols
