	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ntp_getopt                     ## -- Begin function ntp_getopt
	.p2align	4, 0x90
_ntp_getopt:                            ## @ntp_getopt
	.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
	.cfi_offset %rbx, -24
	movq	(%rsi), %rax
	movq	_prog@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	_ntp_optarg@GOTPCREL(%rip), %r8
	movq	$0, (%r8)
	movq	_ntp_optind@GOTPCREL(%rip), %r9
	movl	(%r9), %ecx
	movq	_scan@GOTPCREL(%rip), %rax
	testl	%ecx, %ecx
	je	LBB0_1
## %bb.2:
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	cmpb	$0, (%rax)
	jne	LBB0_12
LBB0_4:
	cmpl	%edi, %ecx
	jl	LBB0_5
	jmp	LBB0_8
LBB0_1:
	movq	$0, (%rax)
	movl	$1, (%r9)
	movl	$1, %ecx
	cmpl	%edi, %ecx
	jge	LBB0_8
LBB0_5:
	movslq	%ecx, %rax
	movq	(%rsi,%rax,8), %rax
	cmpb	$45, (%rax)
	jne	LBB0_8
## %bb.6:
	movb	1(%rax), %bl
	cmpb	$45, %bl
	je	LBB0_9
## %bb.7:
	testb	%bl, %bl
	je	LBB0_8
	jmp	LBB0_11
LBB0_9:
	cmpb	$0, 2(%rax)
	je	LBB0_10
LBB0_11:
	incq	%rax
	incl	%ecx
	movl	%ecx, (%r9)
LBB0_12:
	leaq	1(%rax), %r10
	movq	_scan@GOTPCREL(%rip), %r11
	movq	%r10, (%r11)
	movzbl	(%rax), %eax
	movq	_ntp_optopt@GOTPCREL(%rip), %rbx
	movb	%al, (%rbx)
	testq	%rdx, %rdx
	je	LBB0_18
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movzbl	(%rdx), %ebx
	incq	%rdx
	testb	%bl, %bl
	je	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=1
	cmpb	%al, %bl
	jne	LBB0_13
LBB0_15:
	testb	%bl, %bl
	je	LBB0_18
## %bb.16:
	cmpb	$63, %al
	je	LBB0_18
## %bb.17:
	cmpb	$58, %al
	jne	LBB0_20
LBB0_18:
	movsbl	%al, %esi
	leaq	L_.str(%rip), %rdi
LBB0_19:
	popq	%rbx
	popq	%rbp
	jmp	_badopt                         ## TAILCALL
LBB0_20:
	cmpb	$58, (%rdx)
	jne	LBB0_26
## %bb.21:
	cmpb	$0, (%r10)
	je	LBB0_23
## %bb.22:
	movq	%r10, (%r8)
	movq	$0, (%r11)
	jmp	LBB0_26
LBB0_10:
	incl	%ecx
	movl	%ecx, (%r9)
LBB0_8:
	movq	_EOF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_26:
	popq	%rbx
	popq	%rbp
	retq
LBB0_23:
	cmpl	%edi, %ecx
	jge	LBB0_24
## %bb.25:
	leal	1(%rcx), %edx
	movl	%edx, (%r9)
	movslq	%ecx, %rcx
	movq	(%rsi,%rcx,8), %rcx
	movq	%rcx, (%r8)
	jmp	LBB0_26
LBB0_24:
	movsbl	%al, %esi
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_19
	.cfi_endproc
                                        ## -- End function
	.comm	_prog,8,3                       ## @prog
	.comm	_ntp_optarg,8,3                 ## @ntp_optarg
	.comm	_ntp_optind,4,2                 ## @ntp_optind
	.comm	_scan,8,3                       ## @scan
	.comm	_EOF,4,2                        ## @EOF
	.comm	_ntp_optopt,1,0                 ## @ntp_optopt
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	": unknown option -"

L_.str.1:                               ## @.str.1
	.asciz	": option requires argument -"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ntp_getopt                     ; -- Begin function ntp_getopt
	.p2align	2
_ntp_getopt:                            ; @ntp_getopt
	.cfi_startproc
; %bb.0:
	ldr	x8, [x1]
Lloh0:
	adrp	x9, _prog@GOTPAGE
Lloh1:
	ldr	x9, [x9, _prog@GOTPAGEOFF]
Lloh2:
	str	x8, [x9]
