	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ng_bridge_send_ctx
_ng_bridge_send_ctx:                    ## @ng_bridge_send_ctx
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	callq	_NG_HOOK_PRIVATE
	movl	$1, %r14d
	cmpq	8(%rbx), %rax
	je	LBB0_11
## %bb.1:
	movq	%rax, %r15
	cmpq	$0, 24(%rbx)
	je	LBB0_2
## %bb.3:
	movl	16(%rbx), %edi
	movq	_M_NOWAIT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_m_dup
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	incl	16(%r15)
	movl	(%rax), %ecx
	addl	%ecx, 12(%r15)
	movl	4(%rbx), %ecx
	cmpl	$2, %ecx
	je	LBB0_8
## %bb.6:
	cmpl	$1, %ecx
	jne	LBB0_10
## %bb.7:
	movq	%r15, %rcx
	addq	$8, %rcx
	jmp	LBB0_9
LBB0_2:
	movq	%r15, 24(%rbx)
	jmp	LBB0_11
LBB0_4:
	movq	8(%rbx), %rax
	incl	20(%rax)
	movq	_ENOBUFS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	xorl	%r14d, %r14d
	jmp	LBB0_11
LBB0_8:
	movq	%r15, %rcx
	addq	$4, %rcx
LBB0_9:
	incl	(%rcx)
LBB0_10:
	movl	(%r15), %esi
	xorl	%edi, %edi
	movq	%rax, %rdx
	callq	_NG_SEND_DATA_ONLY
LBB0_11:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_M_NOWAIT,4,2                   ## @M_NOWAIT
	.comm	_ENOBUFS,4,2                    ## @ENOBUFS
	.no_dead_strip	_ng_bridge_send_ctx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ng_bridge_send_ctx
_ng_bridge_send_ctx:                    ; @ng_bridge_send_ctx
	.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	x20, x1
	bl	_NG_HOOK_PRIVATE
	ldr	x8, [x20, #8]
	cmp	x0, x8
	b.eq	LBB0_11
; %bb.1:
	mov	x19, x0
	ldr	x8, [x20, #24]
	cbz	x8, LBB0_6
; %bb.2:
	ldr	w0, [x20, #16]
Lloh0:
	adrp	x8, _M_NOWAIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _M_NOWAIT@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_m_dup
	cbz	x0, LBB0_7
; %bb.3:
	mov	x2, x0
	ldur	d0, [x19, #12]
	movi.2s	v1, #1
	ld1.s	{ v1 }[0], [x0]
	add.2s	v0, v0, v1
	stur	d0, [x19, #12]
	ldr	w8, [x20, #4]
	cmp	w8, #2
	b.eq	LBB0_8
; %bb.4:
	cmp	w8, #1
	b.ne	LBB0_10
; %bb.5:
	add	x8, x19, #8
	b	LBB0_9
LBB0_6:
	str	x19, [x20, #24]
	b	LBB0_11
LBB0_7:
	ldr	x8, [x20, #8]
	ldr	w9, [x8, #20]
	add	w9, w9, #1
	str	w9, [x8, #20]
Lloh3:
	adrp	x8, _ENOBUFS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENOBUFS@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x20]
	b	LBB0_12
LBB0_8:
	add	x8, x19, #4
LBB0_9:
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
LBB0_10:
	ldr	w1, [x19]
	mov	w0, #0
	bl	_NG_SEND_DATA_ONLY
LBB0_11:
	mov	w0, #1
LBB0_12:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_M_NOWAIT,4,2                   ; @M_NOWAIT
	.comm	_ENOBUFS,4,2                    ; @ENOBUFS
	.no_dead_strip	_ng_bridge_send_ctx
.subsections_via_symbols
