	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function expbuf_read
_expbuf_read:                           ## @expbuf_read
	.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
	movl	%esi, %ebx
	movq	%rdi, %r14
	leaq	-32(%rbp), %rsi
	movl	$8, %edx
	movl	%ebx, %edi
	callq	_read_nbytes
	movl	$-1, %r15d
	testq	%rax, %rax
	jne	LBB0_3
## %bb.1:
	movq	-32(%rbp), %rsi
	movq	%r14, %rdi
	callq	_expbuf_reserve
	movq	(%r14), %rsi
	movq	-32(%rbp), %rdx
	movl	%ebx, %edi
	callq	_read_nbytes
	testq	%rax, %rax
	jne	LBB0_3
## %bb.2:
	movq	-32(%rbp), %rax
	shlq	$3, %rax
	addq	%rax, (%r14)
	xorl	%r15d, %r15d
LBB0_3:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_expbuf_read
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function expbuf_read
_expbuf_read:                           ; @expbuf_read
	.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	x20, x1
	mov	x19, x0
	add	x1, sp, #8
	mov	x0, x20
	mov	w2, #8
	bl	_read_nbytes
	cbnz	x0, LBB0_2
; %bb.1:
	ldr	x1, [sp, #8]
	mov	x0, x19
	bl	_expbuf_reserve
	ldr	x1, [x19]
	ldr	x2, [sp, #8]
	mov	x0, x20
	bl	_read_nbytes
	cbz	x0, LBB0_4
LBB0_2:
	mov	w0, #-1
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_4:
	ldr	x8, [sp, #8]
	ldr	x9, [x19]
	add	x8, x9, x8, lsl #3
	str	x8, [x19]
	b	LBB0_3
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_expbuf_read
.subsections_via_symbols
