	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function eap_fast_pac_get_a_id
_eap_fast_pac_get_a_id:                 ## @eap_fast_pac_get_a_id
	.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
	movslq	(%rdi), %rax
	cmpq	$5, %rax
	jl	LBB0_10
## %bb.1:
	movq	%rdi, %r14
	movq	32(%rdi), %rbx
	leaq	(%rbx,%rax,4), %r13
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	%r15d, %eax
	leaq	(%rbx,%rax,4), %rbx
	movq	%r13, %rax
	subq	%rbx, %rax
	cmpq	$16, %rax
	jle	LBB0_10
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_WPA_GET_BE16
	movl	%eax, %r12d
	leaq	8(%rbx), %rdi
	callq	_WPA_GET_BE16
	movl	%eax, %r15d
	addq	$16, %rbx
	movq	%r13, %rax
	subq	%rbx, %rax
	shrq	$2, %rax
	cmpl	%eax, %r15d
	ja	LBB0_10
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_PAC_TYPE_A_ID@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r12d
	jne	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	24(%r14), %rdi
	callq	_os_free
	movq	%rbx, %rdi
	movl	%r15d, %esi
	callq	_os_memdup
	movq	%rax, 24(%r14)
	testq	%rax, %rax
	je	LBB0_10
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%r15d, 4(%r14)
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_PAC_TYPE_A_ID_INFO@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r12d
	jne	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%r14), %rdi
	callq	_os_free
	movq	%rbx, %rdi
	movl	%r15d, %esi
	callq	_os_memdup
	movq	%rax, 16(%r14)
	testq	%rax, %rax
	je	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%r15d, 8(%r14)
	jmp	LBB0_9
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_A_ID,4,2              ## @PAC_TYPE_A_ID
	.comm	_PAC_TYPE_A_ID_INFO,4,2         ## @PAC_TYPE_A_ID_INFO
	.no_dead_strip	_eap_fast_pac_get_a_id
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function eap_fast_pac_get_a_id
_eap_fast_pac_get_a_id:                 ; @eap_fast_pac_get_a_id
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	ldrsw	x8, [x0]
	cmp	w8, #5
	b.lt	LBB0_10
; %bb.1:
	mov	x19, x0
	ldr	x21, [x0, #32]
	add	x23, x21, x8, lsl #2
Lloh0:
	adrp	x24, _PAC_TYPE_A_ID@GOTPAGE
Lloh1:
	ldr	x24, [x24, _PAC_TYPE_A_ID@GOTPAGEOFF]
Lloh2:
	adrp	x25, _PAC_TYPE_A_ID_INFO@GOTPAGE
Lloh3:
	ldr	x25, [x25, _PAC_TYPE_A_ID_INFO@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x21, x21, w20, uxtw #2
	sub	x8, x23, x21
	cmp	x8, #16
	b.le	LBB0_10
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	bl	_WPA_GET_BE16
	mov	x22, x0
	add	x0, x21, #8
	bl	_WPA_GET_BE16
	add	x21, x21, #16
	sub	x8, x23, x21
	lsr	x8, x8, #2
	cmp	w0, w8
	b.hi	LBB0_10
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x20, x0
	ldr	w8, [x24]
	cmp	w22, w8
	b.ne	LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [x19, #24]
	bl	_os_free
	mov	x0, x21
	mov	x1, x20
	bl	_os_memdup
	str	x0, [x19, #24]
	cbz	x0, LBB0_10
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	str	w20, [x19, #4]
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x25]
	cmp	w22, w8
	b.ne	LBB0_2
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [x19, #16]
	bl	_os_free
	mov	x0, x21
	mov	x1, x20
	bl	_os_memdup
	str	x0, [x19, #16]
	cbz	x0, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_3 Depth=1
	str	w20, [x19, #8]
	b	LBB0_2
LBB0_10:
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_PAC_TYPE_A_ID,4,2              ; @PAC_TYPE_A_ID
	.comm	_PAC_TYPE_A_ID_INFO,4,2         ; @PAC_TYPE_A_ID_INFO
	.no_dead_strip	_eap_fast_pac_get_a_id
.subsections_via_symbols
