	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ng_start
_ng_start:                              ## @ng_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_snmp_node@GOTPCREL(%rip), %rbx
	cmpq	$0, (%rbx)
	jne	LBB0_3
## %bb.1:
	movq	_snmp_nodename@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_csock@GOTPCREL(%rip), %rsi
	movq	_dsock@GOTPCREL(%rip), %rdx
	callq	_NgMkSockNode
	testq	%rax, %rax
	js	LBB0_9
## %bb.2:
	leaq	L_.str.1(%rip), %rdi
	callq	_ng_node_id
	movq	%rax, (%rbx)
LBB0_3:
	movq	_csock@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_csock_input@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_module@GOTPCREL(%rip), %rbx
	movl	(%rbx), %ecx
	xorl	%edx, %edx
	callq	_fd_select
	movq	_csock_fd@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	testq	%rax, %rax
	je	LBB0_4
## %bb.6:
	movq	_dsock@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_dsock_input@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%rbx), %ecx
	xorl	%edx, %edx
	callq	_fd_select
	movq	_dsock_fd@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	testq	%rax, %rax
	je	LBB0_7
## %bb.8:
	movl	(%rbx), %edx
	movq	_oid_begemotNg@GOTPCREL(%rip), %rdi
	leaq	L_.str.4(%rip), %rsi
	callq	_or_register
	movq	_reg_index@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_4:
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_5
LBB0_7:
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_syslog                         ## TAILCALL
LBB0_9:
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_syslog
	movl	$1, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_snmp_node,8,3                  ## @snmp_node
	.comm	_snmp_nodename,4,2              ## @snmp_nodename
	.comm	_csock,4,2                      ## @csock
	.comm	_dsock,4,2                      ## @dsock
	.comm	_LOG_ERR,4,2                    ## @LOG_ERR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"NgMkSockNode: %m"

L_.str.1:                               ## @.str.1
	.asciz	".:"

	.comm	_csock_input,4,2                ## @csock_input
	.comm	_module,4,2                     ## @module
	.comm	_csock_fd,8,3                   ## @csock_fd
L_.str.2:                               ## @.str.2
	.asciz	"fd_select failed on csock: %m"

	.comm	_dsock_input,4,2                ## @dsock_input
	.comm	_dsock_fd,8,3                   ## @dsock_fd
L_.str.3:                               ## @.str.3
	.asciz	"fd_select failed on dsock: %m"

	.comm	_oid_begemotNg,4,2              ## @oid_begemotNg
L_.str.4:                               ## @.str.4
	.asciz	"The MIB for the NetGraph access module for SNMP."

	.comm	_reg_index,4,2                  ## @reg_index
	.no_dead_strip	_ng_start
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ng_start
_ng_start:                              ; @ng_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
Lloh0:
	adrp	x19, _snmp_node@GOTPAGE
Lloh1:
	ldr	x19, [x19, _snmp_node@GOTPAGEOFF]
	ldr	x8, [x19]
	cbnz	x8, LBB0_3
; %bb.1:
Lloh2:
	adrp	x8, _snmp_nodename@GOTPAGE
