	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tac_get_av_value               ## -- Begin function tac_get_av_value
	.p2align	4, 0x90
_tac_get_av_value:                      ## @tac_get_av_value
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rsi, %rsi
	je	LBB0_19
## %bb.1:
	movq	%rsi, %rbx
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rdi
	callq	_strlen
	movl	%eax, %r13d
	xorl	%eax, %eax
	testl	%r13d, %r13d
	je	LBB0_20
## %bb.2:
	movq	_MAXAVPAIRS@GOTPCREL(%rip), %r8
	cmpl	$0, (%r8)
	jle	LBB0_20
## %bb.3:
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movslq	%r13d, %rcx
	movq	%rcx, %rax
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	negq	%rcx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movabsq	$2305847411555172864, %rbx      ## imm = 0x2000040100000200
	xorl	%r15d, %r15d
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	jmp	LBB0_4
LBB0_11:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%r14, %rax
LBB0_12:                                ##   in Loop: Header=BB0_4 Depth=1
	cmpl	$1, %ecx
	je	LBB0_13
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_4 Depth=1
	incq	%r15
	movslq	(%r8), %rax
	cmpq	%rax, %r15
	jge	LBB0_19
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_8 Depth 2
	movq	(%rdi), %rax
	movq	%r15, %rcx
	shlq	$4, %rcx
	movq	(%rax,%rcx), %r14
	testq	%r14, %r14
	je	LBB0_19
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movslq	8(%rax,%rcx), %r12
	cmpl	%r12d, %r13d
	jge	LBB0_18
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%r14, %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movl	%r13d, %edx
	callq	_strncmp
	movq	_MAXAVPAIRS@GOTPCREL(%rip), %r8
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	testl	%eax, %eax
	jne	LBB0_18
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	addq	%r14, %rax
	addq	%r12, %r14
	addq	-56(%rbp), %r12                 ## 8-byte Folded Reload
	xorl	%ecx, %ecx
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_8 Depth=2
	incl	%ecx
LBB0_17:                                ##   in Loop: Header=BB0_8 Depth=2
	incq	%rax
	decq	%r12
LBB0_8:                                 ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzbl	(%rax), %esi
	cmpq	$61, %rsi
	ja	LBB0_12
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=2
	btq	%rsi, %rbx
	jae	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=2
	testq	%r12, %r12
	je	LBB0_11
## %bb.14:                              ##   in Loop: Header=BB0_8 Depth=2
	cmpb	$61, %sil
	je	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_8 Depth=2
	cmpb	$42, %sil
	je	LBB0_16
	jmp	LBB0_17
LBB0_19:
	xorl	%eax, %eax
LBB0_20:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	subl	%eax, %r14d
	movl	%r14d, -88(%rbp)
	movq	%rax, -80(%rbp)
	leaq	-88(%rbp), %rsi
	xorl	%edx, %edx
	callq	_dup_str
	jmp	LBB0_20
	.cfi_endproc
                                        ## -- End function
	.comm	_MAXAVPAIRS,4,2                 ## @MAXAVPAIRS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tac_get_av_value               ; -- Begin function tac_get_av_value
	.p2align	2
_tac_get_av_value:                      ; @tac_get_av_value
	.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
	cbz	x1, LBB0_17
; %bb.1:
	mov	x20, x1
	mov	x19, x0
	mov	x0, x1
	bl	_strlen
	mov	x21, x0
	mov	x0, #0
	cbz	w21, LBB0_18
; %bb.2:
Lloh0:
	adrp	x23, _MAXAVPAIRS@GOTPAGE
Lloh1:
	ldr	x23, [x23, _MAXAVPAIRS@GOTPAGEOFF]
	ldr	w8, [x23]
	cmp	w8, #1
	b.lt	LBB0_18
; %bb.3:
	mov	x24, #0
	sxtw	x25, w21
	neg	x8, x25
	str	x8, [sp, #8]                    ; 8-byte Folded Spill
	mov	w27, #1
	mov	x28, #512
	movk	x28, #1025, lsl #32
	movk	x28, #8192, lsl #48
	b	LBB0_7
LBB0_4:                                 ;   in Loop: Header=BB0_7 Depth=1
	mov	x8, x9
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	cmp	w10, #1
	b.eq	LBB0_19
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	x24, x24, #1
	ldrsw	x8, [x23]
	cmp	x24, x8
	b.ge	LBB0_17
LBB0_7:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_13 Depth 2
	ldr	x8, [x19]
	add	x8, x8, x24, lsl #4
	ldr	x22, [x8]
	cbz	x22, LBB0_17
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldrsw	x26, [x8, #8]
	cmp	w21, w26
	b.ge	LBB0_6
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x22
	mov	x1, x20
	mov	x2, x21
	bl	_strncmp
	cbnz	w0, LBB0_6
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	w10, #0
	add	x8, x22, x25
	add	x9, x22, x26
	ldr	x11, [sp, #8]                   ; 8-byte Folded Reload
	add	x11, x11, x26
	b	LBB0_13
LBB0_11:                                ;   in Loop: Header=BB0_13 Depth=2
	add	w10, w10, #1
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=2
	add	x8, x8, #1
	sub	x11, x11, #1
LBB0_13:                                ;   Parent Loop BB0_7 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w12, [x8]
	cmp	w12, #61
	lsl	x13, x27, x12
	and	x13, x13, x28
	ccmp	x13, #0, #4, ls
	b.eq	LBB0_5
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=2
	cbz	x11, LBB0_4
; %bb.15:                               ;   in Loop: Header=BB0_13 Depth=2
	cmp	w12, #61
	b.eq	LBB0_11
; %bb.16:                               ;   in Loop: Header=BB0_13 Depth=2
	cmp	w12, #42
	b.eq	LBB0_11
	b	LBB0_12
LBB0_17:
	mov	x0, #0
LBB0_18:
	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
LBB0_19:
	sub	w9, w9, w8
	str	w9, [sp, #16]
	str	x8, [sp, #24]
	add	x1, sp, #16
	mov	x0, x19
	mov	x2, #0
	bl	_dup_str
	b	LBB0_18
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_MAXAVPAIRS,4,2                 ; @MAXAVPAIRS
.subsections_via_symbols
