	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_p2p_set_client_discoverability ## -- Begin function p2p_set_client_discoverability
	.p2align	4, 0x90
_p2p_set_client_discoverability:        ## @p2p_set_client_discoverability
	.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
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_p2p_dbg
	movq	_P2P_DEV_CAPAB_CLIENT_DISCOVERABILITY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%rbx)
	jmp	LBB0_3
LBB0_2:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_p2p_dbg
	movq	_P2P_DEV_CAPAB_CLIENT_DISCOVERABILITY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, (%rbx)
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Client discoverability enabled"

	.comm	_P2P_DEV_CAPAB_CLIENT_DISCOVERABILITY,4,2 ## @P2P_DEV_CAPAB_CLIENT_DISCOVERABILITY
L_.str.1:                               ## @.str.1
	.asciz	"Client discoverability disabled"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_p2p_set_client_discoverability ; -- Begin function p2p_set_client_discoverability
	.p2align	2
_p2p_set_client_discoverability:        ; @p2p_set_client_discoverability
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	cbz	w1, LBB0_2
; %bb.1:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_p2p_dbg
Lloh2:
	adrp	x8, _P2P_DEV_CAPAB_CLIENT_DISCOVERABILITY@GOTPAGE
Lloh3:
	ldr	x8, [x8, _P2P_DEV_CAPAB_CLIENT_DISCOVERABILITY@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	b	LBB0_3
LBB0_2:
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_p2p_dbg
Lloh7:
	adrp	x8, _P2P_DEV_CAPAB_CLIENT_DISCOVERABILITY@GOTPAGE
Lloh8:
	ldr	x8, [x8, _P2P_DEV_CAPAB_CLIENT_DISCOVERABILITY@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	ldr	w9, [x19]
	bic	w8, w9, w8
LBB0_3:
	str	w8, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Client discoverability enabled"

	.comm	_P2P_DEV_CAPAB_CLIENT_DISCOVERABILITY,4,2 ; @P2P_DEV_CAPAB_CLIENT_DISCOVERABILITY
l_.str.1:                               ; @.str.1
	.asciz	"Client discoverability disabled"

.subsections_via_symbols
