	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ssl_cipher_strength_sort
_ssl_cipher_strength_sort:              ## @ssl_cipher_strength_sort
	.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	%rsi, %r14
	movq	%rdi, %r15
	movq	(%rdi), %rax
	xorl	%ebx, %ebx
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	(%rax), %rax
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	testq	%rax, %rax
	je	LBB0_5
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpq	$0, 16(%rax)
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	8(%rax), %rcx
	movl	(%rcx), %ecx
	cmpl	%ebx, %ecx
	cmovgl	%ecx, %ebx
	jmp	LBB0_4
LBB0_5:
	leal	4(,%rbx,4), %edi
	callq	_OPENSSL_zalloc
	testq	%rax, %rax
	je	LBB0_17
## %bb.6:
	movq	%rax, %r12
	movq	(%r15), %rax
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	(%rax), %rax
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	testq	%rax, %rax
	je	LBB0_8
## %bb.14:                              ##   in Loop: Header=BB0_7 Depth=1
	cmpq	$0, 16(%rax)
	je	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	8(%rax), %rcx
	movslq	(%rcx), %rcx
	incl	(%r12,%rcx,4)
	jmp	LBB0_16
LBB0_8:
	movl	%ebx, %ebx
	movq	_CIPHER_ORD@GOTPCREL(%rip), %r13
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_9 Depth=1
	leaq	-1(%rbx), %rax
	testq	%rbx, %rbx
	movq	%rax, %rbx
	jle	LBB0_12
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$0, (%r12,%rbx,4)
	jle	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	movl	(%r13), %eax
	subq	$8, %rsp
	xorl	%edi, %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	pushq	%r14
	pushq	%r15
	pushq	%rbx
	pushq	%rax
	pushq	$0
	callq	_ssl_cipher_apply_rule
	addq	$48, %rsp
	jmp	LBB0_11
LBB0_12:
	movq	%r12, %rdi
	callq	_OPENSSL_free
	movl	$1, %eax
	jmp	LBB0_13
LBB0_17:
	movq	_SSL_F_SSL_CIPHER_STRENGTH_SORT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ERR_R_MALLOC_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_SSLerr
	xorl	%eax, %eax
LBB0_13:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SSL_F_SSL_CIPHER_STRENGTH_SORT,4,2 ## @SSL_F_SSL_CIPHER_STRENGTH_SORT
	.comm	_ERR_R_MALLOC_FAILURE,4,2       ## @ERR_R_MALLOC_FAILURE
	.comm	_CIPHER_ORD,4,2                 ## @CIPHER_ORD
	.no_dead_strip	_ssl_cipher_strength_sort
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ssl_cipher_strength_sort
_ssl_cipher_strength_sort:              ; @ssl_cipher_strength_sort
	.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, x1
	mov	x20, x0
	ldr	x8, [x0]
	cbz	x8, LBB0_5
; %bb.1:
	mov	w22, #0
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x8]
	cbz	x8, LBB0_6
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x8, #16]
	cbz	x9, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x9, [x8, #8]
	ldr	w9, [x9]
	cmp	w9, w22
	csel	w22, w9, w22, gt
	b	LBB0_2
LBB0_5:
	mov	w22, #0
LBB0_6:
	lsl	w8, w22, #2
	add	w0, w8, #4
	bl	_OPENSSL_zalloc
	cbz	x0, LBB0_16
; %bb.7:
	mov	x21, x0
	ldr	x8, [x20]
	cbnz	x8, LBB0_13
LBB0_8:
	mov	w22, w22
Lloh0:
	adrp	x23, _CIPHER_ORD@GOTPAGE
Lloh1:
	ldr	x23, [x23, _CIPHER_ORD@GOTPAGEOFF]
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	sub	x8, x22, #1
	cmp	x22, #0
	mov	x22, x8
	b.le	LBB0_15
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x21, x22, lsl #2]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	w7, [x23]
	stp	x20, x19, [sp, #8]
	str	w22, [sp]
	mov	w0, #0
	mov	w1, #0
	mov	w2, #0
	mov	w3, #0
	mov	w4, #0
	mov	w5, #0
	mov	w6, #0
	bl	_ssl_cipher_apply_rule
	b	LBB0_9
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=1
	ldr	x8, [x8]
	cbz	x8, LBB0_8
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x8, #16]
	cbz	x9, LBB0_12
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	ldr	x9, [x8, #8]
	ldrsw	x9, [x9]
	lsl	x9, x9, #2
	ldr	w10, [x21, x9]
	add	w10, w10, #1
	str	w10, [x21, x9]
	b	LBB0_12
LBB0_15:
	mov	x0, x21
	bl	_OPENSSL_free
	mov	w0, #1
	b	LBB0_17
LBB0_16:
Lloh2:
	adrp	x8, _SSL_F_SSL_CIPHER_STRENGTH_SORT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SSL_F_SSL_CIPHER_STRENGTH_SORT@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
Lloh5:
	adrp	x8, _ERR_R_MALLOC_FAILURE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ERR_R_MALLOC_FAILURE@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	bl	_SSLerr
	mov	w0, #0
LBB0_17:
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_SSL_F_SSL_CIPHER_STRENGTH_SORT,4,2 ; @SSL_F_SSL_CIPHER_STRENGTH_SORT
	.comm	_ERR_R_MALLOC_FAILURE,4,2       ; @ERR_R_MALLOC_FAILURE
	.comm	_CIPHER_ORD,4,2                 ; @CIPHER_ORD
	.no_dead_strip	_ssl_cipher_strength_sort
.subsections_via_symbols
