	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function listen_check
_listen_check:                          ## @listen_check
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	(%rdi), %rsi
	movq	24(%rdi), %rdx
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_dprintf
	movl	$1, %edi
	movl	%eax, %esi
	callq	_dbug
	movq	_remove_started@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_16
## %bb.1:
	cmpl	$0, 32(%r14)
	jne	LBB0_16
## %bb.2:
	movq	8(%r14), %rdx
	testq	%rdx, %rdx
	je	LBB0_3
## %bb.4:
	movq	16(%r14), %rcx
	leaq	-1(%rdx), %rsi
	movl	%edx, %eax
	andl	$3, %eax
	cmpq	$3, %rsi
	jae	LBB0_6
## %bb.5:
	xorl	%ebx, %ebx
	xorl	%esi, %esi
	jmp	LBB0_8
LBB0_3:
	xorl	%ebx, %ebx
	jmp	LBB0_11
LBB0_6:
	andq	$-4, %rdx
	leaq	56(%rcx), %rdi
	xorl	%ebx, %ebx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	$1, -48(%rdi)
	sbbq	$-1, %rbx
	cmpq	$1, -32(%rdi)
	sbbq	$-1, %rbx
	cmpq	$1, -16(%rdi)
	sbbq	$-1, %rbx
	cmpq	$1, (%rdi)
	sbbq	$-1, %rbx
	addq	$4, %rsi
	addq	$64, %rdi
	cmpq	%rsi, %rdx
	jne	LBB0_7
LBB0_8:
	testq	%rax, %rax
	je	LBB0_11
## %bb.9:
	shlq	$4, %rsi
	addq	%rsi, %rcx
	addq	$8, %rcx
	shlq	$4, %rax
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	cmpq	$1, (%rcx,%rdx)
	sbbq	$-1, %rbx
	addq	$16, %rdx
	cmpq	%rdx, %rax
	jne	LBB0_10
LBB0_11:
	leaq	L_.str.1(%rip), %rdi
	movq	%rbx, %rsi
	xorl	%eax, %eax
	callq	_dprintf
	movl	$1, %edi
	movl	%eax, %esi
	callq	_dbug
	movq	(%r14), %r13
	movq	24(%r14), %rax
	addq	%rbx, %rax
	cmpq	%rax, %r13
	jae	LBB0_16
## %bb.12:
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_13 Depth=1
	incq	%r13
	movq	24(%r14), %rax
	addq	%rbx, %rax
	cmpq	%rax, %r13
	jae	LBB0_16
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	callq	_get_plci
	testq	%rax, %rax
	je	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	%rax, %r12
	incq	(%r14)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	16(%rax), %r14
	shlq	$4, %r12
	leaq	(%r12,%r14), %r15
	addq	$-16, %r15
	movq	_LISTENING@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -12(%r12,%r14)
	movq	_OAD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	leaq	L_.str.2(%rip), %rdx
	callq	_add_p
	movq	_KEY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	leaq	L_.str.3(%rip), %rdx
	callq	_add_p
	movq	_CAI@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	leaq	L_.str.4(%rip), %rdx
	callq	_add_p
	movq	_UID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	leaq	L_.str.5(%rip), %rdx
	callq	_add_p
	movq	_LLI@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	leaq	L_.str.6(%rip), %rdx
	callq	_add_p
	movq	_SHIFT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	orl	$6, %esi
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_add_p
	movq	_SIN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	leaq	L_.str.7(%rip), %rdx
	callq	_add_p
	movq	_LISTEN_SIG_ASSIGN_PEND@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -16(%r12,%r14)
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movq	_ASSIGN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DSIG_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	callq	_sig_req
	movq	%r15, %rdi
	callq	_send_req
	jmp	LBB0_15
LBB0_16:
	addq	$8, %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	"listen_check(%d,%d)"

	.comm	_remove_started,4,2             ## @remove_started
L_.str.1:                               ## @.str.1
	.asciz	"listen_check(%d)"

	.comm	_LISTENING,4,2                  ## @LISTENING
	.comm	_OAD,4,2                        ## @OAD
L_.str.2:                               ## @.str.2
	.asciz	"\001\375"

	.comm	_KEY,4,2                        ## @KEY
L_.str.3:                               ## @.str.3
	.asciz	"\004CA20"

	.comm	_CAI,4,2                        ## @CAI
L_.str.4:                               ## @.str.4
	.asciz	"\001\300"

	.comm	_UID,4,2                        ## @UID
