	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_server_init                    ## -- Begin function server_init
	.p2align	4, 0x90
_server_init:                           ## @server_init
	.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
	subq	$168, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r12
	xorl	%edi, %edi
	testq	%r12, %r12
	setne	%dil
	callq	_assert
	xorl	%edi, %edi
	testq	%rbx, %rbx
	setne	%dil
	callq	_assert
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	$72, %edx
	callq	_memset
	movq	%rbx, %rdi
	callq	_unlink
	testq	%rax, %rax
	jns	LBB0_2
## %bb.1:
	movq	_errno@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	movq	_ENOENT@GOTPCREL(%rip), %rax
	cmpl	(%rax), %edi
	jne	LBB0_16
LBB0_2:
	movq	_PF_LOCAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SOCK_STREAM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_socket
	testl	%eax, %eax
	js	LBB0_14
## %bb.3:
	movl	%eax, %r14d
	leaq	-200(%rbp), %r15
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$72, %edx
	callq	_memset
	movl	$72, -200(%rbp)
	movq	_AF_LOCAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -136(%rbp)
	movl	-140(%rbp), %edi
	movq	%rbx, %rsi
	movl	$4, %edx
	callq	_strlcpy
	movl	%r14d, %edi
	movq	%r15, %rsi
	movl	$72, %edx
	callq	_bind
	testq	%rax, %rax
	js	LBB0_15
## %bb.4:
	movq	_S_IRUSR@GOTPCREL(%rip), %rax
	movq	_S_IWUSR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movq	_S_IRGRP@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movq	_S_IWGRP@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movq	_S_IROTH@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movq	_S_IWOTH@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_chmod
	testq	%rax, %rax
	js	LBB0_17
## %bb.5:
	movl	%r14d, %edi
	movl	$10, %esi
	callq	_listen
	testq	%rax, %rax
	js	LBB0_18
## %bb.6:
	movq	_PF_BLUETOOTH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SOCK_SEQPACKET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_BLUETOOTH_PROTO_L2CAP@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_socket
	testl	%eax, %eax
	js	LBB0_19
## %bb.7:
	movl	%eax, %r15d
	movl	$8, -44(%rbp)
	movq	_SOL_L2CAP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SO_L2CAP_IMTU@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-56(%rbp), %rcx
	leaq	-44(%rbp), %r8
	movl	%r15d, %edi
	callq	_getsockopt
	testq	%rax, %rax
	js	LBB0_24
## %bb.8:
	leaq	-128(%rbp), %rbx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$72, %edx
	callq	_memset
	movl	$72, -124(%rbp)
	movq	_AF_BLUETOOTH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -72(%rbp)
	leaq	-76(%rbp), %rdi
	movq	_NG_HCI_BDADDR_ANY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$4, %edx
	callq	_memcpy
	movq	_NG_L2CAP_PSM_SDP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htole16
	movl	%eax, -80(%rbp)
	movl	%r15d, %edi
	movq	%rbx, %rsi
	movl	$72, %edx
	callq	_bind
	testq	%rax, %rax
	js	LBB0_25
## %bb.9:
	movl	%r15d, %edi
	movl	$10, %esi
	callq	_listen
	testq	%rax, %rax
	js	LBB0_26
## %bb.10:
	movq	-56(%rbp), %rax
	movq	_SDP_LOCAL_MTU@GOTPCREL(%rip), %r13
	movq	(%r13), %rdi
	cmpq	%rdi, %rax
	cmovgq	%rax, %rdi
	movq	%rdi, 40(%r12)
	movl	$64, %esi
	callq	_calloc
	movq	%rax, 32(%r12)
	testq	%rax, %rax
	je	LBB0_29
## %bb.11:
	movq	_FD_SETSIZE@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movl	$64, %esi
	callq	_calloc
	movq	%rax, 16(%r12)
	testq	%rax, %rax
	je	LBB0_30
## %bb.12:
	movl	%r14d, %edi
	callq	_provider_register_sd
	testq	%rax, %rax
	js	LBB0_31
