	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ng_source_start
_ng_source_start:                       ## @ng_source_start
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	cmpq	$0, 32(%rdi)
	je	LBB0_1
## %bb.2:
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movl	(%rax), %ecx
	movq	_NG_SOURCE_ACTIVE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	testl	%ecx, %edx
	je	LBB0_4
## %bb.3:
	movq	_EBUSY@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	jmp	LBB0_5
LBB0_1:
	leaq	L_str(%rip), %rdi
	callq	_puts
	movq	_ENXIO@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	jmp	LBB0_5
LBB0_4:
	orl	%ecx, %edx
	movl	%edx, (%rax)
	movl	%esi, 28(%rbx)
	leaq	12(%rbx), %r14
	leaq	24(%rbx), %rdi
	callq	_timevalclear
	leaq	20(%rbx), %rdi
	callq	_timevalclear
	leaq	16(%rbx), %rdi
	callq	_getmicrotime
	movq	%r14, %rdi
	callq	_getmicrotime
	leaq	8(%rbx), %rdi
	movq	(%rbx), %rsi
	movq	_ng_source_intr@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movl	$0, (%rsp)
	xorl	%r14d, %r14d
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movq	%rbx, %r9
	callq	_ng_callout
LBB0_5:
	movl	%r14d, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENXIO,4,2                      ## @ENXIO
	.comm	_NG_SOURCE_ACTIVE,4,2           ## @NG_SOURCE_ACTIVE
	.comm	_EBUSY,4,2                      ## @EBUSY
	.comm	_ng_source_intr,4,2             ## @ng_source_intr
	.section	__TEXT,__cstring,cstring_literals
L_str:                                  ## @str
	.asciz	"ng_source: start without iface configured"

	.no_dead_strip	_ng_source_start
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ng_source_start
_ng_source_start:                       ; @ng_source_start
	.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
	ldr	x8, [x0, #32]
	cbz	x8, LBB0_3
; %bb.1:
	mov	x19, x0
	ldr	x8, [x0]
	ldr	w9, [x8]
Lloh0:
	adrp	x10, _NG_SOURCE_ACTIVE@GOTPAGE
Lloh1:
	ldr	x10, [x10, _NG_SOURCE_ACTIVE@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_4
; %bb.2:
Lloh3:
	adrp	x8, _EBUSY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	b	LBB0_5
LBB0_3:
Lloh6:
	adrp	x0, l_str@PAGE
Lloh7:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
Lloh8:
	adrp	x8, _ENXIO@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ENXIO@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	b	LBB0_5
LBB0_4:
	orr	w9, w10, w9
	str	w9, [x8]
	str	w1, [x19, #28]
	add	x20, x19, #12
	add	x0, x19, #24
	bl	_timevalclear
	add	x0, x19, #20
	bl	_timevalclear
	add	x0, x19, #16
	bl	_getmicrotime
	mov	x0, x20
	bl	_getmicrotime
	add	x0, x19, #8
	ldr	x1, [x19]
Lloh11:
	adrp	x8, _ng_source_intr@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ng_source_intr@GOTPAGEOFF]
Lloh13:
	ldr	w4, [x8]
	mov	x2, #0
	mov	w3, #0
	mov	x5, x19
	mov	w6, #0
	bl	_ng_callout
	mov	w0, #0
LBB0_5:
	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
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_ENXIO,4,2                      ; @ENXIO
	.comm	_NG_SOURCE_ACTIVE,4,2           ; @NG_SOURCE_ACTIVE
	.comm	_EBUSY,4,2                      ; @EBUSY
	.comm	_ng_source_intr,4,2             ; @ng_source_intr
	.section	__TEXT,__cstring,cstring_literals
l_str:                                  ; @str
	.asciz	"ng_source: start without iface configured"

	.no_dead_strip	_ng_source_start
.subsections_via_symbols
