	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ieee802_1x_mka_i_in_peerlist
_ieee802_1x_mka_i_in_peerlist:          ## @ieee802_1x_mka_i_in_peerlist
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movq	_MKA_HDR_LEN@GOTPCREL(%rip), %r12
	movq	_DEFAULT_ICV_LEN@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	addq	(%r12), %rax
	movq	_FALSE@GOTPCREL(%rip), %rcx
	cmpq	%rdx, %rax
	jae	LBB0_19
## %bb.1:
	movq	%rdx, %rbx
	movq	%rsi, %r15
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_5 Depth=1
	testb	$15, %r13b
	je	LBB0_8
## %bb.3:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	_MSG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	movl	%r13d, %edx
	xorl	%eax, %eax
	callq	_wpa_printf
LBB0_4:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	%r13, %rdi
	callq	_MKA_ALIGN_LENGTH
	addq	(%r12), %rax
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	subq	%rax, %rbx
	movq	%r13, %rdi
	callq	_MKA_ALIGN_LENGTH
	movq	(%r12), %rcx
	addq	%rcx, %rax
	leaq	(%r15,%rax,8), %r15
	movq	_DEFAULT_ICV_LEN@GOTPCREL(%rip), %rax
	addq	(%rax), %rcx
	cmpq	%rcx, %rbx
	jbe	LBB0_17
LBB0_5:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_11 Depth 2
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	callq	_get_mka_param_body_len
	movq	%rax, %r13
	movq	%r15, %rdi
	callq	_get_mka_param_body_type
	movq	%rax, %r14
	movq	(%r12), %r12
	movq	%r13, %rdi
	callq	_MKA_ALIGN_LENGTH
	addq	%r12, %rax
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	movq	_DEFAULT_ICV_LEN@GOTPCREL(%rip), %rbx
	addq	(%rbx), %rax
	cmpq	%rax, %r12
	jb	LBB0_16
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	_MKA_LIVE_PEER_LIST@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r14
	movq	_MKA_HDR_LEN@GOTPCREL(%rip), %r12
	je	LBB0_2
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	_MKA_POTENTIAL_PEER_LIST@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r14
	jne	LBB0_4
	jmp	LBB0_2
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	%r15, %rdi
	callq	_ieee802_1x_mka_dump_peer_body
	testq	%r13, %r13
	je	LBB0_4
## %bb.9:                               ##   in Loop: Header=BB0_5 Depth=1
	xorl	%ebx, %ebx
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_11 Depth=2
	addq	$8, %rbx
	cmpq	%r13, %rbx
	movq	_MKA_HDR_LEN@GOTPCREL(%rip), %r12
	jae	LBB0_4
LBB0_11:                                ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%r12), %rax
	leaq	(%r15,%rax,8), %r12
	movl	4(%r12,%rbx,8), %edi
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	4(%rax), %esi
	movq	_MI_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_os_memcmp
	testq	%rax, %rax
	jne	LBB0_10
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=2
	movl	(%r12,%rbx,8), %edi
	callq	_be_to_host32
	movl	%eax, %r12d
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movl	(%r14), %ecx
	leaq	L_.str.2(%rip), %rsi
	movl	%r12d, %edx
	xorl	%eax, %eax
	callq	_wpa_printf
	movl	(%r14), %eax
	cmpl	%eax, %r12d
	je	LBB0_18
## %bb.13:                              ##   in Loop: Header=BB0_11 Depth=2
	cmpl	$2, %eax
	jl	LBB0_10
## %bb.14:                              ##   in Loop: Header=BB0_11 Depth=2
	decl	%eax
	cmpl	%eax, %r12d
	jne	LBB0_10
LBB0_18:
	movq	_TRUE@GOTPCREL(%rip), %rcx
	jmp	LBB0_19
LBB0_16:
	movq	_MSG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_MKA_HDR_LEN@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	movq	%r13, %rdi
	callq	_MKA_ALIGN_LENGTH
	movq	(%rbx), %r9
	leaq	L_.str(%rip), %rsi
	movl	%r14d, %edi
	movl	%r12d, %edx
	movq	%r15, %rcx
	movq	%rax, %r8
	xorl	%eax, %eax
	callq	_wpa_printf
LBB0_17:
	movq	_FALSE@GOTPCREL(%rip), %rcx
LBB0_19:
	movl	(%rcx), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MKA_HDR_LEN,8,3                ## @MKA_HDR_LEN
	.comm	_DEFAULT_ICV_LEN,8,3            ## @DEFAULT_ICV_LEN
	.comm	_MSG_ERROR,4,2                  ## @MSG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.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"

	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_MKA_LIVE_PEER_LIST,8,3         ## @MKA_LIVE_PEER_LIST
	.comm	_MKA_POTENTIAL_PEER_LIST,8,3    ## @MKA_POTENTIAL_PEER_LIST
L_.str.1:                               ## @.str.1
	.asciz	"KaY: MKA Peer Packet Body Length (%zu bytes) should be a multiple of 16 octets"

	.comm	_MI_LEN,4,2                     ## @MI_LEN
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
L_.str.2:                               ## @.str.2
	.asciz	"KaY: My MI - received MN %u, most recently transmitted MN %u"

	.comm	_TRUE,4,2                       ## @TRUE
	.no_dead_strip	_ieee802_1x_mka_i_in_peerlist
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ieee802_1x_mka_i_in_peerlist
_ieee802_1x_mka_i_in_peerlist:          ; @ieee802_1x_mka_i_in_peerlist
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
Lloh0:
	adrp	x28, _MKA_HDR_LEN@GOTPAGE
