	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_eap_sm_process_nak             ## -- Begin function eap_sm_process_nak
	.p2align	4, 0x90
_eap_sm_process_nak:                    ## @eap_sm_process_nak
	.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
	cmpq	$0, 8(%rdi)
	je	LBB0_17
## %bb.1:
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	_MSG_MSGDUMP@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	movl	(%rbx), %edx
	leaq	L_.str(%rip), %rsi
	callq	_wpa_printf
	movl	(%r12), %edi
	movq	8(%rbx), %rax
	movq	(%rax), %rdx
	movq	_EAP_MAX_METHODS@GOTPCREL(%rip), %r13
	movl	(%r13), %ecx
	shll	$4, %ecx
	leaq	L_.str.1(%rip), %rsi
	callq	_wpa_hexdump
	movl	(%r12), %edi
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdx
	movl	%r14d, %ecx
	callq	_wpa_hexdump
	movslq	(%rbx), %r12
	movl	(%r13), %ecx
	cmpl	%ecx, %r12d
	jge	LBB0_2
## %bb.3:
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	8(%rbx), %r8
	movq	_EAP_VENDOR_IETF@GOTPCREL(%rip), %r10
	movq	_EAP_TYPE_NONE@GOTPCREL(%rip), %r11
	movl	%ecx, %esi
	movl	%ecx, %edx
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_4 Depth=1
	movslq	%edx, %rax
	movl	%ecx, %esi
	movq	%r13, %r12
	movl	%edx, %ecx
	cmpq	%rax, %r13
	jge	LBB0_16
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
                                        ##       Child Loop BB0_11 Depth 3
	leaq	1(%r12), %r13
	movl	%r12d, %eax
	notl	%eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	(%r8), %rax
	movl	%esi, %ecx
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_5 Depth=2
	movslq	%edx, %rdx
	shlq	$4, %rdx
	movq	%r9, -16(%rdx,%rax)
	movq	(%r11), %rsi
	movq	%rsi, -8(%rdx,%rax)
	movslq	%ecx, %rsi
	movl	%ecx, %edx
	cmpq	%rsi, %r12
	jge	LBB0_16
LBB0_5:                                 ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_11 Depth 3
	movq	%r12, %rdi
	shlq	$4, %rdi
	movq	(%r10), %r9
	cmpq	%r9, (%rax,%rdi)
	jne	LBB0_13
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=2
	movq	8(%rax,%rdi), %rbx
	cmpq	(%r11), %rbx
	je	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=2
	testq	%r14, %r14
	je	LBB0_13
## %bb.9:                               ##   in Loop: Header=BB0_5 Depth=2
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_11:                                ##   Parent Loop BB0_4 Depth=1
                                        ##     Parent Loop BB0_5 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	cmpq	%rbx, (%r15,%rsi,8)
	je	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_11 Depth=3
	incq	%rsi
	cmpq	%rsi, %r14
	jne	LBB0_11
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_5 Depth=2
	movslq	%edx, %rsi
	cmpq	%rsi, %r13
	jge	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_5 Depth=2
	addq	%rax, %rdi
	movq	%r13, %rsi
	shlq	$4, %rsi
	addq	%rax, %rsi
	addl	-44(%rbp), %edx                 ## 4-byte Folded Reload
	shll	$4, %edx
	movq	%r10, %rbx
	movq	%r15, %r14
	movq	%r12, %r15
	movq	%r13, %r12
	movq	%r11, %r13
	callq	_os_memmove
	movq	%r13, %r11
	movq	%r12, %r13
	movq	%r15, %r12
	movq	%r14, %r15
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	%rbx, %r10
	movq	(%rbx), %r9
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %r8
	movq	_EAP_MAX_METHODS@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	(%r8), %rax
	movl	%ecx, %edx
	jmp	LBB0_15
LBB0_17:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	8(%rbx), %r8
	jmp	LBB0_16
LBB0_7:
	movl	%edx, %ecx
LBB0_16:
	movq	_MSG_MSGDUMP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%r8), %rdx
	shll	$4, %ecx
	leaq	L_.str.3(%rip), %rsi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_wpa_hexdump                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_MSGDUMP,4,2                ## @MSG_MSGDUMP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"EAP: processing NAK (current EAP method index %d)"

L_.str.1:                               ## @.str.1
	.asciz	"EAP: configured methods"

	.comm	_EAP_MAX_METHODS,4,2            ## @EAP_MAX_METHODS
L_.str.2:                               ## @.str.2
	.asciz	"EAP: list of methods supported by the peer"

	.comm	_EAP_VENDOR_IETF,8,3            ## @EAP_VENDOR_IETF
	.comm	_EAP_TYPE_NONE,8,3              ## @EAP_TYPE_NONE
L_.str.3:                               ## @.str.3
	.asciz	"EAP: new list of configured methods"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_eap_sm_process_nak             ; -- Begin function eap_sm_process_nak
	.p2align	2
