	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tncs_parse_imv
_tncs_parse_imv:                        ## @tncs_parse_imv
	.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	_TNC_MAX_IMV_ID@GOTPCREL(%rip), %rax
	cmpl	%edi, (%rax)
	jle	LBB0_8
## %bb.1:
	movq	%rcx, %r13
	movq	%rdx, %r15
	movq	%rsi, %r14
	movl	%edi, %ebx
	movl	$24, %edi
	callq	_os_zalloc
	testq	%rax, %rax
	je	LBB0_11
## %bb.2:
	movq	%rax, %r12
	movl	%ebx, (%rax)
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdx
	xorl	%eax, %eax
	callq	_wpa_printf
	leaq	1(%r14), %r13
	cmpq	%r15, %r13
	jae	LBB0_9
## %bb.3:
	cmpb	$34, (%r14)
	jne	LBB0_9
## %bb.4:
	leaq	3(%r14), %rbx
	movq	%r14, %rax
	notq	%rax
	addq	%r15, %rax
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	cmpb	$34, -2(%rbx)
	je	LBB0_14
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	incq	%rbx
	decq	%rax
	jne	LBB0_5
## %bb.7:
	movq	_MSG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	jmp	LBB0_10
LBB0_8:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%r12d, %r12d
	xorl	%eax, %eax
	callq	_wpa_printf
	jmp	LBB0_13
LBB0_9:
	movq	_MSG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
LBB0_10:
	movq	%r14, %rdx
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	%r12, %rdi
	callq	_os_free
	jmp	LBB0_12
LBB0_11:
	movl	$1, (%r13)
LBB0_12:
	xorl	%r12d, %r12d
LBB0_13:
	movq	%r12, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	movb	$0, -2(%rbx)
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.4(%rip), %rsi
	movq	%r13, %rdx
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	%r13, %rdi
	callq	_os_strdup
	movq	%rax, 16(%r12)
	leaq	-1(%rbx), %rax
	cmpq	%r15, %rax
	jae	LBB0_17
## %bb.15:
	cmpb	$32, (%rax)
	jne	LBB0_17
## %bb.16:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.6(%rip), %rsi
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	%rbx, %rdi
	callq	_os_strdup
	movq	%rax, 8(%r12)
	jmp	LBB0_13
LBB0_17:
	movq	_MSG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.5(%rip), %rsi
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_TNC_MAX_IMV_ID,4,2             ## @TNC_MAX_IMV_ID
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"TNC: Too many IMVs"

L_.str.1:                               ## @.str.1
	.asciz	"TNC: Configured IMV: %s"

	.comm	_MSG_ERROR,4,2                  ## @MSG_ERROR
L_.str.2:                               ## @.str.2
	.asciz	"TNC: Ignoring invalid IMV line '%s' (no starting quotation mark)"

L_.str.3:                               ## @.str.3
	.asciz	"TNC: Ignoring invalid IMV line '%s' (no ending quotation mark)"

L_.str.4:                               ## @.str.4
	.asciz	"TNC: Name: '%s'"

L_.str.5:                               ## @.str.5
	.asciz	"TNC: Ignoring invalid IMV line '%s' (no space after name)"

L_.str.6:                               ## @.str.6
	.asciz	"TNC: IMV file: '%s'"

	.no_dead_strip	_tncs_parse_imv
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tncs_parse_imv
_tncs_parse_imv:                        ; @tncs_parse_imv
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.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
Lloh0:
	adrp	x8, _TNC_MAX_IMV_ID@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TNC_MAX_IMV_ID@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w0
	b.le	LBB0_8
; %bb.1:
	mov	x22, x3
	mov	x21, x2
	mov	x20, x1
	mov	x23, x0
	mov	w0, #24
	bl	_os_zalloc
	mov	x19, x0
	cbz	x0, LBB0_11
; %bb.2:
	str	w23, [x19]
Lloh3:
	adrp	x23, _MSG_DEBUG@GOTPAGE
