	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function recvrec_ack
LCPI0_0:
	.quad	5                               ## 0x5
	.quad	5                               ## 0x5
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_recvrec_ack:                           ## @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	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	_BR_IO_INOUT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.1:
	movq	8(%rbx), %rax
	cmpq	16(%rbx), %rax
	jne	LBB0_3
## %bb.2:
	movq	_BR_IO_IN@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rbx)
LBB0_3:
	movq	32(%rbx), %rax
	addq	%rsi, %rax
	movq	%rax, 32(%rbx)
	movq	%rax, 24(%rbx)
	movl	40(%rbx), %ecx
	movl	%ecx, %edx
	subl	%esi, %edx
	movl	%edx, 40(%rbx)
	cmpq	$5, %rax
	jae	LBB0_4
LBB0_26:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_4:
	jne	LBB0_19
## %bb.5:
	movq	8(%rbx), %rdi
	movb	(%rdi), %al
	movb	%al, 44(%rbx)
	incq	%rdi
	callq	_br_dec16be
	movl	%eax, %ecx
	andl	$-256, %ecx
	cmpl	$768, %ecx                      ## imm = 0x300
	jne	LBB0_6
## %bb.8:
	movl	48(%rbx), %ecx
	testl	%ecx, %ecx
	je	LBB0_11
## %bb.9:
	cmpl	%eax, %ecx
	je	LBB0_11
## %bb.10:
	movq	_BR_ERR_BAD_VERSION@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_19:
	cmpq	$0, 64(%rbx)
	je	LBB0_20
## %bb.21:
	cmpl	%esi, %ecx
	jne	LBB0_26
## %bb.22:
	addq	$-5, %rax
	movq	%rax, -24(%rbp)
	leaq	56(%rbx), %rdi
	movq	56(%rbx), %rax
	movzbl	44(%rbx), %esi
	movl	48(%rbx), %edx
	movq	8(%rbx), %rcx
	addq	$5, %rcx
	leaq	-24(%rbp), %r8
	callq	*(%rax)
	testq	%rax, %rax
	je	LBB0_23
## %bb.24:
	subq	8(%rbx), %rax
	movq	%rax, 32(%rbx)
	movq	-24(%rbp), %rcx
	addq	%rcx, %rax
	movq	%rax, 24(%rbx)
	testq	%rcx, %rcx
	jne	LBB0_26
## %bb.25:
	movq	%rbx, %rdi
	callq	_make_ready_in
	jmp	LBB0_26
LBB0_6:
	movq	_BR_ERR_UNSUPPORTED_VERSION@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %esi
	movq	%rbx, %rdi
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_br_ssl_engine_fail             ## TAILCALL
LBB0_20:
	movq	$5, 32(%rbx)
	jmp	LBB0_26
LBB0_11:
	movl	%eax, 48(%rbx)
	movq	8(%rbx), %rdi
	addq	$3, %rdi
	callq	_br_dec16be
	movl	%eax, %r14d
	cmpq	$0, 64(%rbx)
	je	LBB0_16
## %bb.12:
	leaq	56(%rbx), %rdi
	movq	56(%rbx), %rax
	movl	%r14d, %esi
	callq	*8(%rax)
	testl	%eax, %eax
	je	LBB0_13
## %bb.14:
	movl	52(%rbx), %eax
	addl	$-5, %eax
	cmpl	%eax, %r14d
	jbe	LBB0_17
## %bb.15:
	movq	_BR_ERR_TOO_LARGE@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_23:
	movq	_BR_ERR_BAD_MAC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_br_ssl_engine_fail
	jmp	LBB0_26
LBB0_16:
	cmpl	$16385, %r14d                   ## imm = 0x4001
	jb	LBB0_17
LBB0_13:
	movq	_BR_ERR_BAD_LENGTH@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_17:
	testl	%r14d, %r14d
	je	LBB0_27
## %bb.18:
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [5,5]
	movups	%xmm0, 24(%rbx)
	movl	%r14d, 40(%rbx)
	jmp	LBB0_26
