	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nai_realm_parse_eap
_nai_realm_parse_eap:                   ## @nai_realm_parse_eap
	.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	%rdx, %rax
	subq	%rsi, %rax
	cmpq	$12, %rax
	jge	LBB0_3
## %bb.1:
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_2
LBB0_3:
	movq	%rdx, %r13
	movq	%rsi, %r14
	movslq	(%rsi), %rdx
	leaq	L_.str.1(%rip), %rsi
	cmpq	$2, %rdx
	jl	LBB0_2
## %bb.4:
	leaq	4(%r14), %rax
	movq	%r13, %rcx
	subq	%rax, %rcx
	sarq	$2, %rcx
	cmpq	%rdx, %rcx
	jl	LBB0_2
## %bb.5:
	leaq	(%rax,%rdx,4), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	4(%r14), %ecx
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movl	%ecx, 16(%rdi)
	movl	8(%r14), %ebx
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	movl	%ebx, %r8d
	xorl	%eax, %eax
	callq	_wpa_printf
	testl	%ebx, %ebx
	jle	LBB0_31
## %bb.6:
	addq	$12, %r14
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_24:                                ##   in Loop: Header=BB0_7 Depth=1
	xorl	%eax, %eax
	callq	_wpa_printf
LBB0_30:                                ##   in Loop: Header=BB0_7 Depth=1
	leaq	(%r15,%r12,4), %r14
	decl	%ebx
	je	LBB0_31
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rax
	subq	%r14, %rax
	cmpq	$8, %rax
	jl	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	leaq	8(%r14), %r15
	movslq	4(%r14), %r12
	movq	%r13, %rax
	subq	%r15, %rax
	sarq	$2, %rax
	cmpq	%r12, %rax
	jl	LBB0_10
## %bb.11:                              ##   in Loop: Header=BB0_7 Depth=1
	movl	(%r14), %edx
	leal	-132(%rdx), %eax
	cmpl	$3, %eax
	ja	LBB0_29
## %bb.12:                              ##   in Loop: Header=BB0_7 Depth=1
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_27:                                ##   in Loop: Header=BB0_7 Depth=1
	testl	%r12d, %r12d
	jle	LBB0_30
## %bb.28:                              ##   in Loop: Header=BB0_7 Depth=1
	movl	(%r15), %edx
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	%edx, 12(%rax)
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.11(%rip), %rsi
	jmp	LBB0_24
LBB0_29:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	_MSG_DEBUG@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	leaq	L_.str.12(%rip), %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	movl	%r12d, %ecx
	xorl	%eax, %eax
	callq	_wpa_printf
	movl	(%r14), %edi
	leaq	L_.str.13(%rip), %rsi
	movq	%r15, %rdx
	movl	%r12d, %ecx
	callq	_wpa_hexdump
	jmp	LBB0_30
LBB0_13:                                ##   in Loop: Header=BB0_7 Depth=1
	testl	%r12d, %r12d
	jle	LBB0_30
## %bb.14:                              ##   in Loop: Header=BB0_7 Depth=1
	movl	(%r15), %eax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx)
	movl	16(%rcx), %eax
	movq	_EAP_TYPE_TTLS@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_30
## %bb.15:                              ##   in Loop: Header=BB0_7 Depth=1
	movl	(%r15), %eax
	addl	$-128, %eax
	cmpl	$3, %eax
	ja	LBB0_30
