	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ## -- Begin function main
	.p2align	4, 0x90
_main:                                  ## @main
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movl	%edi, %ebx
	leaq	L_.str(%rip), %r15
	movq	_debug@GOTPCREL(%rip), %r12
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_1 Depth=1
	incl	(%r12)
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	movq	%r14, %rsi
	movq	%r15, %rdx
	callq	_getopt
	cmpl	$100, %eax
	je	LBB0_19
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$-1, %eax
	jne	LBB0_1
## %bb.3:
	movl	$4, -36(%rbp)
	leaq	-40(%rbp), %rsi
	leaq	-36(%rbp), %rdx
	xorl	%edi, %edi
	callq	_getsockname
	testq	%rax, %rax
	jns	LBB0_5
## %bb.4:
	movq	_from_inetd@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	jmp	LBB0_6
LBB0_5:
	movq	_from_inetd@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_9
LBB0_6:
	cmpl	$0, (%r12)
	jne	LBB0_8
## %bb.7:
	xorl	%edi, %edi
	xorl	%esi, %esi
	callq	_daemon
LBB0_8:
	movq	_RQUOTAPROG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_RQUOTAVERS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_rpcb_unset
	movq	_SIGINT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_cleanup@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	callq	_signal
	movq	_SIGTERM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %esi
	callq	_signal
	movq	_SIGHUP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %esi
	callq	_signal
LBB0_9:
	movq	_LOG_CONS@GOTPCREL(%rip), %rax
	movq	_LOG_PID@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movq	_LOG_DAEMON@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.1(%rip), %rdi
	callq	_openlog
	movq	_from_inetd@GOTPCREL(%rip), %r15
	cmpq	$0, (%r15)
	jne	LBB0_10
## %bb.15:
	movq	_RQUOTAVERS@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_rquota_service_1@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_RQUOTAPROG@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	leaq	L_.str.3(%rip), %rcx
	movl	%ebx, %edx
	callq	_svc_create
	testl	%eax, %eax
	je	LBB0_20
## %bb.16:
	movq	_EXT_RQUOTAVERS@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_rquota_service_2@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r14), %esi
	leaq	L_.str.3(%rip), %rcx
	movl	%ebx, %edx
	callq	_svc_create
	testl	%eax, %eax
	je	LBB0_20
	jmp	LBB0_18
LBB0_10:
	xorl	%edi, %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_svc_tli_create
	testq	%rax, %rax
	jne	LBB0_13
## %bb.11:
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_12
LBB0_13:
	movq	%rax, %r14
	movq	_RQUOTAVERS@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_RQUOTAPROG@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	_rquota_service_1@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	movl	%ebx, %edx
	xorl	%r8d, %r8d
	callq	_svc_reg
	testl	%eax, %eax
	je	LBB0_20
## %bb.14:
	movq	_EXT_RQUOTAVERS@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	(%r12), %esi
	movq	_rquota_service_2@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	movl	%ebx, %edx
	xorl	%r8d, %r8d
	callq	_svc_reg
	testl	%eax, %eax
	jne	LBB0_18
LBB0_20:
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_RQUOTAVERS@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	leaq	L_.str.5(%rip), %rax
	leaq	L_.str.6(%rip), %rdx
	cmoveq	%rax, %rdx
	cmpq	$0, (%r15)
	leaq	L_.str.3(%rip), %rax
	leaq	L_.str.7(%rip), %rcx
	cmoveq	%rax, %rcx
	leaq	L_.str.4(%rip), %rsi
	xorl	%eax, %eax
	callq	_syslog
	movl	$1, %edi
	callq	_exit