## %bb.13:
	leaq	24(%r12), %rbx
	movq	%rbx, %rdi
	callq	_FD_ZERO
	cmpl	%r15d, %r14d
	movl	%r15d, %eax
	cmovgl	%r14d, %eax
	movl	%eax, 8(%r12)
	movl	%r14d, %edi
	movq	%rbx, %rsi
	callq	_FD_SET
	movq	16(%r12), %rax
	movl	%r14d, %ecx
	shlq	$6, %rcx
	movabsq	$4294967297, %r14               ## imm = 0x100000001
	movq	%r14, (%rax,%rcx)
	movl	$1, 8(%rax,%rcx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 48(%rax,%rcx)
	movups	%xmm0, 32(%rax,%rcx)
	movq	(%r13), %rdx
	movq	%rdx, 24(%rax,%rcx)
	movq	$0, 16(%rax,%rcx)
	movl	%r15d, %edi
	movq	%rbx, %rsi
	callq	_FD_SET
	movq	16(%r12), %rax
	movl	%r15d, %ecx
	shlq	$6, %rcx
	movq	%r14, (%rax,%rcx)
	movl	$0, 8(%rax,%rcx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 48(%rax,%rcx)
	movups	%xmm0, 32(%rax,%rcx)
	movups	%xmm0, 16(%rax,%rcx)
	xorl	%eax, %eax
	jmp	LBB0_23
LBB0_14:
	movq	_errno@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_strerror
	movl	(%rbx), %edx
	leaq	L_.str.1(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_log_crit
	jmp	LBB0_22
LBB0_15:
	movq	_errno@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_strerror
	movl	(%rbx), %edx
	leaq	L_.str.2(%rip), %rdi
	jmp	LBB0_20
LBB0_16:
	callq	_strerror
	movl	(%r14), %ecx
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_log_crit
	jmp	LBB0_22
LBB0_17:
	movq	_errno@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_strerror
	movl	(%rbx), %edx
	leaq	L_.str.3(%rip), %rdi
	jmp	LBB0_20
LBB0_18:
	movq	_errno@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_strerror
	movl	(%rbx), %edx
	leaq	L_.str.4(%rip), %rdi
	jmp	LBB0_20
LBB0_19:
	movq	_errno@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_strerror
	movl	(%rbx), %edx
	leaq	L_.str.5(%rip), %rdi
LBB0_20:
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_log_crit
	movl	%r14d, %edi
LBB0_21:
	callq	_close
LBB0_22:
	movl	$-1, %eax
LBB0_23:
	addq	$168, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_24:
	movq	_errno@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_strerror
	movl	(%rbx), %edx
	leaq	L_.str.6(%rip), %rdi
	jmp	LBB0_27
LBB0_25:
	movq	_errno@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_strerror
	movl	(%rbx), %edx
	leaq	L_.str.7(%rip), %rdi
	jmp	LBB0_27
LBB0_26:
	movq	_errno@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_strerror
	movl	(%rbx), %edx
	leaq	L_.str.8(%rip), %rdi
LBB0_27:
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_log_crit
LBB0_28:
	movl	%r14d, %edi
	callq	_close
	movl	%r15d, %edi
	jmp	LBB0_21
LBB0_29:
	leaq	L_.str.9(%rip), %rdi
	xorl	%eax, %eax
	callq	_log_crit
	jmp	LBB0_28
LBB0_30:
	leaq	L_.str.10(%rip), %rdi
	xorl	%eax, %eax
	callq	_log_crit
	jmp	LBB0_32
LBB0_31:
	leaq	L_.str.11(%rip), %rdi
	xorl	%eax, %eax
	callq	_log_crit
	movq	16(%r12), %rdi
	callq	_free
LBB0_32:
	movq	32(%r12), %rdi
	callq	_free
	jmp	LBB0_28
	.cfi_endproc
                                        ## -- End function
	.comm	_errno,4,2                      ## @errno
	.comm	_ENOENT,4,2                     ## @ENOENT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Could not unlink(%s). %s (%d)"

	.comm	_PF_LOCAL,4,2                   ## @PF_LOCAL
	.comm	_SOCK_STREAM,4,2                ## @SOCK_STREAM
L_.str.1:                               ## @.str.1
	.asciz	"Could not create control socket. %s (%d)"

	.comm	_AF_LOCAL,4,2                   ## @AF_LOCAL
L_.str.2:                               ## @.str.2
	.asciz	"Could not bind control socket. %s (%d)"

	.comm	_S_IRUSR,4,2                    ## @S_IRUSR
	.comm	_S_IWUSR,4,2                    ## @S_IWUSR
	.comm	_S_IRGRP,4,2                    ## @S_IRGRP
	.comm	_S_IWGRP,4,2                    ## @S_IWGRP
	.comm	_S_IROTH,4,2                    ## @S_IROTH
	.comm	_S_IWOTH,4,2                    ## @S_IWOTH
L_.str.3:                               ## @.str.3
	.asciz	"Could not change permissions on control socket. %s (%d)"

L_.str.4:                               ## @.str.4
	.asciz	"Could not listen on control socket. %s (%d)"

	.comm	_PF_BLUETOOTH,4,2               ## @PF_BLUETOOTH
	.comm	_SOCK_SEQPACKET,4,2             ## @SOCK_SEQPACKET
	.comm	_BLUETOOTH_PROTO_L2CAP,4,2      ## @BLUETOOTH_PROTO_L2CAP
L_.str.5:                               ## @.str.5
	.asciz	"Could not create L2CAP socket. %s (%d)"

	.comm	_SOL_L2CAP,4,2                  ## @SOL_L2CAP
	.comm	_SO_L2CAP_IMTU,4,2              ## @SO_L2CAP_IMTU
L_.str.6:                               ## @.str.6
	.asciz	"Could not get L2CAP IMTU. %s (%d)"

	.comm	_AF_BLUETOOTH,4,2               ## @AF_BLUETOOTH
	.comm	_NG_HCI_BDADDR_ANY,4,2          ## @NG_HCI_BDADDR_ANY
	.comm	_NG_L2CAP_PSM_SDP,4,2           ## @NG_L2CAP_PSM_SDP
L_.str.7:                               ## @.str.7
	.asciz	"Could not bind L2CAP socket. %s (%d)"

L_.str.8:                               ## @.str.8
	.asciz	"Could not listen on L2CAP socket. %s (%d)"

	.comm	_SDP_LOCAL_MTU,8,3              ## @SDP_LOCAL_MTU
L_.str.9:                               ## @.str.9
	.asciz	"Could not allocate request buffer"

	.comm	_FD_SETSIZE,8,3                 ## @FD_SETSIZE
L_.str.10:                              ## @.str.10
	.asciz	"Could not allocate fd index"

L_.str.11:                              ## @.str.11
	.asciz	"Could not register Service Discovery profile"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_server_init                    ; -- Begin function server_init
	.p2align	2
_server_init:                           ; @server_init
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #272
	.cfi_def_cfa_offset 272
	stp	d9, d8, [sp, #192]              ; 16-byte Folded Spill
	stp	x24, x23, [sp, #208]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #224]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #240]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #256]            ; 16-byte Folded Spill
	add	x29, sp, #256
	.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 b8, -72
	.cfi_offset b9, -80
	mov	x21, x1
	mov	x20, x0
	cmp	x0, #0
	cset	w0, ne
	bl	_assert
	cmp	x21, #0
	cset	w0, ne
	bl	_assert
	mov	x0, x20
	mov	w1, #0
	mov	w2, #72
	bl	_memset
	mov	x0, x21
	bl	_unlink
	tbz	x0, #63, LBB0_2
; %bb.1:
Lloh0:
	adrp	x19, _errno@GOTPAGE
Lloh1:
	ldr	x19, [x19, _errno@GOTPAGEOFF]
	ldr	w0, [x19]
Lloh2:
	adrp	x8, _ENOENT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_16
LBB0_2:
Lloh5:
	adrp	x8, _PF_LOCAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _PF_LOCAL@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
Lloh8:
	adrp	x8, _SOCK_STREAM@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SOCK_STREAM@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_socket
	tbnz	w0, #31, LBB0_14
; %bb.3:
	mov	x19, x0
	mov	w22, #72
	add	x0, sp, #120
	mov	w1, #0
	mov	w2, #72
	bl	_memset
Lloh11:
	adrp	x8, _AF_LOCAL@GOTPAGE
Lloh12:
	ldr	x8, [x8, _AF_LOCAL@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	str	w22, [sp, #120]
	str	w8, [sp, #184]
	ldr	w0, [sp, #180]
	mov	x1, x21
	mov	w2, #4
	bl	_strlcpy
	add	x1, sp, #120
	mov	x0, x19
	mov	w2, #72
	bl	_bind
	tbnz	x0, #63, LBB0_15
; %bb.4:
Lloh14:
	adrp	x8, _S_IRUSR@GOTPAGE
Lloh15:
	ldr	x8, [x8, _S_IRUSR@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
Lloh17:
	adrp	x9, _S_IWUSR@GOTPAGE
Lloh18:
	ldr	x9, [x9, _S_IWUSR@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh20:
	adrp	x9, _S_IRGRP@GOTPAGE
Lloh21:
	ldr	x9, [x9, _S_IRGRP@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh23:
	adrp	x9, _S_IWGRP@GOTPAGE
Lloh24:
	ldr	x9, [x9, _S_IWGRP@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh26:
	adrp	x9, _S_IROTH@GOTPAGE
Lloh27:
	ldr	x9, [x9, _S_IROTH@GOTPAGEOFF]
Lloh28:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh29:
	adrp	x9, _S_IWOTH@GOTPAGE
Lloh30:
	ldr	x9, [x9, _S_IWOTH@GOTPAGEOFF]
Lloh31:
	ldr	w9, [x9]
	orr	w1, w8, w9
	mov	x0, x21
	bl	_chmod
	tbnz	x0, #63, LBB0_18
; %bb.5:
	mov	x0, x19
	mov	w1, #10
	bl	_listen
	tbnz	x0, #63, LBB0_19
; %bb.6:
Lloh32:
	adrp	x8, _PF_BLUETOOTH@GOTPAGE
Lloh33:
	ldr	x8, [x8, _PF_BLUETOOTH@GOTPAGEOFF]
Lloh34:
	ldr	w0, [x8]
Lloh35:
	adrp	x8, _SOCK_SEQPACKET@GOTPAGE
Lloh36:
	ldr	x8, [x8, _SOCK_SEQPACKET@GOTPAGEOFF]
Lloh37:
	ldr	w1, [x8]
Lloh38:
	adrp	x8, _BLUETOOTH_PROTO_L2CAP@GOTPAGE
Lloh39:
	ldr	x8, [x8, _BLUETOOTH_PROTO_L2CAP@GOTPAGEOFF]
Lloh40:
	ldr	w2, [x8]
	bl	_socket
	tbnz	w0, #31, LBB0_20
; %bb.7:
	mov	x21, x0
	mov	w8, #8
	str	w8, [sp, #44]
Lloh41:
	adrp	x8, _SOL_L2CAP@GOTPAGE
Lloh42:
	ldr	x8, [x8, _SOL_L2CAP@GOTPAGEOFF]
Lloh43:
	ldr	w1, [x8]
Lloh44:
	adrp	x8, _SO_L2CAP_IMTU@GOTPAGE
Lloh45:
	ldr	x8, [x8, _SO_L2CAP_IMTU@GOTPAGEOFF]
Lloh46:
	ldr	w2, [x8]
	add	x3, sp, #32
	add	x4, sp, #44
	bl	_getsockopt
	tbnz	x0, #63, LBB0_25
; %bb.8:
	add	x22, sp, #48
	mov	w23, #72
	add	x0, sp, #48
	mov	w1, #0
	mov	w2, #72
	bl	_memset
Lloh47:
	adrp	x8, _AF_BLUETOOTH@GOTPAGE
Lloh48:
	ldr	x8, [x8, _AF_BLUETOOTH@GOTPAGEOFF]
Lloh49:
	ldr	w8, [x8]
	str	w23, [sp, #52]
	str	w8, [sp, #104]
	add	x0, x22, #52
Lloh50:
	adrp	x8, _NG_HCI_BDADDR_ANY@GOTPAGE
Lloh51:
	ldr	x8, [x8, _NG_HCI_BDADDR_ANY@GOTPAGEOFF]
Lloh52:
	ldr	w1, [x8]
	mov	w2, #4
	bl	_memcpy
Lloh53:
	adrp	x8, _NG_L2CAP_PSM_SDP@GOTPAGE
Lloh54:
	ldr	x8, [x8, _NG_L2CAP_PSM_SDP@GOTPAGEOFF]
Lloh55:
	ldr	w0, [x8]
	bl	_htole16
	str	w0, [sp, #96]
	add	x1, sp, #48
	mov	x0, x21
	mov	w2, #72
	bl	_bind
	tbnz	x0, #63, LBB0_26
; %bb.9:
	mov	x0, x21
	mov	w1, #10
	bl	_listen
	tbnz	x0, #63, LBB0_27
; %bb.10:
	ldr	x8, [sp, #32]
Lloh56:
	adrp	x23, _SDP_LOCAL_MTU@GOTPAGE
Lloh57:
	ldr	x23, [x23, _SDP_LOCAL_MTU@GOTPAGEOFF]
	ldr	x9, [x23]
	cmp	x8, x9
	csel	x0, x8, x9, gt
	str	x0, [x20, #40]
	mov	w1, #64
	bl	_calloc
	str	x0, [x20, #32]
	cbz	x0, LBB0_28
; %bb.11:
Lloh58:
	adrp	x8, _FD_SETSIZE@GOTPAGE
Lloh59:
	ldr	x8, [x8, _FD_SETSIZE@GOTPAGEOFF]
Lloh60:
	ldr	x0, [x8]
	mov	w1, #64
	bl	_calloc
	str	x0, [x20, #16]
	cbz	x0, LBB0_31
; %bb.12:
	mov	x0, x19
	bl	_provider_register_sd
	tbnz	x0, #63, LBB0_32
; %bb.13:
	add	x22, x20, #24
	mov	x0, x22
	bl	_FD_ZERO
	cmp	w19, w21
	csel	w8, w19, w21, gt
	str	w8, [x20, #8]
	mov	x0, x19
	mov	x1, x22
	bl	_FD_SET
	ldr	x8, [x20, #16]
	mov	w9, w19
	add	x8, x8, x9, lsl #6
	movi.2s	v8, #1
	str	d8, [x8]
	mov	w9, #1
	str	w9, [x8, #8]
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [x8, #32]
	ldr	x9, [x23]
	stp	xzr, x9, [x8, #16]
	mov	x0, x21
	mov	x1, x22
	bl	_FD_SET
	mov	w0, #0
	ldr	x8, [x20, #16]
	mov	w9, w21
	add	x8, x8, x9, lsl #6
	str	d8, [x8]
	str	wzr, [x8, #8]
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [x8, #32]
	str	q0, [x8, #16]
	b	LBB0_24
LBB0_14:
Lloh61:
	adrp	x19, _errno@GOTPAGE
Lloh62:
	ldr	x19, [x19, _errno@GOTPAGEOFF]
	ldr	w0, [x19]
	bl	_strerror
                                        ; kill: def $w0 killed $w0 def $x0
	ldr	w8, [x19]
	stp	x0, x8, [sp]
Lloh63:
	adrp	x0, l_.str.1@PAGE
Lloh64:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_17
LBB0_15:
Lloh65:
	adrp	x20, _errno@GOTPAGE
Lloh66:
	ldr	x20, [x20, _errno@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_strerror
                                        ; kill: def $w0 killed $w0 def $x0
	ldr	w8, [x20]
	stp	x0, x8, [sp]
Lloh67:
	adrp	x0, l_.str.2@PAGE
Lloh68:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_21
LBB0_16:
	bl	_strerror
                                        ; kill: def $w0 killed $w0 def $x0
	ldr	w8, [x19]
	stp	x0, x8, [sp, #8]
	str	x21, [sp]
Lloh69:
	adrp	x0, l_.str@PAGE
Lloh70:
	add	x0, x0, l_.str@PAGEOFF
LBB0_17:
	bl	_log_crit
	b	LBB0_23
LBB0_18:
Lloh71:
	adrp	x20, _errno@GOTPAGE
Lloh72:
	ldr	x20, [x20, _errno@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_strerror
                                        ; kill: def $w0 killed $w0 def $x0
	ldr	w8, [x20]
	stp	x0, x8, [sp]
Lloh73:
	adrp	x0, l_.str.3@PAGE
Lloh74:
	add	x0, x0, l_.str.3@PAGEOFF
	b	LBB0_21
LBB0_19:
Lloh75:
	adrp	x20, _errno@GOTPAGE
Lloh76:
	ldr	x20, [x20, _errno@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_strerror
                                        ; kill: def $w0 killed $w0 def $x0
	ldr	w8, [x20]
	stp	x0, x8, [sp]
Lloh77:
	adrp	x0, l_.str.4@PAGE
Lloh78:
	add	x0, x0, l_.str.4@PAGEOFF
	b	LBB0_21
LBB0_20:
Lloh79:
	adrp	x20, _errno@GOTPAGE
Lloh80:
	ldr	x20, [x20, _errno@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_strerror
                                        ; kill: def $w0 killed $w0 def $x0
	ldr	w8, [x20]
	stp	x0, x8, [sp]
Lloh81:
	adrp	x0, l_.str.5@PAGE
Lloh82:
	add	x0, x0, l_.str.5@PAGEOFF
LBB0_21:
	bl	_log_crit
	mov	x0, x19
LBB0_22:
	bl	_close
LBB0_23:
	mov	w0, #-1
LBB0_24:
	ldp	x29, x30, [sp, #256]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #240]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #224]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #208]            ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #192]              ; 16-byte Folded Reload
	add	sp, sp, #272
	ret
LBB0_25:
Lloh83:
	adrp	x20, _errno@GOTPAGE
Lloh84:
	ldr	x20, [x20, _errno@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_strerror
                                        ; kill: def $w0 killed $w0 def $x0
	ldr	w8, [x20]
	stp	x0, x8, [sp]
Lloh85:
	adrp	x0, l_.str.6@PAGE
Lloh86:
	add	x0, x0, l_.str.6@PAGEOFF
	b	LBB0_29
LBB0_26:
Lloh87:
	adrp	x20, _errno@GOTPAGE
Lloh88:
	ldr	x20, [x20, _errno@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_strerror
                                        ; kill: def $w0 killed $w0 def $x0
	ldr	w8, [x20]
	stp	x0, x8, [sp]
Lloh89:
	adrp	x0, l_.str.7@PAGE
Lloh90:
	add	x0, x0, l_.str.7@PAGEOFF
	b	LBB0_29
LBB0_27:
Lloh91:
	adrp	x20, _errno@GOTPAGE
Lloh92:
	ldr	x20, [x20, _errno@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_strerror
                                        ; kill: def $w0 killed $w0 def $x0
	ldr	w8, [x20]
	stp	x0, x8, [sp]
Lloh93:
	adrp	x0, l_.str.8@PAGE
Lloh94:
	add	x0, x0, l_.str.8@PAGEOFF
	b	LBB0_29
LBB0_28:
Lloh95:
	adrp	x0, l_.str.9@PAGE
Lloh96:
	add	x0, x0, l_.str.9@PAGEOFF
LBB0_29:
	bl	_log_crit
LBB0_30:
	mov	x0, x19
	bl	_close
	mov	x0, x21
	b	LBB0_22
LBB0_31:
Lloh97:
	adrp	x0, l_.str.10@PAGE
Lloh98:
	add	x0, x0, l_.str.10@PAGEOFF
	bl	_log_crit
	b	LBB0_33
LBB0_32:
Lloh99:
	adrp	x0, l_.str.11@PAGE
Lloh100:
	add	x0, x0, l_.str.11@PAGEOFF
	bl	_log_crit
	ldr	x0, [x20, #16]
	bl	_free
LBB0_33:
	ldr	x0, [x20, #32]
	bl	_free
	b	LBB0_30
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGot	Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpAdd	Lloh63, Lloh64
	.loh AdrpLdrGot	Lloh61, Lloh62
	.loh AdrpAdd	Lloh67, Lloh68
	.loh AdrpLdrGot	Lloh65, Lloh66
	.loh AdrpAdd	Lloh69, Lloh70
	.loh AdrpAdd	Lloh73, Lloh74
	.loh AdrpLdrGot	Lloh71, Lloh72
	.loh AdrpAdd	Lloh77, Lloh78
	.loh AdrpLdrGot	Lloh75, Lloh76
	.loh AdrpAdd	Lloh81, Lloh82
	.loh AdrpLdrGot	Lloh79, Lloh80
	.loh AdrpAdd	Lloh85, Lloh86
	.loh AdrpLdrGot	Lloh83, Lloh84
	.loh AdrpAdd	Lloh89, Lloh90
	.loh AdrpLdrGot	Lloh87, Lloh88
	.loh AdrpAdd	Lloh93, Lloh94
	.loh AdrpLdrGot	Lloh91, Lloh92
	.loh AdrpAdd	Lloh95, Lloh96
	.loh AdrpAdd	Lloh97, Lloh98
	.loh AdrpAdd	Lloh99, Lloh100
	.cfi_endproc
                                        ; -- End function
	.comm	_errno,4,2                      ; @errno
	.comm	_ENOENT,4,2                     ; @ENOENT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Could not unlink(%s). %s (%d)"

	.comm	_PF_LOCAL,4,2                   ; @PF_LOCAL
	.comm	_SOCK_STREAM,4,2                ; @SOCK_STREAM
l_.str.1:                               ; @.str.1
	.asciz	"Could not create control socket. %s (%d)"

	.comm	_AF_LOCAL,4,2                   ; @AF_LOCAL
l_.str.2:                               ; @.str.2
	.asciz	"Could not bind control socket. %s (%d)"

	.comm	_S_IRUSR,4,2                    ; @S_IRUSR
	.comm	_S_IWUSR,4,2                    ; @S_IWUSR
	.comm	_S_IRGRP,4,2                    ; @S_IRGRP
	.comm	_S_IWGRP,4,2                    ; @S_IWGRP
	.comm	_S_IROTH,4,2                    ; @S_IROTH
	.comm	_S_IWOTH,4,2                    ; @S_IWOTH
l_.str.3:                               ; @.str.3
	.asciz	"Could not change permissions on control socket. %s (%d)"

l_.str.4:                               ; @.str.4
	.asciz	"Could not listen on control socket. %s (%d)"

	.comm	_PF_BLUETOOTH,4,2               ; @PF_BLUETOOTH
	.comm	_SOCK_SEQPACKET,4,2             ; @SOCK_SEQPACKET
	.comm	_BLUETOOTH_PROTO_L2CAP,4,2      ; @BLUETOOTH_PROTO_L2CAP
l_.str.5:                               ; @.str.5
	.asciz	"Could not create L2CAP socket. %s (%d)"

	.comm	_SOL_L2CAP,4,2                  ; @SOL_L2CAP
	.comm	_SO_L2CAP_IMTU,4,2              ; @SO_L2CAP_IMTU
l_.str.6:                               ; @.str.6
	.asciz	"Could not get L2CAP IMTU. %s (%d)"

	.comm	_AF_BLUETOOTH,4,2               ; @AF_BLUETOOTH
	.comm	_NG_HCI_BDADDR_ANY,4,2          ; @NG_HCI_BDADDR_ANY
	.comm	_NG_L2CAP_PSM_SDP,4,2           ; @NG_L2CAP_PSM_SDP
l_.str.7:                               ; @.str.7
	.asciz	"Could not bind L2CAP socket. %s (%d)"

l_.str.8:                               ; @.str.8
	.asciz	"Could not listen on L2CAP socket. %s (%d)"

	.comm	_SDP_LOCAL_MTU,8,3              ; @SDP_LOCAL_MTU
l_.str.9:                               ; @.str.9
	.asciz	"Could not allocate request buffer"

	.comm	_FD_SETSIZE,8,3                 ; @FD_SETSIZE
l_.str.10:                              ; @.str.10
	.asciz	"Could not allocate fd index"

l_.str.11:                              ; @.str.11
	.asciz	"Could not register Service Discovery profile"

.subsections_via_symbols
