	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function do_registers
_do_registers:                          ## @do_registers
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movl	%edi, %r14d
	movq	_inetdflag@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_10
## %bb.1:
	movq	_tirpcflag@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_10
## %bb.2:
	movl	$1, %eax
	cmpl	$2, %r14d
	jl	LBB0_19
## %bb.3:
	movl	$1, %r12d
	leaq	L_.str(%rip), %rbx
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_5 Depth=1
	incl	%r12d
	cmpl	%r14d, %r12d
	jge	LBB0_16
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movslq	%r12d, %r13
	movq	(%r15,%r13,8), %rdi
	movq	%rbx, %rsi
	callq	_streq
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	8(%r15,%r13,8), %rdi
	movq	_valid_ti_nettypes@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_check_nettype
	testl	%eax, %eax
	je	LBB0_18
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	leal	1(%r13), %r12d
	incq	%r13
	movq	(%r15,%r13,8), %rdi
	callq	_write_nettype_register
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	(%r15,%r13,8), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_streq
	testq	%rax, %rax
	je	LBB0_4
## %bb.9:                               ##   in Loop: Header=BB0_5 Depth=1
	leal	1(%r13), %r12d
	movq	8(%r15,%r13,8), %rdi
	callq	_write_netid_register
	jmp	LBB0_4
LBB0_10:
	movl	$1, %eax
	cmpl	$2, %r14d
	jl	LBB0_19
## %bb.11:
	movl	$1, %ebx
	leaq	L_.str(%rip), %r13
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_13 Depth=1
	incl	%ebx
	cmpl	%r14d, %ebx
	jge	LBB0_16
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movslq	%ebx, %r12
	movq	(%r15,%r12,8), %rdi
	movq	%r13, %rsi
	callq	_streq
	testq	%rax, %rax
	je	LBB0_12
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	8(%r15,%r12,8), %rdi
	movq	_valid_i_nettypes@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_check_nettype
	testl	%eax, %eax
	je	LBB0_18
## %bb.15:                              ##   in Loop: Header=BB0_13 Depth=1
	leal	1(%r12), %ebx
	incq	%r12
	movq	(%r15,%r12,8), %rdi
	callq	_write_inetd_register
	jmp	LBB0_12
LBB0_16:
	movl	$1, %eax
	jmp	LBB0_19
LBB0_18:
	xorl	%eax, %eax
LBB0_19:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_inetdflag,8,3                  ## @inetdflag
	.comm	_tirpcflag,4,2                  ## @tirpcflag
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"-s"

	.comm	_valid_i_nettypes,4,2           ## @valid_i_nettypes
	.comm	_valid_ti_nettypes,4,2          ## @valid_ti_nettypes
L_.str.1:                               ## @.str.1
	.asciz	"-n"

	.no_dead_strip	_do_registers
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function do_registers
_do_registers:                          ; @do_registers
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _inetdflag@GOTPAGE
Lloh1:
	ldr	x8, [x8, _inetdflag@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _tirpcflag@GOTPAGE
Lloh4:
	ldr	x9, [x9, _tirpcflag@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	x8, #0
	ccmp	w9, #0, #4, eq
	b.ne	LBB0_7
; %bb.1:
	cmp	w20, #2
	b.lt	LBB0_16
; %bb.2:
	mov	w23, #1
Lloh6:
	adrp	x21, l_.str@PAGE
Lloh7:
	add	x21, x21, l_.str@PAGEOFF
Lloh8:
	adrp	x22, _valid_i_nettypes@GOTPAGE
Lloh9:
	ldr	x22, [x22, _valid_i_nettypes@GOTPAGEOFF]
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x0, [x19, x23, lsl #3]
	bl	_write_inetd_register
                                        ; kill: def $w23 killed $w23 killed $x23 def $x23
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	w23, w23, #1
	cmp	w23, w20
	b.ge	LBB0_16
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x19, w23, sxtw #3]
	mov	x1, x21
	bl	_streq
	cbz	x0, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	sxtw	x8, w23
	add	x23, x8, #1
	ldr	x0, [x19, x23, lsl #3]
	ldr	w1, [x22]
	bl	_check_nettype
	cbnz	w0, LBB0_3
	b	LBB0_17
LBB0_7:
	cmp	w20, #2
	b.lt	LBB0_16
; %bb.8:
	mov	w24, #1
Lloh10:
	adrp	x21, l_.str@PAGE
Lloh11:
	add	x21, x21, l_.str@PAGEOFF
Lloh12:
	adrp	x23, _valid_ti_nettypes@GOTPAGE
Lloh13:
	ldr	x23, [x23, _valid_ti_nettypes@GOTPAGEOFF]
Lloh14:
	adrp	x22, l_.str.1@PAGE
Lloh15:
	add	x22, x22, l_.str.1@PAGEOFF
	b	LBB0_13
LBB0_9:                                 ;   in Loop: Header=BB0_13 Depth=1
	ldr	x0, [x19, x25, lsl #3]
	mov	x1, x22
	bl	_streq
	cbz	x0, LBB0_12
; %bb.10:                               ;   in Loop: Header=BB0_13 Depth=1
	add	x24, x25, #1
	ldr	x0, [x19, x24, lsl #3]
	bl	_write_netid_register
LBB0_11:                                ;   in Loop: Header=BB0_13 Depth=1
                                        ; kill: def $w24 killed $w24 killed $x24 def $x24
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=1
	add	w24, w24, #1
	cmp	w24, w20
	b.ge	LBB0_16
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	sxtw	x25, w24
	ldr	x0, [x19, w24, sxtw #3]
	mov	x1, x21
	bl	_streq
	cbz	x0, LBB0_9
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	add	x24, x25, #1
	ldr	x0, [x19, x24, lsl #3]
	ldr	w1, [x23]
	bl	_check_nettype
	cbz	w0, LBB0_17
; %bb.15:                               ;   in Loop: Header=BB0_13 Depth=1
	ldr	x0, [x19, x24, lsl #3]
	bl	_write_nettype_register
	b	LBB0_11
LBB0_16:
	mov	w0, #1
LBB0_17:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_inetdflag,8,3                  ; @inetdflag
	.comm	_tirpcflag,4,2                  ; @tirpcflag
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"-s"

	.comm	_valid_i_nettypes,4,2           ; @valid_i_nettypes
	.comm	_valid_ti_nettypes,4,2          ; @valid_ti_nettypes
l_.str.1:                               ; @.str.1
	.asciz	"-n"

	.no_dead_strip	_do_registers
.subsections_via_symbols
