	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ssl3_pending                   ## -- Begin function ssl3_pending
	.p2align	4, 0x90
_ssl3_pending:                          ## @ssl3_pending
	.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	(%rdi), %rax
	movq	_SSL_ST_READ_BODY@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_7
## %bb.2:
	movq	%rdi, %r14
	callq	_RECORD_LAYER_get_numrpipes
	testq	%rax, %rax
	je	LBB0_7
## %bb.3:
	movq	_SSL3_RT_APPLICATION_DATA@GOTPCREL(%rip), %r15
	xorl	%ebx, %ebx
	xorl	%r12d, %r12d
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r14), %rdi
	addq	%rbx, %rdi
	callq	_SSL3_RECORD_get_type
	cmpq	(%r15), %rax
	jne	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	8(%r14), %rdi
	addq	%rbx, %rdi
	callq	_SSL3_RECORD_get_length
	addq	%rax, %r12
	incq	%r13
	movq	%r14, %rdi
	callq	_RECORD_LAYER_get_numrpipes
	addq	$4, %rbx
	cmpq	%rax, %r13
	jb	LBB0_4
	jmp	LBB0_8
LBB0_7:
	xorl	%r12d, %r12d
LBB0_8:
	movq	%r12, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SSL_ST_READ_BODY,8,3           ## @SSL_ST_READ_BODY
	.comm	_SSL3_RT_APPLICATION_DATA,8,3   ## @SSL3_RT_APPLICATION_DATA
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ssl3_pending                   ; -- Begin function ssl3_pending
	.p2align	2
_ssl3_pending:                          ; @ssl3_pending
	.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
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _SSL_ST_READ_BODY@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SSL_ST_READ_BODY@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_5
; %bb.1:
	mov	x19, x0
	bl	_RECORD_LAYER_get_numrpipes
	cbz	x0, LBB0_5
; %bb.2:
	mov	x21, #0
	mov	x20, #0
	mov	x22, #0
Lloh3:
	adrp	x23, _SSL3_RT_APPLICATION_DATA@GOTPAGE
Lloh4:
	ldr	x23, [x23, _SSL3_RT_APPLICATION_DATA@GOTPAGEOFF]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	add	x0, x8, x21
	bl	_SSL3_RECORD_get_type
	ldr	x8, [x23]
	cmp	x0, x8
	b.ne	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x19, #8]
	add	x0, x8, x21
	bl	_SSL3_RECORD_get_length
	add	x20, x0, x20
	add	x22, x22, #1
	mov	x0, x19
	bl	_RECORD_LAYER_get_numrpipes
	add	x21, x21, #4
	cmp	x22, x0
	b.lo	LBB0_3
	b	LBB0_6
LBB0_5:
	mov	x20, #0
LBB0_6:
	mov	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_SSL_ST_READ_BODY,8,3           ; @SSL_ST_READ_BODY
	.comm	_SSL3_RT_APPLICATION_DATA,8,3   ; @SSL3_RT_APPLICATION_DATA
.subsections_via_symbols