Lloh4:
	ldr	x23, [x23, _MSG_DEBUG@GOTPAGEOFF]
	ldr	w0, [x23]
	str	x20, [sp]
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_wpa_printf
	add	x22, x20, #1
	cmp	x22, x21
	b.hs	LBB0_9
; %bb.3:
	ldrb	w8, [x20]
	cmp	w8, #34
	b.ne	LBB0_9
; %bb.4:
	mov	x24, #0
	mvn	x8, x20
	add	x8, x8, x21
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	add	x25, x20, x24
	ldrb	w9, [x25, #1]
	cmp	w9, #34
	b.eq	LBB0_13
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x24, x24, #1
	cmp	x8, x24
	b.ne	LBB0_5
; %bb.7:
Lloh7:
	adrp	x8, _MSG_ERROR@GOTPAGE
Lloh8:
	ldr	x8, [x8, _MSG_ERROR@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	str	x20, [sp]
Lloh10:
	adrp	x1, l_.str.3@PAGE
Lloh11:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_10
LBB0_8:
Lloh12:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh13:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
Lloh15:
	adrp	x1, l_.str@PAGE
Lloh16:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
	mov	x19, #0
	b	LBB0_12
LBB0_9:
Lloh17:
	adrp	x8, _MSG_ERROR@GOTPAGE
Lloh18:
	ldr	x8, [x8, _MSG_ERROR@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
	str	x20, [sp]
Lloh20:
	adrp	x1, l_.str.2@PAGE
Lloh21:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_10:
	bl	_wpa_printf
	mov	x0, x19
	bl	_os_free
	mov	x19, #0
	b	LBB0_12
LBB0_11:
	mov	w8, #1
	str	w8, [x22]
LBB0_12:
	mov	x0, x19
	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
	add	sp, sp, #96
	ret
LBB0_13:
	strb	wzr, [x25, #1]
	ldr	w0, [x23]
	str	x22, [sp]
Lloh22:
	adrp	x1, l_.str.4@PAGE
Lloh23:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_wpa_printf
	mov	x0, x22
	bl	_os_strdup
	str	x0, [x19, #16]
	add	x8, x25, #2
	cmp	x8, x21
	b.hs	LBB0_16
; %bb.14:
	ldrb	w8, [x25, #2]
	cmp	w8, #32
	b.ne	LBB0_16
; %bb.15:
	add	x8, x20, x24
	add	x20, x8, #3
	ldr	w0, [x23]
	str	x20, [sp]
Lloh24:
	adrp	x1, l_.str.6@PAGE
Lloh25:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_wpa_printf
	mov	x0, x20
	bl	_os_strdup
	str	x0, [x19, #8]
	b	LBB0_12
LBB0_16:
Lloh26:
	adrp	x8, _MSG_ERROR@GOTPAGE
Lloh27:
	ldr	x8, [x8, _MSG_ERROR@GOTPAGEOFF]
Lloh28:
	ldr	w0, [x8]
	str	x20, [sp]
Lloh29:
	adrp	x1, l_.str.5@PAGE
Lloh30:
	add	x1, x1, l_.str.5@PAGEOFF
	b	LBB0_10
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_TNC_MAX_IMV_ID,4,2             ; @TNC_MAX_IMV_ID
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"TNC: Too many IMVs"

l_.str.1:                               ; @.str.1
	.asciz	"TNC: Configured IMV: %s"

	.comm	_MSG_ERROR,4,2                  ; @MSG_ERROR
l_.str.2:                               ; @.str.2
	.asciz	"TNC: Ignoring invalid IMV line '%s' (no starting quotation mark)"

l_.str.3:                               ; @.str.3
	.asciz	"TNC: Ignoring invalid IMV line '%s' (no ending quotation mark)"

l_.str.4:                               ; @.str.4
	.asciz	"TNC: Name: '%s'"

l_.str.5:                               ; @.str.5
	.asciz	"TNC: Ignoring invalid IMV line '%s' (no space after name)"

l_.str.6:                               ; @.str.6
	.asciz	"TNC: IMV file: '%s'"

	.no_dead_strip	_tncs_parse_imv
.subsections_via_symbols
