	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function handle_request
_handle_request:                        ## @handle_request
	.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
	movl	%edx, %r14d
	movq	%rsi, %rbx
	movl	%edi, %r15d
	movl	8(%rsi), %edi
	callq	_log_set_peer_addr
	movq	(%rbx), %rdi
	cmpb	$0, (%rdi)
	jne	LBB0_1
## %bb.2:
	movl	8(%rbx), %esi
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_setproctitle
	jmp	LBB0_3
LBB0_1:
	callq	_log_set_peer_name
	movl	8(%rbx), %esi
	movq	(%rbx), %rdx
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_setproctitle
LBB0_3:
	movl	%r15d, %edi
	movq	%rbx, %rsi
	callq	_connection_new
	movq	%rax, %rbx
	movl	%r14d, %edi
	callq	_set_timeout
	movq	%rbx, %rdi
	callq	_capsicate
	movq	%rbx, %rdi
	callq	_login
	cmpq	$0, (%rbx)
	jne	LBB0_4
## %bb.5:
	movq	%rbx, %rdi
	callq	_handoff
	jmp	LBB0_6
LBB0_4:
	movq	%rbx, %rdi
	callq	_discovery
LBB0_6:
	leaq	L_.str.2(%rip), %rdi
	callq	_log_debugx
	xorl	%edi, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s (%s)"

L_.str.1:                               ## @.str.1
	.asciz	"%s"

L_.str.2:                               ## @.str.2
	.asciz	"nothing more to do; exiting"

	.no_dead_strip	_handle_request
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function handle_request
_handle_request:                        ; @handle_request
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x19, x2
	mov	x20, x1
	mov	x21, x0
	ldr	w0, [x1, #8]
	bl	_log_set_peer_addr
	ldr	x0, [x20]
	ldrb	w8, [x0]
	cbnz	w8, LBB0_2
; %bb.1:
	ldr	w1, [x20, #8]
Lloh0:
	adrp	x0, l_.str.1@PAGE
Lloh1:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_3
LBB0_2:
	bl	_log_set_peer_name
	ldr	w1, [x20, #8]
	ldr	x8, [x20]
	str	x8, [sp]
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
LBB0_3:
	bl	_setproctitle
	mov	x0, x21
	mov	x1, x20
	bl	_connection_new
	mov	x20, x0
	mov	x0, x19
	bl	_set_timeout
	mov	x0, x20
	bl	_capsicate
	mov	x0, x20
	bl	_login
	ldr	x8, [x20]
	cbnz	x8, LBB0_5
; %bb.4:
	mov	x0, x20
	bl	_handoff
	b	LBB0_6
LBB0_5:
	mov	x0, x20
	bl	_discovery
LBB0_6:
Lloh4:
	adrp	x0, l_.str.2@PAGE
Lloh5:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_log_debugx
	mov	w0, #0
	bl	_exit
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s (%s)"

l_.str.1:                               ; @.str.1
	.asciz	"%s"

l_.str.2:                               ; @.str.2
	.asciz	"nothing more to do; exiting"

	.no_dead_strip	_handle_request
.subsections_via_symbols
