	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_daemon_remote_create           ## -- Begin function daemon_remote_create
	.p2align	4, 0x90
_daemon_remote_create:                  ## @daemon_remote_create
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movl	$1, %edi
	movl	$16, %esi
	callq	_calloc
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	movq	%rax, %r15
	movl	$10, (%rax)
	cmpl	$0, 16(%r14)
	je	LBB0_14
## %bb.2:
	movq	%r14, %rdi
	callq	_options_remote_is_address
	testq	%rax, %rax
	je	LBB0_7
## %bb.3:
	cmpq	$0, 8(%r14)
	je	LBB0_7
## %bb.4:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_remote_setup_ctx
	testl	%eax, %eax
	je	LBB0_15
## %bb.5:
	movl	$1, 4(%r15)
	jmp	LBB0_17
LBB0_6:
	leaq	L_.str(%rip), %rdi
	callq	_log_err
LBB0_16:
	xorl	%r15d, %r15d
	jmp	LBB0_17
LBB0_7:
	movq	$0, 8(%r15)
	movl	$0, 4(%r15)
	movq	%r14, %rdi
	callq	_options_remote_is_address
	testq	%rax, %rax
	jne	LBB0_17
## %bb.8:
	movq	(%r14), %rbx
	testq	%rbx, %rbx
	je	LBB0_17
## %bb.9:
	leaq	L_.str.1(%rip), %r14
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_11 Depth=1
	movq	8(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_17
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rsi
	testq	%rsi, %rsi
	je	LBB0_10
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	cmpb	$47, (%rsi)
	je	LBB0_10
## %bb.13:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	%r14, %rdi
	callq	_log_warn
	jmp	LBB0_10
LBB0_14:
	movq	$0, 8(%r15)
LBB0_17:
	movq	%r15, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	movq	%r15, %rdi
	callq	_daemon_remote_delete
	jmp	LBB0_16
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"out of memory in daemon_remote_create"

L_.str.1:                               ## @.str.1
	.asciz	"control-interface %s is not using TLS, but plain transfer, because first control-interface in config file is a local socket (starts with a /)."

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_daemon_remote_create           ; -- Begin function daemon_remote_create
	.p2align	2
_daemon_remote_create:                  ; @daemon_remote_create
	.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	x20, x0
	mov	w0, #1
	mov	w1, #16
	bl	_calloc
	mov	x19, x0
	cbz	x0, LBB0_6
; %bb.1:
	mov	w8, #10
	str	w8, [x19]
	ldr	w8, [x20, #16]
	cbz	w8, LBB0_14
; %bb.2:
	mov	x0, x20
	bl	_options_remote_is_address
	cbz	x0, LBB0_7
; %bb.3:
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_7
; %bb.4:
	mov	x0, x19
	mov	x1, x20
	bl	_remote_setup_ctx
	cbz	w0, LBB0_15
; %bb.5:
	mov	w8, #1
	str	w8, [x19, #4]
	b	LBB0_16
LBB0_6:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_log_err
	b	LBB0_16
LBB0_7:
	str	xzr, [x19, #8]
	str	wzr, [x19, #4]
	mov	x0, x20
	bl	_options_remote_is_address
	cbnz	x0, LBB0_16
; %bb.8:
	ldr	x21, [x20]
	cbz	x21, LBB0_16
; %bb.9:
Lloh2:
	adrp	x20, l_.str.1@PAGE
Lloh3:
	add	x20, x20, l_.str.1@PAGEOFF
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=1
	ldr	x21, [x21, #8]
	cbz	x21, LBB0_16
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	x1, [x21]
	cbz	x1, LBB0_10
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	ldrb	w8, [x1]
	cmp	w8, #47
	b.eq	LBB0_10
; %bb.13:                               ;   in Loop: Header=BB0_11 Depth=1
	mov	x0, x20
	bl	_log_warn
	b	LBB0_10
LBB0_14:
	str	xzr, [x19, #8]
	b	LBB0_16
LBB0_15:
	mov	x0, x19
	bl	_daemon_remote_delete
	mov	x19, #0
LBB0_16:
	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 AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"out of memory in daemon_remote_create"

l_.str.1:                               ; @.str.1
	.asciz	"control-interface %s is not using TLS, but plain transfer, because first control-interface in config file is a local socket (starts with a /)."

.subsections_via_symbols
