	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ieee802_1x_kay_decode_mkpdu
_ieee802_1x_kay_decode_mkpdu:           ## @ieee802_1x_kay_decode_mkpdu
	.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
	subq	$2088, %rsp                     ## imm = 0x828
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	8(%rbx), %edx
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	callq	_ieee802_1x_kay_mkpdu_sanity_check
	movl	$-1, %r14d
	testq	%rax, %rax
	je	LBB0_3
LBB0_1:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_47
## %bb.2:
	movl	%r14d, %eax
	addq	$2088, %rsp                     ## imm = 0x828
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	%r13, -2128(%rbp)               ## 8-byte Spill
	addq	$64, %r15
	addq	$-8, %r12
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	callq	_ieee802_1x_mka_decode_basic_body
	testq	%rax, %rax
	je	LBB0_1
## %bb.4:
	movq	%rax, %r13
	movq	%r15, %rdi
	callq	_get_mka_param_body_len
	movl	%eax, %edi
	callq	_MKA_ALIGN_LENGTH
	movq	_MKA_HDR_LEN@GOTPCREL(%rip), %rcx
	addq	(%rcx), %rax
	subq	%rax, %r12
	jb	LBB0_1
## %bb.5:
	movq	%rbx, -2120(%rbp)               ## 8-byte Spill
	movq	%r13, %rbx
	leaq	(%r15,%rax,8), %r13
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movq	%r12, %rdx
	callq	_ieee802_1x_mka_i_in_peerlist
	movq	%rax, %r14
	movl	16(%rbx), %esi
	movq	%rbx, -2104(%rbp)               ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_ieee802_1x_kay_is_in_live_peer
	movq	%rax, %rbx
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -2108(%rbp)               ## 4-byte Spill
	movq	%r14, %rdi
	callq	_yes_no
	movl	%eax, %r15d
	movq	%rbx, %rdi
	callq	_yes_no
	leaq	L_.str.1(%rip), %rsi
	movl	-2108(%rbp), %edi               ## 4-byte Reload
	movl	%r15d, %edx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_wpa_printf
	testq	%r14, %r14
	je	LBB0_12
## %bb.6:
	testq	%rbx, %rbx
	jne	LBB0_12
## %bb.7:
	movq	-2104(%rbp), %rbx               ## 8-byte Reload
	movl	16(%rbx), %esi
	movq	%rbx, %rdi
	callq	_ieee802_1x_kay_is_in_potential_peer
	movq	%rax, %r15
	movl	16(%rbx), %r14d
	movl	20(%rbx), %edi
	callq	_be_to_host32
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%eax, %edx
	testq	%r15, %r15
	je	LBB0_10
## %bb.8:
	callq	_ieee802_1x_kay_move_live_peer
	testl	%eax, %eax
	je	LBB0_9
LBB0_11:
	movq	%rbx, %rdi
	callq	_ieee802_1x_kay_elect_key_server
	movq	%rbx, %rdi
	callq	_ieee802_1x_kay_decide_macsec_use
LBB0_12:
	movq	_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %xmm0                   ## xmm0 = mem[0],zero
	pshufd	$68, %xmm0, %xmm0               ## xmm0 = xmm0[0,1,0,1]
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movdqa	%xmm0, -2096(%rbp,%rax,8)
	movdqa	%xmm0, -2080(%rbp,%rax,8)
	movdqa	%xmm0, -2064(%rbp,%rax,8)
	movdqa	%xmm0, -2048(%rbp,%rax,8)
	movdqa	%xmm0, -2032(%rbp,%rax,8)
	movdqa	%xmm0, -2016(%rbp,%rax,8)
	movdqa	%xmm0, -2000(%rbp,%rax,8)
	movdqa	%xmm0, -1984(%rbp,%rax,8)
	movdqa	%xmm0, -1968(%rbp,%rax,8)
	movdqa	%xmm0, -1952(%rbp,%rax,8)
	movdqa	%xmm0, -1936(%rbp,%rax,8)
	movdqa	%xmm0, -1920(%rbp,%rax,8)
	movdqa	%xmm0, -1904(%rbp,%rax,8)
	movdqa	%xmm0, -1888(%rbp,%rax,8)
	movdqa	%xmm0, -1872(%rbp,%rax,8)
	movdqa	%xmm0, -1856(%rbp,%rax,8)
	addq	$32, %rax
	cmpq	$256, %rax                      ## imm = 0x100
	jne	LBB0_13
