	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function resurrect_labels
_resurrect_labels:                      ## @resurrect_labels
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	movq	(%rdi), %r15
	addq	%rdx, %r15
	movq	16(%rdi), %rax
	addq	%rdx, %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	cmpq	%r15, %rax
	jbe	LBB0_1
## %bb.2:
	addq	8(%rdi), %rdx
	movl	$-1, -44(%rbp)                  ## 4-byte Folded Spill
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%r15, %r13
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	leaq	L_.str.1(%rip), %rsi
	callq	_streq
	movq	%r12, %rcx
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	testq	%rax, %rax
	jne	LBB0_12
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%r12, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	callq	_streq
	testq	%rax, %rax
	jne	LBB0_12
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	addq	$8, %r15
	addq	$8, %r13
	cmpq	%r15, -80(%rbp)                 ## 8-byte Folded Reload
	movq	%r14, %rdx
	jbe	LBB0_10
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movslq	(%r13), %r12
	movq	%rdx, %r14
	addq	%rdx, %r12
	movl	4(%r13), %ebx
	movl	$3, %edi
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdx
	movl	%ebx, %ecx
	callq	_debug
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	movl	%ebx, %edx
	callq	_tdata_label_add
	cmpl	$-1, -44(%rbp)                  ## 4-byte Folded Reload
	je	LBB0_4
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpq	$0, -64(%rbp)                   ## 8-byte Folded Reload
	jne	LBB0_8
	jmp	LBB0_9
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	jmp	LBB0_9
LBB0_1:
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	$-1, -44(%rbp)                  ## 4-byte Folded Spill
	xorl	%ebx, %ebx
LBB0_10:
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	testq	%rdx, %rdx
	je	LBB0_12
## %bb.11:
	movq	_curfile@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	testq	%r15, %r15
	leaq	L_.str.3(%rip), %rcx
	cmovneq	%r15, %rcx
	leaq	L_.str.2(%rip), %rdi
	callq	_warning
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_tdata_label_free
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %edx
	callq	_tdata_label_add
LBB0_12:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Resurrected label %s type idx %d\n"

L_.str.1:                               ## @.str.1
	.asciz	"BASE"

L_.str.2:                               ## @.str.2
	.asciz	"%s: Cannot find label `%s' - using base (%s)\n"

	.comm	_curfile,4,2                    ## @curfile
L_.str.3:                               ## @.str.3
	.asciz	"NONE"

	.no_dead_strip	_resurrect_labels
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function resurrect_labels
_resurrect_labels:                      ; @resurrect_labels
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x3
	mov	x19, x1
	ldr	x8, [x0]
	add	x24, x8, x2
	ldr	x8, [x0, #16]
	add	x28, x8, x2
	cmp	x28, x24
	b.ls	LBB0_9
; %bb.1:
	mov	x21, #0
	ldr	x8, [x0, #8]
	add	x25, x8, x2
	mov	w22, #-1
	mov	x27, x24
	b	LBB0_6
LBB0_2:                                 ;   in Loop: Header=BB0_6 Depth=1
	cbz	x20, LBB0_8
; %bb.3:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x20
Lloh0:
	adrp	x1, l_.str.1@PAGE
Lloh1:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_streq
	mov	x21, x26
	mov	x22, x23
	cbnz	x0, LBB0_12
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x26
	mov	x1, x20
	bl	_streq
	cbnz	x0, LBB0_12
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x24, x24, #8
	add	x27, x27, #8
	cmp	x28, x24
	b.ls	LBB0_10
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldp	w8, w23, [x27]
                                        ; kill: def $w8 killed $w8 def $x8
	sxtw	x8, w8
	add	x26, x25, x8
	mov	w0, #3
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x26
	mov	x3, x23
	bl	_debug
	mov	x0, x19
	mov	x1, x26
	mov	x2, x23
	bl	_tdata_label_add
	cmn	w22, #1
	b.eq	LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	cbnz	x20, LBB0_4
	b	LBB0_5
LBB0_8:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	x21, x26
	mov	x22, x23
	b	LBB0_5
LBB0_9:
	mov	x21, #0
	mov	w23, #0
	mov	w22, #-1
LBB0_10:
	cbz	x20, LBB0_12
; %bb.11:
Lloh4:
	adrp	x8, _curfile@GOTPAGE
Lloh5:
	ldr	x8, [x8, _curfile@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
Lloh7:
	adrp	x8, l_.str.3@PAGE
Lloh8:
	add	x8, x8, l_.str.3@PAGEOFF
	cmp	x21, #0
	csel	x3, x8, x21, eq
Lloh9:
	adrp	x0, l_.str.2@PAGE
Lloh10:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x2, x20
	bl	_warning
	mov	x0, x19
	bl	_tdata_label_free
	mov	x0, x19
	mov	x1, x21
	mov	x2, x22
	bl	_tdata_label_add
	mov	x23, x22
LBB0_12:
	mov	x0, x23
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Resurrected label %s type idx %d\n"

l_.str.1:                               ; @.str.1
	.asciz	"BASE"

l_.str.2:                               ; @.str.2
	.asciz	"%s: Cannot find label `%s' - using base (%s)\n"

	.comm	_curfile,4,2                    ; @curfile
l_.str.3:                               ; @.str.3
	.asciz	"NONE"

	.no_dead_strip	_resurrect_labels
.subsections_via_symbols
