	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SSL_read                       ## -- Begin function SSL_read
	.p2align	4, 0x90
_SSL_read:                              ## @SSL_read
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	testl	%edx, %edx
	js	LBB0_1
## %bb.2:
	movl	%edx, %edx
	leaq	-8(%rbp), %rcx
	callq	_ssl_read_internal
	testl	%eax, %eax
	jle	LBB0_4
## %bb.3:
	movl	-8(%rbp), %eax
	jmp	LBB0_4
LBB0_1:
	movq	_SSL_F_SSL_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SSL_R_BAD_LENGTH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_SSLerr
	movl	$-1, %eax
LBB0_4:
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SSL_F_SSL_READ,4,2             ## @SSL_F_SSL_READ
	.comm	_SSL_R_BAD_LENGTH,4,2           ## @SSL_R_BAD_LENGTH
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SSL_read                       ; -- Begin function SSL_read
	.p2align	2
_SSL_read:                              ; @SSL_read
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.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
	tbnz	w2, #31, LBB0_2
; %bb.1:
	mov	w2, w2
	add	x3, sp, #8
	bl	_ssl_read_internal
	ldr	w8, [sp, #8]
	cmp	w0, #0
	csel	w0, w8, w0, gt
	b	LBB0_3
LBB0_2:
Lloh0:
	adrp	x8, _SSL_F_SSL_READ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SSL_F_SSL_READ@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _SSL_R_BAD_LENGTH@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SSL_R_BAD_LENGTH@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_SSLerr
	mov	w0, #-1
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SSL_F_SSL_READ,4,2             ; @SSL_F_SSL_READ
	.comm	_SSL_R_BAD_LENGTH,4,2           ; @SSL_R_BAD_LENGTH
.subsections_via_symbols