## %bb.14:
	movq	_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -2096(%rbp)
	movq	_DEFAULT_ICV_LEN@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	movq	_MKA_HDR_LEN@GOTPCREL(%rip), %rcx
	addq	(%rcx), %rax
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_17 Depth=1
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	movq	%r15, %rdx
	xorl	%eax, %eax
	callq	_wpa_printf
LBB0_16:                                ##   in Loop: Header=BB0_17 Depth=1
	movq	_MKA_HDR_LEN@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	addq	%rax, %r14
	leaq	(%r13,%r14,8), %r13
	subq	%r14, %r12
	addq	(%rbx), %rax
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	cmpq	%rax, %r12
	jbe	LBB0_27
## %bb.18:                              ##   in Loop: Header=BB0_17 Depth=1
	movq	%r13, %rdi
	callq	_get_mka_param_body_len
	movl	%eax, %edi
	callq	_MKA_ALIGN_LENGTH
	movq	%rax, %r14
	movq	%r13, %rdi
	callq	_get_mka_param_body_type
	movq	%rax, %r15
	movq	_MKA_ICV_INDICATOR@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r15
	je	LBB0_34
## %bb.19:                              ##   in Loop: Header=BB0_17 Depth=1
	movq	_MKA_HDR_LEN@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	leaq	(%rcx,%r14), %rax
	movq	(%rbx), %r9
	addq	%r9, %rax
	cmpq	%rax, %r12
	jb	LBB0_35
## %bb.20:                              ##   in Loop: Header=BB0_17 Depth=1
	cmpq	$0, -2096(%rbp,%r15,8)
	jne	LBB0_15
## %bb.21:                              ##   in Loop: Header=BB0_17 Depth=1
	movq	_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -2096(%rbp,%r15,8)
	movq	_mka_body_handler@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_ARRAY_SIZE
	cmpq	%rax, %r15
	jae	LBB0_26
## %bb.22:                              ##   in Loop: Header=BB0_17 Depth=1
	movq	_mka_body_handler@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax,%r15,8), %rax
	testq	%rax, %rax
	je	LBB0_26
## %bb.23:                              ##   in Loop: Header=BB0_17 Depth=1
	movq	-2104(%rbp), %rdi               ## 8-byte Reload
	movq	%r13, %rsi
	movq	%r12, %rdx
	callq	*%rax
	testq	%rax, %rax
	je	LBB0_16
## %bb.24:                              ##   in Loop: Header=BB0_17 Depth=1
	movq	_MKA_SAK_USE@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r15
	jne	LBB0_46
## %bb.25:                              ##   in Loop: Header=BB0_17 Depth=1
	movq	_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -2128(%rbp)               ## 8-byte Spill
	jmp	LBB0_16
LBB0_26:                                ##   in Loop: Header=BB0_17 Depth=1
	movq	_MSG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_MKA_VERSION_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str.5(%rip), %rsi
	movq	%r15, %rdx
	xorl	%eax, %eax
	callq	_wpa_printf
	jmp	LBB0_16
LBB0_27:
	cmpq	$0, -2128(%rbp)                 ## 8-byte Folded Reload
	je	LBB0_29
## %bb.28:
	movq	_MKA_DISTRIBUTED_SAK@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	$0, -2096(%rbp,%rax,8)
	je	LBB0_36
LBB0_29:
	movq	-2104(%rbp), %rbx               ## 8-byte Reload
	movl	16(%rbx), %esi
	movq	%rbx, %rdi
	callq	_ieee802_1x_kay_get_live_peer
	testq	%rax, %rax
	movl	$-1, %r14d
	movq	_MSG_DEBUG@GOTPCREL(%rip), %r13
	je	LBB0_32
