	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ssl_init_wbio_buffer           ## -- Begin function ssl_init_wbio_buffer
	.p2align	4, 0x90
_ssl_init_wbio_buffer:                  ## @ssl_init_wbio_buffer
	.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
	movl	$1, %r14d
	cmpq	$0, 8(%rdi)
	jne	LBB0_5
## %bb.1:
	movq	%rdi, %rbx
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_BIO_f_buffer
	movl	%eax, %edi
	callq	_BIO_new
	movq	%rax, %r15
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	%r15, %rdi
	movl	$1, %esi
	callq	_BIO_set_read_buffer_size
	testl	%eax, %eax
	je	LBB0_3
## %bb.4:
	movq	%r15, 8(%rbx)
	movl	(%rbx), %esi
	movq	%r15, %rdi
	callq	_BIO_push
	movl	%eax, (%rbx)
	movl	$1, %r14d
	jmp	LBB0_5
LBB0_3:
	movq	%r15, %rdi
	callq	_BIO_free
	movq	_SSL_F_SSL_INIT_WBIO_BUFFER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ERR_R_BUF_LIB@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_SSLerr
LBB0_5:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SSL_F_SSL_INIT_WBIO_BUFFER,4,2 ## @SSL_F_SSL_INIT_WBIO_BUFFER
	.comm	_ERR_R_BUF_LIB,4,2              ## @ERR_R_BUF_LIB
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ssl_init_wbio_buffer           ; -- Begin function ssl_init_wbio_buffer
	.p2align	2
_ssl_init_wbio_buffer:                  ; @ssl_init_wbio_buffer
	.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
	ldr	x8, [x0, #8]
	cbnz	x8, LBB0_4
; %bb.1:
	mov	x19, x0
	bl	_BIO_f_buffer
	bl	_BIO_new
	mov	x20, x0
	cbz	x0, LBB0_5
; %bb.2:
	mov	x0, x20
	mov	w1, #1
	bl	_BIO_set_read_buffer_size
	cbz	w0, LBB0_5
; %bb.3:
	str	x20, [x19, #8]
	ldr	w1, [x19]
	mov	x0, x20
	bl	_BIO_push
	str	w0, [x19]
LBB0_4:
	mov	w0, #1
	b	LBB0_6
LBB0_5:
	mov	x0, x20
	bl	_BIO_free
Lloh0:
	adrp	x8, _SSL_F_SSL_INIT_WBIO_BUFFER@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SSL_F_SSL_INIT_WBIO_BUFFER@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _ERR_R_BUF_LIB@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ERR_R_BUF_LIB@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_SSLerr
	mov	w0, #0
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SSL_F_SSL_INIT_WBIO_BUFFER,4,2 ; @SSL_F_SSL_INIT_WBIO_BUFFER
	.comm	_ERR_R_BUF_LIB,4,2              ; @ERR_R_BUF_LIB
.subsections_via_symbols
