	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function do_read_blob
_do_read_blob:                          ## @do_read_blob
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, %r15
	movq	%rsi, %r13
	movq	%rdi, %r12
	movq	$0, (%rdx)
	movq	$0, (%rcx)
	leaq	-52(%rbp), %rsi
	leaq	-48(%rbp), %rdx
	callq	_read_object_file
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	-52(%rbp), %eax
	movq	_OBJ_BLOB@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_2
## %bb.3:
	testq	%r13, %r13
	je	LBB0_5
## %bb.4:
	leaq	4(%r13), %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_oidcpy
LBB0_5:
	movq	-48(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.7:
	cmpb	$10, -1(%rdi,%rbx)
	je	LBB0_9
## %bb.8:
	movl	$1, %esi
	callq	_st_add
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_xrealloc
	movq	%rax, %rbx
	movq	-48(%rbp), %rax
	leaq	1(%rax), %rcx
	movq	%rcx, -48(%rbp)
	movb	$10, (%rbx,%rax)
	movq	-48(%rbp), %rdi
LBB0_9:
	callq	_xsize_t
	movq	%rax, (%r15)
	movq	%rbx, (%r14)
	movl	$1, %eax
	jmp	LBB0_10
LBB0_2:
	movq	%rbx, %rdi
	callq	_free
	movl	$-1, %eax
LBB0_10:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	%rbx, %rdi
	callq	_free
	xorl	%eax, %eax
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_OBJ_BLOB,4,2                   ## @OBJ_BLOB
	.no_dead_strip	_do_read_blob
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function do_read_blob
_do_read_blob:                          ; @do_read_blob
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x3
	mov	x20, x2
	mov	x23, x1
	mov	x22, x0
	str	xzr, [x2]
	str	xzr, [x3]
	add	x1, sp, #12
	mov	x2, sp
	bl	_read_object_file
	mov	x21, x0
	cbz	x0, LBB0_8
; %bb.1:
	ldr	w8, [sp, #12]
Lloh0:
	adrp	x9, _OBJ_BLOB@GOTPAGE
Lloh1:
	ldr	x9, [x9, _OBJ_BLOB@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_8
; %bb.2:
	cbz	x23, LBB0_4
; %bb.3:
	add	x0, x23, #4
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	mov	x0, x23
	mov	x1, x22
	bl	_oidcpy
LBB0_4:
	ldr	x0, [sp]
	cbz	x0, LBB0_10
; %bb.5:
	add	x8, x0, x21
	ldurb	w8, [x8, #-1]
	cmp	w8, #10
	b.eq	LBB0_7
; %bb.6:
	mov	w1, #1
	bl	_st_add
	mov	x1, x0
	mov	x0, x21
	bl	_xrealloc
	mov	x21, x0
	ldr	x8, [sp]
	add	x9, x8, #1
	str	x9, [sp]
	mov	w9, #10
	strb	w9, [x0, x8]
	ldr	x0, [sp]
LBB0_7:
	bl	_xsize_t
	str	x0, [x20]
	str	x21, [x19]
	mov	w0, #1
	b	LBB0_9
LBB0_8:
	mov	x0, x21
	bl	_free
	mov	w0, #-1
LBB0_9:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_10:
	mov	x0, x21
	bl	_free
	mov	w0, #0
	b	LBB0_9
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_OBJ_BLOB,4,2                   ; @OBJ_BLOB
	.no_dead_strip	_do_read_blob
.subsections_via_symbols
