	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wpa_sm_notify_assoc            ## -- Begin function wpa_sm_notify_assoc
	.p2align	4, 0x90
_wpa_sm_notify_assoc:                   ## @wpa_sm_notify_assoc
	.cfi_startproc
## %bb.0:
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.1:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	64(%rdi), %rax
	movl	(%rax), %edi
	movq	_MSG_DEBUG@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	leaq	L_.str(%rip), %rdx
	callq	_wpa_dbg
	movl	72(%rbx), %edi
	movq	_ETH_ALEN@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	movq	%r14, %rsi
	callq	_os_memcpy
	movq	104(%rbx), %rdi
	movq	_WPA_REPLAY_COUNTER_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%esi, %esi
	callq	_os_memset
	movq	$0, 96(%rbx)
	movl	$1, (%rbx)
	movl	92(%rbx), %edi
	movl	(%r12), %edx
	movq	%r14, %rsi
	callq	_os_memcmp
	testq	%rax, %rax
	jne	LBB0_3
## %bb.2:
	movq	%rbx, %rdi
	callq	_rsn_preauth_deinit
LBB0_3:
	movq	64(%rbx), %rax
	movl	(%rax), %edi
	movl	(%r15), %esi
	leaq	L_.str.1(%rip), %rdx
	callq	_wpa_dbg
	movq	$0, 56(%rbx)
	leaq	48(%rbx), %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_os_memset
	movq	$0, 40(%rbx)
	leaq	32(%rbx), %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_os_memset
	leaq	28(%rbx), %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_os_memset
	addq	$24, %rbx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_os_memset                      ## TAILCALL
LBB0_4:
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"WPA: Association event - clear replay counter"

	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.comm	_WPA_REPLAY_COUNTER_LEN,4,2     ## @WPA_REPLAY_COUNTER_LEN
L_.str.1:                               ## @.str.1
	.asciz	"WPA: Clear old PTK"

	.comm	_FALSE,4,2                      ## @FALSE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wpa_sm_notify_assoc            ; -- Begin function wpa_sm_notify_assoc
	.p2align	2
_wpa_sm_notify_assoc:                   ; @wpa_sm_notify_assoc
	.cfi_startproc
; %bb.0:
	cbz	x0, LBB0_4
; %bb.1:
	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	x20, x1
	mov	x19, x0
	ldr	x8, [x0, #64]
	ldr	w0, [x8]
Lloh0:
	adrp	x21, _MSG_DEBUG@GOTPAGE
Lloh1:
	ldr	x21, [x21, _MSG_DEBUG@GOTPAGEOFF]
	ldr	w1, [x21]
Lloh2:
	adrp	x2, l_.str@PAGE
Lloh3:
	add	x2, x2, l_.str@PAGEOFF
	bl	_wpa_dbg
	ldr	w0, [x19, #72]
Lloh4:
	adrp	x22, _ETH_ALEN@GOTPAGE
Lloh5:
	ldr	x22, [x22, _ETH_ALEN@GOTPAGEOFF]
	ldr	w2, [x22]
	mov	x1, x20
	bl	_os_memcpy
	ldr	x0, [x19, #104]
Lloh6:
	adrp	x8, _WPA_REPLAY_COUNTER_LEN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _WPA_REPLAY_COUNTER_LEN@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	mov	w1, #0
	bl	_os_memset
	str	xzr, [x19, #96]
	mov	w8, #1
	str	w8, [x19]
	ldr	w0, [x19, #92]
	ldr	w2, [x22]
	mov	x1, x20
	bl	_os_memcmp
	cbnz	x0, LBB0_3
; %bb.2:
	mov	x0, x19
	bl	_rsn_preauth_deinit
LBB0_3:
	ldr	x8, [x19, #64]
	ldr	w0, [x8]
	ldr	w1, [x21]
Lloh9:
	adrp	x2, l_.str.1@PAGE
Lloh10:
	add	x2, x2, l_.str.1@PAGEOFF
	bl	_wpa_dbg
	str	xzr, [x19, #56]
	add	x0, x19, #48
	mov	w1, #0
	mov	w2, #4
	bl	_os_memset
	str	xzr, [x19, #40]
	add	x0, x19, #32
	mov	w1, #0
	mov	w2, #4
	bl	_os_memset
	add	x0, x19, #28
	mov	w1, #0
	mov	w2, #4
	bl	_os_memset
	add	x0, x19, #24
	mov	w1, #0
	mov	w2, #4
	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
	b	_os_memset
LBB0_4:
	.cfi_def_cfa wsp, 0
	.cfi_same_value w30
	.cfi_same_value w29
	.cfi_same_value w19
	.cfi_same_value w20
	.cfi_same_value w21
	.cfi_same_value w22
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"WPA: Association event - clear replay counter"

	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.comm	_WPA_REPLAY_COUNTER_LEN,4,2     ; @WPA_REPLAY_COUNTER_LEN
l_.str.1:                               ; @.str.1
	.asciz	"WPA: Clear old PTK"

	.comm	_FALSE,4,2                      ; @FALSE
.subsections_via_symbols
