	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bsdcat_read_to_stdout          ## -- Begin function bsdcat_read_to_stdout
	.p2align	4, 0x90
_bsdcat_read_to_stdout:                 ## @bsdcat_read_to_stdout
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rsi
	movq	_a@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	movq	_BYTES_PER_BLOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_archive_read_open_filename
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %r14
	cmpl	(%r14), %eax
	jne	LBB0_5
## %bb.1:
	movq	(%rbx), %rdi
	movq	_ae@GOTPCREL(%rip), %rsi
	callq	_archive_read_next_header
	movq	_ARCHIVE_EOF@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	cmpl	(%r14), %eax
	je	LBB0_3
## %bb.2:
	cmpl	%ecx, %eax
	jne	LBB0_5
LBB0_3:
	cmpl	%ecx, %eax
	je	LBB0_6
## %bb.4:
	movq	(%rbx), %rdi
	movl	$1, %esi
	callq	_archive_read_data_into_fd
	cmpl	(%r14), %eax
	je	LBB0_6
LBB0_5:
	xorl	%eax, %eax
	callq	_bsdcat_print_error
LBB0_6:
	movq	(%rbx), %rdi
	callq	_archive_read_close
	cmpl	(%r14), %eax
	je	LBB0_8
## %bb.7:
	xorl	%eax, %eax
	callq	_bsdcat_print_error
LBB0_8:
	movq	(%rbx), %rdi
	callq	_archive_read_free
	movq	$0, (%rbx)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_a,8,3                          ## @a
	.comm	_BYTES_PER_BLOCK,4,2            ## @BYTES_PER_BLOCK
	.comm	_ARCHIVE_OK,4,2                 ## @ARCHIVE_OK
	.comm	_ae,4,2                         ## @ae
	.comm	_ARCHIVE_EOF,4,2                ## @ARCHIVE_EOF
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bsdcat_read_to_stdout          ; -- Begin function bsdcat_read_to_stdout
	.p2align	2
_bsdcat_read_to_stdout:                 ; @bsdcat_read_to_stdout
	.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	x1, x0
Lloh0:
	adrp	x19, _a@GOTPAGE
Lloh1:
	ldr	x19, [x19, _a@GOTPAGEOFF]
	ldr	x0, [x19]
Lloh2:
	adrp	x8, _BYTES_PER_BLOCK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _BYTES_PER_BLOCK@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	bl	_archive_read_open_filename
Lloh5:
	adrp	x20, _ARCHIVE_OK@GOTPAGE
Lloh6:
	ldr	x20, [x20, _ARCHIVE_OK@GOTPAGEOFF]
	ldr	w8, [x20]
	cmp	w0, w8
	b.ne	LBB0_4
; %bb.1:
	ldr	x0, [x19]
Lloh7:
	adrp	x1, _ae@GOTPAGE
Lloh8:
	ldr	x1, [x1, _ae@GOTPAGEOFF]
	bl	_archive_read_next_header
	ldr	w9, [x20]
Lloh9:
	adrp	x8, _ARCHIVE_EOF@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ARCHIVE_EOF@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	cmp	w0, w9
	ccmp	w0, w8, #4, ne
	b.ne	LBB0_4
; %bb.2:
	cmp	w0, w8
	b.eq	LBB0_5
; %bb.3:
	ldr	x0, [x19]
	mov	w1, #1
	bl	_archive_read_data_into_fd
	ldr	w8, [x20]
	cmp	w0, w8
	b.eq	LBB0_5
LBB0_4:
	bl	_bsdcat_print_error
LBB0_5:
	ldr	x0, [x19]
	bl	_archive_read_close
	ldr	w8, [x20]
	cmp	w0, w8
	b.eq	LBB0_7
; %bb.6:
	bl	_bsdcat_print_error
LBB0_7:
	ldr	x0, [x19]
	bl	_archive_read_free
	str	xzr, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_a,8,3                          ; @a
	.comm	_BYTES_PER_BLOCK,4,2            ; @BYTES_PER_BLOCK
	.comm	_ARCHIVE_OK,4,2                 ; @ARCHIVE_OK
	.comm	_ae,4,2                         ; @ae
	.comm	_ARCHIVE_EOF,4,2                ; @ARCHIVE_EOF
.subsections_via_symbols
