	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ssl3_record_app_data_waiting
_ssl3_record_app_data_waiting:          ## @ssl3_record_app_data_waiting
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	callq	_RECORD_LAYER_get_rbuf
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_SSL3_BUFFER_get_buf
	xorl	%r14d, %r14d
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	%rax, %r15
	movq	%rbx, %rdi
	callq	_SSL3_BUFFER_get_left
	movq	_SSL3_RT_HEADER_LENGTH@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jb	LBB0_4
## %bb.2:
	movq	%rbx, %rdi
	callq	_SSL3_BUFFER_get_offset
	cltq
	movb	(%r15,%rax), %cl
	movq	_SSL3_RT_APPLICATION_DATA@GOTPCREL(%rip), %rdx
	cmpb	(%rdx), %cl
	jne	LBB0_4
## %bb.3:
	addq	%rax, %r15
	addq	$3, %r15
	movq	%r15, %rdi
	callq	_n2s
	movl	$1, %r14d
LBB0_4:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SSL3_RT_HEADER_LENGTH,8,3      ## @SSL3_RT_HEADER_LENGTH
	.comm	_SSL3_RT_APPLICATION_DATA,1,0   ## @SSL3_RT_APPLICATION_DATA
	.no_dead_strip	_ssl3_record_app_data_waiting
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ssl3_record_app_data_waiting
_ssl3_record_app_data_waiting:          ; @ssl3_record_app_data_waiting
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	bl	_RECORD_LAYER_get_rbuf
	mov	x19, x0
	bl	_SSL3_BUFFER_get_buf
	cbz	x0, LBB0_5
; %bb.1:
	mov	x20, x0
	mov	x0, x19
	bl	_SSL3_BUFFER_get_left
Lloh0:
	adrp	x8, _SSL3_RT_HEADER_LENGTH@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SSL3_RT_HEADER_LENGTH@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.lo	LBB0_4
; %bb.2:
	mov	x0, x19
	bl	_SSL3_BUFFER_get_offset
	add	x8, x20, w0, sxtw
	ldrb	w9, [x8]
Lloh3:
	adrp	x10, _SSL3_RT_APPLICATION_DATA@GOTPAGE
Lloh4:
	ldr	x10, [x10, _SSL3_RT_APPLICATION_DATA@GOTPAGEOFF]
	ldrb	w10, [x10]
	cmp	w9, w10
	b.ne	LBB0_4
; %bb.3:
	add	x0, x8, #3
	bl	_n2s
	mov	w0, #1
	b	LBB0_5
LBB0_4:
	mov	w0, #0
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_SSL3_RT_HEADER_LENGTH,8,3      ; @SSL3_RT_HEADER_LENGTH
	.comm	_SSL3_RT_APPLICATION_DATA,1,0   ; @SSL3_RT_APPLICATION_DATA
	.no_dead_strip	_ssl3_record_app_data_waiting
.subsections_via_symbols
