	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function p2p_service_find_asp
_p2p_service_find_asp:                  ## @p2p_service_find_asp
	.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	%rsi, %r12
	movq	%rdi, %rbx
	movq	(%rdi), %rdx
	leaq	L_.str(%rip), %rsi
	callq	_p2p_dbg
	movl	8(%rbx), %esi
	movq	_P2PS_HASH_LEN@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	movq	%r12, %rdi
	callq	_os_memcmp
	movq	(%rbx), %r14
	testq	%r14, %r14
	je	LBB0_6
## %bb.1:
	movq	%rax, %r13
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	$1, %ebx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r14), %r14
	testq	%r14, %r14
	je	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	12(%r14), %esi
	movl	(%r15), %edx
	movq	%r12, %rdi
	callq	_os_memcmp
	testq	%rax, %rax
	je	LBB0_7
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	testq	%r13, %r13
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %r15
	movl	8(%r14), %r12d
	movq	_P2PS_WILD_HASH_STR@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movl	%r13d, %edi
	callq	_os_strlen
	movl	%r12d, %edi
	movq	%r15, %r12
	movq	_P2PS_HASH_LEN@GOTPCREL(%rip), %r15
	movl	%r13d, %esi
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	movl	%eax, %edx
	callq	_os_strncmp
	testq	%rax, %rax
	jne	LBB0_5
	jmp	LBB0_7
LBB0_6:
	xorl	%ebx, %ebx
LBB0_7:
	movl	%ebx, %eax
	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	"ASP find - ASP list: %p"

	.comm	_P2PS_HASH_LEN,4,2              ## @P2PS_HASH_LEN
	.comm	_P2PS_WILD_HASH_STR,4,2         ## @P2PS_WILD_HASH_STR
	.no_dead_strip	_p2p_service_find_asp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function p2p_service_find_asp
_p2p_service_find_asp:                  ; @p2p_service_find_asp
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x1
	mov	x21, x0
	ldr	x2, [x0]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_p2p_dbg
	ldr	w1, [x21, #8]
Lloh2:
	adrp	x23, _P2PS_HASH_LEN@GOTPAGE
Lloh3:
	ldr	x23, [x23, _P2PS_HASH_LEN@GOTPAGEOFF]
	ldr	w2, [x23]
	mov	x0, x19
	bl	_os_memcmp
	ldr	x24, [x21]
	cbz	x24, LBB0_7
; %bb.1:
	mov	x20, x0
Lloh4:
	adrp	x25, _P2PS_WILD_HASH_STR@GOTPAGE
Lloh5:
	ldr	x25, [x25, _P2PS_WILD_HASH_STR@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x24, [x24]
	cbz	x24, LBB0_7
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x24, #12]
	ldr	w2, [x23]
	mov	x0, x19
	bl	_os_memcmp
	cbz	x0, LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	cbnz	x20, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w21, [x24, #8]
	ldr	w22, [x25]
	mov	x0, x22
	bl	_os_strlen
	mov	x2, x0
	mov	x0, x21
	mov	x1, x22
	bl	_os_strncmp
	cbnz	x0, LBB0_2
LBB0_6:
	mov	w0, #1
	b	LBB0_8
LBB0_7:
	mov	w0, #0
LBB0_8:
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ASP find - ASP list: %p"

	.comm	_P2PS_HASH_LEN,4,2              ; @P2PS_HASH_LEN
	.comm	_P2PS_WILD_HASH_STR,4,2         ; @P2PS_WILD_HASH_STR
	.no_dead_strip	_p2p_service_find_asp
.subsections_via_symbols
