	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_archive_write_set_format_v7tar ## -- Begin function archive_write_set_format_v7tar
	.p2align	4, 0x90
_archive_write_set_format_v7tar:        ## @archive_write_set_format_v7tar
	.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
	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:
	addq	$8, %rbx
	movq	_ARCHIVE_ERRNO_MISC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	movl	$4, %ecx
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_archive_set_error
	movq	_ARCHIVE_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	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_v7tar"

	.comm	_ARCHIVE_ERRNO_MISC,4,2         ## @ARCHIVE_ERRNO_MISC
L_.str.1:                               ## @.str.1
	.asciz	"Internal: template_header wrong size: %zu should be 512"

	.comm	_ARCHIVE_FATAL,4,2              ## @ARCHIVE_FATAL
	.comm	_ARCHIVE_FORMAT_TAR,4,2         ## @ARCHIVE_FORMAT_TAR
	.comm	_ARCHIVE_OK,4,2                 ## @ARCHIVE_OK
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_archive_write_v7tar_close,4,2  ## @archive_write_v7tar_close
	.comm	_archive_write_v7tar_data,4,2   ## @archive_write_v7tar_data
	.comm	_archive_write_v7tar_finish_entry,4,2 ## @archive_write_v7tar_finish_entry
	.comm	_archive_write_v7tar_header,4,2 ## @archive_write_v7tar_header
	.comm	_archive_write_v7tar_options,4,2 ## @archive_write_v7tar_options
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_archive_write_set_format_v7tar ; -- Begin function archive_write_set_format_v7tar
	.p2align	2
_archive_write_set_format_v7tar:        ; @archive_write_set_format_v7tar
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	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:
	add	x0, x19, #8
Lloh8:
	adrp	x8, _ARCHIVE_ERRNO_MISC@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ARCHIVE_ERRNO_MISC@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	w8, #4
	str	x8, [sp]
Lloh11:
	adrp	x2, l_.str.1@PAGE
Lloh12:
	add	x2, x2, l_.str.1@PAGEOFF
	bl	_archive_set_error
Lloh13:
	adrp	x8, _ARCHIVE_FATAL@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ARCHIVE_FATAL@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.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_v7tar"

	.comm	_ARCHIVE_ERRNO_MISC,4,2         ; @ARCHIVE_ERRNO_MISC
l_.str.1:                               ; @.str.1
	.asciz	"Internal: template_header wrong size: %zu should be 512"

	.comm	_ARCHIVE_FATAL,4,2              ; @ARCHIVE_FATAL
	.comm	_ARCHIVE_FORMAT_TAR,4,2         ; @ARCHIVE_FORMAT_TAR
	.comm	_ARCHIVE_OK,4,2                 ; @ARCHIVE_OK
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_archive_write_v7tar_close,4,2  ; @archive_write_v7tar_close
	.comm	_archive_write_v7tar_data,4,2   ; @archive_write_v7tar_data
	.comm	_archive_write_v7tar_finish_entry,4,2 ; @archive_write_v7tar_finish_entry
	.comm	_archive_write_v7tar_header,4,2 ; @archive_write_v7tar_header
	.comm	_archive_write_v7tar_options,4,2 ; @archive_write_v7tar_options
.subsections_via_symbols