LBB0_27:
	movq	%rbx, %rdi
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_make_ready_in                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_BR_IO_INOUT,8,3                ## @BR_IO_INOUT
	.comm	_BR_IO_IN,8,3                   ## @BR_IO_IN
	.comm	_BR_ERR_UNSUPPORTED_VERSION,4,2 ## @BR_ERR_UNSUPPORTED_VERSION
	.comm	_BR_ERR_BAD_VERSION,4,2         ## @BR_ERR_BAD_VERSION
	.comm	_BR_ERR_BAD_LENGTH,4,2          ## @BR_ERR_BAD_LENGTH
	.comm	_BR_ERR_TOO_LARGE,4,2           ## @BR_ERR_TOO_LARGE
	.comm	_BR_ERR_BAD_MAC,4,2             ## @BR_ERR_BAD_MAC
	.no_dead_strip	_recvrec_ack
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function recvrec_ack
_recvrec_ack:                           ; @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
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _BR_IO_INOUT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _BR_IO_INOUT@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.1:
	ldp	x8, x9, [x19, #8]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.2:
Lloh3:
	adrp	x8, _BR_IO_IN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BR_IO_IN@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	str	x8, [x19]
LBB0_3:
	ldr	x8, [x19, #32]
	add	x8, x8, x1
	stp	x8, x8, [x19, #24]
	ldr	w9, [x19, #40]
	sub	w10, w9, w1
	str	w10, [x19, #40]
	subs	x8, x8, #5
	b.hs	LBB0_5
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_5:
	b.ne	LBB0_10
; %bb.6:
	ldr	x0, [x19, #8]
	ldrb	w8, [x0], #1
	strb	w8, [x19, #44]
	bl	_br_dec16be
	and	w8, w0, #0xffffff00
	cmp	w8, #768
	b.ne	LBB0_15
; %bb.7:
	ldr	w8, [x19, #48]
	cbz	w8, LBB0_18
; %bb.8:
	cmp	w8, w0
	b.eq	LBB0_18
; %bb.9:
Lloh6:
	adrp	x8, _BR_ERR_BAD_VERSION@GOTPAGE
Lloh7:
	ldr	x8, [x8, _BR_ERR_BAD_VERSION@GOTPAGEOFF]
	b	LBB0_16
LBB0_10:
	ldr	x10, [x19, #64]
	cbz	x10, LBB0_17
; %bb.11:
	cmp	w9, w1
	b.ne	LBB0_4
; %bb.12:
	mov	x0, x19
	ldr	x9, [x0, #56]!
	str	x8, [sp, #8]
	ldr	x8, [x9]
	ldurb	w1, [x0, #-12]
	ldur	w2, [x0, #-8]
	ldur	x9, [x0, #-48]
	add	x3, x9, #5
	add	x4, sp, #8
	blr	x8
	cbz	x0, LBB0_22
; %bb.13:
	ldr	x8, [x19, #8]
	ldr	x9, [sp, #8]
	sub	x8, x0, x8
	add	x10, x8, x9
	stp	x10, x8, [x19, #24]
	cbnz	x9, LBB0_4
; %bb.14:
	mov	x0, x19
	bl	_make_ready_in
	b	LBB0_4
LBB0_15:
Lloh8:
	adrp	x8, _BR_ERR_UNSUPPORTED_VERSION@GOTPAGE
Lloh9:
	ldr	x8, [x8, _BR_ERR_UNSUPPORTED_VERSION@GOTPAGEOFF]
LBB0_16:
	ldr	w1, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_br_ssl_engine_fail
LBB0_17:
	mov	w8, #5
	str	x8, [x19, #32]
	b	LBB0_4
LBB0_18:
	str	w0, [x19, #48]
	ldr	x8, [x19, #8]
	add	x0, x8, #3
	bl	_br_dec16be
	mov	x20, x0
	ldr	x8, [x19, #64]
	cbz	x8, LBB0_23
; %bb.19:
	mov	x0, x19
	ldr	x8, [x0, #56]!
	ldr	x8, [x8, #8]
	mov	x1, x20
	blr	x8
	cbz	w0, LBB0_24
; %bb.20:
	ldr	w8, [x19, #52]
	sub	w8, w8, #5
	cmp	w20, w8
	b.ls	LBB0_25
; %bb.21:
Lloh10:
	adrp	x8, _BR_ERR_TOO_LARGE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _BR_ERR_TOO_LARGE@GOTPAGEOFF]
	b	LBB0_16
LBB0_22:
Lloh12:
	adrp	x8, _BR_ERR_BAD_MAC@GOTPAGE
Lloh13:
	ldr	x8, [x8, _BR_ERR_BAD_MAC@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_br_ssl_engine_fail
	b	LBB0_4
LBB0_23:
	cmp	w20, #4, lsl #12                ; =16384
	b.ls	LBB0_25
LBB0_24:
Lloh15:
	adrp	x8, _BR_ERR_BAD_LENGTH@GOTPAGE
Lloh16:
	ldr	x8, [x8, _BR_ERR_BAD_LENGTH@GOTPAGEOFF]
	b	LBB0_16
LBB0_25:
	cbz	w20, LBB0_27
; %bb.26:
	mov	w8, #5
	dup.2d	v0, x8
	stur	q0, [x19, #24]
	str	w20, [x19, #40]
	b	LBB0_4
LBB0_27:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_make_ready_in
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_BR_IO_INOUT,8,3                ; @BR_IO_INOUT
	.comm	_BR_IO_IN,8,3                   ; @BR_IO_IN
	.comm	_BR_ERR_UNSUPPORTED_VERSION,4,2 ; @BR_ERR_UNSUPPORTED_VERSION
	.comm	_BR_ERR_BAD_VERSION,4,2         ; @BR_ERR_BAD_VERSION
	.comm	_BR_ERR_BAD_LENGTH,4,2          ; @BR_ERR_BAD_LENGTH
	.comm	_BR_ERR_TOO_LARGE,4,2           ; @BR_ERR_TOO_LARGE
	.comm	_BR_ERR_BAD_MAC,4,2             ; @BR_ERR_BAD_MAC
	.no_dead_strip	_recvrec_ack
.subsections_via_symbols
