	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_br_ssl_engine_current_state    ## -- Begin function br_ssl_engine_current_state
	.p2align	4, 0x90
_br_ssl_engine_current_state:           ## @br_ssl_engine_current_state
	.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
	movq	%rdi, %r15
	callq	_br_ssl_engine_closed
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_BR_SSL_CLOSED@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_11
LBB0_2:
	leaq	-48(%rbp), %r14
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_br_ssl_engine_sendrec_buf
	movl	$0, %r13d
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	_BR_SSL_SENDREC@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
LBB0_4:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_br_ssl_engine_recvrec_buf
	movl	$0, %ebx
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	_BR_SSL_RECVREC@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_6:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_br_ssl_engine_sendapp_buf
	movl	$0, %r12d
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	_BR_SSL_SENDAPP@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
LBB0_8:
	orl	%r13d, %ebx
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_br_ssl_engine_recvapp_buf
	testq	%rax, %rax
	movl	$0, %eax
	je	LBB0_10
## %bb.9:
	movq	_BR_SSL_RECVAPP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_10:
	orl	%eax, %r12d
	orl	%r12d, %ebx
LBB0_11:
	movl	%ebx, %eax
	addq	$8, %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_SSL_RECVREC,4,2             ## @BR_SSL_RECVREC
	.comm	_BR_SSL_SENDAPP,4,2             ## @BR_SSL_SENDAPP
	.comm	_BR_SSL_RECVAPP,4,2             ## @BR_SSL_RECVAPP
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_br_ssl_engine_current_state    ; -- Begin function br_ssl_engine_current_state
	.p2align	2
_br_ssl_engine_current_state:           ; @br_ssl_engine_current_state
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_br_ssl_engine_closed
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _BR_SSL_CLOSED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BR_SSL_CLOSED@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	b	LBB0_3
LBB0_2:
	add	x1, sp, #8
	mov	x0, x19
	bl	_br_ssl_engine_sendrec_buf
Lloh3:
	adrp	x8, _BR_SSL_SENDREC@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BR_SSL_SENDREC@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	x0, #0
	csel	w20, wzr, w8, eq
	add	x1, sp, #8
	mov	x0, x19
	bl	_br_ssl_engine_recvrec_buf
Lloh6:
	adrp	x8, _BR_SSL_RECVREC@GOTPAGE
Lloh7:
	ldr	x8, [x8, _BR_SSL_RECVREC@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cmp	x0, #0
	csel	w8, wzr, w8, eq
	orr	w20, w8, w20
	add	x1, sp, #8
	mov	x0, x19
	bl	_br_ssl_engine_sendapp_buf
Lloh9:
	adrp	x8, _BR_SSL_SENDAPP@GOTPAGE
Lloh10:
	ldr	x8, [x8, _BR_SSL_SENDAPP@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	cmp	x0, #0
	csel	w8, wzr, w8, eq
	orr	w20, w20, w8
	add	x1, sp, #8
	mov	x0, x19
	bl	_br_ssl_engine_recvapp_buf
Lloh12:
	adrp	x8, _BR_SSL_RECVAPP@GOTPAGE
Lloh13:
	ldr	x8, [x8, _BR_SSL_RECVAPP@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	cmp	x0, #0
	csel	w8, wzr, w8, eq
	orr	w0, w20, w8
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_BR_SSL_CLOSED,4,2              ; @BR_SSL_CLOSED
	.comm	_BR_SSL_SENDREC,4,2             ; @BR_SSL_SENDREC
	.comm	_BR_SSL_RECVREC,4,2             ; @BR_SSL_RECVREC
	.comm	_BR_SSL_SENDAPP,4,2             ; @BR_SSL_SENDAPP
	.comm	_BR_SSL_RECVAPP,4,2             ; @BR_SSL_RECVAPP
.subsections_via_symbols
