	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bio_read_intern
_bio_read_intern:                       ## @bio_read_intern
	.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	$-2, %r13d
	movq	_BIO_R_UNSUPPORTED_METHOD@GOTPCREL(%rip), %rax
	testq	%rdi, %rdi
	je	LBB0_16
## %bb.1:
	movq	%rcx, %r14
	movq	%rdi, %rbx
	movq	24(%rdi), %rcx
	testq	%rcx, %rcx
	je	LBB0_16
## %bb.2:
	cmpq	$0, (%rcx)
	je	LBB0_16
## %bb.3:
	movq	%rdx, %r15
	movq	%rsi, %r12
	cmpq	$0, 8(%rbx)
	jne	LBB0_5
## %bb.4:
	cmpq	$0, (%rbx)
	je	LBB0_6
LBB0_5:
	movq	_BIO_CB_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movq	%r12, %rdx
	movq	%r15, %rcx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	pushq	$0
	pushq	$1
	callq	_bio_call_callback
	addq	$16, %rsp
	testl	%eax, %eax
	jle	LBB0_17
LBB0_6:
	cmpl	$0, 32(%rbx)
	je	LBB0_7
## %bb.8:
	movq	24(%rbx), %rax
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movq	%r15, %rdx
	movq	%r14, %rcx
	callq	*(%rax)
                                        ## kill: def $eax killed $eax def $rax
	testl	%eax, %eax
	jle	LBB0_10
## %bb.9:
	movl	(%r14), %ecx
	addl	%ecx, 16(%rbx)
LBB0_10:
	cmpq	$0, 8(%rbx)
	jne	LBB0_12
## %bb.11:
	cmpq	$0, (%rbx)
	je	LBB0_13
LBB0_12:
	movq	_BIO_CB_READ@GOTPCREL(%rip), %rcx
	movq	_BIO_CB_RETURN@GOTPCREL(%rip), %rdx
	movl	(%rdx), %esi
	orl	(%rcx), %esi
	movq	%rbx, %rdi
	movq	%r12, %rdx
	movq	%r15, %rcx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	pushq	%r14
	pushq	%rax
	callq	_bio_call_callback
	addq	$16, %rsp
LBB0_13:
	testl	%eax, %eax
	jle	LBB0_17
## %bb.14:
	cmpq	%r15, (%r14)
	jbe	LBB0_17
## %bb.15:
	movl	$-1, %r13d
	movq	_ERR_R_INTERNAL_ERROR@GOTPCREL(%rip), %rax
	jmp	LBB0_16
LBB0_7:
	movq	_BIO_R_UNINITIALIZED@GOTPCREL(%rip), %rax
LBB0_16:
	movq	_BIO_F_BIO_READ_INTERN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movl	(%rax), %esi
	callq	_BIOerr
	movl	%r13d, %eax
LBB0_17:
                                        ## kill: def $eax killed $eax killed $rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BIO_F_BIO_READ_INTERN,4,2      ## @BIO_F_BIO_READ_INTERN
	.comm	_BIO_R_UNSUPPORTED_METHOD,4,2   ## @BIO_R_UNSUPPORTED_METHOD
	.comm	_BIO_CB_READ,4,2                ## @BIO_CB_READ
	.comm	_BIO_R_UNINITIALIZED,4,2        ## @BIO_R_UNINITIALIZED
	.comm	_BIO_CB_RETURN,4,2              ## @BIO_CB_RETURN
	.comm	_ERR_R_INTERNAL_ERROR,4,2       ## @ERR_R_INTERNAL_ERROR
	.no_dead_strip	_bio_read_intern
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bio_read_intern
_bio_read_intern:                       ; @bio_read_intern
	.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
	cbz	x0, LBB0_15
