	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function eap_tnc_check
_eap_tnc_check:                         ## @eap_tnc_check
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rsi, %rbx
	movq	_EAP_VENDOR_IETF@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_EAP_TYPE_TNC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-16(%rbp), %rcx
	callq	_eap_hdr_validate
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	cmpq	$0, -16(%rbp)
	je	LBB0_6
## %bb.2:
	movl	(%rax), %eax
	movq	_EAP_TNC_VERSION_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	andl	%eax, %edx
	movq	_EAP_TNC_VERSION@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %edx
	jne	LBB0_8
## %bb.3:
	movq	_EAP_TNC_FLAGS_START@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_7
## %bb.4:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	jmp	LBB0_10
LBB0_5:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_10
LBB0_6:
	movq	(%rbx), %rax
	movq	_WAIT_FRAG_ACK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_9
LBB0_7:
	movq	_FALSE@GOTPCREL(%rip), %rax
	jmp	LBB0_12
LBB0_8:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	jmp	LBB0_11
LBB0_9:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
LBB0_10:
	xorl	%eax, %eax
	callq	_wpa_printf
LBB0_11:
	movq	_TRUE@GOTPCREL(%rip), %rax
LBB0_12:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EAP_VENDOR_IETF,4,2            ## @EAP_VENDOR_IETF
	.comm	_EAP_TYPE_TNC,4,2               ## @EAP_TYPE_TNC
	.comm	_MSG_INFO,4,2                   ## @MSG_INFO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"EAP-TNC: Invalid frame"

	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_WAIT_FRAG_ACK,8,3              ## @WAIT_FRAG_ACK
L_.str.1:                               ## @.str.1
	.asciz	"EAP-TNC: Invalid frame (empty)"

	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_EAP_TNC_VERSION_MASK,4,2       ## @EAP_TNC_VERSION_MASK
	.comm	_EAP_TNC_VERSION,4,2            ## @EAP_TNC_VERSION
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
L_.str.2:                               ## @.str.2
	.asciz	"EAP-TNC: Unsupported version %d"

	.comm	_EAP_TNC_FLAGS_START,4,2        ## @EAP_TNC_FLAGS_START
L_.str.3:                               ## @.str.3
	.asciz	"EAP-TNC: Peer used Start flag"

	.no_dead_strip	_eap_tnc_check
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function eap_tnc_check
_eap_tnc_check:                         ; @eap_tnc_check
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x1
Lloh0:
	adrp	x8, _EAP_VENDOR_IETF@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EAP_VENDOR_IETF@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _EAP_TYPE_TNC@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EAP_TYPE_TNC@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	add	x3, sp, #8
	bl	_eap_hdr_validate
	cbz	x0, LBB0_5
; %bb.1:
	ldr	x8, [sp, #8]
	cbz	x8, LBB0_6
; %bb.2:
	ldr	w8, [x0]
Lloh6:
	adrp	x9, _EAP_TNC_VERSION_MASK@GOTPAGE
Lloh7:
	ldr	x9, [x9, _EAP_TNC_VERSION_MASK@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	and	w9, w9, w8
Lloh9:
	adrp	x10, _EAP_TNC_VERSION@GOTPAGE
Lloh10:
	ldr	x10, [x10, _EAP_TNC_VERSION@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	cmp	w9, w10
	b.ne	LBB0_8
; %bb.3:
Lloh12:
	adrp	x9, _EAP_TNC_FLAGS_START@GOTPAGE
Lloh13:
	ldr	x9, [x9, _EAP_TNC_FLAGS_START@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_7
; %bb.4:
Lloh15:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh16:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
Lloh18:
	adrp	x1, l_.str.3@PAGE
Lloh19:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_10
LBB0_5:
Lloh20:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh21:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
Lloh23:
	adrp	x1, l_.str@PAGE
Lloh24:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_10
LBB0_6:
	ldr	x8, [x19]
Lloh25:
	adrp	x9, _WAIT_FRAG_ACK@GOTPAGE
Lloh26:
	ldr	x9, [x9, _WAIT_FRAG_ACK@GOTPAGEOFF]
Lloh27:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_9
LBB0_7:
Lloh28:
	adrp	x8, _FALSE@GOTPAGE
Lloh29:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
	b	LBB0_11
LBB0_8:
Lloh30:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh31:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh32:
	ldr	w0, [x8]
	str	x9, [sp]
Lloh33:
	adrp	x1, l_.str.2@PAGE
Lloh34:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_10
LBB0_9:
Lloh35:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh36:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh37:
	ldr	w0, [x8]
Lloh38:
	adrp	x1, l_.str.1@PAGE
Lloh39:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_10:
	bl	_wpa_printf
Lloh40:
	adrp	x8, _TRUE@GOTPAGE
Lloh41:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
LBB0_11:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGot	Lloh40, Lloh41
	.cfi_endproc
                                        ; -- End function
	.comm	_EAP_VENDOR_IETF,4,2            ; @EAP_VENDOR_IETF
	.comm	_EAP_TYPE_TNC,4,2               ; @EAP_TYPE_TNC
	.comm	_MSG_INFO,4,2                   ; @MSG_INFO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"EAP-TNC: Invalid frame"

	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_WAIT_FRAG_ACK,8,3              ; @WAIT_FRAG_ACK
l_.str.1:                               ; @.str.1
	.asciz	"EAP-TNC: Invalid frame (empty)"

	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_EAP_TNC_VERSION_MASK,4,2       ; @EAP_TNC_VERSION_MASK
	.comm	_EAP_TNC_VERSION,4,2            ; @EAP_TNC_VERSION
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
l_.str.2:                               ; @.str.2
	.asciz	"EAP-TNC: Unsupported version %d"

	.comm	_EAP_TNC_FLAGS_START,4,2        ; @EAP_TNC_FLAGS_START
l_.str.3:                               ; @.str.3
	.asciz	"EAP-TNC: Peer used Start flag"

	.no_dead_strip	_eap_tnc_check
.subsections_via_symbols
