	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BIO_write                      ## -- Begin function BIO_write
	.p2align	4, 0x90
_BIO_write:                             ## @BIO_write
	.cfi_startproc
## %bb.0:
	testl	%edx, %edx
	js	LBB0_1
## %bb.2:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	movl	%edx, %edx
	leaq	-8(%rbp), %rcx
	callq	_bio_write_intern
	testl	%eax, %eax
	jle	LBB0_4
## %bb.3:
	movl	-8(%rbp), %eax
LBB0_4:
	addq	$16, %rsp
	popq	%rbp
	retq
LBB0_1:
	xorl	%eax, %eax
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BIO_write                      ; -- Begin function BIO_write
	.p2align	2
_BIO_write:                             ; @BIO_write
	.cfi_startproc
; %bb.0:
	tbnz	w2, #31, LBB0_2
; %bb.1:
	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
	mov	w2, w2
	add	x3, sp, #8
	bl	_bio_write_intern
	ldr	w8, [sp, #8]
	cmp	w0, #0
	csel	w0, w8, w0, gt
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
LBB0_2:
	.cfi_def_cfa wsp, 0
	.cfi_same_value w30
	.cfi_same_value w29
	mov	w0, #0
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