; %bb.1:
	mov	x23, x0
	ldr	x8, [x0, #24]
	cbz	x8, LBB0_15
; %bb.2:
	ldr	x8, [x8]
	cbz	x8, LBB0_15
; %bb.3:
	mov	x21, x3
	mov	x20, x2
	mov	x22, x1
	ldr	x8, [x23, #8]
Lloh0:
	adrp	x24, _BIO_CB_READ@GOTPAGE
Lloh1:
	ldr	x24, [x24, _BIO_CB_READ@GOTPAGEOFF]
	cbnz	x8, LBB0_5
; %bb.4:
	ldr	x8, [x23]
	cbz	x8, LBB0_6
LBB0_5:
	ldr	w1, [x24]
	mov	x0, x23
	mov	x2, x22
	mov	x3, x20
	mov	w4, #0
	mov	x5, #0
	mov	w6, #1
	mov	x7, #0
	bl	_bio_call_callback
	mov	x19, x0
	cmp	w19, #1
	b.lt	LBB0_17
LBB0_6:
	ldr	w8, [x23, #32]
	cbz	w8, LBB0_18
; %bb.7:
	ldr	x8, [x23, #24]
	ldr	x8, [x8]
	mov	x0, x23
	mov	x1, x22
	mov	x2, x20
	mov	x3, x21
	blr	x8
	mov	x19, x0
	cmp	w0, #1
	b.lt	LBB0_9
; %bb.8:
	ldr	w8, [x21]
	ldr	w9, [x23, #16]
	add	w8, w9, w8
	str	w8, [x23, #16]
LBB0_9:
	ldr	x8, [x23, #8]
	cbnz	x8, LBB0_11
; %bb.10:
	ldr	x8, [x23]
	cbz	x8, LBB0_12
LBB0_11:
	ldr	w8, [x24]
Lloh2:
	adrp	x9, _BIO_CB_RETURN@GOTPAGE
Lloh3:
	ldr	x9, [x9, _BIO_CB_RETURN@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	orr	w1, w9, w8
	mov	x0, x23
	mov	x2, x22
	mov	x3, x20
	mov	w4, #0
	mov	x5, #0
	mov	x6, x19
	mov	x7, x21
	bl	_bio_call_callback
	mov	x19, x0
LBB0_12:
	cmp	w19, #1
	b.lt	LBB0_17
; %bb.13:
	ldr	x8, [x21]
	cmp	x8, x20
	b.ls	LBB0_17
; %bb.14:
	mov	w19, #-1
Lloh5:
	adrp	x8, _ERR_R_INTERNAL_ERROR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ERR_R_INTERNAL_ERROR@GOTPAGEOFF]
	b	LBB0_16
LBB0_15:
	mov	w19, #-2
Lloh7:
	adrp	x8, _BIO_R_UNSUPPORTED_METHOD@GOTPAGE
Lloh8:
	ldr	x8, [x8, _BIO_R_UNSUPPORTED_METHOD@GOTPAGEOFF]
LBB0_16:
Lloh9:
	adrp	x9, _BIO_F_BIO_READ_INTERN@GOTPAGE
Lloh10:
	ldr	x9, [x9, _BIO_F_BIO_READ_INTERN@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x9]
	ldr	w1, [x8]
	bl	_BIOerr
LBB0_17:
	mov	x0, x19
	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_18:
	mov	w19, #-2
Lloh12:
	adrp	x8, _BIO_R_UNINITIALIZED@GOTPAGE
Lloh13:
	ldr	x8, [x8, _BIO_R_UNINITIALIZED@GOTPAGEOFF]
	b	LBB0_16
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_BIO_F_BIO_READ_INTERN,4,2      ; @BIO_F_BIO_READ_INTERN
	.comm	_BIO_R_UNSUPPORTED_METHOD,4,2   ; @BIO_R_UNSUPPORTED_METHOD
	.comm	_BIO_CB_READ,4,2                ; @BIO_CB_READ
	.comm	_BIO_R_UNINITIALIZED,4,2        ; @BIO_R_UNINITIALIZED
	.comm	_BIO_CB_RETURN,4,2              ; @BIO_CB_RETURN
	.comm	_ERR_R_INTERNAL_ERROR,4,2       ; @ERR_R_INTERNAL_ERROR
	.no_dead_strip	_bio_read_intern
.subsections_via_symbols
