	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function doapr_outch
_doapr_outch:                           ## @doapr_outch
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	movq	%rcx, %r14
	movq	%rdx, %r12
	movq	%rsi, %rbx
	movq	%rdi, %r13
	xorl	%edi, %edi
	movq	(%r13), %rax
	orq	%rsi, %rax
	setne	%dil
	callq	_ossl_assert
	xorl	%r15d, %r15d
	testl	%eax, %eax
	je	LBB0_18
## %bb.1:
	movq	(%r12), %rax
	xorl	%edi, %edi
	cmpq	(%r14), %rax
	setbe	%dil
	callq	_ossl_assert
	testl	%eax, %eax
	je	LBB0_18
## %bb.2:
	testq	%rbx, %rbx
	je	LBB0_14
## %bb.3:
	movq	(%r12), %rax
	cmpq	(%r14), %rax
	jne	LBB0_14
## %bb.4:
	movq	_INT_MAX@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	_BUFFER_INC@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rsi
	subq	%rsi, %rcx
	cmpq	%rcx, %rax
	ja	LBB0_18
## %bb.5:
	addq	%rax, %rsi
	movq	%rsi, (%r14)
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.12:
	callq	_OPENSSL_realloc
	testq	%rax, %rax
	je	LBB0_18
## %bb.13:
	movq	%rax, (%rbx)
	jmp	LBB0_14
LBB0_6:
	movq	%rsi, %rdi
	callq	_OPENSSL_malloc
	movq	%rax, (%rbx)
	testq	%rax, %rax
	je	LBB0_7
## %bb.8:
	cmpq	$0, (%r12)
	je	LBB0_11
## %bb.9:
	xorl	%edi, %edi
	cmpq	$0, (%r13)
	setne	%dil
	callq	_ossl_assert
	testl	%eax, %eax
	je	LBB0_18
## %bb.10:
	movq	(%rbx), %rdi
	movq	(%r13), %rsi
	movq	(%r12), %rdx
	callq	_memcpy
LBB0_11:
	movq	$0, (%r13)
LBB0_14:
	movq	(%r12), %rax
	movl	$1, %r15d
	cmpq	(%r14), %rax
	jae	LBB0_18
## %bb.15:
	movq	(%r13), %rcx
	testq	%rcx, %rcx
	jne	LBB0_17
## %bb.16:
	movq	(%rbx), %rcx
LBB0_17:
	leaq	1(%rax), %rdx
	movq	%rdx, (%r12)
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movb	%dl, (%rcx,%rax)
LBB0_18:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	_BIO_F_DOAPR_OUTCH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ERR_R_MALLOC_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_BIOerr
	jmp	LBB0_18
	.cfi_endproc
                                        ## -- End function
	.comm	_INT_MAX,8,3                    ## @INT_MAX
	.comm	_BUFFER_INC,8,3                 ## @BUFFER_INC
	.comm	_BIO_F_DOAPR_OUTCH,4,2          ## @BIO_F_DOAPR_OUTCH
	.comm	_ERR_R_MALLOC_FAILURE,4,2       ## @ERR_R_MALLOC_FAILURE
	.no_dead_strip	_doapr_outch
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function doapr_outch
_doapr_outch:                           ; @doapr_outch
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x4
	mov	x23, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	ldr	x8, [x0]
	orr	x8, x1, x8
	cmp	x8, #0
	cset	w0, ne
	bl	_ossl_assert
	cbz	w0, LBB0_19
; %bb.1:
	ldr	x8, [x20]
	ldr	x9, [x23]
	cmp	x8, x9
	cset	w0, ls
	bl	_ossl_assert
	cbz	w0, LBB0_19
; %bb.2:
	cbz	x21, LBB0_14
; %bb.3:
	ldr	x8, [x20]
	ldr	x9, [x23]
	cmp	x8, x9
	b.ne	LBB0_14
; %bb.4:
Lloh0:
	adrp	x9, _INT_MAX@GOTPAGE
Lloh1:
	ldr	x9, [x9, _INT_MAX@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x9]
Lloh3:
	adrp	x9, _BUFFER_INC@GOTPAGE
Lloh4:
	ldr	x9, [x9, _BUFFER_INC@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	sub	x10, x10, x9
	cmp	x8, x10
	b.ls	LBB0_6
; %bb.5:
	mov	w0, #0
	b	LBB0_19
LBB0_6:
	add	x1, x9, x8
	str	x1, [x23]
	ldr	x0, [x21]
	cbz	x0, LBB0_9
; %bb.7:
	bl	_OPENSSL_realloc
	cbz	x0, LBB0_19
; %bb.8:
	str	x0, [x21]
	b	LBB0_14
LBB0_9:
	mov	x0, x1
	bl	_OPENSSL_malloc
	str	x0, [x21]
	cbz	x0, LBB0_20
; %bb.10:
	ldr	x8, [x20]
	cbz	x8, LBB0_13
; %bb.11:
	ldr	x8, [x22]
	cmp	x8, #0
	cset	w0, ne
	bl	_ossl_assert
	cbz	w0, LBB0_19
; %bb.12:
	ldr	x0, [x21]
	ldr	x1, [x22]
	ldr	x2, [x20]
	bl	_memcpy
LBB0_13:
	str	xzr, [x22]
LBB0_14:
	ldr	x8, [x20]
	ldr	x9, [x23]
	cmp	x8, x9
	b.hs	LBB0_18
; %bb.15:
	ldr	x9, [x22]
	cbnz	x9, LBB0_17
; %bb.16:
	ldr	x9, [x21]
LBB0_17:
	add	x10, x8, #1
	str	x10, [x20]
	strb	w19, [x9, x8]
LBB0_18:
	mov	w0, #1
LBB0_19:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_20:
Lloh6:
	adrp	x8, _BIO_F_DOAPR_OUTCH@GOTPAGE
Lloh7:
	ldr	x8, [x8, _BIO_F_DOAPR_OUTCH@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x8, _ERR_R_MALLOC_FAILURE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ERR_R_MALLOC_FAILURE@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	bl	_BIOerr
	mov	w0, #0
	b	LBB0_19
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_INT_MAX,8,3                    ; @INT_MAX
	.comm	_BUFFER_INC,8,3                 ; @BUFFER_INC
	.comm	_BIO_F_DOAPR_OUTCH,4,2          ; @BIO_F_DOAPR_OUTCH
	.comm	_ERR_R_MALLOC_FAILURE,4,2       ; @ERR_R_MALLOC_FAILURE
	.no_dead_strip	_doapr_outch
.subsections_via_symbols
