	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BIO_puts                       ## -- Begin function BIO_puts
	.p2align	4, 0x90
_BIO_puts:                              ## @BIO_puts
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	$0, -24(%rbp)
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.1:
	movq	%rdi, %rbx
	movq	24(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	cmpq	$0, (%rax)
	je	LBB0_3
## %bb.5:
	movq	%rsi, %r14
	cmpq	$0, 8(%rbx)
	jne	LBB0_7
## %bb.6:
	cmpq	$0, (%rbx)
	je	LBB0_8
LBB0_7:
	movq	_BIO_CB_PUTS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movq	%r14, %rdx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	pushq	$0
	pushq	$1
	callq	_bio_call_callback
	addq	$16, %rsp
	testl	%eax, %eax
	jle	LBB0_18
LBB0_8:
	cmpl	$0, 32(%rbx)
	je	LBB0_9
## %bb.10:
	movq	24(%rbx), %rax
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	*(%rax)
                                        ## kill: def $eax killed $eax def $rax
	testl	%eax, %eax
	jle	LBB0_12
## %bb.11:
	addl	%eax, 16(%rbx)
	movl	%eax, %eax
	movq	%rax, -24(%rbp)
	movl	$1, %eax
LBB0_12:
	cmpq	$0, 8(%rbx)
	jne	LBB0_14
## %bb.13:
	cmpq	$0, (%rbx)
	je	LBB0_15
LBB0_14:
	movq	_BIO_CB_PUTS@GOTPCREL(%rip), %rcx
	movq	_BIO_CB_RETURN@GOTPCREL(%rip), %rdx
	movl	(%rdx), %esi
	orl	(%rcx), %esi
	leaq	-24(%rbp), %r10
	movq	%rbx, %rdi
	movq	%r14, %rdx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	pushq	%r10
	pushq	%rax
	callq	_bio_call_callback
	addq	$16, %rsp
LBB0_15:
	testl	%eax, %eax
	jle	LBB0_18
## %bb.16:
	movq	-24(%rbp), %rax
	movq	_INT_MAX@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jbe	LBB0_18
## %bb.17:
	movq	_BIO_F_BIO_PUTS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_BIO_R_LENGTH_TOO_LONG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_BIOerr
	movl	$-1, %eax
	jmp	LBB0_18
LBB0_3:
	movq	_BIO_F_BIO_PUTS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_BIO_R_UNSUPPORTED_METHOD@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %esi
	callq	_BIOerr
	movl	$-2, %eax
LBB0_18:
                                        ## kill: def $eax killed $eax killed $rax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_9:
	movq	_BIO_F_BIO_PUTS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_BIO_R_UNINITIALIZED@GOTPCREL(%rip), %rax
	jmp	LBB0_4
	.cfi_endproc
                                        ## -- End function
	.comm	_BIO_F_BIO_PUTS,4,2             ## @BIO_F_BIO_PUTS
	.comm	_BIO_R_UNSUPPORTED_METHOD,4,2   ## @BIO_R_UNSUPPORTED_METHOD
	.comm	_BIO_CB_PUTS,4,2                ## @BIO_CB_PUTS
	.comm	_BIO_R_UNINITIALIZED,4,2        ## @BIO_R_UNINITIALIZED
	.comm	_BIO_CB_RETURN,4,2              ## @BIO_CB_RETURN
	.comm	_INT_MAX,8,3                    ## @INT_MAX
	.comm	_BIO_R_LENGTH_TOO_LONG,4,2      ## @BIO_R_LENGTH_TOO_LONG
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BIO_puts                       ; -- Begin function BIO_puts
	.p2align	2
_BIO_puts:                              ; @BIO_puts
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	str	xzr, [sp, #8]
	cbz	x0, LBB0_15
; %bb.1:
	mov	x20, x0
	ldr	x8, [x0, #24]
	cbz	x8, LBB0_15
; %bb.2:
	ldr	x8, [x8]
	cbz	x8, LBB0_15
; %bb.3:
	mov	x19, x1
	ldr	x8, [x20, #8]
Lloh0:
	adrp	x21, _BIO_CB_PUTS@GOTPAGE
Lloh1:
	ldr	x21, [x21, _BIO_CB_PUTS@GOTPAGEOFF]
	cbnz	x8, LBB0_5
; %bb.4:
	ldr	x8, [x20]
	cbz	x8, LBB0_6
LBB0_5:
	ldr	w1, [x21]
	mov	x0, x20
	mov	x2, x19
	mov	w3, #0
	mov	w4, #0
	mov	x5, #0
	mov	w6, #1
	mov	x7, #0
	bl	_bio_call_callback
	mov	x6, x0
	cmp	w6, #1
	b.lt	LBB0_17
LBB0_6:
	ldr	w8, [x20, #32]
	cbz	w8, LBB0_18
; %bb.7:
	ldr	x8, [x20, #24]
	ldr	x8, [x8]
	mov	x0, x20
	mov	x1, x19
	blr	x8
	mov	x6, x0
	cmp	w0, #1
	b.lt	LBB0_9
; %bb.8:
	mov	w8, w6
	ldr	w9, [x20, #16]
	add	w9, w9, w6
	str	w9, [x20, #16]
	str	x8, [sp, #8]
	mov	w6, #1
LBB0_9:
	ldr	x8, [x20, #8]
	cbnz	x8, LBB0_11
; %bb.10:
	ldr	x8, [x20]
	cbz	x8, LBB0_12
LBB0_11:
	ldr	w8, [x21]
Lloh2:
	adrp	x9, _BIO_CB_RETURN@GOTPAGE
Lloh3:
	ldr	x9, [x9, _BIO_CB_RETURN@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	orr	w1, w9, w8
	add	x7, sp, #8
	mov	x0, x20
	mov	x2, x19
	mov	w3, #0
	mov	w4, #0
	mov	x5, #0
                                        ; kill: def $w6 killed $w6 killed $x6
	bl	_bio_call_callback
	mov	x6, x0
LBB0_12:
	cmp	w6, #1
	b.lt	LBB0_17
; %bb.13:
	ldr	x6, [sp, #8]
Lloh5:
	adrp	x8, _INT_MAX@GOTPAGE
Lloh6:
	ldr	x8, [x8, _INT_MAX@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	cmp	x6, x8
	b.ls	LBB0_19
; %bb.14:
Lloh8:
	adrp	x8, _BIO_F_BIO_PUTS@GOTPAGE
Lloh9:
	ldr	x8, [x8, _BIO_F_BIO_PUTS@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
Lloh11:
	adrp	x8, _BIO_R_LENGTH_TOO_LONG@GOTPAGE
Lloh12:
	ldr	x8, [x8, _BIO_R_LENGTH_TOO_LONG@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	bl	_BIOerr
	mov	w6, #-1
	b	LBB0_17
LBB0_15:
Lloh14:
	adrp	x8, _BIO_F_BIO_PUTS@GOTPAGE
Lloh15:
	ldr	x8, [x8, _BIO_F_BIO_PUTS@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
Lloh17:
	adrp	x8, _BIO_R_UNSUPPORTED_METHOD@GOTPAGE
Lloh18:
	ldr	x8, [x8, _BIO_R_UNSUPPORTED_METHOD@GOTPAGEOFF]
LBB0_16:
	ldr	w1, [x8]
	bl	_BIOerr
	mov	w6, #-2
LBB0_17:
	mov	x0, x6
	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
	add	sp, sp, #64
	ret
LBB0_18:
Lloh19:
	adrp	x8, _BIO_F_BIO_PUTS@GOTPAGE
Lloh20:
	ldr	x8, [x8, _BIO_F_BIO_PUTS@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
Lloh22:
	adrp	x8, _BIO_R_UNINITIALIZED@GOTPAGE
Lloh23:
	ldr	x8, [x8, _BIO_R_UNINITIALIZED@GOTPAGEOFF]
	b	LBB0_16
LBB0_19:
                                        ; kill: def $w6 killed $w6 killed $x6 def $x6
	b	LBB0_17
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_BIO_F_BIO_PUTS,4,2             ; @BIO_F_BIO_PUTS
	.comm	_BIO_R_UNSUPPORTED_METHOD,4,2   ; @BIO_R_UNSUPPORTED_METHOD
	.comm	_BIO_CB_PUTS,4,2                ; @BIO_CB_PUTS
	.comm	_BIO_R_UNINITIALIZED,4,2        ; @BIO_R_UNINITIALIZED
	.comm	_BIO_CB_RETURN,4,2              ; @BIO_CB_RETURN
	.comm	_INT_MAX,8,3                    ; @INT_MAX
	.comm	_BIO_R_LENGTH_TOO_LONG,4,2      ; @BIO_R_LENGTH_TOO_LONG
.subsections_via_symbols
