	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ng_source_connect
_ng_source_connect:                     ## @ng_source_connect
	.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	%rdi, %rbx
	callq	_NG_HOOK_NODE
	movl	%eax, %edi
	callq	_NG_NODE_PRIVATE
	cmpq	%rbx, (%rax)
	jne	LBB0_2
## %bb.1:
	movq	%rax, %r14
	movq	_NGM_ETHER_COOKIE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_NGM_ETHER_GET_IFNAME@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_M_NOWAIT@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	xorl	%ecx, %ecx
	callq	_NG_MKMESSAGE
	movl	8(%r14), %r15d
	movq	(%r14), %rdi
	callq	_NG_PEER_NODE
	movl	%eax, %edi
	callq	_NG_NODE_ID
	movl	%eax, %ebx
	movl	8(%r14), %edi
	callq	_NG_NODE_ID
	xorl	%edi, %edi
	movl	%r15d, %esi
	movl	%ebx, %ecx
	movl	%eax, %r8d
	callq	_NG_SEND_MSG_ID
LBB0_2:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NGM_ETHER_COOKIE,4,2           ## @NGM_ETHER_COOKIE
	.comm	_NGM_ETHER_GET_IFNAME,4,2       ## @NGM_ETHER_GET_IFNAME
	.comm	_M_NOWAIT,4,2                   ## @M_NOWAIT
	.comm	_ENOBUFS,4,2                    ## @ENOBUFS
	.no_dead_strip	_ng_source_connect
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ng_source_connect
_ng_source_connect:                     ; @ng_source_connect
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x0
	bl	_NG_HOOK_NODE
	bl	_NG_NODE_PRIVATE
	ldr	x8, [x0]
	cmp	x8, x20
	b.ne	LBB0_2
; %bb.1:
	mov	x19, x0
Lloh0:
	adrp	x8, _NGM_ETHER_COOKIE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NGM_ETHER_COOKIE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _NGM_ETHER_GET_IFNAME@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NGM_ETHER_GET_IFNAME@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
Lloh6:
	adrp	x8, _M_NOWAIT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _M_NOWAIT@GOTPAGEOFF]
Lloh8:
	ldr	w4, [x8]
	mov	w3, #0
	bl	_NG_MKMESSAGE
	ldr	w20, [x19, #8]
	ldr	x0, [x19]
	bl	_NG_PEER_NODE
	bl	_NG_NODE_ID
	mov	x21, x0
	ldr	w0, [x19, #8]
	bl	_NG_NODE_ID
	mov	x4, x0
	mov	w0, #0
	mov	x1, x20
	mov	x3, x21
	bl	_NG_SEND_MSG_ID
LBB0_2:
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_NGM_ETHER_COOKIE,4,2           ; @NGM_ETHER_COOKIE
	.comm	_NGM_ETHER_GET_IFNAME,4,2       ; @NGM_ETHER_GET_IFNAME
	.comm	_M_NOWAIT,4,2                   ; @M_NOWAIT
	.comm	_ENOBUFS,4,2                    ; @ENOBUFS
	.no_dead_strip	_ng_source_connect
.subsections_via_symbols
