	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function archive_compressor_bzip2_open
_archive_compressor_bzip2_open:         ## @archive_compressor_bzip2_open
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	8(%rdi), %r15
	leaq	-32(%rbp), %r14
	movq	%r14, %rdi
	callq	_archive_string_init
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_archive_strcpy
	cmpq	$0, (%r15)
	jle	LBB0_2
## %bb.1:
	leaq	L_.str.1(%rip), %rsi
	leaq	-32(%rbp), %r14
	movq	%r14, %rdi
	callq	_archive_strcat
	movq	(%r15), %rsi
	addq	$48, %rsi
	movq	%r14, %rdi
	callq	_archive_strappend_char
LBB0_2:
	movq	_archive_compressor_bzip2_write@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	movl	8(%r15), %esi
	movl	-32(%rbp), %edx
	movq	%rbx, %rdi
	callq	___archive_write_program_open
	movl	%eax, %ebx
	leaq	-32(%rbp), %rdi
	callq	_archive_string_free
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"bzip2"

L_.str.1:                               ## @.str.1
	.asciz	" -"

	.comm	_archive_compressor_bzip2_write,4,2 ## @archive_compressor_bzip2_write
	.no_dead_strip	_archive_compressor_bzip2_open
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function archive_compressor_bzip2_open
_archive_compressor_bzip2_open:         ; @archive_compressor_bzip2_open
	.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
	ldr	x20, [x0, #8]
	add	x0, sp, #8
	bl	_archive_string_init
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	add	x0, sp, #8
	bl	_archive_strcpy
	ldr	x8, [x20]
	cmp	x8, #1
	b.lt	LBB0_2
; %bb.1:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x0, sp, #8
	bl	_archive_strcat
	ldr	x8, [x20]
	add	x1, x8, #48
	add	x0, sp, #8
	bl	_archive_strappend_char
LBB0_2:
Lloh4:
	adrp	x8, _archive_compressor_bzip2_write@GOTPAGE
Lloh5:
	ldr	x8, [x8, _archive_compressor_bzip2_write@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	str	w8, [x19]
	ldr	w1, [x20, #8]
	ldr	w2, [sp, #8]
	mov	x0, x19
	bl	___archive_write_program_open
	mov	x19, x0
	add	x0, sp, #8
	bl	_archive_string_free
	mov	x0, x19
	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	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"bzip2"

l_.str.1:                               ; @.str.1
	.asciz	" -"

	.comm	_archive_compressor_bzip2_write,4,2 ; @archive_compressor_bzip2_write
	.no_dead_strip	_archive_compressor_bzip2_open
.subsections_via_symbols
