	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function init_responder
_init_responder:                        ## @init_responder
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_BIO_f_buffer
	movl	%eax, %edi
	callq	_BIO_new
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r14
	xorl	%eax, %eax
	callq	_BIO_s_accept
	movl	%eax, %edi
	callq	_BIO_new
	movq	%rax, %rbx
	leaq	L_.str(%rip), %r12
	testq	%rax, %rax
	je	LBB0_7
## %bb.3:
	movq	_BIO_BIND_REUSEADDR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_BIO_set_bind_mode
	testq	%rax, %rax
	js	LBB0_7
## %bb.4:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_BIO_set_accept_port
	testq	%rax, %rax
	js	LBB0_7
## %bb.5:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_BIO_set_accept_bios
	movq	%rbx, %rdi
	callq	_BIO_do_accept
	testq	%rax, %rax
	jg	LBB0_9
## %bb.6:
	leaq	L_.str.1(%rip), %r12
	xorl	%r14d, %r14d
LBB0_7:
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r12, %rsi
	callq	_log_message
	jmp	LBB0_8
LBB0_1:
	xorl	%r14d, %r14d
LBB0_8:
	movq	%rbx, %rdi
	callq	_BIO_free_all
	movq	%r14, %rdi
	callq	_BIO_free
	xorl	%ebx, %ebx
LBB0_9:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BIO_BIND_REUSEADDR,4,2         ## @BIO_BIND_REUSEADDR
	.comm	_LOG_ERR,4,2                    ## @LOG_ERR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Error setting up accept BIO"

L_.str.1:                               ## @.str.1
	.asciz	"Error starting accept"

	.comm	_bio_err,4,2                    ## @bio_err
	.no_dead_strip	_init_responder
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function init_responder
_init_responder:                        ; @init_responder
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x21, x0
	bl	_BIO_f_buffer
	bl	_BIO_new
	mov	x20, x0
	cbz	x0, LBB0_8
; %bb.1:
	bl	_BIO_s_accept
	bl	_BIO_new
	mov	x19, x0
	cbz	x0, LBB0_6
; %bb.2:
Lloh0:
	adrp	x8, _BIO_BIND_REUSEADDR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BIO_BIND_REUSEADDR@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_BIO_set_bind_mode
	tbnz	x0, #63, LBB0_6
; %bb.3:
	mov	x0, x19
	mov	x1, x21
	bl	_BIO_set_accept_port
	tbnz	x0, #63, LBB0_6
; %bb.4:
	mov	x0, x19
	mov	x1, x20
	bl	_BIO_set_accept_bios
	mov	x0, x19
	bl	_BIO_do_accept
	cmp	x0, #0
	b.gt	LBB0_10
; %bb.5:
	mov	x20, #0
Lloh3:
	adrp	x1, l_.str.1@PAGE
Lloh4:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_7
LBB0_6:
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
LBB0_7:
Lloh7:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh8:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	bl	_log_message
	b	LBB0_9
LBB0_8:
	mov	x19, #0
LBB0_9:
	mov	x0, x19
	bl	_BIO_free_all
	mov	x0, x20
	bl	_BIO_free
	mov	x19, #0
LBB0_10:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_BIO_BIND_REUSEADDR,4,2         ; @BIO_BIND_REUSEADDR
	.comm	_LOG_ERR,4,2                    ; @LOG_ERR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Error setting up accept BIO"

l_.str.1:                               ; @.str.1
	.asciz	"Error starting accept"

	.comm	_bio_err,4,2                    ; @bio_err
	.no_dead_strip	_init_responder
.subsections_via_symbols
