	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function eap_teap_process_pac_info
_eap_teap_process_pac_info:             ## @eap_teap_process_pac_info
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_PAC_TYPE_TUNNEL_PAC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rdi)
	movq	(%rdi), %r13
	cmpq	$9, %r13
	jb	LBB0_6
## %bb.1:
	movq	16(%r14), %rbx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	4(%rbx), %edi
	callq	_be_to_host16
	movq	%rax, %r12
	movl	(%rbx), %edi
	callq	_be_to_host16
	movq	%rax, %r15
	movq	%r13, %r8
	addq	$-8, %r8
	movq	%r8, %r13
	subq	%rax, %r13
	jb	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	addq	$32, %rbx
	movq	%r14, %rdi
	movl	%r12d, %esi
	movq	%rbx, %rdx
	movq	%r15, %rcx
	callq	_eap_teap_parse_pac_info
	testq	%rax, %rax
	js	LBB0_9
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	(%rbx,%r15,4), %rbx
	cmpq	$8, %r13
	ja	LBB0_2
LBB0_6:
	cmpl	$0, 12(%r14)
	je	LBB0_8
## %bb.7:
	xorl	%eax, %eax
	cmpl	$0, 8(%r14)
	jne	LBB0_10
LBB0_8:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	jmp	LBB0_9
LBB0_3:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movl	%r12d, %edx
	movq	%r15, %rcx
	xorl	%eax, %eax
	callq	_wpa_printf
LBB0_9:
	movl	$-1, %eax
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PAC_TYPE_TUNNEL_PAC,4,2        ## @PAC_TYPE_TUNNEL_PAC
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"EAP-TEAP: PAC-Info overrun (type=%d len=%lu left=%lu)"

L_.str.1:                               ## @.str.1
	.asciz	"EAP-TEAP: PAC-Info does not include all the required fields"

	.no_dead_strip	_eap_teap_process_pac_info
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function eap_teap_process_pac_info
_eap_teap_process_pac_info:             ; @eap_teap_process_pac_info
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	mov	x19, x0
Lloh0:
	adrp	x8, _PAC_TYPE_TUNNEL_PAC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PAC_TYPE_TUNNEL_PAC@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x0, #24]
	ldr	x23, [x0]
	cmp	x23, #9
	b.lo	LBB0_5
; %bb.1:
	ldr	x22, [x19, #16]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x22, #4]
	bl	_be_to_host16
	mov	x21, x0
	ldr	w0, [x22]
	bl	_be_to_host16
	mov	x20, x0
	sub	x8, x23, #8
	subs	x23, x8, x0
	b.lo	LBB0_9
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x22, x22, #32
	mov	x0, x19
	mov	x1, x21
	mov	x2, x22
	mov	x3, x20
	bl	_eap_teap_parse_pac_info
	tbnz	x0, #63, LBB0_11
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x22, x22, x20, lsl #2
	cmp	x23, #8
	b.hi	LBB0_2
LBB0_5:
	ldr	w8, [x19, #12]
	cbz	w8, LBB0_8
; %bb.6:
	ldr	w8, [x19, #8]
	cbz	w8, LBB0_8
; %bb.7:
	mov	w0, #0
	b	LBB0_12
LBB0_8:
Lloh3:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x1, l_.str.1@PAGE
Lloh7:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_10
LBB0_9:
Lloh8:
	adrp	x9, _MSG_DEBUG@GOTPAGE
Lloh9:
	ldr	x9, [x9, _MSG_DEBUG@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x9]
	stp	x20, x8, [sp, #8]
	str	x21, [sp]
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
LBB0_10:
	bl	_wpa_printf
LBB0_11:
	mov	w0, #-1
LBB0_12:
	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
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_PAC_TYPE_TUNNEL_PAC,4,2        ; @PAC_TYPE_TUNNEL_PAC
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"EAP-TEAP: PAC-Info overrun (type=%d len=%lu left=%lu)"

l_.str.1:                               ; @.str.1
	.asciz	"EAP-TEAP: PAC-Info does not include all the required fields"

	.no_dead_strip	_eap_teap_process_pac_info
.subsections_via_symbols
