	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cmtp_init_sockets              ## -- Begin function cmtp_init_sockets
	.p2align	4, 0x90
_cmtp_init_sockets:                     ## @cmtp_init_sockets
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_cmtp_proto@GOTPCREL(%rip), %rdi
	xorl	%ebx, %ebx
	xorl	%esi, %esi
	callq	_proto_register
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	movq	_BTPROTO_CMTP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_cmtp_sock_family_ops@GOTPCREL(%rip), %rsi
	callq	_bt_sock_register
	testl	%eax, %eax
	jns	LBB0_4
## %bb.3:
	movl	%eax, %r14d
	leaq	L_.str(%rip), %rdi
	callq	_BT_ERR
	movq	_cmtp_proto@GOTPCREL(%rip), %rdi
	callq	_proto_unregister
	movl	%r14d, %ebx
	jmp	LBB0_4
LBB0_1:
	movl	%eax, %ebx
LBB0_4:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_cmtp_proto,4,2                 ## @cmtp_proto
	.comm	_BTPROTO_CMTP,4,2               ## @BTPROTO_CMTP
	.comm	_cmtp_sock_family_ops,4,2       ## @cmtp_sock_family_ops
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Can't register CMTP socket"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cmtp_init_sockets              ; -- Begin function cmtp_init_sockets
	.p2align	2
_cmtp_init_sockets:                     ; @cmtp_init_sockets
	.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
Lloh0:
	adrp	x0, _cmtp_proto@GOTPAGE
Lloh1:
	ldr	x0, [x0, _cmtp_proto@GOTPAGEOFF]
	mov	w1, #0
	bl	_proto_register
	tbnz	w0, #31, LBB0_3
; %bb.1:
Lloh2:
	adrp	x8, _BTPROTO_CMTP@GOTPAGE
Lloh3:
	ldr	x8, [x8, _BTPROTO_CMTP@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
Lloh5:
	adrp	x1, _cmtp_sock_family_ops@GOTPAGE
Lloh6:
	ldr	x1, [x1, _cmtp_sock_family_ops@GOTPAGEOFF]
	bl	_bt_sock_register
	tbnz	w0, #31, LBB0_4
; %bb.2:
	mov	w19, #0
	b	LBB0_5
LBB0_3:
	mov	x19, x0
	b	LBB0_5
LBB0_4:
	mov	x19, x0
Lloh7:
	adrp	x0, l_.str@PAGE
Lloh8:
	add	x0, x0, l_.str@PAGEOFF
	bl	_BT_ERR
Lloh9:
	adrp	x0, _cmtp_proto@GOTPAGE
Lloh10:
	ldr	x0, [x0, _cmtp_proto@GOTPAGEOFF]
	bl	_proto_unregister
LBB0_5:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_cmtp_proto,4,2                 ; @cmtp_proto
	.comm	_BTPROTO_CMTP,4,2               ; @BTPROTO_CMTP
	.comm	_cmtp_sock_family_ops,4,2       ; @cmtp_sock_family_ops
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Can't register CMTP socket"

.subsections_via_symbols