LBB0_18:
	xorl	%eax, %eax
	callq	_svc_run
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.8(%rip), %rsi
LBB0_12:
	xorl	%eax, %eax
	callq	_syslog
	movl	$1, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"d"

	.comm	_debug,4,2                      ## @debug
	.comm	_from_inetd,8,3                 ## @from_inetd
	.comm	_RQUOTAPROG,4,2                 ## @RQUOTAPROG
	.comm	_RQUOTAVERS,4,2                 ## @RQUOTAVERS
	.comm	_SIGINT,4,2                     ## @SIGINT
	.comm	_cleanup,4,2                    ## @cleanup
	.comm	_SIGTERM,4,2                    ## @SIGTERM
	.comm	_SIGHUP,4,2                     ## @SIGHUP
L_.str.1:                               ## @.str.1
	.asciz	"rpc.rquotad"

	.comm	_LOG_CONS,4,2                   ## @LOG_CONS
	.comm	_LOG_PID,4,2                    ## @LOG_PID
	.comm	_LOG_DAEMON,4,2                 ## @LOG_DAEMON
	.comm	_LOG_ERR,4,2                    ## @LOG_ERR
L_.str.2:                               ## @.str.2
	.asciz	"couldn't create udp service."

	.comm	_rquota_service_1,4,2           ## @rquota_service_1
	.comm	_EXT_RQUOTAVERS,4,2             ## @EXT_RQUOTAVERS
	.comm	_rquota_service_2,4,2           ## @rquota_service_2
L_.str.3:                               ## @.str.3
	.asciz	"udp"

L_.str.4:                               ## @.str.4
	.asciz	"unable to register (RQUOTAPROG, %s, %s)"

L_.str.5:                               ## @.str.5
	.asciz	"RQUOTAVERS"

L_.str.6:                               ## @.str.6
	.asciz	"EXT_RQUOTAVERS"

L_.str.7:                               ## @.str.7
	.asciz	"(inetd)"

L_.str.8:                               ## @.str.8
	.asciz	"svc_run returned"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ; -- Begin function main
	.p2align	2
_main:                                  ; @main
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x24, _debug@GOTPAGE
Lloh1:
	ldr	x24, [x24, _debug@GOTPAGEOFF]
Lloh2:
	adrp	x21, l_.str@PAGE
Lloh3:
	add	x21, x21, l_.str@PAGEOFF
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [x24]
	add	w8, w8, #1
	str	w8, [x24]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	bl	_getopt
	cmp	w0, #100
	b.eq	LBB0_1
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	cmn	w0, #1
	b.ne	LBB0_2
