	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function objc_build_refs
_objc_build_refs:                       ## @objc_build_refs
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	32(%rdi), %rax
	xorl	%ebx, %ebx
	testq	%rax, %rax
	je	LBB0_15
## %bb.1:
	movq	%rdi, %r12
	cmpq	$0, 16(%rdi)
	je	LBB0_15
## %bb.2:
	movq	(%rax), %rsi
	movl	$1, %edi
	callq	_calloc
	testq	%rax, %rax
	je	LBB0_15
## %bb.3:
	movq	%rax, %r14
	movq	24(%r12), %rax
	movq	32(%r12), %rdx
	movl	(%rax), %edi
	movq	(%rdx), %rcx
	movq	8(%rdx), %rsi
	movq	%r14, %rdx
	callq	_r_io_read_at
	movq	32(%r12), %rax
	cmpq	$9, (%rax)
	jl	LBB0_8
## %bb.4:
	xorl	%r15d, %r15d
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	(%r12), %rcx
	movq	32(%r12), %rax
	leaq	(%rcx,%r15), %rdx
	addq	$8, %rdx
	addq	%rcx, %r15
	cmpq	(%rax), %rdx
	jge	LBB0_8
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%rax), %rbx
	leaq	(%r14,%r15,4), %rdi
	callq	_r_read_le64
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	%rax, %r13
	addq	%r15, %rbx
	movl	8(%r12), %r14d
	movq	%rbx, %rdi
	callq	_addr_key
	movl	%r14d, %edi
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movl	%eax, %esi
	movq	%r13, %rdx
	xorl	%ecx, %ecx
	callq	_sdb_array_add_num
	jmp	LBB0_7
LBB0_8:
	movq	%r14, %rdi
	callq	_free
	movq	16(%r12), %rax
	movq	(%rax), %rsi
	movl	$1, %edi
	callq	_calloc
	testq	%rax, %rax
	movl	$0, %ebx
	je	LBB0_15
## %bb.9:
	movq	%rax, %r15
	movq	16(%r12), %rax
	movq	24(%r12), %rcx
	movl	(%rcx), %edi
	movq	(%rax), %rcx
	movq	8(%rax), %rsi
	movq	%r15, %rdx
	callq	_r_io_read_at
	movq	16(%r12), %rax
	cmpq	$9, (%rax)
	jl	LBB0_14
## %bb.10:
	xorl	%ebx, %ebx
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_11 Depth=1
	movq	(%r12), %rcx
	movq	16(%r12), %rax
	leaq	(%rcx,%rbx), %rdx
	addq	$8, %rdx
	addq	%rcx, %rbx
	cmpq	(%rax), %rdx
	jge	LBB0_14
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%rax), %r13
	leaq	(%r15,%rbx,4), %rdi
	callq	_r_read_le64
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	addq	%rbx, %r13
	movl	8(%r12), %r14d
	movq	%rax, %rdi
	callq	_addr_key
	movl	%r14d, %edi
	movl	%eax, %esi
	movq	%r13, %rdx
	xorl	%ecx, %ecx
	callq	_sdb_array_add_num
	jmp	LBB0_13
LBB0_14:
	movq	%r15, %rdi
	callq	_free
	movl	$1, %ebx
LBB0_15:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_objc_build_refs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function objc_build_refs
_objc_build_refs:                       ; @objc_build_refs
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	ldr	x8, [x0, #32]
	cbz	x8, LBB0_8
; %bb.1:
	mov	x19, x0
	ldr	x9, [x0, #16]
	cbz	x9, LBB0_8
; %bb.2:
	ldr	x1, [x8]
	mov	w0, #1
	bl	_calloc
	cbz	x0, LBB0_16
; %bb.3:
	mov	x20, x0
	ldp	x8, x9, [x19, #24]
	ldr	w0, [x8]
	ldp	x3, x1, [x9]
	mov	x2, x20
	bl	_r_io_read_at
	ldr	x8, [x19, #32]
	ldr	x9, [x8]
	cmp	x9, #9
	b.lt	LBB0_9
; %bb.4:
	mov	x23, #0
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x19]
	add	x23, x8, x23
	add	x9, x23, #8
	ldr	x8, [x19, #32]
	ldr	x10, [x8]
	cmp	x9, x10
	b.ge	LBB0_9
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x22, [x8, #8]
	add	x0, x20, x23, lsl #2
	bl	_r_read_le64
	cbz	x0, LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x21, x0
	add	x0, x22, x23
	ldr	w22, [x19, #8]
	bl	_addr_key
	mov	x1, x0
	mov	x0, x22
	mov	x2, x21
	mov	w3, #0
	bl	_sdb_array_add_num
	b	LBB0_5
LBB0_8:
	mov	w0, #0
	b	LBB0_16
LBB0_9:
	mov	x0, x20
	bl	_free
	ldr	x8, [x19, #16]
	ldr	x1, [x8]
	mov	w0, #1
	bl	_calloc
	cbz	x0, LBB0_16
; %bb.10:
	mov	x20, x0
	ldp	x9, x8, [x19, #16]
	ldr	w0, [x8]
	ldp	x3, x1, [x9]
	mov	x2, x20
	bl	_r_io_read_at
	ldr	x8, [x19, #16]
	ldr	x9, [x8]
	cmp	x9, #9
	b.lt	LBB0_15
; %bb.11:
	mov	x23, #0
	b	LBB0_13
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=1
	ldr	x8, [x19]
	add	x23, x8, x23
	add	x9, x23, #8
	ldr	x8, [x19, #16]
	ldr	x10, [x8]
	cmp	x9, x10
	b.ge	LBB0_15
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldr	x21, [x8, #8]
	add	x0, x20, x23, lsl #2
	bl	_r_read_le64
	cbz	x0, LBB0_12
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	add	x21, x21, x23
	ldr	w22, [x19, #8]
	bl	_addr_key
	mov	x1, x0
	mov	x0, x22
	mov	x2, x21
	mov	w3, #0
	bl	_sdb_array_add_num
	b	LBB0_12
LBB0_15:
	mov	x0, x20
	bl	_free
	mov	w0, #1
LBB0_16:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_objc_build_refs
.subsections_via_symbols
