	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_br_ssl_server_reset            ## -- Begin function br_ssl_server_reset
	.p2align	4, 0x90
_br_ssl_server_reset:                   ## @br_ssl_server_reset
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	xorl	%r14d, %r14d
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_br_ssl_engine_set_buffer
	movq	%rbx, %rdi
	callq	_br_ssl_engine_init_rand
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movq	$0, (%rbx)
	movq	_br_ssl_hs_server_init_main@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_br_ssl_hs_server_run@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_br_ssl_engine_hs_reset
	movq	%rbx, %rdi
	callq	_br_ssl_engine_last_error
	movq	_BR_ERR_OK@GOTPCREL(%rip), %rcx
	xorl	%r14d, %r14d
	cmpq	(%rcx), %rax
	sete	%r14b
LBB0_2:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_br_ssl_hs_server_init_main,4,2 ## @br_ssl_hs_server_init_main
	.comm	_br_ssl_hs_server_run,4,2       ## @br_ssl_hs_server_run
	.comm	_BR_ERR_OK,8,3                  ## @BR_ERR_OK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_br_ssl_server_reset            ; -- Begin function br_ssl_server_reset
	.p2align	2
_br_ssl_server_reset:                   ; @br_ssl_server_reset
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	mov	x1, #0
	mov	w2, #0
	mov	w3, #0
	bl	_br_ssl_engine_set_buffer
	mov	x0, x19
	bl	_br_ssl_engine_init_rand
	cbz	w0, LBB0_2
; %bb.1:
	str	xzr, [x19]
Lloh0:
	adrp	x8, _br_ssl_hs_server_init_main@GOTPAGE
Lloh1:
	ldr	x8, [x8, _br_ssl_hs_server_init_main@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _br_ssl_hs_server_run@GOTPAGE
Lloh4:
	ldr	x8, [x8, _br_ssl_hs_server_run@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_br_ssl_engine_hs_reset
	mov	x0, x19
	bl	_br_ssl_engine_last_error
Lloh6:
	adrp	x8, _BR_ERR_OK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _BR_ERR_OK@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x0, x8
	cset	w0, eq
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_br_ssl_hs_server_init_main,4,2 ; @br_ssl_hs_server_init_main
	.comm	_br_ssl_hs_server_run,4,2       ; @br_ssl_hs_server_run
	.comm	_BR_ERR_OK,8,3                  ; @BR_ERR_OK
.subsections_via_symbols