## %bb.30:
	movq	%rax, %r12
	movq	_MKA_SAK_USE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	$0, -2096(%rbp,%rax,8)
	movq	-2120(%rbp), %r15               ## 8-byte Reload
	je	LBB0_38
## %bb.31:
	movq	$0, (%r12)
	xorl	%edi, %edi
	callq	_time
	movq	_MKA_LIFE_TIME@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	imulq	$274877907, %rcx, %rcx          ## imm = 0x10624DD3
	movq	%rcx, %rdx
	shrq	$63, %rdx
	sarq	$38, %rcx
	addl	%edx, %ecx
	movslq	%ecx, %rcx
	addq	%rax, %rcx
	movq	%rcx, 8(%r12)
	jmp	LBB0_33
LBB0_10:
	callq	_ieee802_1x_kay_create_live_peer
	testl	%eax, %eax
	jne	LBB0_11
LBB0_9:
	movl	$-1, %r14d
	jmp	LBB0_1
LBB0_32:
	movl	16(%rbx), %esi
	movq	%rbx, %rdi
	callq	_ieee802_1x_kay_get_peer
	testq	%rax, %rax
	movq	-2120(%rbp), %r15               ## 8-byte Reload
	je	LBB0_41
LBB0_33:
	movq	_TRUE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rax
	movq	%rax, (%r15)
	movq	$0, 8(%rbx)
	movq	(%rcx), %rax
	movq	%rax, (%rbx)
LBB0_34:
	xorl	%r14d, %r14d
	jmp	LBB0_1
LBB0_35:
	movq	_MSG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	movq	%r12, %rdx
	movq	%r14, %r8
	xorl	%eax, %eax
	callq	_wpa_printf
	movl	$-1, %r14d
	jmp	LBB0_1