Lloh1:
	ldr	x28, [x28, _MKA_HDR_LEN@GOTPAGEOFF]
	ldr	x8, [x28]
Lloh2:
	adrp	x26, _DEFAULT_ICV_LEN@GOTPAGE
Lloh3:
	ldr	x26, [x26, _DEFAULT_ICV_LEN@GOTPAGEOFF]
	ldr	x9, [x26]
	add	x8, x9, x8
	cmp	x8, x2
	b.hs	LBB0_16
; %bb.1:
	mov	x19, x2
	mov	x27, x1
	mov	x21, x0
Lloh4:
	adrp	x22, _MI_LEN@GOTPAGE
Lloh5:
	ldr	x22, [x22, _MI_LEN@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
Lloh6:
	adrp	x8, _MSG_ERROR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MSG_ERROR@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x1, l_.str.1@PAGE
Lloh10:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x24
	bl	_wpa_printf
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x24
	bl	_MKA_ALIGN_LENGTH
	ldr	x8, [x28]
	add	x8, x0, x8
	sub	x19, x19, x8
	mov	x0, x24
	bl	_MKA_ALIGN_LENGTH
	ldr	x8, [x28]
	add	x9, x8, x0
	add	x27, x27, x9, lsl #3
	ldr	x9, [x26]
	add	x8, x9, x8
	cmp	x19, x8
	b.ls	LBB0_16
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_10 Depth 2
	mov	x0, x27
	bl	_get_mka_param_body_len
	mov	x24, x0
	mov	x0, x27
	bl	_get_mka_param_body_type
	mov	x25, x0
	ldr	x20, [x28]
	mov	x0, x24
	bl	_MKA_ALIGN_LENGTH
	ldr	x8, [x26]
	add	x9, x0, x20
	add	x8, x9, x8
	cmp	x19, x8
	b.lo	LBB0_15
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh11:
	adrp	x8, _MKA_LIVE_PEER_LIST@GOTPAGE
Lloh12:
	ldr	x8, [x8, _MKA_LIVE_PEER_LIST@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
Lloh14:
	adrp	x9, _MKA_POTENTIAL_PEER_LIST@GOTPAGE
Lloh15:
	ldr	x9, [x9, _MKA_POTENTIAL_PEER_LIST@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	cmp	x25, x8
	ccmp	x25, x9, #4, ne
	b.ne	LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	tst	x24, #0xf
	b.ne	LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x27
	bl	_ieee802_1x_mka_dump_peer_body
	cbz	x24, LBB0_3
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x23, #0
	mov	x20, x27
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=2
	add	x23, x23, #8
	add	x20, x20, #64
	cmp	x23, x24
	b.hs	LBB0_3
LBB0_10:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x25, [x28]
	add	x8, x20, x25, lsl #3
	ldr	w0, [x8, #4]
	ldr	w1, [x21, #4]
	ldr	w2, [x22]
	bl	_os_memcmp
	cbnz	x0, LBB0_9
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=2
	lsl	x8, x25, #3
	ldr	w0, [x20, x8]
	bl	_be_to_host32
	mov	x25, x0
Lloh17:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh18:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
	ldr	w8, [x21]
	str	x8, [sp]
Lloh20:
	adrp	x1, l_.str.2@PAGE
Lloh21:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x2, x25
	bl	_wpa_printf
	ldr	w8, [x21]
	cmp	w25, w8
	b.eq	LBB0_14
; %bb.12:                               ;   in Loop: Header=BB0_10 Depth=2
	cmp	w8, #2
	b.lt	LBB0_9
; %bb.13:                               ;   in Loop: Header=BB0_10 Depth=2
	sub	w8, w8, #1
	cmp	w25, w8
	b.ne	LBB0_9
LBB0_14:
Lloh22:
	adrp	x8, _TRUE@GOTPAGE
Lloh23:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
	b	LBB0_17
LBB0_15:
Lloh24:
	adrp	x8, _MSG_ERROR@GOTPAGE
Lloh25:
	ldr	x8, [x8, _MSG_ERROR@GOTPAGEOFF]
Lloh26:
	ldr	w20, [x8]
	ldr	x21, [x28]
	mov	x0, x24
	bl	_MKA_ALIGN_LENGTH
	ldr	x8, [x26]
	stp	x0, x8, [sp, #8]
	str	x21, [sp]
Lloh27:
	adrp	x1, l_.str@PAGE
Lloh28:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	mov	x2, x19
	bl	_wpa_printf
LBB0_16:
Lloh29:
	adrp	x8, _FALSE@GOTPAGE
Lloh30:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
LBB0_17:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.comm	_MKA_HDR_LEN,8,3                ; @MKA_HDR_LEN
	.comm	_DEFAULT_ICV_LEN,8,3            ; @DEFAULT_ICV_LEN
	.comm	_MSG_ERROR,4,2                  ; @MSG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.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"

	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_MKA_LIVE_PEER_LIST,8,3         ; @MKA_LIVE_PEER_LIST
	.comm	_MKA_POTENTIAL_PEER_LIST,8,3    ; @MKA_POTENTIAL_PEER_LIST
l_.str.1:                               ; @.str.1
	.asciz	"KaY: MKA Peer Packet Body Length (%zu bytes) should be a multiple of 16 octets"

	.comm	_MI_LEN,4,2                     ; @MI_LEN
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
l_.str.2:                               ; @.str.2
	.asciz	"KaY: My MI - received MN %u, most recently transmitted MN %u"

	.comm	_TRUE,4,2                       ; @TRUE
	.no_dead_strip	_ieee802_1x_mka_i_in_peerlist
.subsections_via_symbols
