	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rd_label
_rd_label:                              ## @rd_label
	.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
	movl	%r8d, -52(%rbp)                 ## 4-byte Spill
	movl	%ecx, %r13d
	movq	%rdx, %r12
	movq	%rdi, %rbx
	movq	$0, -48(%rbp)
	testq	%rsi, %rsi
	je	LBB0_2
## %bb.1:
	movl	$0, (%rsi)
LBB0_2:
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	testq	%r12, %r12
	je	LBB0_4
## %bb.3:
	movq	$0, (%r12)
LBB0_4:
	movq	_verbose@GOTPCREL(%rip), %rax
	cmpl	$6, (%rax)
	jl	LBB0_6
## %bb.5:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_stack@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_sp@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,8), %edx
	movq	_addr@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	(%rbx), %r8
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
LBB0_6:
	testl	%r13d, %r13d
	js	LBB0_15
## %bb.7:
	movl	%r13d, %r14d
	xorl	%r15d, %r15d
	leaq	-48(%rbp), %r13
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	_stack@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	4(%rax,%r14,8), %edi
	movq	_sp@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r14
	movq	(%rbx), %rax
	movl	$0, %ecx
	cmoveq	%r12, %rcx
	cmpb	$46, (%rax)
	cmovneq	%r15, %rcx
	movq	%rbx, %rsi
	movq	%r13, %rdx
	xorl	%r8d, %r8d
	callq	_check_label
	testq	%rax, %rax
	jne	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_9 Depth=1
	leaq	-1(%r14), %rax
	testq	%r14, %r14
	movq	%rax, %r14
	jg	LBB0_9
LBB0_15:
	cmpq	$0, -64(%rbp)                   ## 8-byte Folded Reload
	jne	LBB0_18
## %bb.16:
	cmpl	$0, -52(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_18
## %bb.17:
	movq	(%rbx), %rcx
	leaq	L_.str.1(%rip), %rsi
	movl	$1, %edi
	xorl	%edx, %edx
	callq	_printerr
LBB0_18:
	movq	_verbose@GOTPCREL(%rip), %rax
	cmpl	$7, (%rax)
	jl	LBB0_20
## %bb.19:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
LBB0_20:
	xorl	%eax, %eax
	cmpq	$0, -48(%rbp)
	setne	%al
	jmp	LBB0_21
LBB0_10:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	movl	$1, (%rax)
LBB0_12:
	movq	_verbose@GOTPCREL(%rip), %rax
	cmpl	$7, (%rax)
	jl	LBB0_14
## %bb.13:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-48(%rbp), %rax
	movl	(%rax), %edx
	leaq	L_.str.3(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
LBB0_14:
	movq	-48(%rbp), %rax
	movl	(%rax), %eax
LBB0_21:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_verbose,4,2                    ## @verbose
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%5d (0x%04x): Starting to read label (string=%s).\n"

	.comm	_stack,8,3                      ## @stack
	.comm	_sp,8,3                         ## @sp
	.comm	_addr,4,2                       ## @addr
L_.str.1:                               ## @.str.1
	.asciz	"using undefined label %.*s\n"

L_.str.2:                               ## @.str.2
	.asciz	"rd_label returns invalid value\n"

L_.str.3:                               ## @.str.3
	.asciz	"rd_label returns valid value 0x%x\n"

	.no_dead_strip	_rd_label
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rd_label
_rd_label:                              ; @rd_label
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x19, x4
	mov	x23, x3
	mov	x22, x2
	mov	x20, x1
	mov	x21, x0
	str	xzr, [sp, #24]
	cbz	x1, LBB0_2
; %bb.1:
	str	wzr, [x20]
LBB0_2:
	cbz	x22, LBB0_4
; %bb.3:
	str	xzr, [x22]
LBB0_4:
Lloh0:
	adrp	x24, _verbose@GOTPAGE
Lloh1:
	ldr	x24, [x24, _verbose@GOTPAGEOFF]
	ldr	w8, [x24]
Lloh2:
	adrp	x25, _stack@GOTPAGE
Lloh3:
	ldr	x25, [x25, _stack@GOTPAGEOFF]
Lloh4:
	adrp	x26, _sp@GOTPAGE
Lloh5:
	ldr	x26, [x26, _sp@GOTPAGEOFF]
	cmp	w8, #6
	b.lt	LBB0_6
; %bb.5:
Lloh6:
	adrp	x8, _stderr@GOTPAGE
Lloh7:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	ldr	x8, [x25]
	ldr	x9, [x26]
	lsl	x9, x9, #3
Lloh9:
	adrp	x10, _addr@GOTPAGE
Lloh10:
	ldr	x10, [x10, _addr@GOTPAGEOFF]
	ldr	x11, [x21]
	ldr	w8, [x8, x9]
Lloh11:
	ldr	w9, [x10]
	stp	x9, x11, [sp, #8]
	str	x8, [sp]
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf
LBB0_6:
	tbnz	w23, #31, LBB0_10
; %bb.7:
	mov	w23, w23
	mov	w27, #4
	bfi	x27, x23, #3, #32
	mov	w28, #46
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x25]
	ldr	w0, [x8, x27]
	ldr	x8, [x21]
	ldrb	w8, [x8]
	ldr	x9, [x26]
	cmp	x23, x9
	ccmp	w8, w28, #0, eq
	csel	x3, x22, xzr, eq
	add	x2, sp, #24
	mov	x1, x21
	mov	w4, #0
	bl	_check_label
	cbnz	x0, LBB0_16
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	sub	x27, x27, #8
	subs	x23, x23, #1
	b.ge	LBB0_8
LBB0_10:
	cbnz	x20, LBB0_13
; %bb.11:
	cbz	w19, LBB0_13
; %bb.12:
	ldr	x3, [x21]
Lloh14:
	adrp	x1, l_.str.1@PAGE
Lloh15:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #1
	mov	w2, #0
	bl	_printerr
LBB0_13:
	ldr	w8, [x24]
	cmp	w8, #7
	b.lt	LBB0_15
; %bb.14:
Lloh16:
	adrp	x8, _stderr@GOTPAGE
Lloh17:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
Lloh19:
	adrp	x1, l_.str.2@PAGE
Lloh20:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_fprintf
LBB0_15:
	ldr	x8, [sp, #24]
	cmp	x8, #0
	cset	w0, ne
	b	LBB0_21
LBB0_16:
	cbz	x20, LBB0_18
; %bb.17:
	mov	w8, #1
	str	w8, [x20]
LBB0_18:
	ldr	w8, [x24]
	cmp	w8, #7
	b.lt	LBB0_20
; %bb.19:
Lloh21:
	adrp	x8, _stderr@GOTPAGE
Lloh22:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
	ldr	x8, [sp, #24]
	ldr	w8, [x8]
	str	x8, [sp]
Lloh24:
	adrp	x1, l_.str.3@PAGE
Lloh25:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_fprintf
LBB0_20:
	ldr	x8, [sp, #24]
	ldr	w0, [x8]
LBB0_21:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_verbose,4,2                    ; @verbose
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%5d (0x%04x): Starting to read label (string=%s).\n"

	.comm	_stack,8,3                      ; @stack
	.comm	_sp,8,3                         ; @sp
	.comm	_addr,4,2                       ; @addr
l_.str.1:                               ; @.str.1
	.asciz	"using undefined label %.*s\n"

l_.str.2:                               ; @.str.2
	.asciz	"rd_label returns invalid value\n"

l_.str.3:                               ; @.str.3
	.asciz	"rd_label returns valid value 0x%x\n"

	.no_dead_strip	_rd_label
.subsections_via_symbols
