	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function TNC_TNCC_BindFunction
_TNC_TNCC_BindFunction:                 ## @TNC_TNCC_BindFunction
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdx
	movq	%r15, %rcx
	callq	_wpa_printf
	movq	_TNC_MAX_IMC_ID@GOTPCREL(%rip), %rcx
	movq	_TNC_RESULT_INVALID_PARAMETER@GOTPCREL(%rip), %rax
	cmpq	%rbx, (%rcx)
	jbe	LBB0_16
## %bb.1:
	testq	%r14, %r14
	je	LBB0_16
## %bb.2:
	movq	_tnc_imc@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	$0, (%rcx,%rbx,8)
	je	LBB0_16
## %bb.3:
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	callq	_os_strcmp
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdi
	callq	_os_strcmp
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	leaq	L_.str.3(%rip), %rsi
	movq	%r15, %rdi
	callq	_os_strcmp
	testq	%rax, %rax
	je	LBB0_8
## %bb.9:
	leaq	L_.str.4(%rip), %rsi
	movq	%r15, %rdi
	callq	_os_strcmp
	testq	%rax, %rax
	je	LBB0_10
## %bb.11:
	leaq	L_.str.5(%rip), %rsi
	movq	%r15, %rdi
	callq	_os_strcmp
	testq	%rax, %rax
	jne	LBB0_12
## %bb.13:
	movq	_TNC_9048_UserMessage@GOTPCREL(%rip), %rax
	jmp	LBB0_14
LBB0_4:
	movq	_TNC_TNCC_ReportMessageTypes@GOTPCREL(%rip), %rax
	jmp	LBB0_14
LBB0_6:
	movq	_TNC_TNCC_SendMessage@GOTPCREL(%rip), %rax
	jmp	LBB0_14
LBB0_8:
	movq	_TNC_TNCC_RequestHandshakeRetry@GOTPCREL(%rip), %rax
	jmp	LBB0_14
LBB0_10:
	movq	_TNC_9048_LogMessage@GOTPCREL(%rip), %rax
LBB0_14:
	movq	(%rax), %rax
LBB0_15:
	movq	%rax, (%r14)
	movq	_TNC_RESULT_SUCCESS@GOTPCREL(%rip), %rax
LBB0_16:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	xorl	%eax, %eax
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"TNC: TNC_TNCC_BindFunction(imcID=%lu, functionName='%s')"

	.comm	_TNC_MAX_IMC_ID,8,3             ## @TNC_MAX_IMC_ID
	.comm	_tnc_imc,8,3                    ## @tnc_imc
	.comm	_TNC_RESULT_INVALID_PARAMETER,4,2 ## @TNC_RESULT_INVALID_PARAMETER
L_.str.1:                               ## @.str.1
	.asciz	"TNC_TNCC_ReportMessageTypes"

	.comm	_TNC_TNCC_ReportMessageTypes,8,3 ## @TNC_TNCC_ReportMessageTypes
L_.str.2:                               ## @.str.2
	.asciz	"TNC_TNCC_SendMessage"

	.comm	_TNC_TNCC_SendMessage,8,3       ## @TNC_TNCC_SendMessage
L_.str.3:                               ## @.str.3
	.asciz	"TNC_TNCC_RequestHandshakeRetry"

	.comm	_TNC_TNCC_RequestHandshakeRetry,8,3 ## @TNC_TNCC_RequestHandshakeRetry
L_.str.4:                               ## @.str.4
	.asciz	"TNC_9048_LogMessage"

	.comm	_TNC_9048_LogMessage,8,3        ## @TNC_9048_LogMessage
L_.str.5:                               ## @.str.5
	.asciz	"TNC_9048_UserMessage"

	.comm	_TNC_9048_UserMessage,8,3       ## @TNC_9048_UserMessage
	.comm	_TNC_RESULT_SUCCESS,4,2         ## @TNC_RESULT_SUCCESS
	.no_dead_strip	_TNC_TNCC_BindFunction
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function TNC_TNCC_BindFunction
_TNC_TNCC_BindFunction:                 ; @TNC_TNCC_BindFunction
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x21
	mov	x3, x20
	bl	_wpa_printf
Lloh5:
	adrp	x8, _TNC_MAX_IMC_ID@GOTPAGE
