	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ieee802_1x_kay_get_cipher_suite
_ieee802_1x_kay_get_cipher_suite:       ## @ieee802_1x_kay_get_cipher_suite
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdx, %rbx
	movq	_CS_ID_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-12(%rbp), %rdi
	callq	_os_memcpy
	movl	-12(%rbp), %edi
	callq	_be_to_host64
	movq	%rax, %rcx
	movq	_CS_TABLE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	testq	%rdx, %rdx
	je	LBB0_5
## %bb.1:
	movq	_cipher_suite_tbl@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rcx, (%rax)
	je	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	incq	%rsi
	addq	$8, %rax
	cmpq	%rsi, %rdx
	jne	LBB0_2
LBB0_5:
	xorl	%eax, %eax
	jmp	LBB0_6
LBB0_3:
	movl	%esi, (%rbx)
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CS_ID_LEN,4,2                  ## @CS_ID_LEN
	.comm	_CS_TABLE_SIZE,4,2              ## @CS_TABLE_SIZE
	.comm	_cipher_suite_tbl,8,3           ## @cipher_suite_tbl
	.no_dead_strip	_ieee802_1x_kay_get_cipher_suite
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ieee802_1x_kay_get_cipher_suite
_ieee802_1x_kay_get_cipher_suite:       ; @ieee802_1x_kay_get_cipher_suite
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x2
Lloh0:
	adrp	x8, _CS_ID_LEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CS_ID_LEN@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	add	x0, sp, #12
	bl	_os_memcpy
	ldr	w0, [sp, #12]
	bl	_be_to_host64
Lloh3:
	adrp	x9, _CS_TABLE_SIZE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _CS_TABLE_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cbz	w9, LBB0_4
; %bb.1:
	mov	x8, x0
	mov	x10, #0
Lloh6:
	adrp	x11, _cipher_suite_tbl@GOTPAGE
Lloh7:
	ldr	x11, [x11, _cipher_suite_tbl@GOTPAGEOFF]
Lloh8:
	ldr	x0, [x11]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x0]
	cmp	x11, x8
	b.eq	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x10, x10, #1
	add	x0, x0, #8
	cmp	x9, x10
	b.ne	LBB0_2
LBB0_4:
	mov	x0, #0
	b	LBB0_6
LBB0_5:
	str	w10, [x19]
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_CS_ID_LEN,4,2                  ; @CS_ID_LEN
	.comm	_CS_TABLE_SIZE,4,2              ; @CS_TABLE_SIZE
	.comm	_cipher_suite_tbl,8,3           ; @cipher_suite_tbl
	.no_dead_strip	_ieee802_1x_kay_get_cipher_suite
.subsections_via_symbols
