	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function run_until
_run_until:                             ## @run_until
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, -52(%rbp)                 ## 4-byte Spill
	movq	%rdi, %rbx
	movq	_BR_SSL_CLOSED@GOTPCREL(%rip), %r13
	movq	_BR_SSL_SENDREC@GOTPCREL(%rip), %r14
	movl	$-1, %r15d
	jmp	LBB0_1
LBB0_16:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	16(%rbx), %rdi
	xorl	%r12d, %r12d
	xorl	%esi, %esi
	callq	_br_ssl_engine_flush
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$1, %r12d
	je	LBB0_18
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%rbx), %rdi
	callq	_br_ssl_engine_current_state
	testl	%eax, (%r13)
	jne	LBB0_18
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	testl	%eax, (%r14)
	je	LBB0_8
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	16(%rbx), %rdi
	leaq	-48(%rbp), %rsi
	callq	_br_ssl_engine_sendrec_buf
	movl	28(%rbx), %edi
	movq	-48(%rbp), %rdx
	movq	%rax, %rsi
	callq	*(%rbx)
	testl	%eax, %eax
	js	LBB0_4
## %bb.6:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	$3, %r12d
	je	LBB0_17
## %bb.7:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	16(%rbx), %rdi
	movl	%eax, %esi
	callq	_br_ssl_engine_sendrec_ack
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_1 Depth=1
	testl	%eax, -52(%rbp)                 ## 4-byte Folded Reload
	jne	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	_BR_SSL_RECVAPP@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_18
## %bb.11:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	_BR_SSL_RECVREC@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_16
## %bb.12:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	16(%rbx), %rdi
	leaq	-48(%rbp), %rsi
	callq	_br_ssl_engine_recvrec_buf
	movl	24(%rbx), %edi
	movq	-48(%rbp), %rdx
	movq	%rax, %rsi
	callq	*8(%rbx)
	testl	%eax, %eax
	js	LBB0_13
## %bb.14:                              ##   in Loop: Header=BB0_1 Depth=1
	movl	$3, %r12d
	je	LBB0_17
## %bb.15:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	16(%rbx), %rdi
	movl	%eax, %esi
	callq	_br_ssl_engine_recvrec_ack
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	16(%rbx), %rdi
	movl	$1, %r12d
	cmpl	$0, (%rdi)
	jne	LBB0_17
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	_BR_ERR_IO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_br_ssl_engine_fail
	jmp	LBB0_17
LBB0_13:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	16(%rbx), %rdi
	movq	_BR_ERR_IO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_br_ssl_engine_fail
	movl	$1, %r12d
	jmp	LBB0_17
LBB0_9:
	xorl	%r15d, %r15d
LBB0_18:
	movl	%r15d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BR_SSL_CLOSED,4,2              ## @BR_SSL_CLOSED
	.comm	_BR_SSL_SENDREC,4,2             ## @BR_SSL_SENDREC
	.comm	_BR_ERR_IO,4,2                  ## @BR_ERR_IO
	.comm	_BR_SSL_RECVAPP,4,2             ## @BR_SSL_RECVAPP
	.comm	_BR_SSL_RECVREC,4,2             ## @BR_SSL_RECVREC
	.no_dead_strip	_run_until
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function run_until
_run_until:                             ; @run_until
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x21, _BR_SSL_CLOSED@GOTPAGE
Lloh1:
	ldr	x21, [x21, _BR_SSL_CLOSED@GOTPAGEOFF]
Lloh2:
	adrp	x22, _BR_SSL_SENDREC@GOTPAGE
Lloh3:
	ldr	x22, [x22, _BR_SSL_SENDREC@GOTPAGEOFF]
Lloh4:
	adrp	x23, _BR_SSL_RECVAPP@GOTPAGE
Lloh5:
	ldr	x23, [x23, _BR_SSL_RECVAPP@GOTPAGEOFF]
Lloh6:
	adrp	x24, _BR_SSL_RECVREC@GOTPAGE
Lloh7:
	ldr	x24, [x24, _BR_SSL_RECVREC@GOTPAGEOFF]
Lloh8:
	adrp	x25, _BR_ERR_IO@GOTPAGE
Lloh9:
	ldr	x25, [x25, _BR_ERR_IO@GOTPAGEOFF]
	b	LBB0_3
LBB0_1:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	w8, #3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	cmp	w8, #1
	b.eq	LBB0_19
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x20, #16]
	bl	_br_ssl_engine_current_state
	ldr	w8, [x21]
	tst	w8, w0
	b.ne	LBB0_19
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x22]
	tst	w8, w0
	b.eq	LBB0_8
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [x20, #16]
	add	x1, sp, #8
	bl	_br_ssl_engine_sendrec_buf
	mov	x1, x0
	ldr	x8, [x20]
	ldr	w0, [x20, #28]
	ldr	x2, [sp, #8]
	blr	x8
	tbnz	w0, #31, LBB0_14
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x1, x0
	cbz	w0, LBB0_1
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [x20, #16]
	bl	_br_ssl_engine_sendrec_ack
	b	LBB0_1
LBB0_8:                                 ;   in Loop: Header=BB0_3 Depth=1
	tst	w0, w19
	b.ne	LBB0_21
; %bb.9:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x23]
	tst	w8, w0
	b.ne	LBB0_19
; %bb.10:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x24]
	tst	w8, w0
	b.eq	LBB0_15
; %bb.11:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [x20, #16]
	add	x1, sp, #8
	bl	_br_ssl_engine_recvrec_buf
	mov	x1, x0
	ldr	x8, [x20, #8]
	ldr	w0, [x20, #24]
	ldr	x2, [sp, #8]
	blr	x8
	tbnz	w0, #31, LBB0_16
; %bb.12:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x1, x0
	cbz	w0, LBB0_1
; %bb.13:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [x20, #16]
	bl	_br_ssl_engine_recvrec_ack
	b	LBB0_1
LBB0_14:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [x20, #16]
	ldr	w8, [x0]
	cbnz	w8, LBB0_18
	b	LBB0_17
LBB0_15:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [x20, #16]
	mov	w1, #0
	bl	_br_ssl_engine_flush
	mov	w8, #0
	b	LBB0_2
LBB0_16:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [x20, #16]
LBB0_17:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w1, [x25]
	bl	_br_ssl_engine_fail
LBB0_18:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w8, #1
	b	LBB0_2
LBB0_19:
	mov	w0, #-1
LBB0_20:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_21:
	mov	w0, #0
	b	LBB0_20
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_BR_SSL_CLOSED,4,2              ; @BR_SSL_CLOSED
	.comm	_BR_SSL_SENDREC,4,2             ; @BR_SSL_SENDREC
	.comm	_BR_ERR_IO,4,2                  ; @BR_ERR_IO
	.comm	_BR_SSL_RECVAPP,4,2             ; @BR_SSL_RECVAPP
	.comm	_BR_SSL_RECVREC,4,2             ; @BR_SSL_RECVREC
	.no_dead_strip	_run_until
.subsections_via_symbols
