	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_archive_write_set_format_pax   ## -- Begin function archive_write_set_format_pax
	.p2align	4, 0x90
_archive_write_set_format_pax:          ## @archive_write_set_format_pax
	.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:
	movl	$1, %edi
	movl	$4, %esi
	callq	_calloc
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	_WRITE_LIBARCHIVE_XATTR@GOTPCREL(%rip), %rcx
	movq	_WRITE_SCHILY_XATTR@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	movl	%edx, (%rax)
	movq	%rax, 56(%rbx)
	leaq	L_.str.2(%rip), %rax
	movq	%rax, (%rbx)
	movq	_archive_write_pax_options@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 52(%rbx)
	movq	_archive_write_pax_header@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 48(%rbx)
	movq	_archive_write_pax_data@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 44(%rbx)
	movq	_archive_write_pax_close@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%rbx)
	movq	_archive_write_pax_free@GOTPCREL(%rip), %rax
	movq	%rax, 32(%rbx)
	movq	_archive_write_pax_finish_entry@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
	movq	_ARCHIVE_FORMAT_TAR_PAX_INTERCHANGE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	leaq	L_.str.3(%rip), %rax
	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
	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_pax"

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

	.comm	_ARCHIVE_FATAL,4,2              ## @ARCHIVE_FATAL
	.comm	_WRITE_LIBARCHIVE_XATTR,4,2     ## @WRITE_LIBARCHIVE_XATTR
	.comm	_WRITE_SCHILY_XATTR,4,2         ## @WRITE_SCHILY_XATTR
L_.str.2:                               ## @.str.2
	.asciz	"pax"

	.comm	_archive_write_pax_options,4,2  ## @archive_write_pax_options
	.comm	_archive_write_pax_header,4,2   ## @archive_write_pax_header
	.comm	_archive_write_pax_data,4,2     ## @archive_write_pax_data
	.comm	_archive_write_pax_close,4,2    ## @archive_write_pax_close
	.comm	_archive_write_pax_finish_entry,4,2 ## @archive_write_pax_finish_entry
	.comm	_ARCHIVE_FORMAT_TAR_PAX_INTERCHANGE,4,2 ## @ARCHIVE_FORMAT_TAR_PAX_INTERCHANGE
L_.str.3:                               ## @.str.3
	.asciz	"POSIX pax interchange"

	.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_pax   ; -- Begin function archive_write_set_format_pax
	.p2align	2
_archive_write_set_format_pax:          ; @archive_write_set_format_pax
	.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, #4
	bl	_calloc
	cbz	x0, LBB0_4
; %bb.3:
Lloh8:
	adrp	x8, _WRITE_LIBARCHIVE_XATTR@GOTPAGE
Lloh9:
	ldr	x8, [x8, _WRITE_LIBARCHIVE_XATTR@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
Lloh11:
	adrp	x9, _WRITE_SCHILY_XATTR@GOTPAGE
Lloh12:
	ldr	x9, [x9, _WRITE_SCHILY_XATTR@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [x0]
	str	x0, [x19, #56]
Lloh14:
	adrp	x8, l_.str.2@PAGE
Lloh15:
	add	x8, x8, l_.str.2@PAGEOFF
Lloh16:
	adrp	x9, _archive_write_pax_options@GOTPAGE
Lloh17:
	ldr	x9, [x9, _archive_write_pax_options@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
Lloh19:
	adrp	x10, _archive_write_pax_header@GOTPAGE
Lloh20:
	ldr	x10, [x10, _archive_write_pax_header@GOTPAGEOFF]
Lloh21:
	ldr	w10, [x10]
Lloh22:
	adrp	x11, _archive_write_pax_data@GOTPAGE
Lloh23:
	ldr	x11, [x11, _archive_write_pax_data@GOTPAGEOFF]
	stp	w10, w9, [x19, #48]
Lloh24:
	ldr	w9, [x11]
Lloh25:
	adrp	x10, _archive_write_pax_close@GOTPAGE
Lloh26:
	ldr	x10, [x10, _archive_write_pax_close@GOTPAGEOFF]
Lloh27:
	ldr	w10, [x10]
	stp	w10, w9, [x19, #40]
Lloh28:
	adrp	x9, _archive_write_pax_free@GOTPAGE
Lloh29:
	ldr	x9, [x9, _archive_write_pax_free@GOTPAGEOFF]
	str	x9, [x19, #32]
Lloh30:
	adrp	x9, _archive_write_pax_finish_entry@GOTPAGE
Lloh31:
	ldr	x9, [x9, _archive_write_pax_finish_entry@GOTPAGEOFF]
Lloh32:
	ldr	w9, [x9]
	str	w9, [x19, #24]
Lloh33:
	adrp	x9, _ARCHIVE_FORMAT_TAR_PAX_INTERCHANGE@GOTPAGE
Lloh34:
	ldr	x9, [x9, _ARCHIVE_FORMAT_TAR_PAX_INTERCHANGE@GOTPAGEOFF]
Lloh35:
	ldr	w9, [x9]
	str	w9, [x19, #16]
Lloh36:
	adrp	x9, l_.str.3@PAGE
Lloh37:
	add	x9, x9, l_.str.3@PAGEOFF
	stp	x8, x9, [x19]
Lloh38:
	adrp	x8, _ARCHIVE_OK@GOTPAGE
Lloh39:
	ldr	x8, [x8, _ARCHIVE_OK@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
	add	x0, x19, #8
Lloh40:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh41:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh42:
	ldr	w1, [x8]
Lloh43:
	adrp	x2, l_.str.1@PAGE
Lloh44:
	add	x2, x2, l_.str.1@PAGEOFF
	bl	_archive_set_error
Lloh45:
	adrp	x8, _ARCHIVE_FATAL@GOTPAGE
Lloh46:
	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	Lloh38, Lloh39
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh45, Lloh46
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.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_pax"

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

	.comm	_ARCHIVE_FATAL,4,2              ; @ARCHIVE_FATAL
	.comm	_WRITE_LIBARCHIVE_XATTR,4,2     ; @WRITE_LIBARCHIVE_XATTR
	.comm	_WRITE_SCHILY_XATTR,4,2         ; @WRITE_SCHILY_XATTR
l_.str.2:                               ; @.str.2
	.asciz	"pax"

	.comm	_archive_write_pax_options,4,2  ; @archive_write_pax_options
	.comm	_archive_write_pax_header,4,2   ; @archive_write_pax_header
	.comm	_archive_write_pax_data,4,2     ; @archive_write_pax_data
	.comm	_archive_write_pax_close,4,2    ; @archive_write_pax_close
	.comm	_archive_write_pax_finish_entry,4,2 ; @archive_write_pax_finish_entry
	.comm	_ARCHIVE_FORMAT_TAR_PAX_INTERCHANGE,4,2 ; @ARCHIVE_FORMAT_TAR_PAX_INTERCHANGE
l_.str.3:                               ; @.str.3
	.asciz	"POSIX pax interchange"

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