	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_br_ssl_engine_recvrec_ack      ## -- Begin function br_ssl_engine_recvrec_ack
	.p2align	4, 0x90
_br_ssl_engine_recvrec_ack:             ## @br_ssl_engine_recvrec_ack
	.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	%rdi, %rbx
	movq	%rsi, -16(%rbp)
	callq	_recvrec_ack
	movq	%rbx, %rdi
	callq	_br_ssl_engine_closed
	testq	%rax, %rax
	je	LBB0_1
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_1:
	leaq	-16(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_recvpld_buf
	testq	%rax, %rax
	je	LBB0_10
## %bb.2:
	movl	(%rbx), %eax
	leal	-128(%rax), %ecx
	cmpl	$2, %ecx
	jb	LBB0_5
## %bb.3:
	cmpl	$130, %eax
	je	LBB0_6
## %bb.4:
	cmpl	$131, %eax
	jne	LBB0_9
LBB0_5:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_jump_handshake
	jmp	LBB0_10
LBB0_6:
	movl	4(%rbx), %eax
	cmpl	$1, %eax
	je	LBB0_10
## %bb.7:
	cmpl	$2, %eax
	jne	LBB0_9
## %bb.8:
	movq	-16(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_recvpld_ack
	jmp	LBB0_10
LBB0_9:
	movq	_BR_ERR_UNEXPECTED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_br_ssl_engine_fail
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_BR_ERR_UNEXPECTED,4,2          ## @BR_ERR_UNEXPECTED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_br_ssl_engine_recvrec_ack      ; -- Begin function br_ssl_engine_recvrec_ack
	.p2align	2
_br_ssl_engine_recvrec_ack:             ; @br_ssl_engine_recvrec_ack
	.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, x0
	str	x1, [sp, #8]
	bl	_recvrec_ack
	mov	x0, x19
	bl	_br_ssl_engine_closed
	cbz	x0, LBB0_2
LBB0_1:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_2:
	add	x1, sp, #8
	mov	x0, x19
	bl	_recvpld_buf
	cbz	x0, LBB0_1
; %bb.3:
	ldr	w8, [x19]
	sub	w9, w8, #128
	cmp	w9, #2
	b.lo	LBB0_6
; %bb.4:
	cmp	w8, #130
	b.eq	LBB0_7
; %bb.5:
	cmp	w8, #131
	b.ne	LBB0_10
LBB0_6:
	mov	x0, x19
	mov	w1, #0
	bl	_jump_handshake
	b	LBB0_1
LBB0_7:
	ldr	w8, [x19, #4]
	cmp	w8, #1
	b.eq	LBB0_1
; %bb.8:
	cmp	w8, #2
	b.ne	LBB0_10
; %bb.9:
	ldr	x1, [sp, #8]
	mov	x0, x19
	bl	_recvpld_ack
	b	LBB0_1
LBB0_10:
Lloh0:
	adrp	x8, _BR_ERR_UNEXPECTED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BR_ERR_UNEXPECTED@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_br_ssl_engine_fail
	b	LBB0_1
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_BR_ERR_UNEXPECTED,4,2          ; @BR_ERR_UNEXPECTED
.subsections_via_symbols
