	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ssl3_read_internal
_ssl3_read_internal:                    ## @ssl3_read_internal
	.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	%r8, %r13
	movl	%ecx, %r14d
	movq	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, %rbx
	xorl	%eax, %eax
	callq	_clear_sys_error
	cmpq	$0, 8(%rbx)
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_ssl3_renegotiate_check
LBB0_2:
	movl	$1, (%rbx)
	movq	16(%rbx), %rax
	movq	_SSL3_RT_APPLICATION_DATA@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	%r13, (%rsp)
	movq	%rbx, %rdi
	xorl	%edx, %edx
	movq	%r12, %rcx
	movq	%r15, %r8
	movl	%r14d, %r9d
	callq	*(%rax)
	cmpl	$-1, %eax
	jne	LBB0_5
## %bb.3:
	cmpl	$2, (%rbx)
	jne	LBB0_5
## %bb.4:
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_ossl_statem_set_in_handshake
	movq	16(%rbx), %rax
	movq	_SSL3_RT_APPLICATION_DATA@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	%r13, (%rsp)
	movq	%rbx, %rdi
	xorl	%edx, %edx
	movq	%r12, %rcx
	movq	%r15, %r8
	movl	%r14d, %r9d
	callq	*(%rax)
	movl	%eax, %r14d
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_ossl_statem_set_in_handshake
	movl	%r14d, %eax
	jmp	LBB0_6
LBB0_5:
	movl	$0, (%rbx)
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SSL3_RT_APPLICATION_DATA,4,2   ## @SSL3_RT_APPLICATION_DATA
	.no_dead_strip	_ssl3_read_internal
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ssl3_read_internal
_ssl3_read_internal:                    ; @ssl3_read_internal
	.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
	mov	x20, x4
	mov	x21, x3
	mov	x22, x2
	mov	x23, x1
	mov	x19, x0
	bl	_clear_sys_error
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x0, x19
	mov	w1, #0
	bl	_ssl3_renegotiate_check
LBB0_2:
	mov	w8, #1
	str	w8, [x19]
	ldr	x8, [x19, #16]
	ldr	x8, [x8]
Lloh0:
	adrp	x24, _SSL3_RT_APPLICATION_DATA@GOTPAGE
Lloh1:
	ldr	x24, [x24, _SSL3_RT_APPLICATION_DATA@GOTPAGEOFF]
	ldr	w1, [x24]
	mov	x0, x19
	mov	x2, #0
	mov	x3, x23
	mov	x4, x22
	mov	x5, x21
	mov	x6, x20
	blr	x8
	cmn	w0, #1
	b.ne	LBB0_5
; %bb.3:
	ldr	w8, [x19]
	cmp	w8, #2
	b.ne	LBB0_5
; %bb.4:
	mov	x0, x19
	mov	w1, #1
	bl	_ossl_statem_set_in_handshake
	ldr	x8, [x19, #16]
	ldr	x8, [x8]
	ldr	w1, [x24]
	mov	x0, x19
	mov	x2, #0
	mov	x3, x23
	mov	x4, x22
	mov	x5, x21
	mov	x6, x20
	blr	x8
	mov	x20, x0
	mov	x0, x19
	mov	w1, #0
	bl	_ossl_statem_set_in_handshake
	mov	x0, x20
	b	LBB0_6
LBB0_5:
	str	wzr, [x19]
LBB0_6:
	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 AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_SSL3_RT_APPLICATION_DATA,4,2   ; @SSL3_RT_APPLICATION_DATA
	.no_dead_strip	_ssl3_read_internal
.subsections_via_symbols
