	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_br_ssl_engine_switch_cbc_out   ## -- Begin function br_ssl_engine_switch_cbc_out
	.p2align	4, 0x90
_br_ssl_engine_switch_cbc_out:          ## @br_ssl_engine_switch_cbc_out
	.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
	subq	$232, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r13
	movq	%r8, %r15
	movl	%edx, -244(%rbp)                ## 4-byte Spill
	movl	%esi, -248(%rbp)                ## 4-byte Spill
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	%ecx, %esi
	callq	_br_ssl_engine_get_hash
	movq	%rax, -256(%rbp)                ## 8-byte Spill
	movq	(%rax), %r14
	movq	_BR_HASHDESC_OUT_OFF@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shrq	%cl, %r14
	movq	_BR_HASHDESC_OUT_MASK@GOTPCREL(%rip), %rax
	andq	(%rax), %r14
	movq	16(%rbx), %rax
	movq	_BR_TLS11@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	movq	%r15, -264(%rbp)                ## 8-byte Spill
	jge	LBB0_1
## %bb.2:
	movq	(%r15), %r15
	jmp	LBB0_3
LBB0_1:
	xorl	%r15d, %r15d
LBB0_3:
	leaq	(%r14,%r13), %r12
	leaq	(%r15,%r12), %rdx
	leaq	-240(%rbp), %rcx
	movq	%rbx, %rdi
	movl	-244(%rbp), %esi                ## 4-byte Reload
	callq	_compute_key_block
	cmpl	$0, -248(%rbp)                  ## 4-byte Folded Reload
	je	LBB0_5
## %bb.4:
	leaq	(%r14,%r14), %rcx
	addq	%r12, %r12
	leaq	-240(%rbp), %r9
	jmp	LBB0_6
LBB0_5:
	leaq	(%r14,%rbp), %r9
	addq	$-240, %r9
	leaq	(,%r14,2), %rcx
	addq	%r13, %rcx
	leaq	(%r15,%r12,2), %r12
LBB0_6:
	leaq	(%r12,%rbp), %rax
	addq	$-240, %rax
	testq	%r15, %r15
	cmoveq	%r15, %rax
	leaq	(%rcx,%rbp), %rdx
	addq	$-240, %rdx
	movq	8(%rbx), %r10
	subq	$8, %rsp
	movq	%rbx, %rdi
	movq	-264(%rbp), %rsi                ## 8-byte Reload
	movq	%r13, %rcx
	movq	-256(%rbp), %r8                 ## 8-byte Reload
	pushq	%rax
	pushq	%r14
	pushq	%r14
	callq	*(%r10)
	addq	$32, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_8
## %bb.7:
	addq	$232, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_BR_HASHDESC_OUT_OFF,8,3        ## @BR_HASHDESC_OUT_OFF
	.comm	_BR_HASHDESC_OUT_MASK,8,3       ## @BR_HASHDESC_OUT_MASK
	.comm	_BR_TLS11,8,3                   ## @BR_TLS11
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_br_ssl_engine_switch_cbc_out   ; -- Begin function br_ssl_engine_switch_cbc_out
	.p2align	2
_br_ssl_engine_switch_cbc_out:          ; @br_ssl_engine_switch_cbc_out
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #320
	.cfi_def_cfa_offset 320
	stp	x28, x27, [sp, #224]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #240]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #256]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #272]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #288]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #304]            ; 16-byte Folded Spill
	add	x29, sp, #304
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x5
	mov	x20, x4
	mov	x25, x2
	mov	x24, x1
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-96]
	mov	x1, x3
	bl	_br_ssl_engine_get_hash
	mov	x22, x0
Lloh3:
	adrp	x8, _BR_HASHDESC_OUT_OFF@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BR_HASHDESC_OUT_OFF@GOTPAGEOFF]
	ldr	x9, [x0]
Lloh5:
	ldr	x8, [x8]
	lsr	x8, x9, x8
Lloh6:
	adrp	x9, _BR_HASHDESC_OUT_MASK@GOTPAGE
Lloh7:
	ldr	x9, [x9, _BR_HASHDESC_OUT_MASK@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	and	x23, x8, x9
	ldr	x8, [x21, #16]
Lloh9:
	adrp	x9, _BR_TLS11@GOTPAGE
Lloh10:
	ldr	x9, [x9, _BR_TLS11@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ge	LBB0_2
; %bb.1:
	ldr	x26, [x20]
	b	LBB0_3
LBB0_2:
	mov	x26, #0
LBB0_3:
	add	x27, x23, x19
	add	x2, x26, x27
	add	x28, sp, #16
	add	x3, sp, #16
	mov	x0, x21
	mov	x1, x25
	bl	_compute_key_block
	add	x8, x28, x23
	add	x9, x19, x23, lsl #1
	add	x10, x26, x27, lsl #1
	add	x11, sp, #16
	lsl	x12, x23, #1
	lsl	x13, x27, #1
	cmp	w24, #0
	csel	x10, x10, x13, eq
	csel	x5, x8, x11, eq
	csel	x8, x9, x12, eq
	add	x9, x11, x10
	cmp	x26, #0
	csel	x9, xzr, x9, eq
	add	x2, x11, x8
	ldr	x8, [x21, #8]
	ldr	x8, [x8]
	str	x9, [sp]
	mov	x0, x21
	mov	x1, x20
	mov	x3, x19
	mov	x4, x22
	mov	x6, x23
	mov	x7, x23
	blr	x8
	ldur	x8, [x29, #-96]
Lloh12:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh13:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_5
; %bb.4:
	ldp	x29, x30, [sp, #304]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #288]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #272]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #256]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #240]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #224]            ; 16-byte Folded Reload
	add	sp, sp, #320
	ret
LBB0_5:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_BR_HASHDESC_OUT_OFF,8,3        ; @BR_HASHDESC_OUT_OFF
	.comm	_BR_HASHDESC_OUT_MASK,8,3       ; @BR_HASHDESC_OUT_MASK
	.comm	_BR_TLS11,8,3                   ; @BR_TLS11
.subsections_via_symbols