Lloh3:
	ldr	x8, [x8, _snmp_nodename@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
Lloh5:
	adrp	x1, _csock@GOTPAGE
Lloh6:
	ldr	x1, [x1, _csock@GOTPAGEOFF]
Lloh7:
	adrp	x2, _dsock@GOTPAGE
Lloh8:
	ldr	x2, [x2, _dsock@GOTPAGEOFF]
	bl	_NgMkSockNode
	tbnz	x0, #63, LBB0_9
; %bb.2:
Lloh9:
	adrp	x0, l_.str.1@PAGE
Lloh10:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_ng_node_id
	str	x0, [x19]
LBB0_3:
Lloh11:
	adrp	x8, _csock@GOTPAGE
Lloh12:
	ldr	x8, [x8, _csock@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
Lloh14:
	adrp	x8, _csock_input@GOTPAGE
Lloh15:
	ldr	x8, [x8, _csock_input@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
Lloh17:
	adrp	x19, _module@GOTPAGE
Lloh18:
	ldr	x19, [x19, _module@GOTPAGEOFF]
	ldr	w3, [x19]
	mov	x2, #0
	bl	_fd_select
Lloh19:
	adrp	x8, _csock_fd@GOTPAGE
Lloh20:
	ldr	x8, [x8, _csock_fd@GOTPAGEOFF]
Lloh21:
	str	x0, [x8]
	cbz	x0, LBB0_6
; %bb.4:
Lloh22:
	adrp	x8, _dsock@GOTPAGE
Lloh23:
	ldr	x8, [x8, _dsock@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x8]
Lloh25:
	adrp	x8, _dsock_input@GOTPAGE
Lloh26:
	ldr	x8, [x8, _dsock_input@GOTPAGEOFF]
Lloh27:
	ldr	w1, [x8]
	ldr	w3, [x19]
	mov	x2, #0
	bl	_fd_select
Lloh28:
	adrp	x8, _dsock_fd@GOTPAGE
Lloh29:
	ldr	x8, [x8, _dsock_fd@GOTPAGEOFF]
Lloh30:
	str	x0, [x8]
	cbz	x0, LBB0_7
; %bb.5:
	ldr	w2, [x19]
Lloh31:
	adrp	x0, _oid_begemotNg@GOTPAGE
Lloh32:
	ldr	x0, [x0, _oid_begemotNg@GOTPAGEOFF]
Lloh33:
	adrp	x1, l_.str.4@PAGE
Lloh34:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_or_register
Lloh35:
	adrp	x8, _reg_index@GOTPAGE
Lloh36:
	ldr	x8, [x8, _reg_index@GOTPAGEOFF]
Lloh37:
	str	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_6:
Lloh38:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh39:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh40:
	ldr	w0, [x8]
Lloh41:
	adrp	x1, l_.str.2@PAGE
Lloh42:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_8
LBB0_7:
Lloh43:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh44:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh45:
	ldr	w0, [x8]
Lloh46:
	adrp	x1, l_.str.3@PAGE
Lloh47:
	add	x1, x1, l_.str.3@PAGEOFF
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_syslog
LBB0_9:
Lloh48:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh49:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh50:
	ldr	w0, [x8]
Lloh51:
	adrp	x1, l_.str@PAGE
Lloh52:
	add	x1, x1, l_.str@PAGEOFF
	bl	_syslog
	mov	w0, #1
	bl	_exit
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotStr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotStr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotStr	Lloh35, Lloh36, Lloh37
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpAdd	Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.cfi_endproc
                                        ; -- End function
	.comm	_snmp_node,8,3                  ; @snmp_node
	.comm	_snmp_nodename,4,2              ; @snmp_nodename
	.comm	_csock,4,2                      ; @csock
	.comm	_dsock,4,2                      ; @dsock
	.comm	_LOG_ERR,4,2                    ; @LOG_ERR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"NgMkSockNode: %m"

l_.str.1:                               ; @.str.1
	.asciz	".:"

	.comm	_csock_input,4,2                ; @csock_input
	.comm	_module,4,2                     ; @module
	.comm	_csock_fd,8,3                   ; @csock_fd
l_.str.2:                               ; @.str.2
	.asciz	"fd_select failed on csock: %m"

	.comm	_dsock_input,4,2                ; @dsock_input
	.comm	_dsock_fd,8,3                   ; @dsock_fd
l_.str.3:                               ; @.str.3
	.asciz	"fd_select failed on dsock: %m"

	.comm	_oid_begemotNg,4,2              ; @oid_begemotNg
l_.str.4:                               ; @.str.4
	.asciz	"The MIB for the NetGraph access module for SNMP."

	.comm	_reg_index,4,2                  ; @reg_index
	.no_dead_strip	_ng_start
.subsections_via_symbols