## %bb.16:                              ##   in Loop: Header=BB0_7 Depth=1
	leaq	LJTI0_1(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_17:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.5(%rip), %rsi
	jmp	LBB0_18
LBB0_22:                                ##   in Loop: Header=BB0_7 Depth=1
	testl	%r12d, %r12d
	jle	LBB0_30
## %bb.23:                              ##   in Loop: Header=BB0_7 Depth=1
	movl	(%r15), %edx
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	%edx, 4(%rax)
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.9(%rip), %rsi
	jmp	LBB0_24
LBB0_25:                                ##   in Loop: Header=BB0_7 Depth=1
	testl	%r12d, %r12d
	jle	LBB0_30
## %bb.26:                              ##   in Loop: Header=BB0_7 Depth=1
	movl	(%r15), %edx
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	%edx, 8(%rax)
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.10(%rip), %rsi
	jmp	LBB0_24
LBB0_21:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.8(%rip), %rsi
	jmp	LBB0_18
LBB0_20:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.7(%rip), %rsi
	jmp	LBB0_18
LBB0_19:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.6(%rip), %rsi
LBB0_18:                                ##   in Loop: Header=BB0_7 Depth=1
	xorl	%eax, %eax
	callq	_wpa_printf
	jmp	LBB0_30
LBB0_31:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_32
LBB0_8:
	leaq	L_.str.3(%rip), %rsi
	jmp	LBB0_2
LBB0_10:
	leaq	L_.str.4(%rip), %rsi
LBB0_2:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_wpa_printf
LBB0_32:
	movq	%rbx, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_27, LBB0_27-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_22, LBB0_22-LJTI0_0
.set L0_0_set_25, LBB0_25-LJTI0_0
LJTI0_0:
	.long	L0_0_set_27
	.long	L0_0_set_13
	.long	L0_0_set_22
	.long	L0_0_set_25
.set L0_1_set_17, LBB0_17-LJTI0_1
.set L0_1_set_21, LBB0_21-LJTI0_1
.set L0_1_set_20, LBB0_20-LJTI0_1
.set L0_1_set_19, LBB0_19-LJTI0_1
LJTI0_1:
	.long	L0_1_set_17
	.long	L0_1_set_21
	.long	L0_1_set_20
	.long	L0_1_set_19
	.end_data_region
                                        ## -- End function
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"No room for EAP Method fixed fields"

L_.str.1:                               ## @.str.1
	.asciz	"No room for EAP Method subfield"

L_.str.2:                               ## @.str.2
	.asciz	"EAP Method: len=%u method=%u auth_count=%u"

L_.str.3:                               ## @.str.3
	.asciz	"No room for Authentication Parameter subfield header"

L_.str.4:                               ## @.str.4
	.asciz	"No room for Authentication Parameter subfield"

	.comm	_EAP_TYPE_TTLS,4,2              ## @EAP_TYPE_TTLS
L_.str.5:                               ## @.str.5
	.asciz	"EAP-TTLS/PAP"

L_.str.6:                               ## @.str.6
	.asciz	"EAP-TTLS/CHAP"

L_.str.7:                               ## @.str.7
	.asciz	"EAP-TTLS/MSCHAP"

L_.str.8:                               ## @.str.8
	.asciz	"EAP-TTLS/MSCHAPV2"

L_.str.9:                               ## @.str.9
	.asciz	"Inner EAP method: %u"

L_.str.10:                              ## @.str.10
	.asciz	"Credential Type: %u"

L_.str.11:                              ## @.str.11
	.asciz	"Tunneled EAP Method Credential Type: %u"

L_.str.12:                              ## @.str.12
	.asciz	"Unsupported Authentication Parameter: id=%u len=%u"

L_.str.13:                              ## @.str.13
	.asciz	"Authentication Parameter Value"

	.no_dead_strip	_nai_realm_parse_eap
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nai_realm_parse_eap
_nai_realm_parse_eap:                   ; @nai_realm_parse_eap
	.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
	sub	x8, x2, x1
Lloh0:
	adrp	x26, _MSG_DEBUG@GOTPAGE
Lloh1:
	ldr	x26, [x26, _MSG_DEBUG@GOTPAGEOFF]
	cmp	x8, #12
	b.ge	LBB0_2
; %bb.1:
Lloh2:
	adrp	x22, l_.str@PAGE
Lloh3:
	add	x22, x22, l_.str@PAGEOFF
	b	LBB0_4
LBB0_2:
	mov	x19, x2
	mov	x22, x1
	mov	x9, x1
	ldrsw	x8, [x9], #4
	sub	x10, x2, x9
	asr	x10, x10, #2
	cmp	w8, #2
	ccmp	x10, x8, #8, ge
	b.ge	LBB0_6
; %bb.3:
Lloh4:
	adrp	x22, l_.str.1@PAGE
Lloh5:
	add	x22, x22, l_.str.1@PAGEOFF
LBB0_4:
	ldr	w0, [x26]
	mov	x1, x22
	bl	_wpa_printf
	mov	x21, #0
LBB0_5:
	mov	x0, x21
	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
LBB0_6:
	mov	x20, x0
	add	x21, x9, x8, lsl #2
	ldr	w9, [x22, #4]
	str	w9, [x0, #16]
	ldr	w28, [x22, #8]
	ldr	w0, [x26]
	stp	x9, x28, [sp, #8]
	str	x8, [sp]
Lloh6:
	adrp	x1, l_.str.2@PAGE
Lloh7:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_wpa_printf
	cmp	w28, #1
	b.lt	LBB0_5
; %bb.7:
	add	x8, x22, #12
Lloh8:
	adrp	x22, l_.str.3@PAGE
Lloh9:
	add	x22, x22, l_.str.3@PAGEOFF
Lloh10:
	adrp	x24, l_.str.13@PAGE
Lloh11:
	add	x24, x24, l_.str.13@PAGEOFF
Lloh12:
	adrp	x23, lJTI0_0@PAGE
Lloh13:
	add	x23, x23, lJTI0_0@PAGEOFF
	b	LBB0_10
LBB0_8:                                 ;   in Loop: Header=BB0_10 Depth=1
	ldr	w0, [x26]
	stp	x8, x25, [sp]
Lloh14:
	adrp	x1, l_.str.12@PAGE
Lloh15:
	add	x1, x1, l_.str.12@PAGEOFF
	bl	_wpa_printf
	ldr	w0, [x26]
	mov	x1, x24
	mov	x2, x27
	mov	x3, x25
	bl	_wpa_hexdump
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	add	x8, x27, x25, lsl #2
	subs	w28, w28, #1
	b.eq	LBB0_5
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	sub	x9, x19, x8
	cmp	x9, #8
	b.lt	LBB0_4
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	add	x27, x8, #8
	ldrsw	x25, [x8, #4]
	sub	x9, x19, x27
	cmp	x25, x9, asr #2
	b.gt	LBB0_28
; %bb.12:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	w8, [x8]
	sub	w9, w8, #132
	cmp	w9, #3
	b.hi	LBB0_8
; %bb.13:                               ;   in Loop: Header=BB0_10 Depth=1
	adr	x8, LBB0_14
	ldrb	w10, [x23, x9]
	add	x8, x8, x10, lsl #2
	br	x8
LBB0_14:                                ;   in Loop: Header=BB0_10 Depth=1
	cmp	w25, #1
	b.lt	LBB0_9
; %bb.15:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	w8, [x27]
	str	w8, [x20, #12]
	ldr	w0, [x26]
	str	x8, [sp]
Lloh16:
	adrp	x1, l_.str.11@PAGE
Lloh17:
	add	x1, x1, l_.str.11@PAGEOFF
	bl	_wpa_printf
	b	LBB0_9
LBB0_16:                                ;   in Loop: Header=BB0_10 Depth=1
	cmp	w25, #1
	b.lt	LBB0_9
; %bb.17:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	w8, [x27]
	str	w8, [x20]
	ldr	w8, [x20, #16]
Lloh18:
	adrp	x9, _EAP_TYPE_TTLS@GOTPAGE
Lloh19:
	ldr	x9, [x9, _EAP_TYPE_TTLS@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_9
; %bb.18:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	w8, [x27]
	sub	w8, w8, #128
	cmp	w8, #3
	b.hi	LBB0_9
; %bb.19:                               ;   in Loop: Header=BB0_10 Depth=1
Lloh21:
	adrp	x11, lJTI0_1@PAGE
Lloh22:
	add	x11, x11, lJTI0_1@PAGEOFF
	adr	x9, LBB0_20
	ldrb	w10, [x11, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_20:                                ;   in Loop: Header=BB0_10 Depth=1
	ldr	w0, [x26]
Lloh23:
	adrp	x1, l_.str.5@PAGE
Lloh24:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_wpa_printf
	b	LBB0_9
LBB0_21:                                ;   in Loop: Header=BB0_10 Depth=1
	cmp	w25, #1
	b.lt	LBB0_9
; %bb.22:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	w8, [x27]
	str	w8, [x20, #4]
	ldr	w0, [x26]
	str	x8, [sp]
Lloh25:
	adrp	x1, l_.str.9@PAGE
Lloh26:
	add	x1, x1, l_.str.9@PAGEOFF
	bl	_wpa_printf
	b	LBB0_9
LBB0_23:                                ;   in Loop: Header=BB0_10 Depth=1
	cmp	w25, #1
	b.lt	LBB0_9
; %bb.24:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	w8, [x27]
	str	w8, [x20, #8]
	ldr	w0, [x26]
	str	x8, [sp]
Lloh27:
	adrp	x1, l_.str.10@PAGE
Lloh28:
	add	x1, x1, l_.str.10@PAGEOFF
	bl	_wpa_printf
	b	LBB0_9
LBB0_25:                                ;   in Loop: Header=BB0_10 Depth=1
	ldr	w0, [x26]
Lloh29:
	adrp	x1, l_.str.8@PAGE
Lloh30:
	add	x1, x1, l_.str.8@PAGEOFF
	bl	_wpa_printf
	b	LBB0_9
LBB0_26:                                ;   in Loop: Header=BB0_10 Depth=1
	ldr	w0, [x26]
Lloh31:
	adrp	x1, l_.str.7@PAGE
Lloh32:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_wpa_printf
	b	LBB0_9
LBB0_27:                                ;   in Loop: Header=BB0_10 Depth=1
	ldr	w0, [x26]
Lloh33:
	adrp	x1, l_.str.6@PAGE
Lloh34:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_wpa_printf
	b	LBB0_9
LBB0_28:
Lloh35:
	adrp	x22, l_.str.4@PAGE
Lloh36:
	add	x22, x22, l_.str.4@PAGEOFF
	b	LBB0_4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh35, Lloh36
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_14-LBB0_14)>>2
	.byte	(LBB0_16-LBB0_14)>>2
	.byte	(LBB0_21-LBB0_14)>>2
	.byte	(LBB0_23-LBB0_14)>>2
lJTI0_1:
	.byte	(LBB0_20-LBB0_20)>>2
	.byte	(LBB0_25-LBB0_20)>>2
	.byte	(LBB0_26-LBB0_20)>>2
	.byte	(LBB0_27-LBB0_20)>>2
                                        ; -- End function
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"No room for EAP Method fixed fields"

l_.str.1:                               ; @.str.1
	.asciz	"No room for EAP Method subfield"

l_.str.2:                               ; @.str.2
	.asciz	"EAP Method: len=%u method=%u auth_count=%u"

l_.str.3:                               ; @.str.3
	.asciz	"No room for Authentication Parameter subfield header"

l_.str.4:                               ; @.str.4
	.asciz	"No room for Authentication Parameter subfield"

	.comm	_EAP_TYPE_TTLS,4,2              ; @EAP_TYPE_TTLS
l_.str.5:                               ; @.str.5
	.asciz	"EAP-TTLS/PAP"

l_.str.6:                               ; @.str.6
	.asciz	"EAP-TTLS/CHAP"

l_.str.7:                               ; @.str.7
	.asciz	"EAP-TTLS/MSCHAP"

l_.str.8:                               ; @.str.8
	.asciz	"EAP-TTLS/MSCHAPV2"

l_.str.9:                               ; @.str.9
	.asciz	"Inner EAP method: %u"

l_.str.10:                              ; @.str.10
	.asciz	"Credential Type: %u"

l_.str.11:                              ; @.str.11
	.asciz	"Tunneled EAP Method Credential Type: %u"

l_.str.12:                              ; @.str.12
	.asciz	"Unsupported Authentication Parameter: id=%u len=%u"

l_.str.13:                              ; @.str.13
	.asciz	"Authentication Parameter Value"

	.no_dead_strip	_nai_realm_parse_eap
.subsections_via_symbols
