	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ssl_peek_internal
_ssl_peek_internal:                     ## @ssl_peek_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	%r12
	pushq	%rbx
	subq	$48, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpq	$0, 24(%rdi)
	je	LBB0_1
## %bb.2:
	movq	%rcx, %r14
	movq	%rdi, %rbx
	movq	_SSL_RECEIVED_SHUTDOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%eax, %eax
	testl	%ecx, (%rdi)
	jne	LBB0_6
## %bb.3:
	movq	%rdx, %r15
	movq	%rsi, %r12
	movq	_SSL_MODE_ASYNC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 4(%rbx)
	je	LBB0_7
## %bb.4:
	xorl	%eax, %eax
	callq	_ASYNC_get_current_job
	testq	%rax, %rax
	je	LBB0_5
LBB0_7:
	movq	16(%rbx), %rax
	movq	(%rax), %rax
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movq	%r15, %rdx
	movq	%r14, %rcx
	addq	$48, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
LBB0_1:
	movq	_SSL_F_SSL_PEEK_INTERNAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SSL_R_UNINITIALIZED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_SSLerr
	movl	$-1, %eax
LBB0_6:
	addq	$48, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	%rbx, -40(%rbp)
	movq	%r12, -48(%rbp)
	movq	%r15, -72(%rbp)
	movq	_READFUNC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -56(%rbp)
	movq	16(%rbx), %rax
	movq	(%rax), %rax
	movq	%rax, -64(%rbp)
	movq	_ssl_io_intern@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-72(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_ssl_start_async_job
	movq	8(%rbx), %rcx
	movq	%rcx, (%r14)
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_SSL_F_SSL_PEEK_INTERNAL,4,2    ## @SSL_F_SSL_PEEK_INTERNAL
	.comm	_SSL_R_UNINITIALIZED,4,2        ## @SSL_R_UNINITIALIZED
	.comm	_SSL_RECEIVED_SHUTDOWN,4,2      ## @SSL_RECEIVED_SHUTDOWN
	.comm	_SSL_MODE_ASYNC,4,2             ## @SSL_MODE_ASYNC
	.comm	_READFUNC,4,2                   ## @READFUNC
	.comm	_ssl_io_intern,4,2              ## @ssl_io_intern
	.no_dead_strip	_ssl_peek_internal
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ssl_peek_internal
_ssl_peek_internal:                     ; @ssl_peek_internal
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	ldr	x8, [x0, #24]
	cbz	x8, LBB0_3
; %bb.1:
	mov	x20, x0
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _SSL_RECEIVED_SHUTDOWN@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SSL_RECEIVED_SHUTDOWN@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.2:
	mov	w0, #0
	b	LBB0_4
LBB0_3:
Lloh3:
	adrp	x8, _SSL_F_SSL_PEEK_INTERNAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SSL_F_SSL_PEEK_INTERNAL@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x8, _SSL_R_UNINITIALIZED@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SSL_R_UNINITIALIZED@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_SSLerr
	mov	w0, #-1
LBB0_4:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_5:
	mov	x19, x3
	mov	x21, x2
	mov	x22, x1
	ldr	w8, [x20, #4]
Lloh9:
	adrp	x9, _SSL_MODE_ASYNC@GOTPAGE
Lloh10:
	ldr	x9, [x9, _SSL_MODE_ASYNC@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_7
; %bb.6:
	bl	_ASYNC_get_current_job
	cbz	x0, LBB0_8
LBB0_7:
	ldr	x8, [x20, #16]
	ldr	x4, [x8]
	mov	x0, x20
	mov	x1, x22
	mov	x2, x21
	mov	x3, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #96
	br	x4
LBB0_8:
	stp	x22, x20, [sp, #32]
	str	x21, [sp, #8]
Lloh12:
	adrp	x8, _READFUNC@GOTPAGE
Lloh13:
	ldr	x8, [x8, _READFUNC@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	str	w8, [sp, #24]
	ldr	x8, [x20, #16]
	ldr	x8, [x8]
	str	x8, [sp, #16]
Lloh15:
	adrp	x8, _ssl_io_intern@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ssl_io_intern@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
	add	x1, sp, #8
	mov	x0, x20
	bl	_ssl_start_async_job
	ldr	x8, [x20, #8]
	str	x8, [x19]
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_SSL_F_SSL_PEEK_INTERNAL,4,2    ; @SSL_F_SSL_PEEK_INTERNAL
	.comm	_SSL_R_UNINITIALIZED,4,2        ; @SSL_R_UNINITIALIZED
	.comm	_SSL_RECEIVED_SHUTDOWN,4,2      ; @SSL_RECEIVED_SHUTDOWN
	.comm	_SSL_MODE_ASYNC,4,2             ; @SSL_MODE_ASYNC
	.comm	_READFUNC,4,2                   ; @READFUNC
	.comm	_ssl_io_intern,4,2              ; @ssl_io_intern
	.no_dead_strip	_ssl_peek_internal
.subsections_via_symbols