L_.str.5:                               ## @.str.5
	.asciz	"\006Capi20"

	.comm	_LLI,4,2                        ## @LLI
L_.str.6:                               ## @.str.6
	.asciz	"\001\304"

	.comm	_SHIFT,4,2                      ## @SHIFT
	.comm	_SIN,4,2                        ## @SIN
	.section	__TEXT,__literal4,4byte_literals
L_.str.7:                               ## @.str.7
	.asciz	"\002\000\000"

	.comm	_LISTEN_SIG_ASSIGN_PEND,4,2     ## @LISTEN_SIG_ASSIGN_PEND
	.comm	_ASSIGN,4,2                     ## @ASSIGN
	.comm	_DSIG_ID,4,2                    ## @DSIG_ID
	.no_dead_strip	_listen_check
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function listen_check
_listen_check:                          ; @listen_check
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
	ldr	x1, [x0]
	ldr	x8, [x0, #24]
	str	x8, [sp]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_dprintf
	mov	x1, x0
	mov	w0, #1
	bl	_dbug
Lloh2:
	adrp	x8, _remove_started@GOTPAGE
Lloh3:
	ldr	x8, [x8, _remove_started@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cbnz	w8, LBB0_16
; %bb.1:
	ldr	w8, [x19, #32]
	cbnz	w8, LBB0_16
; %bb.2:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_5
; %bb.3:
	ldr	x9, [x19, #16]
	cmp	x8, #4
	b.hs	LBB0_6
; %bb.4:
	mov	x20, #0
	mov	x10, #0
	b	LBB0_9
LBB0_5:
	mov	x20, #0
	b	LBB0_11
LBB0_6:
	mov	x13, #0
	mov	x14, #0
	mov	x12, #0
	mov	x11, #0
	and	x10, x8, #0xfffffffffffffffc
	add	x15, x9, #40
	mov	x16, x10
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldur	x17, [x15, #-32]
	ldur	x0, [x15, #-16]
	ldr	x1, [x15]
	ldr	x2, [x15, #16]
	cmp	x17, #0
	cinc	x13, x13, ne
	cmp	x0, #0
	cinc	x14, x14, ne
	cmp	x1, #0
	cinc	x12, x12, ne
	cmp	x2, #0
	cinc	x11, x11, ne
	add	x15, x15, #64
	subs	x16, x16, #4
	b.ne	LBB0_7
; %bb.8:
	add	x13, x14, x13
	add	x12, x12, x13
	add	x20, x11, x12
	cmp	x8, x10
	b.eq	LBB0_11
LBB0_9:
	sub	x8, x8, x10
	add	x9, x9, x10, lsl #4
	add	x9, x9, #8
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x9], #16
	cmp	x10, #0
	cinc	x20, x20, ne
	subs	x8, x8, #1
	b.ne	LBB0_10
LBB0_11:
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x20
	bl	_dprintf
	mov	x1, x0
	mov	w0, #1
	bl	_dbug
	ldr	x28, [x19]
	ldr	x8, [x19, #24]
	add	x8, x8, x20
	cmp	x28, x8
	b.hs	LBB0_16
; %bb.12:
Lloh7:
	adrp	x25, l_.str.6@PAGE
Lloh8:
	add	x25, x25, l_.str.6@PAGEOFF
Lloh9:
	adrp	x22, _LISTEN_SIG_ASSIGN_PEND@GOTPAGE
Lloh10:
	ldr	x22, [x22, _LISTEN_SIG_ASSIGN_PEND@GOTPAGEOFF]
Lloh11:
	adrp	x24, _ASSIGN@GOTPAGE
Lloh12:
	ldr	x24, [x24, _ASSIGN@GOTPAGEOFF]
Lloh13:
	adrp	x21, _DSIG_ID@GOTPAGE
Lloh14:
	ldr	x21, [x21, _DSIG_ID@GOTPAGEOFF]
Lloh15:
	adrp	x26, l_.str.7@PAGE
Lloh16:
	add	x26, x26, l_.str.7@PAGEOFF
	b	LBB0_14
LBB0_13:                                ;   in Loop: Header=BB0_14 Depth=1
	add	x28, x28, #1
	ldr	x8, [x19, #24]
	add	x8, x8, x20
	cmp	x28, x8
	b.hs	LBB0_16
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_get_plci
	cbz	x0, LBB0_13
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=1
	ldr	x8, [x19]
	add	x8, x8, #1
	str	x8, [x19]
	ldr	x8, [x19, #16]
	add	x23, x8, x0, lsl #4
	sub	x27, x23, #16
Lloh17:
	adrp	x8, _LISTENING@GOTPAGE
Lloh18:
	ldr	x8, [x8, _LISTENING@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	stur	w8, [x23, #-12]
Lloh20:
	adrp	x8, _OAD@GOTPAGE
Lloh21:
	ldr	x8, [x8, _OAD@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	mov	x0, x27
Lloh23:
	adrp	x2, l_.str.2@PAGE
Lloh24:
	add	x2, x2, l_.str.2@PAGEOFF
	bl	_add_p
Lloh25:
	adrp	x8, _KEY@GOTPAGE
Lloh26:
	ldr	x8, [x8, _KEY@GOTPAGEOFF]
Lloh27:
	ldr	w1, [x8]
	mov	x0, x27
Lloh28:
	adrp	x2, l_.str.3@PAGE
Lloh29:
	add	x2, x2, l_.str.3@PAGEOFF
	bl	_add_p
Lloh30:
	adrp	x8, _CAI@GOTPAGE
Lloh31:
	ldr	x8, [x8, _CAI@GOTPAGEOFF]
Lloh32:
	ldr	w1, [x8]
	mov	x0, x27
Lloh33:
	adrp	x2, l_.str.4@PAGE
Lloh34:
	add	x2, x2, l_.str.4@PAGEOFF
	bl	_add_p
Lloh35:
	adrp	x8, _UID@GOTPAGE
Lloh36:
	ldr	x8, [x8, _UID@GOTPAGEOFF]
Lloh37:
	ldr	w1, [x8]
	mov	x0, x27
Lloh38:
	adrp	x2, l_.str.5@PAGE
Lloh39:
	add	x2, x2, l_.str.5@PAGEOFF
	bl	_add_p
Lloh40:
	adrp	x8, _LLI@GOTPAGE
Lloh41:
	ldr	x8, [x8, _LLI@GOTPAGEOFF]
Lloh42:
	ldr	w1, [x8]
	mov	x0, x27
	mov	x2, x25
	bl	_add_p
Lloh43:
	adrp	x8, _SHIFT@GOTPAGE
Lloh44:
	ldr	x8, [x8, _SHIFT@GOTPAGEOFF]
Lloh45:
	ldr	w8, [x8]
	orr	w1, w8, #0x6
	mov	x0, x27
	mov	x2, #0
	bl	_add_p
Lloh46:
	adrp	x8, _SIN@GOTPAGE
Lloh47:
	ldr	x8, [x8, _SIN@GOTPAGEOFF]
Lloh48:
	ldr	w1, [x8]
	mov	x0, x27
	mov	x2, x26
	bl	_add_p
	ldr	w8, [x22]
	stur	w8, [x23, #-16]
	ldr	w1, [x24]
	ldr	w2, [x21]
	mov	x0, x27
	bl	_sig_req
	mov	x0, x27
	bl	_send_req
	b	LBB0_13
LBB0_16:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"listen_check(%d,%d)"

	.comm	_remove_started,4,2             ; @remove_started
l_.str.1:                               ; @.str.1
	.asciz	"listen_check(%d)"

	.comm	_LISTENING,4,2                  ; @LISTENING
	.comm	_OAD,4,2                        ; @OAD
l_.str.2:                               ; @.str.2
	.asciz	"\001\375"

	.comm	_KEY,4,2                        ; @KEY
l_.str.3:                               ; @.str.3
	.asciz	"\004CA20"

	.comm	_CAI,4,2                        ; @CAI
l_.str.4:                               ; @.str.4
	.asciz	"\001\300"

	.comm	_UID,4,2                        ; @UID
l_.str.5:                               ; @.str.5
	.asciz	"\006Capi20"

	.comm	_LLI,4,2                        ; @LLI
l_.str.6:                               ; @.str.6
	.asciz	"\001\304"

	.comm	_SHIFT,4,2                      ; @SHIFT
	.comm	_SIN,4,2                        ; @SIN
	.section	__TEXT,__literal4,4byte_literals
l_.str.7:                               ; @.str.7
	.asciz	"\002\000\000"

	.comm	_LISTEN_SIG_ASSIGN_PEND,4,2     ; @LISTEN_SIG_ASSIGN_PEND
	.comm	_ASSIGN,4,2                     ; @ASSIGN
	.comm	_DSIG_ID,4,2                    ; @DSIG_ID
	.no_dead_strip	_listen_check
.subsections_via_symbols
