	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_p2p_stop_listen_for_freq       ## -- Begin function p2p_stop_listen_for_freq
	.p2align	4, 0x90
_p2p_stop_listen_for_freq:              ## @p2p_stop_listen_for_freq
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	testl	%esi, %esi
	jle	LBB0_3
## %bb.1:
	cmpl	%esi, (%rbx)
	jne	LBB0_3
## %bb.2:
	cmpq	$0, 16(%rbx)
	je	LBB0_3
## %bb.8:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_p2p_dbg                        ## TAILCALL
LBB0_3:
	cmpq	$0, 16(%rbx)
	je	LBB0_5
## %bb.4:
	movq	$0, 16(%rbx)
	movq	%rbx, %rdi
	callq	_p2p_clear_timeout
LBB0_5:
	movl	(%rbx), %edx
	testl	%edx, %edx
	je	LBB0_7
## %bb.6:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_p2p_dbg
	movl	$0, (%rbx)
LBB0_7:
	movq	8(%rbx), %rax
	movl	(%rax), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmpq	*8(%rax)                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Skip stop_listen since we are on correct channel for response"

L_.str.1:                               ## @.str.1
	.asciz	"Clear drv_in_listen (%d)"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_p2p_stop_listen_for_freq       ; -- Begin function p2p_stop_listen_for_freq
	.p2align	2
_p2p_stop_listen_for_freq:              ; @p2p_stop_listen_for_freq
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
	cmp	w1, #1
	b.lt	LBB0_4
; %bb.1:
	ldr	w8, [x19]
	cmp	w8, w1
	b.ne	LBB0_4
; %bb.2:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_4
; %bb.3:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_p2p_dbg
LBB0_4:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_6
; %bb.5:
	str	xzr, [x19, #16]
	mov	x0, x19
	bl	_p2p_clear_timeout
LBB0_6:
	ldr	w8, [x19]
	cbz	w8, LBB0_8
; %bb.7:
	str	x8, [sp]
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_p2p_dbg
	str	wzr, [x19]
LBB0_8:
	ldr	x8, [x19, #8]
	ldr	x1, [x8, #8]
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	br	x1
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Skip stop_listen since we are on correct channel for response"

l_.str.1:                               ; @.str.1
	.asciz	"Clear drv_in_listen (%d)"

.subsections_via_symbols
