	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mbedtls_ssl_list_ciphersuites  ## -- Begin function mbedtls_ssl_list_ciphersuites
	.p2align	4, 0x90
_mbedtls_ssl_list_ciphersuites:         ## @mbedtls_ssl_list_ciphersuites
	.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	_ssl_ciphersuites_supported_init@GOTPCREL(%rip), %r14
	cmpl	$0, (%r14)
	jne	LBB0_9
## %bb.1:
	movq	_ciphersuite_preference@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	_supported_ciphersuites@GOTPCREL(%rip), %r12
	movq	(%r12), %r15
	movl	(%rbx), %edi
	testl	%edi, %edi
	je	LBB0_8
## %bb.2:
	movq	_MAX_CIPHERSUITES@GOTPCREL(%rip), %r13
	movslq	(%r13), %rax
	leaq	(%r15,%rax,4), %rax
	addq	$-4, %rax
	cmpq	%rax, %r15
	jae	LBB0_8
## %bb.3:
	addq	$4, %rbx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	callq	_mbedtls_ssl_ciphersuite_from_id
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	-4(%rbx), %eax
	movl	%eax, (%r15)
	addq	$4, %r15
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	movl	(%rbx), %edi
	testl	%edi, %edi
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	addq	$4, %rbx
	movq	(%r12), %rax
	movslq	(%r13), %rcx
	leaq	(%rax,%rcx,4), %rax
	addq	$-4, %rax
	cmpq	%rax, %r15
	jb	LBB0_4
LBB0_8:
	movl	$0, (%r15)
	movl	$1, (%r14)
LBB0_9:
	movq	_supported_ciphersuites@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ssl_ciphersuites_supported_init,4,2 ## @ssl_ciphersuites_supported_init
	.comm	_ciphersuite_preference,8,3     ## @ciphersuite_preference
	.comm	_supported_ciphersuites,8,3     ## @supported_ciphersuites
	.comm	_MAX_CIPHERSUITES,4,2           ## @MAX_CIPHERSUITES
	.comm	_MBEDTLS_CIPHER_ARC4_128,8,3    ## @MBEDTLS_CIPHER_ARC4_128
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mbedtls_ssl_list_ciphersuites  ; -- Begin function mbedtls_ssl_list_ciphersuites
	.p2align	2
_mbedtls_ssl_list_ciphersuites:         ; @mbedtls_ssl_list_ciphersuites
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
Lloh0:
	adrp	x19, _ssl_ciphersuites_supported_init@GOTPAGE
Lloh1:
	ldr	x19, [x19, _ssl_ciphersuites_supported_init@GOTPAGEOFF]
	ldr	w8, [x19]
Lloh2:
	adrp	x20, _supported_ciphersuites@GOTPAGE
Lloh3:
	ldr	x20, [x20, _supported_ciphersuites@GOTPAGEOFF]
	cbnz	w8, LBB0_3
; %bb.1:
Lloh4:
	adrp	x8, _ciphersuite_preference@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ciphersuite_preference@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
	ldr	x21, [x20]
Lloh7:
	adrp	x22, _MAX_CIPHERSUITES@GOTPAGE
Lloh8:
	ldr	x22, [x22, _MAX_CIPHERSUITES@GOTPAGEOFF]
	ldr	w0, [x8]
	ldrsw	x9, [x22]
	add	x9, x21, x9, lsl #2
	sub	x9, x9, #4
	cmp	w0, #0
	ccmp	x21, x9, #2, ne
	b.lo	LBB0_4
LBB0_2:
	str	wzr, [x21]
	mov	w8, #1
	str	w8, [x19]
LBB0_3:
	ldr	x0, [x20]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_4:
	add	x23, x8, #4
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	w0, [x23], #4
	ldr	x8, [x20]
	ldrsw	x9, [x22]
	add	x8, x8, x9, lsl #2
	sub	x8, x8, #4
	cmp	w0, #0
	ccmp	x21, x8, #2, ne
	b.hs	LBB0_2
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	bl	_mbedtls_ssl_ciphersuite_from_id
	cbz	x0, LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldur	w8, [x23, #-4]
	str	w8, [x21], #4
	b	LBB0_5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_ssl_ciphersuites_supported_init,4,2 ; @ssl_ciphersuites_supported_init
	.comm	_ciphersuite_preference,8,3     ; @ciphersuite_preference
	.comm	_supported_ciphersuites,8,3     ; @supported_ciphersuites
	.comm	_MAX_CIPHERSUITES,4,2           ; @MAX_CIPHERSUITES
	.comm	_MBEDTLS_CIPHER_ARC4_128,8,3    ; @MBEDTLS_CIPHER_ARC4_128
.subsections_via_symbols
