	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_archive_read_support_format_cpio ## -- Begin function archive_read_support_format_cpio
	.p2align	4, 0x90
_archive_read_support_format_cpio:      ## @archive_read_support_format_cpio
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	subq	$56, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_ARCHIVE_READ_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
	movl	$1, %edi
	movl	$4, %esi
	callq	_calloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r15
	movq	_CPIO_MAGIC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r15)
	movq	_archive_read_format_cpio_bid@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_archive_read_format_cpio_options@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_archive_read_format_cpio_read_header@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	_archive_read_format_cpio_read_data@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_archive_read_format_cpio_skip@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movq	_archive_read_format_cpio_cleanup@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	xorps	%xmm0, %xmm0
	movups	%xmm0, 32(%rsp)
	movl	%esi, 24(%rsp)
	movl	%edx, 8(%rsp)
	movl	%eax, (%rsp)
	movq	$0, 16(%rsp)
	leaq	L_.str.2(%rip), %rdx
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	___archive_read_register_format
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %rbx
	cmpl	(%rbx), %eax
	je	LBB0_4
## %bb.3:
	movq	%r15, %rdi
	callq	_free
	jmp	LBB0_4
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	movq	%r14, %rdi
	callq	_archive_set_error
	movq	_ARCHIVE_FATAL@GOTPCREL(%rip), %rbx
LBB0_4:
	movl	(%rbx), %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ARCHIVE_READ_MAGIC,4,2         ## @ARCHIVE_READ_MAGIC
	.comm	_ARCHIVE_STATE_NEW,4,2          ## @ARCHIVE_STATE_NEW
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"archive_read_support_format_cpio"

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

	.comm	_ARCHIVE_FATAL,4,2              ## @ARCHIVE_FATAL
	.comm	_CPIO_MAGIC,4,2                 ## @CPIO_MAGIC
L_.str.2:                               ## @.str.2
	.asciz	"cpio"

	.comm	_archive_read_format_cpio_bid,4,2 ## @archive_read_format_cpio_bid
	.comm	_archive_read_format_cpio_options,4,2 ## @archive_read_format_cpio_options
	.comm	_archive_read_format_cpio_read_header,4,2 ## @archive_read_format_cpio_read_header
	.comm	_archive_read_format_cpio_read_data,4,2 ## @archive_read_format_cpio_read_data
	.comm	_archive_read_format_cpio_skip,4,2 ## @archive_read_format_cpio_skip
	.comm	_archive_read_format_cpio_cleanup,4,2 ## @archive_read_format_cpio_cleanup
	.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_read_support_format_cpio ; -- Begin function archive_read_support_format_cpio
	.p2align	2
_archive_read_support_format_cpio:      ; @archive_read_support_format_cpio
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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_READ_MAGIC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ARCHIVE_READ_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
	mov	w0, #1
	mov	w1, #4
	bl	_calloc
	cbz	x0, LBB0_3
; %bb.1:
	mov	x20, x0
Lloh8:
	adrp	x8, _CPIO_MAGIC@GOTPAGE
Lloh9:
	ldr	x8, [x8, _CPIO_MAGIC@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	str	w8, [x0]
Lloh11:
	adrp	x8, _archive_read_format_cpio_bid@GOTPAGE
Lloh12:
	ldr	x8, [x8, _archive_read_format_cpio_bid@GOTPAGEOFF]
Lloh13:
	ldr	w3, [x8]
Lloh14:
	adrp	x8, _archive_read_format_cpio_options@GOTPAGE
Lloh15:
	ldr	x8, [x8, _archive_read_format_cpio_options@GOTPAGEOFF]
Lloh16:
	ldr	w4, [x8]
Lloh17:
	adrp	x8, _archive_read_format_cpio_read_header@GOTPAGE
Lloh18:
	ldr	x8, [x8, _archive_read_format_cpio_read_header@GOTPAGEOFF]
Lloh19:
	ldr	w5, [x8]
Lloh20:
	adrp	x8, _archive_read_format_cpio_read_data@GOTPAGE
Lloh21:
	ldr	x8, [x8, _archive_read_format_cpio_read_data@GOTPAGEOFF]
Lloh22:
	ldr	w6, [x8]
Lloh23:
	adrp	x8, _archive_read_format_cpio_skip@GOTPAGE
Lloh24:
	ldr	x8, [x8, _archive_read_format_cpio_skip@GOTPAGEOFF]
Lloh25:
	ldr	w7, [x8]
Lloh26:
	adrp	x8, _archive_read_format_cpio_cleanup@GOTPAGE
Lloh27:
	ldr	x8, [x8, _archive_read_format_cpio_cleanup@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
	stp	xzr, xzr, [sp, #16]
	str	w8, [sp, #8]
	str	xzr, [sp]
Lloh29:
	adrp	x2, l_.str.2@PAGE
Lloh30:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x19
	mov	x1, x20
	bl	___archive_read_register_format
Lloh31:
	adrp	x8, _ARCHIVE_OK@GOTPAGE
Lloh32:
	ldr	x8, [x8, _ARCHIVE_OK@GOTPAGEOFF]
	ldr	w9, [x8]
	cmp	w0, w9
	b.eq	LBB0_4
; %bb.2:
	mov	x0, x20
	bl	_free
Lloh33:
	adrp	x8, _ARCHIVE_OK@GOTPAGE
Lloh34:
	ldr	x8, [x8, _ARCHIVE_OK@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:
Lloh35:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh36:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh37:
	ldr	w1, [x8]
Lloh38:
	adrp	x2, l_.str.1@PAGE
Lloh39:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_archive_set_error
Lloh40:
	adrp	x8, _ARCHIVE_FATAL@GOTPAGE
Lloh41:
	ldr	x8, [x8, _ARCHIVE_FATAL@GOTPAGEOFF]
LBB0_4:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.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 AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh40, Lloh41
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.cfi_endproc
                                        ; -- End function
	.comm	_ARCHIVE_READ_MAGIC,4,2         ; @ARCHIVE_READ_MAGIC
	.comm	_ARCHIVE_STATE_NEW,4,2          ; @ARCHIVE_STATE_NEW
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"archive_read_support_format_cpio"

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

	.comm	_ARCHIVE_FATAL,4,2              ; @ARCHIVE_FATAL
	.comm	_CPIO_MAGIC,4,2                 ; @CPIO_MAGIC
l_.str.2:                               ; @.str.2
	.asciz	"cpio"

	.comm	_archive_read_format_cpio_bid,4,2 ; @archive_read_format_cpio_bid
	.comm	_archive_read_format_cpio_options,4,2 ; @archive_read_format_cpio_options
	.comm	_archive_read_format_cpio_read_header,4,2 ; @archive_read_format_cpio_read_header
	.comm	_archive_read_format_cpio_read_data,4,2 ; @archive_read_format_cpio_read_data
	.comm	_archive_read_format_cpio_skip,4,2 ; @archive_read_format_cpio_skip
	.comm	_archive_read_format_cpio_cleanup,4,2 ; @archive_read_format_cpio_cleanup
	.comm	_ARCHIVE_OK,4,2                 ; @ARCHIVE_OK
.subsections_via_symbols
