	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bsdcat_next                    ## -- Begin function bsdcat_next
	.p2align	4, 0x90
_bsdcat_next:                           ## @bsdcat_next
	.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	_a@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.1:
	callq	_archive_read_close
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_3
## %bb.2:
	xorl	%eax, %eax
	callq	_bsdcat_print_error
LBB0_3:
	movq	(%rbx), %rdi
	callq	_archive_read_free
LBB0_4:
	xorl	%eax, %eax
	callq	_archive_read_new
	movq	%rax, (%rbx)
	movq	%rax, %rdi
	callq	_archive_read_support_filter_all
	movq	(%rbx), %rdi
	callq	_archive_read_support_format_empty
	movq	(%rbx), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_archive_read_support_format_raw ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_a,8,3                          ## @a
	.comm	_ARCHIVE_OK,8,3                 ## @ARCHIVE_OK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bsdcat_next                    ; -- Begin function bsdcat_next
	.p2align	2
_bsdcat_next:                           ; @bsdcat_next
	.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
Lloh0:
	adrp	x19, _a@GOTPAGE
Lloh1:
	ldr	x19, [x19, _a@GOTPAGEOFF]
	ldr	x0, [x19]
	cbz	x0, LBB0_4
; %bb.1:
	bl	_archive_read_close
Lloh2:
	adrp	x8, _ARCHIVE_OK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ARCHIVE_OK@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_3
; %bb.2:
	bl	_bsdcat_print_error
LBB0_3:
	ldr	x0, [x19]
	bl	_archive_read_free
LBB0_4:
	bl	_archive_read_new
	str	x0, [x19]
	bl	_archive_read_support_filter_all
	ldr	x0, [x19]
	bl	_archive_read_support_format_empty
	ldr	x0, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_archive_read_support_format_raw
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_a,8,3                          ; @a
	.comm	_ARCHIVE_OK,8,3                 ; @ARCHIVE_OK
.subsections_via_symbols
