	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ntp_start
_ntp_start:                             ## @ntp_start
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	xorl	%eax, %eax
	callq	_open_socket
	cmpl	$-1, %eax
	je	LBB0_2
## %bb.1:
	movq	_ntpd_sock@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ntpd_input@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_module@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%edx, %edx
	callq	_fd_select
	movq	_ntpd_fd@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	testq	%rax, %rax
	je	LBB0_3
LBB0_2:
	movq	_module@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_oid_ntpMIB@GOTPCREL(%rip), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_or_register
	movq	_reg_index@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	popq	%rbp
	retq
LBB0_3:
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	popq	%rbp
	jmp	_syslog                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ntpd_sock,4,2                  ## @ntpd_sock
	.comm	_ntpd_input,4,2                 ## @ntpd_input
	.comm	_module,4,2                     ## @module
	.comm	_ntpd_fd,8,3                    ## @ntpd_fd
	.comm	_LOG_ERR,4,2                    ## @LOG_ERR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"fd_select failed on ntpd socket: %m"

	.comm	_oid_ntpMIB,4,2                 ## @oid_ntpMIB
L_.str.1:                               ## @.str.1
	.asciz	"The MIB for NTP."

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

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ntp_start
_ntp_start:                             ; @ntp_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
	bl	_open_socket
Lloh0:
	adrp	x19, _module@GOTPAGE
Lloh1:
	ldr	x19, [x19, _module@GOTPAGEOFF]
	cmn	w0, #1
	b.eq	LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _ntpd_sock@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ntpd_sock@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
Lloh5:
	adrp	x8, _ntpd_input@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ntpd_input@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	ldr	w3, [x19]
	mov	x2, #0
	bl	_fd_select
Lloh8:
	adrp	x8, _ntpd_fd@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ntpd_fd@GOTPAGEOFF]
Lloh10:
	str	x0, [x8]
	cbz	x0, LBB0_3
LBB0_2:
	ldr	w2, [x19]
Lloh11:
	adrp	x0, _oid_ntpMIB@GOTPAGE
Lloh12:
	ldr	x0, [x0, _oid_ntpMIB@GOTPAGEOFF]
Lloh13:
	adrp	x1, l_.str.1@PAGE
Lloh14:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_or_register
Lloh15:
	adrp	x8, _reg_index@GOTPAGE
Lloh16:
	ldr	x8, [x8, _reg_index@GOTPAGEOFF]
Lloh17:
	str	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_3:
Lloh18:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh19:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
Lloh21:
	adrp	x1, l_.str@PAGE
Lloh22:
	add	x1, x1, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_syslog
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotStr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotStr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_ntpd_sock,4,2                  ; @ntpd_sock
	.comm	_ntpd_input,4,2                 ; @ntpd_input
	.comm	_module,4,2                     ; @module
	.comm	_ntpd_fd,8,3                    ; @ntpd_fd
	.comm	_LOG_ERR,4,2                    ; @LOG_ERR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"fd_select failed on ntpd socket: %m"

	.comm	_oid_ntpMIB,4,2                 ; @oid_ntpMIB
l_.str.1:                               ; @.str.1
	.asciz	"The MIB for NTP."

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