Lloh3:
	adrp	x9, _ntp_optarg@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ntp_optarg@GOTPAGEOFF]
	str	xzr, [x9]
Lloh5:
	adrp	x10, _ntp_optind@GOTPAGE
Lloh6:
	ldr	x10, [x10, _ntp_optind@GOTPAGEOFF]
	ldr	w11, [x10]
	cbz	w11, LBB0_4
; %bb.1:
Lloh7:
	adrp	x8, _scan@GOTPAGE
Lloh8:
	ldr	x8, [x8, _scan@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
	cbz	x8, LBB0_3
; %bb.2:
	ldrb	w12, [x8]
	cbnz	w12, LBB0_10
LBB0_3:
	cmp	w11, w0
	b.lt	LBB0_5
	b	LBB0_20
LBB0_4:
Lloh10:
	adrp	x8, _scan@GOTPAGE
Lloh11:
	ldr	x8, [x8, _scan@GOTPAGEOFF]
Lloh12:
	str	xzr, [x8]
	mov	w11, #1
	str	w11, [x10]
	cmp	w11, w0
	b.ge	LBB0_20
LBB0_5:
	ldr	x12, [x1, w11, sxtw #3]
	ldrb	w8, [x12]
	cmp	w8, #45
	b.ne	LBB0_20
; %bb.6:
	mov	x8, x12
	ldrb	w13, [x8, #1]!
	cmp	w13, #45
	b.eq	LBB0_8
; %bb.7:
	cbz	w13, LBB0_20
	b	LBB0_9
LBB0_8:
	ldrb	w12, [x12, #2]
	cbz	w12, LBB0_19
LBB0_9:
	add	w11, w11, #1
	str	w11, [x10]
LBB0_10:
Lloh13:
	adrp	x12, _scan@GOTPAGE
Lloh14:
	ldr	x12, [x12, _scan@GOTPAGEOFF]
	add	x13, x8, #1
	str	x13, [x12]
	ldrb	w8, [x8]
Lloh15:
	adrp	x14, _ntp_optopt@GOTPAGE
Lloh16:
	ldr	x14, [x14, _ntp_optopt@GOTPAGEOFF]
Lloh17:
	strb	w8, [x14]
	cbz	x2, LBB0_15
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w14, [x2], #1
	cmp	w14, #0
	ccmp	w14, w8, #4, ne
	b.ne	LBB0_11
; %bb.12:
	cbz	w14, LBB0_15
; %bb.13:
	cmp	w8, #63
	b.eq	LBB0_15
; %bb.14:
	cmp	w8, #58
	b.ne	LBB0_16
LBB0_15:
	sxtb	w1, w8
Lloh18:
	adrp	x0, l_.str@PAGE
Lloh19:
	add	x0, x0, l_.str@PAGEOFF
	b	_badopt
LBB0_16:
	ldrb	w14, [x2]
	cmp	w14, #58
	b.ne	LBB0_23
; %bb.17:
	ldrb	w14, [x13]
	cbz	w14, LBB0_21
; %bb.18:
	str	x13, [x9]
	str	xzr, [x12]
	mov	x0, x8
	ret
LBB0_19:
	add	w8, w11, #1
	str	w8, [x10]
LBB0_20:
Lloh20:
	adrp	x8, _EOF@GOTPAGE
Lloh21:
	ldr	x8, [x8, _EOF@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
	ret
LBB0_21:
	cmp	w11, w0
	b.ge	LBB0_24
; %bb.22:
	add	w12, w11, #1
	str	w12, [x10]
	ldr	x10, [x1, w11, sxtw #3]
	str	x10, [x9]
LBB0_23:
	mov	x0, x8
	ret
LBB0_24:
	sxtb	w1, w8
Lloh23:
	adrp	x0, l_.str.1@PAGE
Lloh24:
	add	x0, x0, l_.str.1@PAGEOFF
	b	_badopt
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotStr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotStr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotStr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_prog,8,3                       ; @prog
	.comm	_ntp_optarg,8,3                 ; @ntp_optarg
	.comm	_ntp_optind,4,2                 ; @ntp_optind
	.comm	_scan,8,3                       ; @scan
	.comm	_EOF,4,2                        ; @EOF
	.comm	_ntp_optopt,1,0                 ; @ntp_optopt
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	": unknown option -"

l_.str.1:                               ; @.str.1
	.asciz	": option requires argument -"

.subsections_via_symbols
