	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function eap_leap_process
_eap_leap_process:                      ## @eap_leap_process
	.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	%rcx, %r13
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	%rdi, %r15
	leaq	-56(%rbp), %rsi
	callq	_eap_get_config_password
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	%r13, %rdi
	callq	_wpabuf_head
	movq	%rax, %rbx
	movq	%r13, %rdi
	callq	_wpabuf_len
	cmpl	$8, %eax
	jb	LBB0_4
## %bb.3:
	movl	4(%rbx), %edi
	callq	_be_to_host16
	movl	%eax, %r12d
	movq	%r13, %rdi
	callq	_wpabuf_len
	cmpl	%eax, %r12d
	jle	LBB0_6
LBB0_4:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_wpa_printf
	jmp	LBB0_5
LBB0_1:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	%r15, %rdi
	callq	_eap_sm_request_password
LBB0_5:
	movq	_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_13:
	movq	%rax, (%r14)
LBB0_14:
	movq	%rbx, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	%rcx, (%r14)
	movq	_TRUE@GOTPCREL(%rip), %r12
	movq	(%r12), %rcx
	movq	%rcx, 16(%r14)
	movq	_METHOD_MAY_CONT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 12(%r14)
	movq	_DECISION_FAIL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 8(%r14)
	movq	(%rax), %rax
	movq	%rax, (%r15)
	movl	(%rbx), %edx
	cmpl	$128, %edx
	je	LBB0_10
## %bb.7:
	cmpl	$129, %edx
	je	LBB0_11
## %bb.8:
	cmpl	$130, %edx
	jne	LBB0_12
## %bb.9:
	movq	%r15, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	%r14, %rdx
	movq	%r13, %rcx
	callq	_eap_leap_process_request
	movq	%rax, %rbx
	jmp	LBB0_14
LBB0_10:
	movq	%r15, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	%r14, %rdx
	movq	%r13, %rcx
	callq	_eap_leap_process_success
	movq	%rax, %rbx
	jmp	LBB0_14
LBB0_11:
	movq	%r15, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	%r14, %rdx
	movq	%r13, %rcx
	callq	_eap_leap_process_response
	movq	%rax, %rbx
	jmp	LBB0_14
LBB0_12:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	(%r12), %rax
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_INFO,4,2                   ## @MSG_INFO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"EAP-LEAP: Password not configured"

	.comm	_TRUE,8,3                       ## @TRUE
L_.str.1:                               ## @.str.1
	.asciz	"EAP-LEAP: Invalid frame"

	.comm	_FALSE,8,3                      ## @FALSE
	.comm	_METHOD_MAY_CONT,4,2            ## @METHOD_MAY_CONT
	.comm	_DECISION_FAIL,4,2              ## @DECISION_FAIL
L_.str.2:                               ## @.str.2
	.asciz	"EAP-LEAP: Unexpected EAP code (%d) - ignored"

	.no_dead_strip	_eap_leap_process
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function eap_leap_process
_eap_leap_process:                      ; @eap_leap_process
	.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	x20, x3
	mov	x19, x2
	mov	x22, x1
	mov	x21, x0
	add	x1, sp, #8
	bl	_eap_get_config_password
	cbz	x0, LBB0_4
; %bb.1:
	mov	x0, x20
	bl	_wpabuf_head
	mov	x23, x0
	mov	x0, x20
	bl	_wpabuf_len
	cmp	w0, #8
	b.lo	LBB0_3
; %bb.2:
	ldr	w0, [x23, #4]
	bl	_be_to_host16
	mov	x24, x0
	mov	x0, x20
	bl	_wpabuf_len
	cmp	w24, w0
	b.le	LBB0_8
LBB0_3:
Lloh0:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str.1@PAGE
Lloh4:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_wpa_printf
	b	LBB0_5
LBB0_4:
Lloh5:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
	mov	x0, x21
	bl	_eap_sm_request_password
LBB0_5:
	mov	x0, #0
Lloh10:
	adrp	x8, _TRUE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
LBB0_6:
	str	x8, [x19]
LBB0_7:
	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
LBB0_8:
Lloh13:
	adrp	x8, _FALSE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
	ldr	x9, [x8]
	str	x9, [x19]
Lloh15:
	adrp	x24, _TRUE@GOTPAGE
Lloh16:
	ldr	x24, [x24, _TRUE@GOTPAGEOFF]
	ldr	x9, [x24]
	str	x9, [x19, #16]
Lloh17:
	adrp	x9, _METHOD_MAY_CONT@GOTPAGE
Lloh18:
	ldr	x9, [x9, _METHOD_MAY_CONT@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
Lloh20:
	adrp	x10, _DECISION_FAIL@GOTPAGE
Lloh21:
	ldr	x10, [x10, _DECISION_FAIL@GOTPAGEOFF]
Lloh22:
	ldr	w10, [x10]
	stp	w10, w9, [x19, #8]
	ldr	x8, [x8]
	str	x8, [x21]
	ldr	w8, [x23]
	cmp	w8, #128
	b.eq	LBB0_12
; %bb.9:
	cmp	w8, #129
	b.eq	LBB0_13
; %bb.10:
	cmp	w8, #130
	b.ne	LBB0_14
; %bb.11:
	mov	x0, x21
	mov	x1, x22
	mov	x2, x19
	mov	x3, x20
	bl	_eap_leap_process_request
	b	LBB0_7
LBB0_12:
	mov	x0, x21
	mov	x1, x22
	mov	x2, x19
	mov	x3, x20
	bl	_eap_leap_process_success
	b	LBB0_7
LBB0_13:
	mov	x0, x21
	mov	x1, x22
	mov	x2, x19
	mov	x3, x20
	bl	_eap_leap_process_response
	b	LBB0_7
LBB0_14:
Lloh23:
	adrp	x9, _MSG_INFO@GOTPAGE
Lloh24:
	ldr	x9, [x9, _MSG_INFO@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x9]
	str	x8, [sp]
Lloh26:
	adrp	x1, l_.str.2@PAGE
Lloh27:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_wpa_printf
	mov	x0, #0
	ldr	x8, [x24]
	b	LBB0_6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_INFO,4,2                   ; @MSG_INFO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"EAP-LEAP: Password not configured"

	.comm	_TRUE,8,3                       ; @TRUE
l_.str.1:                               ; @.str.1
	.asciz	"EAP-LEAP: Invalid frame"

	.comm	_FALSE,8,3                      ; @FALSE
	.comm	_METHOD_MAY_CONT,4,2            ; @METHOD_MAY_CONT
	.comm	_DECISION_FAIL,4,2              ; @DECISION_FAIL
l_.str.2:                               ; @.str.2
	.asciz	"EAP-LEAP: Unexpected EAP code (%d) - ignored"

	.no_dead_strip	_eap_leap_process
.subsections_via_symbols