Lloh6:
	ldr	x8, [x8, _TNC_MAX_IMC_ID@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	cmp	x8, x21
	b.ls	LBB0_8
; %bb.1:
Lloh8:
	adrp	x8, _TNC_RESULT_INVALID_PARAMETER@GOTPAGE
Lloh9:
	ldr	x8, [x8, _TNC_RESULT_INVALID_PARAMETER@GOTPAGEOFF]
	cbz	x19, LBB0_15
; %bb.2:
Lloh10:
	adrp	x9, _tnc_imc@GOTPAGE
Lloh11:
	ldr	x9, [x9, _tnc_imc@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	ldr	x9, [x9, x21, lsl #3]
	cbz	x9, LBB0_15
; %bb.3:
Lloh13:
	adrp	x1, l_.str.1@PAGE
Lloh14:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_os_strcmp
	cbz	x0, LBB0_9
; %bb.4:
Lloh15:
	adrp	x1, l_.str.2@PAGE
Lloh16:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_os_strcmp
	cbz	x0, LBB0_10
; %bb.5:
Lloh17:
	adrp	x1, l_.str.3@PAGE
Lloh18:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	bl	_os_strcmp
	cbz	x0, LBB0_11
; %bb.6:
Lloh19:
	adrp	x1, l_.str.4@PAGE
Lloh20:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x20
	bl	_os_strcmp
	cbz	x0, LBB0_12
; %bb.7:
Lloh21:
	adrp	x1, l_.str.5@PAGE
Lloh22:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x20
	bl	_os_strcmp
Lloh23:
	adrp	x8, _TNC_9048_UserMessage@GOTPAGE
Lloh24:
	ldr	x8, [x8, _TNC_9048_UserMessage@GOTPAGEOFF]
Lloh25:
	ldr	x8, [x8]
	cmp	x0, #0
	csel	x8, x8, xzr, eq
	b	LBB0_14
LBB0_8:
Lloh26:
	adrp	x8, _TNC_RESULT_INVALID_PARAMETER@GOTPAGE
Lloh27:
	ldr	x8, [x8, _TNC_RESULT_INVALID_PARAMETER@GOTPAGEOFF]
	b	LBB0_15
LBB0_9:
Lloh28:
	adrp	x8, _TNC_TNCC_ReportMessageTypes@GOTPAGE
Lloh29:
	ldr	x8, [x8, _TNC_TNCC_ReportMessageTypes@GOTPAGEOFF]
	b	LBB0_13
LBB0_10:
Lloh30:
	adrp	x8, _TNC_TNCC_SendMessage@GOTPAGE
Lloh31:
	ldr	x8, [x8, _TNC_TNCC_SendMessage@GOTPAGEOFF]
	b	LBB0_13
LBB0_11:
Lloh32:
	adrp	x8, _TNC_TNCC_RequestHandshakeRetry@GOTPAGE
Lloh33:
	ldr	x8, [x8, _TNC_TNCC_RequestHandshakeRetry@GOTPAGEOFF]
	b	LBB0_13
LBB0_12:
Lloh34:
	adrp	x8, _TNC_9048_LogMessage@GOTPAGE
Lloh35:
	ldr	x8, [x8, _TNC_9048_LogMessage@GOTPAGEOFF]
LBB0_13:
	ldr	x8, [x8]
LBB0_14:
	str	x8, [x19]
Lloh36:
	adrp	x8, _TNC_RESULT_SUCCESS@GOTPAGE
Lloh37:
	ldr	x8, [x8, _TNC_RESULT_SUCCESS@GOTPAGEOFF]
LBB0_15:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh36, Lloh37
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"TNC: TNC_TNCC_BindFunction(imcID=%lu, functionName='%s')"

	.comm	_TNC_MAX_IMC_ID,8,3             ; @TNC_MAX_IMC_ID
	.comm	_tnc_imc,8,3                    ; @tnc_imc
	.comm	_TNC_RESULT_INVALID_PARAMETER,4,2 ; @TNC_RESULT_INVALID_PARAMETER
l_.str.1:                               ; @.str.1
	.asciz	"TNC_TNCC_ReportMessageTypes"

	.comm	_TNC_TNCC_ReportMessageTypes,8,3 ; @TNC_TNCC_ReportMessageTypes
l_.str.2:                               ; @.str.2
	.asciz	"TNC_TNCC_SendMessage"

	.comm	_TNC_TNCC_SendMessage,8,3       ; @TNC_TNCC_SendMessage
l_.str.3:                               ; @.str.3
	.asciz	"TNC_TNCC_RequestHandshakeRetry"

	.comm	_TNC_TNCC_RequestHandshakeRetry,8,3 ; @TNC_TNCC_RequestHandshakeRetry
l_.str.4:                               ; @.str.4
	.asciz	"TNC_9048_LogMessage"

	.comm	_TNC_9048_LogMessage,8,3        ; @TNC_9048_LogMessage
l_.str.5:                               ; @.str.5
	.asciz	"TNC_9048_UserMessage"

	.comm	_TNC_9048_UserMessage,8,3       ; @TNC_9048_UserMessage
	.comm	_TNC_RESULT_SUCCESS,4,2         ; @TNC_RESULT_SUCCESS
	.no_dead_strip	_TNC_TNCC_BindFunction
.subsections_via_symbols
