	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ieee802_1x_mka_get_dist_sak_length
_ieee802_1x_mka_get_dist_sak_length:    ## @ieee802_1x_mka_get_dist_sak_length
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%rdi, %rax
	movq	_MKA_HDR_LEN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	cmpq	$0, (%rax)
	je	LBB0_3
## %bb.1:
	movq	8(%rax), %rax
	movl	(%rax), %eax
	movq	_CS_TABLE_SIZE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jae	LBB0_3
## %bb.2:
	movq	_DEFAULT_CS_INDEX@GOTPCREL(%rip), %rcx
	movq	_CS_ID_LEN@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	addl	$4, %edx
	cmpl	(%rcx), %eax
	movq	_cipher_suite_tbl@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rcx,%rax,8), %eax
	movl	$4, %ecx
	cmovnel	%edx, %ecx
	leal	(%rax,%rcx), %edi
	addl	$8, %edi
LBB0_3:
	popq	%rbp
	jmp	_MKA_ALIGN_LENGTH               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MKA_HDR_LEN,4,2                ## @MKA_HDR_LEN
	.comm	_CS_TABLE_SIZE,4,2              ## @CS_TABLE_SIZE
	.comm	_DEFAULT_CS_INDEX,4,2           ## @DEFAULT_CS_INDEX
	.comm	_CS_ID_LEN,8,3                  ## @CS_ID_LEN
	.comm	_cipher_suite_tbl,8,3           ## @cipher_suite_tbl
	.no_dead_strip	_ieee802_1x_mka_get_dist_sak_length
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ieee802_1x_mka_get_dist_sak_length
_ieee802_1x_mka_get_dist_sak_length:    ; @ieee802_1x_mka_get_dist_sak_length
	.cfi_startproc
; %bb.0:
	ldp	x9, x8, [x0]
	ldr	w8, [x8]
Lloh0:
	adrp	x10, _CS_TABLE_SIZE@GOTPAGE
Lloh1:
	ldr	x10, [x10, _CS_TABLE_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
	cmp	x9, #0
	ccmp	w8, w10, #2, ne
	b.lo	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _MKA_HDR_LEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MKA_HDR_LEN@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	b	_MKA_ALIGN_LENGTH
LBB0_2:
Lloh6:
	adrp	x9, _DEFAULT_CS_INDEX@GOTPAGE
Lloh7:
	ldr	x9, [x9, _DEFAULT_CS_INDEX@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
Lloh9:
	adrp	x10, _CS_ID_LEN@GOTPAGE
Lloh10:
	ldr	x10, [x10, _CS_ID_LEN@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
Lloh12:
	adrp	x11, _cipher_suite_tbl@GOTPAGE
Lloh13:
	ldr	x11, [x11, _cipher_suite_tbl@GOTPAGEOFF]
Lloh14:
	ldr	x11, [x11]
	ldr	x11, [x11, x8, lsl #3]
	add	w10, w10, #4
	mov	w12, #4
	cmp	w8, w9
	csel	w8, w12, w10, eq
	add	w8, w11, w8
	add	w0, w8, #8
	b	_MKA_ALIGN_LENGTH
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_MKA_HDR_LEN,4,2                ; @MKA_HDR_LEN
	.comm	_CS_TABLE_SIZE,4,2              ; @CS_TABLE_SIZE
	.comm	_DEFAULT_CS_INDEX,4,2           ; @DEFAULT_CS_INDEX
	.comm	_CS_ID_LEN,8,3                  ; @CS_ID_LEN
	.comm	_cipher_suite_tbl,8,3           ; @cipher_suite_tbl
	.no_dead_strip	_ieee802_1x_mka_get_dist_sak_length
.subsections_via_symbols
