	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ng_btsocket_l2cap_raw_send_sync_ngmsg
_ng_btsocket_l2cap_raw_send_sync_ngmsg: ## @ng_btsocket_l2cap_raw_send_sync_ngmsg
	.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
	movl	%esi, %ebx
	addq	$12, %rdi
	movq	_MA_OWNED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_mtx_assert
	movq	_NGM_L2CAP_COOKIE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_M_NOWAIT@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	xorl	%edi, %edi
	movl	%ebx, %edx
	xorl	%ecx, %ecx
	callq	_NG_MKMESSAGE
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MA_OWNED,4,2                   ## @MA_OWNED
	.comm	_NGM_L2CAP_COOKIE,4,2           ## @NGM_L2CAP_COOKIE
	.comm	_M_NOWAIT,4,2                   ## @M_NOWAIT
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_ng_btsocket_l2cap_raw_node,4,2 ## @ng_btsocket_l2cap_raw_node
	.comm	_PZERO,4,2                      ## @PZERO
	.comm	_PCATCH,4,2                     ## @PCATCH
	.comm	_ng_btsocket_l2cap_raw_ioctl_timeout,4,2 ## @ng_btsocket_l2cap_raw_ioctl_timeout
	.comm	_hz,4,2                         ## @hz
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_ng_btsocket_l2cap_raw_send_sync_ngmsg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ng_btsocket_l2cap_raw_send_sync_ngmsg
_ng_btsocket_l2cap_raw_send_sync_ngmsg: ; @ng_btsocket_l2cap_raw_send_sync_ngmsg
	.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, x1
	add	x0, x0, #12
Lloh0:
	adrp	x8, _MA_OWNED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MA_OWNED@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_mtx_assert
Lloh3:
	adrp	x8, _NGM_L2CAP_COOKIE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NGM_L2CAP_COOKIE@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x8, _M_NOWAIT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _M_NOWAIT@GOTPAGEOFF]
Lloh8:
	ldr	w4, [x8]
	mov	x0, #0
	mov	x2, x19
	mov	w3, #0
	bl	_NG_MKMESSAGE
Lloh9:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MA_OWNED,4,2                   ; @MA_OWNED
	.comm	_NGM_L2CAP_COOKIE,4,2           ; @NGM_L2CAP_COOKIE
	.comm	_M_NOWAIT,4,2                   ; @M_NOWAIT
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_ng_btsocket_l2cap_raw_node,4,2 ; @ng_btsocket_l2cap_raw_node
	.comm	_PZERO,4,2                      ; @PZERO
	.comm	_PCATCH,4,2                     ; @PCATCH
	.comm	_ng_btsocket_l2cap_raw_ioctl_timeout,4,2 ; @ng_btsocket_l2cap_raw_ioctl_timeout
	.comm	_hz,4,2                         ; @hz
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_ng_btsocket_l2cap_raw_send_sync_ngmsg
.subsections_via_symbols
