	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ng_btsocket_sco_send_lp_con_req
_ng_btsocket_sco_send_lp_con_req:       ## @ng_btsocket_sco_send_lp_con_req
	.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
	addq	$12, %rdi
	movq	_MA_OWNED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_mtx_assert
	movq	(%rbx), %rax
	movq	_ENETDOWN@GOTPCREL(%rip), %rbx
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.2:
	callq	_NG_HOOK_NOT_VALID
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:
	movq	_NGM_HCI_COOKIE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_NGM_HCI_LP_CON_REQ@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_M_NOWAIT@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	xorl	%edi, %edi
	movl	$8, %ecx
	callq	_NG_MKMESSAGE
	movq	_ENOMEM@GOTPCREL(%rip), %rbx
LBB0_4:
	movl	(%rbx), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MA_OWNED,4,2                   ## @MA_OWNED
	.comm	_ENETDOWN,4,2                   ## @ENETDOWN
	.comm	_NGM_HCI_COOKIE,4,2             ## @NGM_HCI_COOKIE
	.comm	_NGM_HCI_LP_CON_REQ,4,2         ## @NGM_HCI_LP_CON_REQ
	.comm	_M_NOWAIT,4,2                   ## @M_NOWAIT
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_NG_HCI_LINK_SCO,4,2            ## @NG_HCI_LINK_SCO
	.comm	_ng_btsocket_sco_node,4,2       ## @ng_btsocket_sco_node
	.no_dead_strip	_ng_btsocket_sco_send_lp_con_req
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ng_btsocket_sco_send_lp_con_req
_ng_btsocket_sco_send_lp_con_req:       ; @ng_btsocket_sco_send_lp_con_req
	.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
	add	x0, x0, #12
Lloh0:
	adrp	x8, _MA_OWNED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MA_OWNED@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_mtx_assert
	ldr	x8, [x19]
	cbz	x8, LBB0_3
; %bb.1:
	ldr	x0, [x8]
	cbz	x0, LBB0_3
; %bb.2:
	bl	_NG_HOOK_NOT_VALID
	cbz	x0, LBB0_5
LBB0_3:
Lloh3:
	adrp	x8, _ENETDOWN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENETDOWN@GOTPAGEOFF]
LBB0_4:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_5:
Lloh5:
	adrp	x8, _NGM_HCI_COOKIE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _NGM_HCI_COOKIE@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
Lloh8:
	adrp	x8, _NGM_HCI_LP_CON_REQ@GOTPAGE
Lloh9:
	ldr	x8, [x8, _NGM_HCI_LP_CON_REQ@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
Lloh11:
	adrp	x8, _M_NOWAIT@GOTPAGE
Lloh12:
	ldr	x8, [x8, _M_NOWAIT@GOTPAGEOFF]
Lloh13:
	ldr	w4, [x8]
	mov	w3, #8
	bl	_NG_MKMESSAGE
Lloh14:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_MA_OWNED,4,2                   ; @MA_OWNED
	.comm	_ENETDOWN,4,2                   ; @ENETDOWN
	.comm	_NGM_HCI_COOKIE,4,2             ; @NGM_HCI_COOKIE
	.comm	_NGM_HCI_LP_CON_REQ,4,2         ; @NGM_HCI_LP_CON_REQ
	.comm	_M_NOWAIT,4,2                   ; @M_NOWAIT
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_NG_HCI_LINK_SCO,4,2            ; @NG_HCI_LINK_SCO
	.comm	_ng_btsocket_sco_node,4,2       ; @ng_btsocket_sco_node
	.no_dead_strip	_ng_btsocket_sco_send_lp_con_req
.subsections_via_symbols