LBB0_36:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_MKA_SAK_USE@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	leaq	L_.str.4(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	-2104(%rbp), %rbx               ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_reset_participant_mi
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r15d
	testl	%eax, %eax
	movl	$-1, %r14d
	je	LBB0_42
## %bb.37:
	movl	24(%rbx), %edi
	callq	_mi_txt
	leaq	L_.str.7(%rip), %rsi
	movl	%r15d, %edi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_wpa_printf
	jmp	LBB0_1
LBB0_38:
	cmpq	$0, 16(%r12)
	je	LBB0_43
## %bb.39:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.8(%rip), %rsi
	jmp	LBB0_45
LBB0_41:
	movl	(%r13), %edi
	leaq	L_.str.10(%rip), %rsi
	jmp	LBB0_45
LBB0_42:
	leaq	L_.str.6(%rip), %rsi
	movl	%r15d, %edi
	jmp	LBB0_45
LBB0_43:
	movq	(%r12), %rax
	leaq	1(%rax), %rcx
	movq	%rcx, (%r12)
	movq	_MAX_MISSING_SAK_USE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jl	LBB0_33
## %bb.44:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.9(%rip), %rsi
LBB0_45:
	xorl	%eax, %eax
	callq	_wpa_printf
	jmp	LBB0_1
LBB0_46:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.4(%rip), %rsi
	movq	%r15, %rdx
	xorl	%eax, %eax
	callq	_wpa_printf
	movl	$-1, %r14d
	jmp	LBB0_1
LBB0_47:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_FALSE,8,3                      ## @FALSE
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"KaY: Decode received MKPDU (ifname=%s)"

	.comm	_MKA_HDR_LEN,8,3                ## @MKA_HDR_LEN
L_.str.1:                               ## @.str.1
	.asciz	"KaY: i_in_peerlist=%s is_in_live_peer=%s"

	.comm	_TRUE,8,3                       ## @TRUE
	.comm	_DEFAULT_ICV_LEN,8,3            ## @DEFAULT_ICV_LEN
	.comm	_MKA_ICV_INDICATOR,8,3          ## @MKA_ICV_INDICATOR
	.comm	_MSG_ERROR,4,2                  ## @MSG_ERROR
L_.str.2:                               ## @.str.2
	.asciz	"KaY: MKA Peer Packet Body Length (%zu bytes) is less than the Parameter Set Header Length (%zu bytes) + the Parameter Set Body Length (%zu bytes) + %d bytes of ICV"

L_.str.3:                               ## @.str.3
	.asciz	"KaY: Ignore duplicated body type %u"

	.comm	_mka_body_handler,8,3           ## @mka_body_handler
	.comm	_MKA_SAK_USE,8,3                ## @MKA_SAK_USE
	.comm	_MSG_INFO,4,2                   ## @MSG_INFO
L_.str.4:                               ## @.str.4
	.asciz	"KaY: Discarding Rx MKPDU: decode of parameter set type (%d) failed"

L_.str.5:                               ## @.str.5
	.asciz	"KaY: The body type %d is not supported in this MKA version %d"

	.comm	_MKA_VERSION_ID,4,2             ## @MKA_VERSION_ID
	.comm	_MKA_DISTRIBUTED_SAK,8,3        ## @MKA_DISTRIBUTED_SAK
L_.str.6:                               ## @.str.6
	.asciz	"KaY: Could not update mi"

L_.str.7:                               ## @.str.7
	.asciz	"KaY: Selected a new random MI: %s"

L_.str.8:                               ## @.str.8
	.asciz	"KaY: Discarding Rx MKPDU: Live Peer stopped sending SAK-USE"

	.comm	_MAX_MISSING_SAK_USE,8,3        ## @MAX_MISSING_SAK_USE
L_.str.9:                               ## @.str.9
	.asciz	"KaY: Discarding Rx MKPDU: Live Peer not sending SAK-USE"

	.comm	_MKA_LIFE_TIME,4,2              ## @MKA_LIFE_TIME
L_.str.10:                              ## @.str.10
	.asciz	"KaY: No peer entry found"

	.no_dead_strip	_ieee802_1x_kay_decode_mkpdu
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ieee802_1x_kay_decode_mkpdu
_ieee802_1x_kay_decode_mkpdu:           ; @ieee802_1x_kay_decode_mkpdu
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #2096
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x27, _FALSE@GOTPAGE
Lloh4:
	ldr	x27, [x27, _FALSE@GOTPAGEOFF]
	stur	x8, [x29, #-96]
	ldr	x28, [x27]
Lloh5:
	adrp	x25, _MSG_DEBUG@GOTPAGE
Lloh6:
	ldr	x25, [x25, _MSG_DEBUG@GOTPAGEOFF]
	ldr	w0, [x25]
	ldr	w8, [x19, #8]
	str	x8, [sp]
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	bl	_ieee802_1x_kay_mkpdu_sanity_check
	cbz	x0, LBB0_4
LBB0_1:
	mov	w0, #-1
LBB0_2:
	ldur	x8, [x29, #-96]
Lloh9:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh10:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_47
; %bb.3:
	add	sp, sp, #2096
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_4:
	add	x22, x21, #64
	sub	x21, x20, #8
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	bl	_ieee802_1x_mka_decode_basic_body
	cbz	x0, LBB0_1
; %bb.5:
	mov	x20, x0
	mov	x0, x22
	bl	_get_mka_param_body_len
	bl	_MKA_ALIGN_LENGTH
Lloh12:
	adrp	x8, _MKA_HDR_LEN@GOTPAGE
Lloh13:
	ldr	x8, [x8, _MKA_HDR_LEN@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	add	x8, x8, x0
	subs	x21, x21, x8
	b.lo	LBB0_1
; %bb.6:
	add	x22, x22, x8, lsl #3
	mov	x0, x20
	mov	x1, x22
	mov	x2, x21
	bl	_ieee802_1x_mka_i_in_peerlist
	mov	x23, x0
	ldr	w1, [x20, #16]
	mov	x0, x20
	bl	_ieee802_1x_kay_is_in_live_peer
	mov	x24, x0
	ldr	w25, [x25]
	mov	x0, x23
	bl	_yes_no
	mov	x26, x0
	mov	x0, x24
	bl	_yes_no
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x26, x0, [sp]
Lloh15:
	adrp	x1, l_.str.1@PAGE
Lloh16:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x25
	bl	_wpa_printf
	cmp	x23, #0
	ccmp	x24, #0, #0, ne
	b.ne	LBB0_11
; %bb.7:
	ldr	w1, [x20, #16]
	mov	x0, x20
	bl	_ieee802_1x_kay_is_in_potential_peer
	mov	x24, x0
	ldp	w23, w0, [x20, #16]
	bl	_be_to_host32
	mov	x2, x0
	mov	x0, x20
	mov	x1, x23
	cbz	x24, LBB0_9
; %bb.8:
	bl	_ieee802_1x_kay_move_live_peer
	cbnz	w0, LBB0_10
	b	LBB0_1
LBB0_9:
	bl	_ieee802_1x_kay_create_live_peer
	cbz	w0, LBB0_1
LBB0_10:
	mov	x0, x20
	bl	_ieee802_1x_kay_elect_key_server
	mov	x0, x20
	bl	_ieee802_1x_kay_decide_macsec_use
LBB0_11:
	mov	x8, #0
	ld1r.2d	{ v0 }, [x27]
	add	x9, sp, #32
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	add	x10, x9, x8
	stp	q0, q0, [x10]
	stp	q0, q0, [x10, #32]
	add	x8, x8, #64
	cmp	x8, #2048
	b.ne	LBB0_12
; %bb.13:
Lloh17:
	adrp	x8, _TRUE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh19:
	ldr	x8, [x8]
	str	x8, [sp, #32]
Lloh20:
	adrp	x8, _MKA_HDR_LEN@GOTPAGE
Lloh21:
	ldr	x8, [x8, _MKA_HDR_LEN@GOTPAGEOFF]
Lloh22:
	ldr	x8, [x8]
Lloh23:
	adrp	x27, _DEFAULT_ICV_LEN@GOTPAGE
Lloh24:
	ldr	x27, [x27, _DEFAULT_ICV_LEN@GOTPAGEOFF]
	ldr	x9, [x27]
	add	x8, x9, x8
	cmp	x21, x8
	b.ls	LBB0_27
; %bb.14:
Lloh25:
	adrp	x23, _MKA_ICV_INDICATOR@GOTPAGE
Lloh26:
	ldr	x23, [x23, _MKA_ICV_INDICATOR@GOTPAGEOFF]
	add	x24, sp, #32
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	bl	_get_mka_param_body_len
	bl	_MKA_ALIGN_LENGTH
	mov	x25, x0
	mov	x0, x22
	bl	_get_mka_param_body_type
	ldr	x8, [x23]
	cmp	x0, x8
	b.eq	LBB0_34
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=1
Lloh27:
	adrp	x8, _MKA_HDR_LEN@GOTPAGE
Lloh28:
	ldr	x8, [x8, _MKA_HDR_LEN@GOTPAGEOFF]
Lloh29:
	ldr	x8, [x8]
	ldr	x9, [x27]
	add	x10, x8, x25
	add	x10, x10, x9
	cmp	x21, x10
	b.lo	LBB0_35
; %bb.17:                               ;   in Loop: Header=BB0_15 Depth=1
	mov	x26, x0
	ldr	x8, [x24, x0, lsl #3]
	cbz	x8, LBB0_19
; %bb.18:                               ;   in Loop: Header=BB0_15 Depth=1
Lloh30:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh31:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh32:
	ldr	w0, [x8]
	str	x26, [sp]
Lloh33:
	adrp	x1, l_.str.3@PAGE
Lloh34:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_25
LBB0_19:                                ;   in Loop: Header=BB0_15 Depth=1
Lloh35:
	adrp	x8, _TRUE@GOTPAGE
Lloh36:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh37:
	ldr	x8, [x8]
	str	x8, [x24, x26, lsl #3]
Lloh38:
	adrp	x8, _mka_body_handler@GOTPAGE
Lloh39:
	ldr	x8, [x8, _mka_body_handler@GOTPAGEOFF]
Lloh40:
	ldr	x0, [x8]
	bl	_ARRAY_SIZE
	cmp	x26, x0
	b.hs	LBB0_24
; %bb.20:                               ;   in Loop: Header=BB0_15 Depth=1
Lloh41:
	adrp	x8, _mka_body_handler@GOTPAGE
Lloh42:
	ldr	x8, [x8, _mka_body_handler@GOTPAGEOFF]
Lloh43:
	ldr	x8, [x8]
	ldr	x8, [x8, x26, lsl #3]
	cbz	x8, LBB0_24
; %bb.21:                               ;   in Loop: Header=BB0_15 Depth=1
	mov	x0, x20
	mov	x1, x22
	mov	x2, x21
	blr	x8
	cbz	x0, LBB0_26
; %bb.22:                               ;   in Loop: Header=BB0_15 Depth=1
Lloh44:
	adrp	x8, _MKA_SAK_USE@GOTPAGE
Lloh45:
	ldr	x8, [x8, _MKA_SAK_USE@GOTPAGEOFF]
Lloh46:
	ldr	x8, [x8]
	cmp	x26, x8
	b.ne	LBB0_46
; %bb.23:                               ;   in Loop: Header=BB0_15 Depth=1
Lloh47:
	adrp	x8, _TRUE@GOTPAGE
Lloh48:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh49:
	ldr	x28, [x8]
	b	LBB0_26
LBB0_24:                                ;   in Loop: Header=BB0_15 Depth=1
Lloh50:
	adrp	x8, _MSG_ERROR@GOTPAGE
Lloh51:
	ldr	x8, [x8, _MSG_ERROR@GOTPAGEOFF]
Lloh52:
	ldr	w0, [x8]
Lloh53:
	adrp	x8, _MKA_VERSION_ID@GOTPAGE
Lloh54:
	ldr	x8, [x8, _MKA_VERSION_ID@GOTPAGEOFF]
Lloh55:
	ldr	w8, [x8]
	stp	x26, x8, [sp]
Lloh56:
	adrp	x1, l_.str.5@PAGE
Lloh57:
	add	x1, x1, l_.str.5@PAGEOFF
LBB0_25:                                ;   in Loop: Header=BB0_15 Depth=1
	bl	_wpa_printf
LBB0_26:                                ;   in Loop: Header=BB0_15 Depth=1
Lloh58:
	adrp	x8, _MKA_HDR_LEN@GOTPAGE
Lloh59:
	ldr	x8, [x8, _MKA_HDR_LEN@GOTPAGEOFF]
Lloh60:
	ldr	x8, [x8]
	add	x9, x8, x25
	sub	x21, x21, x9
	add	x22, x22, x9, lsl #3
	ldr	x9, [x27]
	add	x8, x9, x8
	cmp	x21, x8
	b.hi	LBB0_15
LBB0_27:
	cbz	x28, LBB0_29
; %bb.28:
Lloh61:
	adrp	x8, _MKA_DISTRIBUTED_SAK@GOTPAGE
Lloh62:
	ldr	x8, [x8, _MKA_DISTRIBUTED_SAK@GOTPAGEOFF]
Lloh63:
	ldr	x8, [x8]
	add	x9, sp, #32
	ldr	x8, [x9, x8, lsl #3]
	cbz	x8, LBB0_36
LBB0_29:
	ldr	w1, [x20, #16]
	mov	x0, x20
	bl	_ieee802_1x_kay_get_live_peer
Lloh64:
	adrp	x22, _MSG_DEBUG@GOTPAGE
Lloh65:
	ldr	x22, [x22, _MSG_DEBUG@GOTPAGEOFF]
	cbz	x0, LBB0_32
; %bb.30:
	mov	x21, x0
Lloh66:
	adrp	x8, _MKA_SAK_USE@GOTPAGE
Lloh67:
	ldr	x8, [x8, _MKA_SAK_USE@GOTPAGEOFF]
Lloh68:
	ldr	x8, [x8]
	add	x9, sp, #32
	ldr	x8, [x9, x8, lsl #3]
	cbz	x8, LBB0_38
; %bb.31:
	str	xzr, [x21]
	mov	x0, #0
	bl	_time
Lloh69:
	adrp	x8, _MKA_LIFE_TIME@GOTPAGE
Lloh70:
	ldr	x8, [x8, _MKA_LIFE_TIME@GOTPAGEOFF]
Lloh71:
	ldrsw	x8, [x8]
	mov	w9, #19923
	movk	w9, #4194, lsl #16
	mul	x8, x8, x9
	lsr	x9, x8, #63
	asr	x8, x8, #38
	add	w8, w8, w9
	add	x8, x0, w8, sxtw
	str	x8, [x21, #8]
	b	LBB0_33
LBB0_32:
	ldr	w1, [x20, #16]
	mov	x0, x20
	bl	_ieee802_1x_kay_get_peer
	cbz	x0, LBB0_40
LBB0_33:
	mov	w0, #0
Lloh72:
	adrp	x9, _TRUE@GOTPAGE
Lloh73:
	ldr	x9, [x9, _TRUE@GOTPAGEOFF]
	ldr	x8, [x9]
	str	x8, [x19]
	ldr	x8, [x9]
	stp	x8, xzr, [x20]
	b	LBB0_2
LBB0_34:
	mov	w0, #0
	b	LBB0_2
LBB0_35:
Lloh74:
	adrp	x10, _MSG_ERROR@GOTPAGE
Lloh75:
	ldr	x10, [x10, _MSG_ERROR@GOTPAGEOFF]
Lloh76:
	ldr	w0, [x10]
	stp	x25, x9, [sp, #16]
	stp	x21, x8, [sp]
Lloh77:
	adrp	x1, l_.str.2@PAGE
Lloh78:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_43
LBB0_36:
Lloh79:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh80:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh81:
	ldr	w0, [x8]
Lloh82:
	adrp	x8, _MKA_SAK_USE@GOTPAGE
Lloh83:
	ldr	x8, [x8, _MKA_SAK_USE@GOTPAGEOFF]
Lloh84:
	ldr	x8, [x8]
	str	x8, [sp]
Lloh85:
	adrp	x1, l_.str.4@PAGE
Lloh86:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_wpa_printf
	mov	x0, x20
	bl	_reset_participant_mi
Lloh87:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh88:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh89:
	ldr	w19, [x8]
	cbz	w0, LBB0_41
; %bb.37:
	ldr	w0, [x20, #24]
	bl	_mi_txt
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh90:
	adrp	x1, l_.str.7@PAGE
Lloh91:
	add	x1, x1, l_.str.7@PAGEOFF
	b	LBB0_42
LBB0_38:
	ldr	x8, [x21, #16]
	cbz	x8, LBB0_44
; %bb.39:
Lloh92:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh93:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh94:
	ldr	w0, [x8]
Lloh95:
	adrp	x1, l_.str.8@PAGE
Lloh96:
	add	x1, x1, l_.str.8@PAGEOFF
	b	LBB0_43
LBB0_40:
	ldr	w0, [x22]
Lloh97:
	adrp	x1, l_.str.10@PAGE
Lloh98:
	add	x1, x1, l_.str.10@PAGEOFF
	b	LBB0_43
LBB0_41:
Lloh99:
	adrp	x1, l_.str.6@PAGE
Lloh100:
	add	x1, x1, l_.str.6@PAGEOFF
LBB0_42:
	mov	x0, x19
LBB0_43:
	bl	_wpa_printf
	b	LBB0_1
LBB0_44:
	ldr	x8, [x21]
	add	x9, x8, #1
	str	x9, [x21]
Lloh101:
	adrp	x9, _MAX_MISSING_SAK_USE@GOTPAGE
Lloh102:
	ldr	x9, [x9, _MAX_MISSING_SAK_USE@GOTPAGEOFF]
Lloh103:
	ldr	x9, [x9]
	cmp	x8, x9
	b.lt	LBB0_33
; %bb.45:
Lloh104:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh105:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh106:
	ldr	w0, [x8]
Lloh107:
	adrp	x1, l_.str.9@PAGE
Lloh108:
	add	x1, x1, l_.str.9@PAGEOFF
	b	LBB0_43
LBB0_46:
Lloh109:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh110:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh111:
	ldr	w0, [x8]
	str	x26, [sp]
Lloh112:
	adrp	x1, l_.str.4@PAGE
Lloh113:
	add	x1, x1, l_.str.4@PAGEOFF
	b	LBB0_43
LBB0_47:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpAdd	Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpLdrGot	Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.loh AdrpLdrGot	Lloh72, Lloh73
	.loh AdrpAdd	Lloh77, Lloh78
	.loh AdrpLdrGotLdr	Lloh74, Lloh75, Lloh76
	.loh AdrpLdrGotLdr	Lloh87, Lloh88, Lloh89
	.loh AdrpAdd	Lloh85, Lloh86
	.loh AdrpLdrGotLdr	Lloh82, Lloh83, Lloh84
	.loh AdrpLdrGotLdr	Lloh79, Lloh80, Lloh81
	.loh AdrpAdd	Lloh90, Lloh91
	.loh AdrpAdd	Lloh95, Lloh96
	.loh AdrpLdrGotLdr	Lloh92, Lloh93, Lloh94
	.loh AdrpAdd	Lloh97, Lloh98
	.loh AdrpAdd	Lloh99, Lloh100
	.loh AdrpLdrGotLdr	Lloh101, Lloh102, Lloh103
	.loh AdrpAdd	Lloh107, Lloh108
	.loh AdrpLdrGotLdr	Lloh104, Lloh105, Lloh106
	.loh AdrpAdd	Lloh112, Lloh113
	.loh AdrpLdrGotLdr	Lloh109, Lloh110, Lloh111
	.cfi_endproc
                                        ; -- End function
	.comm	_FALSE,8,3                      ; @FALSE
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"KaY: Decode received MKPDU (ifname=%s)"

	.comm	_MKA_HDR_LEN,8,3                ; @MKA_HDR_LEN
l_.str.1:                               ; @.str.1
	.asciz	"KaY: i_in_peerlist=%s is_in_live_peer=%s"

	.comm	_TRUE,8,3                       ; @TRUE
	.comm	_DEFAULT_ICV_LEN,8,3            ; @DEFAULT_ICV_LEN
	.comm	_MKA_ICV_INDICATOR,8,3          ; @MKA_ICV_INDICATOR
	.comm	_MSG_ERROR,4,2                  ; @MSG_ERROR
l_.str.2:                               ; @.str.2
	.asciz	"KaY: MKA Peer Packet Body Length (%zu bytes) is less than the Parameter Set Header Length (%zu bytes) + the Parameter Set Body Length (%zu bytes) + %d bytes of ICV"

l_.str.3:                               ; @.str.3
	.asciz	"KaY: Ignore duplicated body type %u"

	.comm	_mka_body_handler,8,3           ; @mka_body_handler
	.comm	_MKA_SAK_USE,8,3                ; @MKA_SAK_USE
	.comm	_MSG_INFO,4,2                   ; @MSG_INFO
l_.str.4:                               ; @.str.4
	.asciz	"KaY: Discarding Rx MKPDU: decode of parameter set type (%d) failed"

l_.str.5:                               ; @.str.5
	.asciz	"KaY: The body type %d is not supported in this MKA version %d"

	.comm	_MKA_VERSION_ID,4,2             ; @MKA_VERSION_ID
	.comm	_MKA_DISTRIBUTED_SAK,8,3        ; @MKA_DISTRIBUTED_SAK
l_.str.6:                               ; @.str.6
	.asciz	"KaY: Could not update mi"

l_.str.7:                               ; @.str.7
	.asciz	"KaY: Selected a new random MI: %s"

l_.str.8:                               ; @.str.8
	.asciz	"KaY: Discarding Rx MKPDU: Live Peer stopped sending SAK-USE"

	.comm	_MAX_MISSING_SAK_USE,8,3        ; @MAX_MISSING_SAK_USE
l_.str.9:                               ; @.str.9
	.asciz	"KaY: Discarding Rx MKPDU: Live Peer not sending SAK-USE"

	.comm	_MKA_LIFE_TIME,4,2              ; @MKA_LIFE_TIME
l_.str.10:                              ; @.str.10
	.asciz	"KaY: No peer entry found"

	.no_dead_strip	_ieee802_1x_kay_decode_mkpdu
.subsections_via_symbols
