	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function csock_handle
_csock_handle:                          ## @csock_handle
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	leaq	L_.str(%rip), %rsi
	leaq	-56(%rbp), %rdx
	leaq	-44(%rbp), %rcx
	movq	%r14, %rdi
	callq	_sscanf
	cmpl	$1, %eax
	jne	LBB0_2
## %bb.1:
	movslq	-44(%rbp), %rbx
	movq	%r14, %rdi
	callq	_strlen
	cmpq	%rbx, %rax
	je	LBB0_3
LBB0_2:
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdx
	callq	_syslog
	movq	$0, -56(%rbp)
LBB0_3:
	movq	_msgreg_list@GOTPCREL(%rip), %rdi
	callq	_SLIST_FIRST
	testq	%rax, %rax
	je	LBB0_11
## %bb.4:
	movq	%rax, %rbx
	movq	_link@GOTPCREL(%rip), %r13
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	movl	16(%rbx), %ecx
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	*24(%rbx)
LBB0_10:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	%r12, %rbx
	testq	%r12, %r12
	je	LBB0_11
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r13), %esi
	movq	%rbx, %rdi
	callq	_SLIST_NEXT
	movq	%rax, %r12
	movq	(%rbx), %rax
	cmpq	(%r15), %rax
	jne	LBB0_10
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	8(%rbx), %rax
	movq	-56(%rbp), %rdx
	testq	%rax, %rax
	je	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpq	%rdx, %rax
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	testq	%rdx, %rdx
	jne	LBB0_10
	jmp	LBB0_9
LBB0_11:
	movq	%r15, %rdi
	callq	_free
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"[%x]:%n"

	.comm	_LOG_ERR,4,2                    ## @LOG_ERR
L_.str.1:                               ## @.str.1
	.asciz	"cannot parse message path '%s'"

	.comm	_msgreg_list,4,2                ## @msgreg_list
	.comm	_link,4,2                       ## @link
	.no_dead_strip	_csock_handle
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function csock_handle
_csock_handle:                          ; @csock_handle
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #8
	add	x3, sp, #4
	mov	x0, x20
	bl	_sscanf
	cmp	w0, #1
	b.ne	LBB0_2
; %bb.1:
	ldrsw	x21, [sp, #4]
	mov	x0, x20
	bl	_strlen
	cmp	x0, x21
	b.eq	LBB0_3
LBB0_2:
Lloh2:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh3:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x20
	bl	_syslog
	str	xzr, [sp, #8]
LBB0_3:
Lloh7:
	adrp	x0, _msgreg_list@GOTPAGE
Lloh8:
	ldr	x0, [x0, _msgreg_list@GOTPAGEOFF]
	bl	_SLIST_FIRST
	cbz	x0, LBB0_9
; %bb.4:
	mov	x21, x0
Lloh9:
	adrp	x23, _link@GOTPAGE
Lloh10:
	ldr	x23, [x23, _link@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	x21, x22
	cbz	x22, LBB0_9
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x23]
	mov	x0, x21
	bl	_SLIST_NEXT
	mov	x22, x0
	ldr	x8, [x21]
	ldr	x9, [x19]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x21, #8]
	ldr	x2, [sp, #8]
	cmp	x8, #0
	ccmp	x8, x2, #4, ne
	ccmp	x2, #0, #4, ne
	b.ne	LBB0_5
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x21, #24]
	ldr	w3, [x21, #16]
	mov	x0, x19
	mov	x1, x20
	blr	x8
	b	LBB0_5
LBB0_9:
	mov	x0, x19
	bl	_free
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"[%x]:%n"

	.comm	_LOG_ERR,4,2                    ; @LOG_ERR
l_.str.1:                               ; @.str.1
	.asciz	"cannot parse message path '%s'"

	.comm	_msgreg_list,4,2                ; @msgreg_list
	.comm	_link,4,2                       ; @link
	.no_dead_strip	_csock_handle
.subsections_via_symbols
