	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wpa_supplicant_verify_tdls_mic
_wpa_supplicant_verify_tdls_mic:        ## @wpa_supplicant_verify_tdls_mic
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$96, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%r8, %rbx
	movq	%rcx, %r8
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, -24(%rbp)
	cmpq	$0, 8(%rsi)
	je	LBB0_4
## %bb.1:
	movl	%edi, %eax
	movl	(%rsi), %ecx
	movl	4(%rsi), %edi
	leaq	-96(%rbp), %r14
	movq	%r14, (%rsp)
	movl	%eax, %esi
	movq	%rbx, %r9
	callq	_wpa_tdls_ftie_mic
	movq	(%rbx), %rsi
	movq	%r14, %rdi
	movl	$16, %edx
	callq	_os_memcmp_const
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_wpa_printf
	movq	_MSG_DEBUG@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	movq	(%rbx), %rdx
	leaq	L_.str.1(%rip), %rsi
	movl	$16, %ecx
	callq	_wpa_hexdump
	movl	(%r14), %edi
	leaq	L_.str.2(%rip), %rsi
	leaq	-96(%rbp), %rdx
	movl	$16, %ecx
	callq	_wpa_hexdump
	jmp	LBB0_5
LBB0_4:
	movq	_MSG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	callq	_wpa_printf
LBB0_5:
	movl	$-1, %eax
	jmp	LBB0_6
LBB0_2:
	xorl	%eax, %eax
LBB0_6:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-24(%rbp), %rcx
	jne	LBB0_8
## %bb.7:
	addq	$96, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_8:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_INFO,4,2                   ## @MSG_INFO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"TDLS: Invalid MIC in FTIE - dropping packet"

	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
L_.str.1:                               ## @.str.1
	.asciz	"TDLS: Received MIC"

L_.str.2:                               ## @.str.2
	.asciz	"TDLS: Calculated MIC"

	.comm	_MSG_WARNING,4,2                ## @MSG_WARNING
L_.str.3:                               ## @.str.3
	.asciz	"TDLS: Could not verify TDLS MIC, TPK not set - dropping packet"

	.no_dead_strip	_wpa_supplicant_verify_tdls_mic
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wpa_supplicant_verify_tdls_mic
_wpa_supplicant_verify_tdls_mic:        ; @wpa_supplicant_verify_tdls_mic
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	stur	x9, [x29, #-24]
	ldr	x9, [x1, #8]
	cbz	x9, LBB0_3
; %bb.1:
	mov	x19, x4
	mov	x4, x3
	mov	x8, x0
	ldp	w3, w0, [x1]
	add	x6, sp, #8
	mov	x1, x8
	mov	x5, x19
	bl	_wpa_tdls_ftie_mic
	ldr	x1, [x19]
	add	x0, sp, #8
	mov	w2, #16
	bl	_os_memcmp_const
	cbz	x0, LBB0_5
; %bb.2:
Lloh3:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
Lloh8:
	adrp	x20, _MSG_DEBUG@GOTPAGE
Lloh9:
	ldr	x20, [x20, _MSG_DEBUG@GOTPAGEOFF]
	ldr	w0, [x20]
	ldr	x2, [x19]
Lloh10:
	adrp	x1, l_.str.1@PAGE
Lloh11:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w3, #16
	bl	_wpa_hexdump
	ldr	w0, [x20]
Lloh12:
	adrp	x1, l_.str.2@PAGE
Lloh13:
	add	x1, x1, l_.str.2@PAGEOFF
	add	x2, sp, #8
	mov	w3, #16
	bl	_wpa_hexdump
	b	LBB0_4
LBB0_3:
Lloh14:
	adrp	x8, _MSG_WARNING@GOTPAGE
Lloh15:
	ldr	x8, [x8, _MSG_WARNING@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
Lloh17:
	adrp	x1, l_.str.3@PAGE
Lloh18:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_wpa_printf
LBB0_4:
	mov	w0, #-1
LBB0_5:
	ldur	x8, [x29, #-24]
Lloh19:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh20:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh21:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_7
; %bb.6:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_7:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_INFO,4,2                   ; @MSG_INFO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"TDLS: Invalid MIC in FTIE - dropping packet"

	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
l_.str.1:                               ; @.str.1
	.asciz	"TDLS: Received MIC"

l_.str.2:                               ; @.str.2
	.asciz	"TDLS: Calculated MIC"

	.comm	_MSG_WARNING,4,2                ; @MSG_WARNING
l_.str.3:                               ; @.str.3
	.asciz	"TDLS: Could not verify TDLS MIC, TPK not set - dropping packet"

	.no_dead_strip	_wpa_supplicant_verify_tdls_mic
.subsections_via_symbols
