	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_archive_write_set_format_gnutar ## -- Begin function archive_write_set_format_gnutar
	.p2align	4, 0x90
_archive_write_set_format_gnutar:       ## @archive_write_set_format_gnutar
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movl	$1, %edi
	movl	$4, %esi
	callq	_calloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, 48(%rbx)
	leaq	L_.str.1(%rip), %rax
	movq	%rax, (%rbx)
	movq	_archive_write_gnutar_options@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 44(%rbx)
	movq	_archive_write_gnutar_header@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%rbx)
	movq	_archive_write_gnutar_data@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 36(%rbx)
	movq	_archive_write_gnutar_close@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%rbx)
	movq	_archive_write_gnutar_free@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 28(%rbx)
	movq	_archive_write_gnutar_finish_entry@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
	movq	_ARCHIVE_FORMAT_TAR_GNUTAR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	leaq	L_.str.2(%rip), %rax
	movq	%rax, 8(%rbx)
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	addq	$8, %rbx
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%rbx, %rdi
	callq	_archive_set_error
	movq	_ARCHIVE_FATAL@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Can't allocate gnutar data"

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

	.comm	_archive_write_gnutar_options,4,2 ## @archive_write_gnutar_options
	.comm	_archive_write_gnutar_header,4,2 ## @archive_write_gnutar_header
	.comm	_archive_write_gnutar_data,4,2  ## @archive_write_gnutar_data
	.comm	_archive_write_gnutar_close,4,2 ## @archive_write_gnutar_close
	.comm	_archive_write_gnutar_free,4,2  ## @archive_write_gnutar_free
	.comm	_archive_write_gnutar_finish_entry,4,2 ## @archive_write_gnutar_finish_entry
	.comm	_ARCHIVE_FORMAT_TAR_GNUTAR,4,2  ## @ARCHIVE_FORMAT_TAR_GNUTAR
L_.str.2:                               ## @.str.2
	.asciz	"GNU tar"

	.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_gnutar ; -- Begin function archive_write_set_format_gnutar
	.p2align	2
_archive_write_set_format_gnutar:       ; @archive_write_set_format_gnutar
	.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
	mov	w0, #1
	mov	w1, #4
	bl	_calloc
	cbz	x0, LBB0_2
; %bb.1:
	str	x0, [x19, #48]
Lloh0:
	adrp	x8, l_.str.1@PAGE
Lloh1:
	add	x8, x8, l_.str.1@PAGEOFF
Lloh2:
	adrp	x9, _archive_write_gnutar_options@GOTPAGE
Lloh3:
	ldr	x9, [x9, _archive_write_gnutar_options@GOTPAGEOFF]
Lloh4:
	adrp	x10, _archive_write_gnutar_header@GOTPAGE
Lloh5:
	ldr	x10, [x10, _archive_write_gnutar_header@GOTPAGEOFF]
Lloh6:
	ldr	w9, [x9]
Lloh7:
	ldr	w10, [x10]
	stp	w10, w9, [x19, #40]
Lloh8:
	adrp	x9, _archive_write_gnutar_data@GOTPAGE
Lloh9:
	ldr	x9, [x9, _archive_write_gnutar_data@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
Lloh11:
	adrp	x10, _archive_write_gnutar_close@GOTPAGE
Lloh12:
	ldr	x10, [x10, _archive_write_gnutar_close@GOTPAGEOFF]
Lloh13:
	ldr	w10, [x10]
	stp	w10, w9, [x19, #32]
Lloh14:
	adrp	x9, _archive_write_gnutar_free@GOTPAGE
Lloh15:
	ldr	x9, [x9, _archive_write_gnutar_free@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
Lloh17:
	adrp	x10, _archive_write_gnutar_finish_entry@GOTPAGE
Lloh18:
	ldr	x10, [x10, _archive_write_gnutar_finish_entry@GOTPAGEOFF]
Lloh19:
	ldr	w10, [x10]
	stp	w10, w9, [x19, #24]
Lloh20:
	adrp	x9, _ARCHIVE_FORMAT_TAR_GNUTAR@GOTPAGE
Lloh21:
	ldr	x9, [x9, _ARCHIVE_FORMAT_TAR_GNUTAR@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	str	w9, [x19, #16]
Lloh23:
	adrp	x9, l_.str.2@PAGE
Lloh24:
	add	x9, x9, l_.str.2@PAGEOFF
	stp	x8, x9, [x19]
Lloh25:
	adrp	x8, _ARCHIVE_OK@GOTPAGE
Lloh26:
	ldr	x8, [x8, _ARCHIVE_OK@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:
	add	x0, x19, #8
Lloh27:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh28:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
Lloh30:
	adrp	x2, l_.str@PAGE
Lloh31:
	add	x2, x2, l_.str@PAGEOFF
	bl	_archive_set_error
Lloh32:
	adrp	x8, _ARCHIVE_FATAL@GOTPAGE
Lloh33:
	ldr	x8, [x8, _ARCHIVE_FATAL@GOTPAGEOFF]
LBB0_3:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh6
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Can't allocate gnutar data"

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

	.comm	_archive_write_gnutar_options,4,2 ; @archive_write_gnutar_options
	.comm	_archive_write_gnutar_header,4,2 ; @archive_write_gnutar_header
	.comm	_archive_write_gnutar_data,4,2  ; @archive_write_gnutar_data
	.comm	_archive_write_gnutar_close,4,2 ; @archive_write_gnutar_close
	.comm	_archive_write_gnutar_free,4,2  ; @archive_write_gnutar_free
	.comm	_archive_write_gnutar_finish_entry,4,2 ; @archive_write_gnutar_finish_entry
	.comm	_ARCHIVE_FORMAT_TAR_GNUTAR,4,2  ; @ARCHIVE_FORMAT_TAR_GNUTAR
l_.str.2:                               ; @.str.2
	.asciz	"GNU tar"

	.comm	_ARCHIVE_OK,4,2                 ; @ARCHIVE_OK
.subsections_via_symbols
