	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ieee802_1x_participant_send_mkpdu
_ieee802_1x_participant_send_mkpdu:     ## @ieee802_1x_participant_send_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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	8(%rdi), %rbx
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	12(%rbx), %edx
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	_mka_body_handler@GOTPCREL(%rip), %r13
	movq	(%r13), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movl	$8, %r15d
	je	LBB0_6
## %bb.1:
	xorl	%ebx, %ebx
	xorl	%r12d, %r12d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%r12
	movq	(%r13), %rdi
	callq	_ARRAY_SIZE
	movl	%eax, %eax
	addq	$16, %rbx
	cmpq	%rax, %r12
	jae	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r13), %rax
	movq	8(%rax,%rbx), %rcx
	testq	%rcx, %rcx
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdi
	callq	*%rcx
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r13), %rax
	movq	%r14, %rdi
	callq	*(%rax,%rbx)
	addq	%rax, %r15
	jmp	LBB0_5
LBB0_6:
	movq	%r15, %rdi
	callq	_wpabuf_alloc
	testq	%rax, %rax
	je	LBB0_7
## %bb.9:
	movq	%rax, %rbx
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_ieee802_1x_kay_encode_mkpdu
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	movq	_MSG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_8
LBB0_7:
	movq	_MSG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
LBB0_8:
	xorl	%eax, %eax
	callq	_wpa_printf
	movl	$-1, %r15d
	jmp	LBB0_12
LBB0_11:
	movq	_MSG_MSGDUMP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdx
	callq	_wpa_hexdump_buf
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movl	8(%r12), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%rbx, %rdi
	callq	_wpabuf_head
	movl	%eax, %r13d
	movq	%rbx, %rdi
	callq	_wpabuf_len
	xorl	%r15d, %r15d
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	xorl	%esi, %esi
	xorl	%edx, %edx
	movl	%r13d, %ecx
	movl	%eax, %r8d
	callq	_l2_packet_send
	movq	%rbx, %rdi
	callq	_wpabuf_free
	movq	_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	%rcx, (%r12)
	movq	(%rax), %rax
	movq	%rax, (%r14)
LBB0_12:
	movl	%r15d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"KaY: Encode and send an MKPDU (ifname=%s)"

	.comm	_mka_body_handler,8,3           ## @mka_body_handler
	.comm	_MSG_ERROR,4,2                  ## @MSG_ERROR
L_.str.1:                               ## @.str.1
	.asciz	"KaY: out of memory"

L_.str.2:                               ## @.str.2
	.asciz	"KaY: encode mkpdu fail"

	.comm	_MSG_MSGDUMP,4,2                ## @MSG_MSGDUMP
L_.str.3:                               ## @.str.3
	.asciz	"KaY: Outgoing MKPDU"

	.comm	_TRUE,8,3                       ## @TRUE
	.no_dead_strip	_ieee802_1x_participant_send_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_participant_send_mkpdu
_ieee802_1x_participant_send_mkpdu:     ; @ieee802_1x_participant_send_mkpdu
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x0
	ldr	x23, [x0, #8]
Lloh0:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldr	w8, [x23, #12]
	str	x8, [sp]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
Lloh5:
	adrp	x21, _mka_body_handler@GOTPAGE
Lloh6:
	ldr	x21, [x21, _mka_body_handler@GOTPAGEOFF]
	ldr	x0, [x21]
	bl	_ARRAY_SIZE
	cbz	w0, LBB0_6
; %bb.1:
	mov	x22, #0
	mov	x24, #0
	mov	w20, #8
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x24, x24, #1
	ldr	x0, [x21]
	bl	_ARRAY_SIZE
	add	x22, x22, #16
	cmp	x24, w0, uxtw
	b.hs	LBB0_7
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21]
	add	x8, x8, x22
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x19
	blr	x8
	cbz	x0, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x21]
	ldr	x8, [x8, x22]
	mov	x0, x19
	blr	x8
	add	x20, x0, x20
	b	LBB0_2
LBB0_6:
	mov	w20, #8
LBB0_7:
	mov	x0, x20
	bl	_wpabuf_alloc
	cbz	x0, LBB0_10
; %bb.8:
	mov	x20, x0
	mov	x0, x19
	mov	x1, x20
	bl	_ieee802_1x_kay_encode_mkpdu
	cbz	x0, LBB0_12
; %bb.9:
Lloh7:
	adrp	x8, _MSG_ERROR@GOTPAGE
Lloh8:
	ldr	x8, [x8, _MSG_ERROR@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
Lloh10:
	adrp	x1, l_.str.2@PAGE
Lloh11:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_11
LBB0_10:
Lloh12:
	adrp	x8, _MSG_ERROR@GOTPAGE
Lloh13:
	ldr	x8, [x8, _MSG_ERROR@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
Lloh15:
	adrp	x1, l_.str.1@PAGE
Lloh16:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_11:
	bl	_wpa_printf
	mov	w0, #-1
	b	LBB0_13
LBB0_12:
Lloh17:
	adrp	x8, _MSG_MSGDUMP@GOTPAGE
Lloh18:
	ldr	x8, [x8, _MSG_MSGDUMP@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
Lloh20:
	adrp	x1, l_.str.3@PAGE
Lloh21:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x2, x20
	bl	_wpa_hexdump_buf
	ldr	w21, [x23, #8]
	mov	x0, x20
	bl	_wpabuf_head
	mov	x22, x0
	mov	x0, x20
	bl	_wpabuf_len
	mov	x4, x0
	mov	x0, x21
	mov	x1, #0
	mov	w2, #0
	mov	x3, x22
	bl	_l2_packet_send
	mov	x0, x20
	bl	_wpabuf_free
	mov	w0, #0
Lloh22:
	adrp	x8, _TRUE@GOTPAGE
Lloh23:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
	ldr	x9, [x8]
	str	x9, [x23]
	ldr	x8, [x8]
	str	x8, [x19]
LBB0_13:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"KaY: Encode and send an MKPDU (ifname=%s)"

	.comm	_mka_body_handler,8,3           ; @mka_body_handler
	.comm	_MSG_ERROR,4,2                  ; @MSG_ERROR
l_.str.1:                               ; @.str.1
	.asciz	"KaY: out of memory"

l_.str.2:                               ; @.str.2
	.asciz	"KaY: encode mkpdu fail"

	.comm	_MSG_MSGDUMP,4,2                ; @MSG_MSGDUMP
l_.str.3:                               ; @.str.3
	.asciz	"KaY: Outgoing MKPDU"

	.comm	_TRUE,8,3                       ; @TRUE
	.no_dead_strip	_ieee802_1x_participant_send_mkpdu
.subsections_via_symbols
