	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cmtp_cleanup_sockets           ## -- Begin function cmtp_cleanup_sockets
	.p2align	4, 0x90
_cmtp_cleanup_sockets:                  ## @cmtp_cleanup_sockets
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_BTPROTO_CMTP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_bt_sock_unregister
	testq	%rax, %rax
	jns	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_BT_ERR
LBB0_2:
	movq	_cmtp_proto@GOTPCREL(%rip), %rdi
	popq	%rbp
	jmp	_proto_unregister               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_BTPROTO_CMTP,4,2               ## @BTPROTO_CMTP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Can't unregister CMTP socket"

	.comm	_cmtp_proto,4,2                 ## @cmtp_proto
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cmtp_cleanup_sockets           ; -- Begin function cmtp_cleanup_sockets
	.p2align	2
_cmtp_cleanup_sockets:                  ; @cmtp_cleanup_sockets
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _BTPROTO_CMTP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BTPROTO_CMTP@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_bt_sock_unregister
	tbz	x0, #63, LBB0_2
; %bb.1:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_BT_ERR
LBB0_2:
Lloh5:
	adrp	x0, _cmtp_proto@GOTPAGE
Lloh6:
	ldr	x0, [x0, _cmtp_proto@GOTPAGEOFF]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_proto_unregister
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_BTPROTO_CMTP,4,2               ; @BTPROTO_CMTP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Can't unregister CMTP socket"

	.comm	_cmtp_proto,4,2                 ; @cmtp_proto
.subsections_via_symbols