; %bb.4:
	mov	w8, #4
	str	w8, [sp, #20]
	add	x1, sp, #24
	add	x2, sp, #20
	mov	w0, #0
	bl	_getsockname
Lloh4:
	adrp	x21, _from_inetd@GOTPAGE
Lloh5:
	ldr	x21, [x21, _from_inetd@GOTPAGEOFF]
Lloh6:
	adrp	x23, _RQUOTAPROG@GOTPAGE
Lloh7:
	ldr	x23, [x23, _RQUOTAPROG@GOTPAGEOFF]
Lloh8:
	adrp	x22, _RQUOTAVERS@GOTPAGE
Lloh9:
	ldr	x22, [x22, _RQUOTAVERS@GOTPAGEOFF]
	tbz	x0, #63, LBB0_6
; %bb.5:
	str	xzr, [x21]
	b	LBB0_7
LBB0_6:
	ldr	x8, [x21]
	cbnz	x8, LBB0_10
LBB0_7:
	ldr	w8, [x24]
	cbnz	w8, LBB0_9
; %bb.8:
	mov	w0, #0
	mov	w1, #0
	bl	_daemon
LBB0_9:
	ldr	w0, [x23]
	ldr	w1, [x22]
	mov	x2, #0
	bl	_rpcb_unset
Lloh10:
	adrp	x8, _SIGINT@GOTPAGE
Lloh11:
	ldr	x8, [x8, _SIGINT@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
Lloh13:
	adrp	x19, _cleanup@GOTPAGE
Lloh14:
	ldr	x19, [x19, _cleanup@GOTPAGEOFF]
	ldr	w1, [x19]
	bl	_signal
Lloh15:
	adrp	x8, _SIGTERM@GOTPAGE
Lloh16:
	ldr	x8, [x8, _SIGTERM@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	ldr	w1, [x19]
	bl	_signal
Lloh18:
	adrp	x8, _SIGHUP@GOTPAGE
Lloh19:
	ldr	x8, [x8, _SIGHUP@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	ldr	w1, [x19]
	bl	_signal
LBB0_10:
Lloh21:
	adrp	x8, _LOG_CONS@GOTPAGE
Lloh22:
	ldr	x8, [x8, _LOG_CONS@GOTPAGEOFF]
Lloh23:
	adrp	x9, _LOG_PID@GOTPAGE
Lloh24:
	ldr	x9, [x9, _LOG_PID@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
Lloh26:
	ldr	w9, [x9]
	orr	w1, w9, w8
Lloh27:
	adrp	x8, _LOG_DAEMON@GOTPAGE
Lloh28:
	ldr	x8, [x8, _LOG_DAEMON@GOTPAGEOFF]
Lloh29:
	ldr	w2, [x8]
Lloh30:
	adrp	x0, l_.str.1@PAGE
Lloh31:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_openlog
	ldr	x8, [x21]
	cbnz	x8, LBB0_13
; %bb.11:
	ldr	w19, [x22]
Lloh32:
	adrp	x8, _rquota_service_1@GOTPAGE
Lloh33:
	ldr	x8, [x8, _rquota_service_1@GOTPAGEOFF]
Lloh34:
	ldr	w0, [x8]
	ldr	w1, [x23]
Lloh35:
	adrp	x3, l_.str.3@PAGE
Lloh36:
	add	x3, x3, l_.str.3@PAGEOFF
	mov	x2, x19
	bl	_svc_create
	cbz	w0, LBB0_17
; %bb.12:
Lloh37:
	adrp	x8, _EXT_RQUOTAVERS@GOTPAGE
Lloh38:
	ldr	x8, [x8, _EXT_RQUOTAVERS@GOTPAGEOFF]
Lloh39:
	ldr	w19, [x8]
Lloh40:
	adrp	x8, _rquota_service_2@GOTPAGE
Lloh41:
	ldr	x8, [x8, _rquota_service_2@GOTPAGEOFF]
Lloh42:
	ldr	w0, [x8]
	ldr	w1, [x23]
Lloh43:
	adrp	x3, l_.str.3@PAGE
Lloh44:
	add	x3, x3, l_.str.3@PAGEOFF
	mov	x2, x19
	bl	_svc_create
	cbz	w0, LBB0_17
	b	LBB0_18
LBB0_13:
	mov	w0, #0
	mov	x1, #0
	mov	x2, #0
	mov	w3, #0
	mov	w4, #0
	bl	_svc_tli_create
	cbnz	x0, LBB0_15
; %bb.14:
Lloh45:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh46:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh47:
	ldr	w0, [x8]
Lloh48:
	adrp	x1, l_.str.2@PAGE
Lloh49:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_19
LBB0_15:
	mov	x20, x0
	ldr	w19, [x22]
	ldr	w1, [x23]
Lloh50:
	adrp	x8, _rquota_service_1@GOTPAGE
Lloh51:
	ldr	x8, [x8, _rquota_service_1@GOTPAGEOFF]
Lloh52:
	ldr	w3, [x8]
	mov	x2, x19
	mov	x4, #0
	bl	_svc_reg
	cbz	w0, LBB0_17
; %bb.16:
Lloh53:
	adrp	x8, _EXT_RQUOTAVERS@GOTPAGE
Lloh54:
	ldr	x8, [x8, _EXT_RQUOTAVERS@GOTPAGEOFF]
Lloh55:
	ldr	w19, [x8]
	ldr	w1, [x23]
Lloh56:
	adrp	x8, _rquota_service_2@GOTPAGE
Lloh57:
	ldr	x8, [x8, _rquota_service_2@GOTPAGEOFF]
Lloh58:
	ldr	w3, [x8]
	mov	x0, x20
	mov	x2, x19
	mov	x4, #0
	bl	_svc_reg
	cbnz	w0, LBB0_18
LBB0_17:
Lloh59:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh60:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh61:
	ldr	w0, [x8]
Lloh62:
	adrp	x8, l_.str.6@PAGE
Lloh63:
	add	x8, x8, l_.str.6@PAGEOFF
	ldr	w9, [x22]
Lloh64:
	adrp	x10, l_.str.5@PAGE
Lloh65:
	add	x10, x10, l_.str.5@PAGEOFF
	cmp	w19, w9
	csel	x8, x10, x8, eq
	ldr	x9, [x21]
Lloh66:
	adrp	x10, l_.str.7@PAGE
Lloh67:
	add	x10, x10, l_.str.7@PAGEOFF
Lloh68:
	adrp	x11, l_.str.3@PAGE
Lloh69:
	add	x11, x11, l_.str.3@PAGEOFF
	cmp	x9, #0
	csel	x9, x11, x10, eq
	stp	x8, x9, [sp]
Lloh70:
	adrp	x1, l_.str.4@PAGE
Lloh71:
	add	x1, x1, l_.str.4@PAGEOFF
	b	LBB0_19
LBB0_18:
	bl	_svc_run
Lloh72:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh73:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh74:
	ldr	w0, [x8]
Lloh75:
	adrp	x1, l_.str.8@PAGE
Lloh76:
	add	x1, x1, l_.str.8@PAGEOFF
LBB0_19:
	bl	_syslog
	mov	w0, #1
	bl	_exit
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh25
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpAdd	Lloh70, Lloh71
	.loh AdrpAdd	Lloh68, Lloh69
	.loh AdrpAdd	Lloh66, Lloh67
	.loh AdrpAdd	Lloh64, Lloh65
	.loh AdrpAdd	Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpAdd	Lloh75, Lloh76
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"d"

	.comm	_debug,4,2                      ; @debug
	.comm	_from_inetd,8,3                 ; @from_inetd
	.comm	_RQUOTAPROG,4,2                 ; @RQUOTAPROG
	.comm	_RQUOTAVERS,4,2                 ; @RQUOTAVERS
	.comm	_SIGINT,4,2                     ; @SIGINT
	.comm	_cleanup,4,2                    ; @cleanup
	.comm	_SIGTERM,4,2                    ; @SIGTERM
	.comm	_SIGHUP,4,2                     ; @SIGHUP
l_.str.1:                               ; @.str.1
	.asciz	"rpc.rquotad"

	.comm	_LOG_CONS,4,2                   ; @LOG_CONS
	.comm	_LOG_PID,4,2                    ; @LOG_PID
	.comm	_LOG_DAEMON,4,2                 ; @LOG_DAEMON
	.comm	_LOG_ERR,4,2                    ; @LOG_ERR
l_.str.2:                               ; @.str.2
	.asciz	"couldn't create udp service."

	.comm	_rquota_service_1,4,2           ; @rquota_service_1
	.comm	_EXT_RQUOTAVERS,4,2             ; @EXT_RQUOTAVERS
	.comm	_rquota_service_2,4,2           ; @rquota_service_2
l_.str.3:                               ; @.str.3
	.asciz	"udp"

l_.str.4:                               ; @.str.4
	.asciz	"unable to register (RQUOTAPROG, %s, %s)"

l_.str.5:                               ; @.str.5
	.asciz	"RQUOTAVERS"

l_.str.6:                               ; @.str.6
	.asciz	"EXT_RQUOTAVERS"

l_.str.7:                               ; @.str.7
	.asciz	"(inetd)"

l_.str.8:                               ; @.str.8
	.asciz	"svc_run returned"

.subsections_via_symbols