_eap_sm_process_nak:                    ; @eap_sm_process_nak
	.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
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_13
; %bb.1:
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
Lloh0:
	adrp	x22, _MSG_MSGDUMP@GOTPAGE
Lloh1:
	ldr	x22, [x22, _MSG_MSGDUMP@GOTPAGEOFF]
	ldr	w0, [x22]
	ldr	w2, [x20]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
	ldr	w0, [x22]
	ldr	x8, [x20, #8]
	ldr	x2, [x8]
Lloh4:
	adrp	x23, _EAP_MAX_METHODS@GOTPAGE
Lloh5:
	ldr	x23, [x23, _EAP_MAX_METHODS@GOTPAGEOFF]
	ldr	w8, [x23]
	lsl	w3, w8, #4
Lloh6:
	adrp	x1, l_.str.1@PAGE
Lloh7:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_wpa_hexdump
	ldr	w0, [x22]
Lloh8:
	adrp	x1, l_.str.2@PAGE
Lloh9:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x2, x21
	mov	x3, x19
	bl	_wpa_hexdump
	ldrsw	x24, [x20]
	ldr	w9, [x23]
	cmp	w24, w9
	b.ge	LBB0_14
; %bb.2:
	ldr	x8, [x20, #8]
Lloh10:
	adrp	x25, _EAP_VENDOR_IETF@GOTPAGE
Lloh11:
	ldr	x25, [x25, _EAP_VENDOR_IETF@GOTPAGEOFF]
	mov	x0, x9
	mov	x10, x9
Lloh12:
	adrp	x26, _EAP_TYPE_NONE@GOTPAGE
Lloh13:
	ldr	x26, [x26, _EAP_TYPE_NONE@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x9
	mov	x24, x27
	mov	x9, x10
	cmp	x27, w10, sxtw
	b.ge	LBB0_16
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
                                        ;       Child Loop BB0_9 Depth 3
	add	x27, x24, #1
	mvn	w28, w24
	ldr	x11, [x8]
	mov	x9, x0
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=2
	add	x10, x11, w10, sxtw #4
	stur	x12, [x10, #-16]
	ldr	x12, [x26]
	stur	x12, [x10, #-8]
	cmp	x24, w9, sxtw
	mov	x10, x9
	b.ge	LBB0_16
LBB0_6:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_9 Depth 3
	lsl	x12, x24, #4
	ldr	x13, [x11, x12]
	ldr	x12, [x25]
	cmp	x13, x12
	b.ne	LBB0_11
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=2
	add	x13, x11, x24, lsl #4
	ldr	x13, [x13, #8]
	ldr	x14, [x26]
	cmp	x13, x14
	b.eq	LBB0_15
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=2
	mov	x14, x21
	mov	x15, x19
	cbz	x19, LBB0_11
LBB0_9:                                 ;   Parent Loop BB0_4 Depth=1
                                        ;     Parent Loop BB0_6 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldr	x16, [x14]
	cmp	x16, x13
	b.eq	LBB0_3
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=3
	add	x14, x14, #8
	subs	x15, x15, #1
	b.ne	LBB0_9
LBB0_11:                                ;   in Loop: Header=BB0_6 Depth=2
	cmp	x27, w10, sxtw
	b.ge	LBB0_5
; %bb.12:                               ;   in Loop: Header=BB0_6 Depth=2
	add	x0, x11, x24, lsl #4
	add	w8, w10, w28
	lsl	w2, w8, #4
	add	x1, x11, x27, lsl #4
	bl	_os_memmove
	ldr	x12, [x25]
	ldr	x8, [x20, #8]
	ldr	w9, [x23]
	ldr	x11, [x8]
	mov	x10, x9
	b	LBB0_5
LBB0_13:
	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_14:
	ldr	x8, [x20, #8]
	b	LBB0_16
LBB0_15:
	mov	x9, x10
LBB0_16:
	ldr	w0, [x22]
	ldr	x2, [x8]
	lsl	w3, w9, #4
Lloh14:
	adrp	x1, l_.str.3@PAGE
Lloh15:
	add	x1, x1, l_.str.3@PAGEOFF
	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
	b	_wpa_hexdump
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_MSGDUMP,4,2                ; @MSG_MSGDUMP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"EAP: processing NAK (current EAP method index %d)"

l_.str.1:                               ; @.str.1
	.asciz	"EAP: configured methods"

	.comm	_EAP_MAX_METHODS,4,2            ; @EAP_MAX_METHODS
l_.str.2:                               ; @.str.2
	.asciz	"EAP: list of methods supported by the peer"

	.comm	_EAP_VENDOR_IETF,8,3            ; @EAP_VENDOR_IETF
	.comm	_EAP_TYPE_NONE,8,3              ; @EAP_TYPE_NONE
l_.str.3:                               ; @.str.3
	.asciz	"EAP: new list of configured methods"

.subsections_via_symbols
