	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tncc_parse_imc
_tncc_parse_imc:                        ## @tncc_parse_imc
	.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_IMC_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	jle	LBB0_4
## %bb.1:
	movq	%rdx, %r13
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	_tnc_imc@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	$0, (%rcx,%rbx,8)
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
	cmpq	%rbx, %rax
	jne	LBB0_2
LBB0_4:
	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_17
LBB0_5:
	movl	$24, %edi
	callq	_os_zalloc
	testq	%rax, %rax
	je	LBB0_15
## %bb.6:
	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_12
## %bb.7:
	cmpb	$34, (%r14)
	jne	LBB0_12
## %bb.8:
	leaq	3(%r14), %rbx
	movq	%r14, %rax
	notq	%rax
	addq	%r15, %rax
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	cmpb	$34, -2(%rbx)
	je	LBB0_18
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	incq	%rbx
	decq	%rax
	jne	LBB0_9
## %bb.11:
	movq	_MSG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	jmp	LBB0_13
LBB0_12:
	movq	_MSG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
LBB0_13:
	movq	%r14, %rdx
	xorl	%eax, %eax
	callq	_wpa_printf
LBB0_14:
	movq	%r12, %rdi
	callq	_os_free
	jmp	LBB0_16
LBB0_15:
	movl	$1, (%r13)
LBB0_16:
	xorl	%r12d, %r12d
LBB0_17:
	movq	%r12, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_18:
	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_21
## %bb.19:
	cmpb	$32, (%rax)
	jne	LBB0_21
## %bb.20:
	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)
	movq	_tnc_imc@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	(%r12), %rcx
	movq	%r12, (%rax,%rcx,8)
	jmp	LBB0_17
LBB0_21:
	movq	_MSG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.5(%rip), %rsi
	movq	%r14, %rdx
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	16(%r12), %rdi
	callq	_os_free
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.comm	_TNC_MAX_IMC_ID,4,2             ## @TNC_MAX_IMC_ID
	.comm	_tnc_imc,8,3                    ## @tnc_imc
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"TNC: Too many IMCs"

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

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

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

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

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

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

	.no_dead_strip	_tncc_parse_imc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tncc_parse_imc
_tncc_parse_imc:                        ; @tncc_parse_imc
	.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_IMC_ID@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TNC_MAX_IMC_ID@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_4
; %bb.1:
	mov	x22, x2
	mov	x21, x1
	mov	x20, x0
	mov	x24, #0
Lloh3:
	adrp	x23, _tnc_imc@GOTPAGE
Lloh4:
	ldr	x23, [x23, _tnc_imc@GOTPAGEOFF]
	ldr	x9, [x23]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x9, x24, lsl #3]
	cbz	x10, LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x24, x24, #1
	cmp	x8, x24
	b.ne	LBB0_2
LBB0_4:
Lloh5:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
	mov	x19, #0
	b	LBB0_16
LBB0_5:
	mov	w0, #24
	bl	_os_zalloc
	mov	x19, x0
	cbz	x0, LBB0_15
; %bb.6:
	str	w24, [x19]
Lloh10:
	adrp	x24, _MSG_DEBUG@GOTPAGE
Lloh11:
	ldr	x24, [x24, _MSG_DEBUG@GOTPAGEOFF]
	ldr	w0, [x24]
	str	x20, [sp]
Lloh12:
	adrp	x1, l_.str.1@PAGE
Lloh13:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_wpa_printf
	add	x22, x20, #1
	cmp	x22, x21
	b.hs	LBB0_12
; %bb.7:
	ldrb	w8, [x20]
	cmp	w8, #34
	b.ne	LBB0_12
; %bb.8:
	mov	x25, #0
	mvn	x8, x20
	add	x8, x8, x21
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	add	x26, x20, x25
	ldrb	w9, [x26, #1]
	cmp	w9, #34
	b.eq	LBB0_17
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	add	x25, x25, #1
	cmp	x8, x25
	b.ne	LBB0_9
; %bb.11:
Lloh14:
	adrp	x8, _MSG_ERROR@GOTPAGE
Lloh15:
	ldr	x8, [x8, _MSG_ERROR@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	str	x20, [sp]
Lloh17:
	adrp	x1, l_.str.3@PAGE
Lloh18:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_13
LBB0_12:
Lloh19:
	adrp	x8, _MSG_ERROR@GOTPAGE
Lloh20:
	ldr	x8, [x8, _MSG_ERROR@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
	str	x20, [sp]
Lloh22:
	adrp	x1, l_.str.2@PAGE
Lloh23:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_13:
	bl	_wpa_printf
LBB0_14:
	mov	x0, x19
	bl	_os_free
	mov	x19, #0
	b	LBB0_16
LBB0_15:
	mov	w8, #1
	str	w8, [x22]
LBB0_16:
	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_17:
	strb	wzr, [x26, #1]
	ldr	w0, [x24]
	str	x22, [sp]
Lloh24:
	adrp	x1, l_.str.4@PAGE
Lloh25:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_wpa_printf
	mov	x0, x22
	bl	_os_strdup
	str	x0, [x19, #16]
	add	x8, x26, #2
	cmp	x8, x21
	b.hs	LBB0_20
; %bb.18:
	ldrb	w8, [x26, #2]
	cmp	w8, #32
	b.ne	LBB0_20
; %bb.19:
	add	x8, x20, x25
	add	x20, x8, #3
	ldr	w0, [x24]
	str	x20, [sp]
Lloh26:
	adrp	x1, l_.str.6@PAGE
Lloh27:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_wpa_printf
	mov	x0, x20
	bl	_os_strdup
	str	x0, [x19, #8]
	ldr	x8, [x23]
	ldrsw	x9, [x19]
	str	x19, [x8, x9, lsl #3]
	b	LBB0_16
LBB0_20:
Lloh28:
	adrp	x8, _MSG_ERROR@GOTPAGE
Lloh29:
	ldr	x8, [x8, _MSG_ERROR@GOTPAGEOFF]
Lloh30:
	ldr	w0, [x8]
	str	x20, [sp]
Lloh31:
	adrp	x1, l_.str.5@PAGE
Lloh32:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_wpa_printf
	ldr	x0, [x19, #16]
	bl	_os_free
	b	LBB0_14
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.comm	_TNC_MAX_IMC_ID,4,2             ; @TNC_MAX_IMC_ID
	.comm	_tnc_imc,8,3                    ; @tnc_imc
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"TNC: Too many IMCs"

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

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

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

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

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

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

	.no_dead_strip	_tncc_parse_imc
.subsections_via_symbols
