	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_archive_read_support_format_ar ## -- Begin function archive_read_support_format_ar
	.p2align	4, 0x90
_archive_read_support_format_ar:        ## @archive_read_support_format_ar
	.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	$8, %esi
	callq	_calloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r15
	movq	$0, (%rax)
	movq	_archive_read_format_ar_bid@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_archive_read_format_ar_read_header@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	_archive_read_format_ar_read_data@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_archive_read_format_ar_skip@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movq	_archive_read_format_ar_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
	xorl	%r8d, %r8d
	callq	___archive_read_register_format
	movl	%eax, %ebx
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	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), %rax
	movl	(%rax), %ebx
LBB0_4:
	movl	%ebx, %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_ar"

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

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

	.comm	_archive_read_format_ar_bid,4,2 ## @archive_read_format_ar_bid
	.comm	_archive_read_format_ar_read_header,4,2 ## @archive_read_format_ar_read_header
	.comm	_archive_read_format_ar_read_data,4,2 ## @archive_read_format_ar_read_data
	.comm	_archive_read_format_ar_skip,4,2 ## @archive_read_format_ar_skip
	.comm	_archive_read_format_ar_cleanup,4,2 ## @archive_read_format_ar_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_ar ; -- Begin function archive_read_support_format_ar
	.p2align	2
_archive_read_support_format_ar:        ; @archive_read_support_format_ar
	.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, #8
	bl	_calloc
	cbz	x0, LBB0_3
; %bb.1:
	mov	x20, x0
	str	xzr, [x0]
Lloh8:
	adrp	x8, _archive_read_format_ar_bid@GOTPAGE
Lloh9:
	ldr	x8, [x8, _archive_read_format_ar_bid@GOTPAGEOFF]
Lloh10:
	ldr	w3, [x8]
Lloh11:
	adrp	x8, _archive_read_format_ar_read_header@GOTPAGE
Lloh12:
	ldr	x8, [x8, _archive_read_format_ar_read_header@GOTPAGEOFF]
Lloh13:
	ldr	w5, [x8]
Lloh14:
	adrp	x8, _archive_read_format_ar_read_data@GOTPAGE
Lloh15:
	ldr	x8, [x8, _archive_read_format_ar_read_data@GOTPAGEOFF]
Lloh16:
	ldr	w6, [x8]
Lloh17:
	adrp	x8, _archive_read_format_ar_skip@GOTPAGE
Lloh18:
	ldr	x8, [x8, _archive_read_format_ar_skip@GOTPAGEOFF]
Lloh19:
	ldr	w7, [x8]
Lloh20:
	adrp	x8, _archive_read_format_ar_cleanup@GOTPAGE
Lloh21:
	ldr	x8, [x8, _archive_read_format_ar_cleanup@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	stp	xzr, xzr, [sp, #16]
	str	w8, [sp, #8]
	str	xzr, [sp]
Lloh23:
	adrp	x2, l_.str.2@PAGE
Lloh24:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x19
	mov	x1, x20
	mov	x4, #0
	bl	___archive_read_register_format
	mov	x19, x0
Lloh25:
	adrp	x8, _ARCHIVE_OK@GOTPAGE
Lloh26:
	ldr	x8, [x8, _ARCHIVE_OK@GOTPAGEOFF]
Lloh27:
	ldr	w8, [x8]
	cmp	w0, w8
	b.eq	LBB0_4
; %bb.2:
	mov	x0, x20
	bl	_free
	b	LBB0_4
LBB0_3:
Lloh28:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh29:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh30:
	ldr	w1, [x8]
Lloh31:
	adrp	x2, l_.str.1@PAGE
Lloh32:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_archive_set_error
Lloh33:
	adrp	x8, _ARCHIVE_FATAL@GOTPAGE
Lloh34:
	ldr	x8, [x8, _ARCHIVE_FATAL@GOTPAGEOFF]
Lloh35:
	ldr	w19, [x8]
LBB0_4:
	mov	x0, x19
	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 AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.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	Lloh33, Lloh34, Lloh35
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.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_ar"

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

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

	.comm	_archive_read_format_ar_bid,4,2 ; @archive_read_format_ar_bid
	.comm	_archive_read_format_ar_read_header,4,2 ; @archive_read_format_ar_read_header
	.comm	_archive_read_format_ar_read_data,4,2 ; @archive_read_format_ar_read_data
	.comm	_archive_read_format_ar_skip,4,2 ; @archive_read_format_ar_skip
	.comm	_archive_read_format_ar_cleanup,4,2 ; @archive_read_format_ar_cleanup
	.comm	_ARCHIVE_OK,4,2                 ; @ARCHIVE_OK
.subsections_via_symbols
