	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movl	%edi, %ebx
	movl	$8, -48(%rbp)
	leaq	L_.str(%rip), %r15
	movq	_optarg@GOTPCREL(%rip), %r12
	movq	_yp_dir@GOTPCREL(%rip), %r13
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_40:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	(%r12), %eax
	movl	%eax, (%r13)
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	movq	%r14, %rsi
	movq	%r15, %rdx
	callq	_getopt
	cmpl	$112, %eax
	je	LBB0_40
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$-1, %eax
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	xorl	%eax, %eax
	callq	_usage
	jmp	LBB0_1
LBB0_4:
	xorl	%eax, %eax
	callq	_load_securenets
	leaq	-56(%rbp), %rsi
	leaq	-48(%rbp), %rdx
	xorl	%edi, %edi
	callq	_getsockname
	testq	%rax, %rax
	jne	LBB0_8
## %bb.5:
	movl	$4, -44(%rbp)
	movq	-56(%rbp), %rax
	movq	_AF_INET@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_41
## %bb.6:
	movq	_SOL_SOCKET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SO_TYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	__rpcfdtype@GOTPCREL(%rip), %rcx
	xorl	%ebx, %ebx
	leaq	-44(%rbp), %r8
	xorl	%edi, %edi
	callq	_getsockopt
	cmpl	$-1, %eax
	jne	LBB0_7
LBB0_41:
	movl	$1, %edi
	callq	_exit
LBB0_8:
	xorl	%eax, %eax
	callq	_fork
	testl	%eax, %eax
	jns	LBB0_11
## %bb.9:
	leaq	L_.str.2(%rip), %rsi
	movl	$1, %edi
	callq	_err
	jmp	LBB0_10
LBB0_11:
	jne	LBB0_10
## %bb.12:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_getdtablesize
	testl	%eax, %eax
	jle	LBB0_15
## %bb.13:
	movl	%eax, %r14d
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	_close
	incl	%ebx
	cmpl	%ebx, %r14d
	jne	LBB0_14
LBB0_15:
	movq	__PATH_CONSOLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$2, %esi
	callq	_open
	movl	%eax, %ebx
	movl	%eax, %edi
	movl	$1, %esi
	callq	_dup2
	movl	%ebx, %edi
	movl	$2, %esi
	callq	_dup2
	movq	__PATH_TTY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$2, %esi
	callq	_open
	testl	%eax, %eax
	js	LBB0_17
## %bb.16:
	movl	%eax, %ebx
	movq	_TIOCNOTTY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	xorl	%edx, %edx
	callq	_ioctl
	movl	%ebx, %edi
	callq	_close
LBB0_17:
	movq	_LOG_PID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_LOG_DAEMON@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.1(%rip), %rdi
	callq	_openlog
	movq	_RPC_ANYSOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_YPXFRD_FREEBSD_PROG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_YPXFRD_FREEBSD_VERS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_pmap_unset
	jmp	LBB0_18
LBB0_10:
	xorl	%edi, %edi
	callq	_exit
LBB0_7:
	movq	__rpcpmstart@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	movq	_LOG_PID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_LOG_DAEMON@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.1(%rip), %rdi
	callq	_openlog
LBB0_18:
	movq	__rpcfdtype@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	testq	%rax, %rax
	je	LBB0_20
## %bb.19:
	movq	_SOCK_DGRAM@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_20
## %bb.32:
	movq	_SOCK_STREAM@GOTPCREL(%rip), %rcx
	xorl	%r14d, %r14d
	cmpq	(%rcx), %rax
	jne	LBB0_39
LBB0_33:
	movl	%ebx, %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_svctcp_create
	testq	%rax, %rax
	jne	LBB0_35
## %bb.34:
	leaq	L_.str.5(%rip), %rdi
	jmp	LBB0_22
LBB0_20:
	movl	%ebx, %edi
	callq	_svcudp_create
	testq	%rax, %rax
	jne	LBB0_23
## %bb.21:
	leaq	L_.str.3(%rip), %rdi
	jmp	LBB0_22
LBB0_39:
	leaq	L_.str.7(%rip), %rdi
	jmp	LBB0_22
LBB0_23:
	movq	__rpcpmstart@GOTPCREL(%rip), %rcx
	xorl	%r14d, %r14d
	cmpl	$0, (%rcx)
	jne	LBB0_25
## %bb.24:
	movq	_IPPROTO_UDP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r14d
LBB0_25:
	movq	_YPXFRD_FREEBSD_PROG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_YPXFRD_FREEBSD_VERS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	_ypxfrd_freebsd_prog_1@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	%rax, %rdi
	movl	%r14d, %r8d
	callq	_svc_register
	testl	%eax, %eax
	jne	LBB0_27
## %bb.26:
	leaq	L_.str.4(%rip), %rdi
	jmp	LBB0_22
LBB0_35:
	movq	__rpcpmstart@GOTPCREL(%rip), %rcx
	cmpl	$0, (%rcx)
	jne	LBB0_37
## %bb.36:
	movq	_IPPROTO_TCP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r14d
LBB0_37:
	movq	_YPXFRD_FREEBSD_PROG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_YPXFRD_FREEBSD_VERS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	_ypxfrd_freebsd_prog_1@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	%rax, %rdi
	movl	%r14d, %r8d
	callq	_svc_register
	testl	%eax, %eax
	jne	LBB0_29
## %bb.38:
	leaq	L_.str.6(%rip), %rdi
	jmp	LBB0_22
LBB0_27:
	movq	(%r15), %rax
	testq	%rax, %rax
	je	LBB0_33
## %bb.28:
	movq	_SOCK_STREAM@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_33
LBB0_29:
	movq	__rpcpmstart@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_31
## %bb.30:
	movq	_SIGALRM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_closedown@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_signal
	movq	__RPCSVC_CLOSEDOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, %edi
	shrl	$31, %edi
	addl	%eax, %edi
	sarl	%edi
	callq	_alarm
LBB0_31:
	movq	_SIGPIPE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SIG_IGN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_signal
	movq	_SIGCHLD@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_reaper@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	callq	_signal
	movq	_SIGTERM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %esi
	callq	_signal
	movq	_SIGINT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %esi
	callq	_signal
	movq	_SIGHUP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %esi
	callq	_signal
	xorl	%eax, %eax
	callq	_ypxfrd_svc_run
	leaq	L_.str.8(%rip), %rdi
LBB0_22:
	callq	__msgout
	movl	$1, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"p:h"

	.comm	_optarg,4,2                     ## @optarg
	.comm	_yp_dir,4,2                     ## @yp_dir
	.comm	_AF_INET,8,3                    ## @AF_INET
	.comm	_SOL_SOCKET,4,2                 ## @SOL_SOCKET
	.comm	_SO_TYPE,4,2                    ## @SO_TYPE
	.comm	__rpcfdtype,8,3                 ## @_rpcfdtype
	.comm	__rpcpmstart,4,2                ## @_rpcpmstart
L_.str.1:                               ## @.str.1
	.asciz	"rpc.ypxfrd"

	.comm	_LOG_PID,4,2                    ## @LOG_PID
	.comm	_LOG_DAEMON,4,2                 ## @LOG_DAEMON
L_.str.2:                               ## @.str.2
	.asciz	"fork"

	.comm	__PATH_CONSOLE,4,2              ## @_PATH_CONSOLE
	.comm	__PATH_TTY,4,2                  ## @_PATH_TTY
	.comm	_TIOCNOTTY,4,2                  ## @TIOCNOTTY
	.comm	_RPC_ANYSOCK,4,2                ## @RPC_ANYSOCK
	.comm	_YPXFRD_FREEBSD_PROG,4,2        ## @YPXFRD_FREEBSD_PROG
	.comm	_YPXFRD_FREEBSD_VERS,4,2        ## @YPXFRD_FREEBSD_VERS
	.comm	_SOCK_DGRAM,8,3                 ## @SOCK_DGRAM
L_.str.3:                               ## @.str.3
	.asciz	"cannot create udp service."

	.comm	_IPPROTO_UDP,4,2                ## @IPPROTO_UDP
	.comm	_ypxfrd_freebsd_prog_1,4,2      ## @ypxfrd_freebsd_prog_1
L_.str.4:                               ## @.str.4
	.asciz	"unable to register (YPXFRD_FREEBSD_PROG, YPXFRD_FREEBSD_VERS, udp)."

	.comm	_SOCK_STREAM,8,3                ## @SOCK_STREAM
L_.str.5:                               ## @.str.5
	.asciz	"cannot create tcp service."

	.comm	_IPPROTO_TCP,4,2                ## @IPPROTO_TCP
L_.str.6:                               ## @.str.6
	.asciz	"unable to register (YPXFRD_FREEBSD_PROG, YPXFRD_FREEBSD_VERS, tcp)."

L_.str.7:                               ## @.str.7
	.asciz	"could not create a handle"

	.comm	_SIGALRM,4,2                    ## @SIGALRM
	.comm	_closedown,8,3                  ## @closedown
	.comm	__RPCSVC_CLOSEDOWN,4,2          ## @_RPCSVC_CLOSEDOWN
	.comm	_SIGPIPE,4,2                    ## @SIGPIPE
	.comm	_SIG_IGN,4,2                    ## @SIG_IGN
	.comm	_SIGCHLD,4,2                    ## @SIGCHLD
	.comm	_reaper,8,3                     ## @reaper
	.comm	_SIGTERM,4,2                    ## @SIGTERM
	.comm	_SIGINT,4,2                     ## @SIGINT
	.comm	_SIGHUP,4,2                     ## @SIGHUP
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, #80
	.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
	mov	x19, x1
	mov	x20, x0
	mov	w8, #8
	str	w8, [sp, #4]
Lloh0:
	adrp	x21, l_.str@PAGE
Lloh1:
	add	x21, x21, l_.str@PAGEOFF
Lloh2:
	adrp	x22, _optarg@GOTPAGE
Lloh3:
	ldr	x22, [x22, _optarg@GOTPAGEOFF]
Lloh4:
	adrp	x23, _yp_dir@GOTPAGE
Lloh5:
	ldr	x23, [x23, _yp_dir@GOTPAGEOFF]
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [x22]
	str	w8, [x23]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	bl	_getopt
	cmp	w0, #112
	b.eq	LBB0_1
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	cmn	w0, #1
	b.eq	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	bl	_usage
	b	LBB0_2
LBB0_5:
	bl	_load_securenets
	add	x1, sp, #8
	add	x2, sp, #4
	mov	w0, #0
	bl	_getsockname
	cbnz	x0, LBB0_9
; %bb.6:
	mov	w8, #4
	str	w8, [sp]
	ldr	x8, [sp, #8]
Lloh6:
	adrp	x9, _AF_INET@GOTPAGE
Lloh7:
	ldr	x9, [x9, _AF_INET@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.7:
Lloh9:
	adrp	x8, _SOL_SOCKET@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SOL_SOCKET@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
Lloh12:
	adrp	x8, _SO_TYPE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _SO_TYPE@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
Lloh15:
	adrp	x3, __rpcfdtype@GOTPAGE
Lloh16:
	ldr	x3, [x3, __rpcfdtype@GOTPAGEOFF]
	mov	x4, sp
	mov	w0, #0
	bl	_getsockopt
	cmn	w0, #1
	b.ne	LBB0_19
LBB0_8:
	mov	w0, #1
	bl	_exit
LBB0_9:
	bl	_fork
	tbz	w0, #31, LBB0_11
; %bb.10:
Lloh17:
	adrp	x1, l_.str.2@PAGE
Lloh18:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w0, #1
	bl	_err
	b	LBB0_18
LBB0_11:
	cbnz	w0, LBB0_18
; %bb.12:
	bl	_getdtablesize
	cmp	w0, #1
	b.lt	LBB0_15
; %bb.13:
	mov	x19, x0
	mov	w20, #0
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_close
	add	w20, w20, #1
	cmp	w19, w20
	b.ne	LBB0_14
LBB0_15:
Lloh19:
	adrp	x8, __PATH_CONSOLE@GOTPAGE
Lloh20:
	ldr	x8, [x8, __PATH_CONSOLE@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
	mov	w1, #2
	bl	_open
	mov	x19, x0
	mov	w1, #1
	bl	_dup2
	mov	x0, x19
	mov	w1, #2
	bl	_dup2
Lloh22:
	adrp	x8, __PATH_TTY@GOTPAGE
Lloh23:
	ldr	x8, [x8, __PATH_TTY@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x8]
	mov	w1, #2
	bl	_open
	tbnz	w0, #31, LBB0_17
; %bb.16:
	mov	x19, x0
Lloh25:
	adrp	x8, _TIOCNOTTY@GOTPAGE
Lloh26:
	ldr	x8, [x8, _TIOCNOTTY@GOTPAGEOFF]
Lloh27:
	ldr	w1, [x8]
	mov	x2, #0
	bl	_ioctl
	mov	x0, x19
	bl	_close
LBB0_17:
Lloh28:
	adrp	x8, _LOG_PID@GOTPAGE
Lloh29:
	ldr	x8, [x8, _LOG_PID@GOTPAGEOFF]
Lloh30:
	ldr	w1, [x8]
Lloh31:
	adrp	x8, _LOG_DAEMON@GOTPAGE
Lloh32:
	ldr	x8, [x8, _LOG_DAEMON@GOTPAGEOFF]
Lloh33:
	ldr	w2, [x8]
Lloh34:
	adrp	x0, l_.str.1@PAGE
Lloh35:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_openlog
Lloh36:
	adrp	x8, _RPC_ANYSOCK@GOTPAGE
Lloh37:
	ldr	x8, [x8, _RPC_ANYSOCK@GOTPAGEOFF]
Lloh38:
	ldr	w19, [x8]
Lloh39:
	adrp	x8, _YPXFRD_FREEBSD_PROG@GOTPAGE
Lloh40:
	ldr	x8, [x8, _YPXFRD_FREEBSD_PROG@GOTPAGEOFF]
Lloh41:
	ldr	w0, [x8]
Lloh42:
	adrp	x8, _YPXFRD_FREEBSD_VERS@GOTPAGE
Lloh43:
	ldr	x8, [x8, _YPXFRD_FREEBSD_VERS@GOTPAGEOFF]
Lloh44:
	ldr	w1, [x8]
	bl	_pmap_unset
	b	LBB0_20
LBB0_18:
	mov	w0, #0
	bl	_exit
LBB0_19:
Lloh45:
	adrp	x8, __rpcpmstart@GOTPAGE
Lloh46:
	ldr	x8, [x8, __rpcpmstart@GOTPAGEOFF]
	mov	w9, #1
Lloh47:
	str	w9, [x8]
Lloh48:
	adrp	x8, _LOG_PID@GOTPAGE
Lloh49:
	ldr	x8, [x8, _LOG_PID@GOTPAGEOFF]
Lloh50:
	ldr	w1, [x8]
Lloh51:
	adrp	x8, _LOG_DAEMON@GOTPAGE
Lloh52:
	ldr	x8, [x8, _LOG_DAEMON@GOTPAGEOFF]
Lloh53:
	ldr	w2, [x8]
Lloh54:
	adrp	x0, l_.str.1@PAGE
Lloh55:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_openlog
	mov	w19, #0
LBB0_20:
Lloh56:
	adrp	x21, __rpcfdtype@GOTPAGE
Lloh57:
	ldr	x21, [x21, __rpcfdtype@GOTPAGEOFF]
	ldr	x8, [x21]
Lloh58:
	adrp	x9, _SOCK_DGRAM@GOTPAGE
Lloh59:
	ldr	x9, [x9, _SOCK_DGRAM@GOTPAGEOFF]
Lloh60:
	ldr	x9, [x9]
	cmp	x8, #0
	ccmp	x8, x9, #4, ne
	b.ne	LBB0_23
; %bb.21:
	mov	x0, x19
	bl	_svcudp_create
	cbnz	x0, LBB0_27
; %bb.22:
Lloh61:
	adrp	x0, l_.str.3@PAGE
Lloh62:
	add	x0, x0, l_.str.3@PAGEOFF
	b	LBB0_37
LBB0_23:
Lloh63:
	adrp	x9, _SOCK_STREAM@GOTPAGE
Lloh64:
	ldr	x9, [x9, _SOCK_STREAM@GOTPAGEOFF]
Lloh65:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_29
; %bb.24:
	mov	w20, #0
LBB0_25:
	mov	x0, x19
	mov	w1, #0
	mov	w2, #0
	bl	_svctcp_create
	cbnz	x0, LBB0_30
; %bb.26:
Lloh66:
	adrp	x0, l_.str.5@PAGE
Lloh67:
	add	x0, x0, l_.str.5@PAGEOFF
	b	LBB0_37
LBB0_27:
Lloh68:
	adrp	x8, __rpcpmstart@GOTPAGE
Lloh69:
	ldr	x8, [x8, __rpcpmstart@GOTPAGEOFF]
Lloh70:
	ldr	w8, [x8]
Lloh71:
	adrp	x9, _IPPROTO_UDP@GOTPAGE
Lloh72:
	ldr	x9, [x9, _IPPROTO_UDP@GOTPAGEOFF]
Lloh73:
	ldr	w9, [x9]
	cmp	w8, #0
	csel	w20, w9, wzr, eq
Lloh74:
	adrp	x8, _YPXFRD_FREEBSD_PROG@GOTPAGE
Lloh75:
	ldr	x8, [x8, _YPXFRD_FREEBSD_PROG@GOTPAGEOFF]
Lloh76:
	ldr	w1, [x8]
Lloh77:
	adrp	x8, _YPXFRD_FREEBSD_VERS@GOTPAGE
Lloh78:
	ldr	x8, [x8, _YPXFRD_FREEBSD_VERS@GOTPAGEOFF]
Lloh79:
	ldr	w2, [x8]
Lloh80:
	adrp	x8, _ypxfrd_freebsd_prog_1@GOTPAGE
Lloh81:
	ldr	x8, [x8, _ypxfrd_freebsd_prog_1@GOTPAGEOFF]
Lloh82:
	ldr	w3, [x8]
	mov	x4, x20
	bl	_svc_register
	cbnz	w0, LBB0_32
; %bb.28:
Lloh83:
	adrp	x0, l_.str.4@PAGE
Lloh84:
	add	x0, x0, l_.str.4@PAGEOFF
	b	LBB0_37
LBB0_29:
Lloh85:
	adrp	x0, l_.str.7@PAGE
Lloh86:
	add	x0, x0, l_.str.7@PAGEOFF
	b	LBB0_37
LBB0_30:
Lloh87:
	adrp	x8, __rpcpmstart@GOTPAGE
Lloh88:
	ldr	x8, [x8, __rpcpmstart@GOTPAGEOFF]
Lloh89:
	ldr	w8, [x8]
Lloh90:
	adrp	x9, _IPPROTO_TCP@GOTPAGE
Lloh91:
	ldr	x9, [x9, _IPPROTO_TCP@GOTPAGEOFF]
Lloh92:
	ldr	w9, [x9]
	cmp	w8, #0
	csel	w4, w9, w20, eq
Lloh93:
	adrp	x8, _YPXFRD_FREEBSD_PROG@GOTPAGE
Lloh94:
	ldr	x8, [x8, _YPXFRD_FREEBSD_PROG@GOTPAGEOFF]
Lloh95:
	ldr	w1, [x8]
Lloh96:
	adrp	x8, _YPXFRD_FREEBSD_VERS@GOTPAGE
Lloh97:
	ldr	x8, [x8, _YPXFRD_FREEBSD_VERS@GOTPAGEOFF]
Lloh98:
	ldr	w2, [x8]
Lloh99:
	adrp	x8, _ypxfrd_freebsd_prog_1@GOTPAGE
Lloh100:
	ldr	x8, [x8, _ypxfrd_freebsd_prog_1@GOTPAGEOFF]
Lloh101:
	ldr	w3, [x8]
	bl	_svc_register
	cbnz	w0, LBB0_34
; %bb.31:
Lloh102:
	adrp	x0, l_.str.6@PAGE
Lloh103:
	add	x0, x0, l_.str.6@PAGEOFF
	b	LBB0_37
LBB0_32:
	ldr	x8, [x21]
	cbz	x8, LBB0_25
; %bb.33:
Lloh104:
	adrp	x9, _SOCK_STREAM@GOTPAGE
Lloh105:
	ldr	x9, [x9, _SOCK_STREAM@GOTPAGEOFF]
Lloh106:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_25
LBB0_34:
Lloh107:
	adrp	x8, __rpcpmstart@GOTPAGE
Lloh108:
	ldr	x8, [x8, __rpcpmstart@GOTPAGEOFF]
Lloh109:
	ldr	w8, [x8]
	cbz	w8, LBB0_36
; %bb.35:
Lloh110:
	adrp	x8, _SIGALRM@GOTPAGE
Lloh111:
	ldr	x8, [x8, _SIGALRM@GOTPAGEOFF]
Lloh112:
	ldr	w0, [x8]
Lloh113:
	adrp	x8, _closedown@GOTPAGE
Lloh114:
	ldr	x8, [x8, _closedown@GOTPAGEOFF]
Lloh115:
	ldr	w1, [x8]
	bl	_signal
Lloh116:
	adrp	x8, __RPCSVC_CLOSEDOWN@GOTPAGE
Lloh117:
	ldr	x8, [x8, __RPCSVC_CLOSEDOWN@GOTPAGEOFF]
Lloh118:
	ldr	w8, [x8]
	cmp	w8, #0
	cinc	w8, w8, lt
	asr	w0, w8, #1
	bl	_alarm
LBB0_36:
Lloh119:
	adrp	x8, _SIGPIPE@GOTPAGE
Lloh120:
	ldr	x8, [x8, _SIGPIPE@GOTPAGEOFF]
Lloh121:
	ldr	w0, [x8]
Lloh122:
	adrp	x8, _SIG_IGN@GOTPAGE
Lloh123:
	ldr	x8, [x8, _SIG_IGN@GOTPAGEOFF]
Lloh124:
	ldr	w1, [x8]
	bl	_signal
Lloh125:
	adrp	x8, _SIGCHLD@GOTPAGE
Lloh126:
	ldr	x8, [x8, _SIGCHLD@GOTPAGEOFF]
Lloh127:
	ldr	w0, [x8]
Lloh128:
	adrp	x19, _reaper@GOTPAGE
Lloh129:
	ldr	x19, [x19, _reaper@GOTPAGEOFF]
	ldr	w1, [x19]
	bl	_signal
Lloh130:
	adrp	x8, _SIGTERM@GOTPAGE
Lloh131:
	ldr	x8, [x8, _SIGTERM@GOTPAGEOFF]
Lloh132:
	ldr	w0, [x8]
	ldr	w1, [x19]
	bl	_signal
Lloh133:
	adrp	x8, _SIGINT@GOTPAGE
Lloh134:
	ldr	x8, [x8, _SIGINT@GOTPAGEOFF]
Lloh135:
	ldr	w0, [x8]
	ldr	w1, [x19]
	bl	_signal
Lloh136:
	adrp	x8, _SIGHUP@GOTPAGE
Lloh137:
	ldr	x8, [x8, _SIGHUP@GOTPAGEOFF]
Lloh138:
	ldr	w0, [x8]
	ldr	w1, [x19]
	bl	_signal
	bl	_ypxfrd_svc_run
Lloh139:
	adrp	x0, l_.str.8@PAGE
Lloh140:
	add	x0, x0, l_.str.8@PAGEOFF
LBB0_37:
	bl	__msgout
	mov	w0, #1
	bl	_exit
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpAdd	Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotStr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGot	Lloh56, Lloh57
	.loh AdrpAdd	Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpAdd	Lloh66, Lloh67
	.loh AdrpLdrGotLdr	Lloh80, Lloh81, Lloh82
	.loh AdrpLdrGotLdr	Lloh77, Lloh78, Lloh79
	.loh AdrpLdrGotLdr	Lloh74, Lloh75, Lloh76
	.loh AdrpLdrGotLdr	Lloh71, Lloh72, Lloh73
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh70
	.loh AdrpAdd	Lloh83, Lloh84
	.loh AdrpAdd	Lloh85, Lloh86
	.loh AdrpLdrGotLdr	Lloh99, Lloh100, Lloh101
	.loh AdrpLdrGotLdr	Lloh96, Lloh97, Lloh98
	.loh AdrpLdrGotLdr	Lloh93, Lloh94, Lloh95
	.loh AdrpLdrGotLdr	Lloh90, Lloh91, Lloh92
	.loh AdrpLdrGotLdr	Lloh87, Lloh88, Lloh89
	.loh AdrpAdd	Lloh102, Lloh103
	.loh AdrpLdrGotLdr	Lloh104, Lloh105, Lloh106
	.loh AdrpLdrGotLdr	Lloh107, Lloh108, Lloh109
	.loh AdrpLdrGotLdr	Lloh116, Lloh117, Lloh118
	.loh AdrpLdrGotLdr	Lloh113, Lloh114, Lloh115
	.loh AdrpLdrGotLdr	Lloh110, Lloh111, Lloh112
	.loh AdrpAdd	Lloh139, Lloh140
	.loh AdrpLdrGotLdr	Lloh136, Lloh137, Lloh138
	.loh AdrpLdrGotLdr	Lloh133, Lloh134, Lloh135
	.loh AdrpLdrGotLdr	Lloh130, Lloh131, Lloh132
	.loh AdrpLdrGot	Lloh128, Lloh129
	.loh AdrpLdrGotLdr	Lloh125, Lloh126, Lloh127
	.loh AdrpLdrGotLdr	Lloh122, Lloh123, Lloh124
	.loh AdrpLdrGotLdr	Lloh119, Lloh120, Lloh121
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"p:h"

	.comm	_optarg,4,2                     ; @optarg
	.comm	_yp_dir,4,2                     ; @yp_dir
	.comm	_AF_INET,8,3                    ; @AF_INET
	.comm	_SOL_SOCKET,4,2                 ; @SOL_SOCKET
	.comm	_SO_TYPE,4,2                    ; @SO_TYPE
	.comm	__rpcfdtype,8,3                 ; @_rpcfdtype
	.comm	__rpcpmstart,4,2                ; @_rpcpmstart
l_.str.1:                               ; @.str.1
	.asciz	"rpc.ypxfrd"

	.comm	_LOG_PID,4,2                    ; @LOG_PID
	.comm	_LOG_DAEMON,4,2                 ; @LOG_DAEMON
l_.str.2:                               ; @.str.2
	.asciz	"fork"

	.comm	__PATH_CONSOLE,4,2              ; @_PATH_CONSOLE
	.comm	__PATH_TTY,4,2                  ; @_PATH_TTY
	.comm	_TIOCNOTTY,4,2                  ; @TIOCNOTTY
	.comm	_RPC_ANYSOCK,4,2                ; @RPC_ANYSOCK
	.comm	_YPXFRD_FREEBSD_PROG,4,2        ; @YPXFRD_FREEBSD_PROG
	.comm	_YPXFRD_FREEBSD_VERS,4,2        ; @YPXFRD_FREEBSD_VERS
	.comm	_SOCK_DGRAM,8,3                 ; @SOCK_DGRAM
l_.str.3:                               ; @.str.3
	.asciz	"cannot create udp service."

	.comm	_IPPROTO_UDP,4,2                ; @IPPROTO_UDP
	.comm	_ypxfrd_freebsd_prog_1,4,2      ; @ypxfrd_freebsd_prog_1
l_.str.4:                               ; @.str.4
	.asciz	"unable to register (YPXFRD_FREEBSD_PROG, YPXFRD_FREEBSD_VERS, udp)."

	.comm	_SOCK_STREAM,8,3                ; @SOCK_STREAM
l_.str.5:                               ; @.str.5
	.asciz	"cannot create tcp service."

	.comm	_IPPROTO_TCP,4,2                ; @IPPROTO_TCP
l_.str.6:                               ; @.str.6
	.asciz	"unable to register (YPXFRD_FREEBSD_PROG, YPXFRD_FREEBSD_VERS, tcp)."

l_.str.7:                               ; @.str.7
	.asciz	"could not create a handle"

	.comm	_SIGALRM,4,2                    ; @SIGALRM
	.comm	_closedown,8,3                  ; @closedown
	.comm	__RPCSVC_CLOSEDOWN,4,2          ; @_RPCSVC_CLOSEDOWN
	.comm	_SIGPIPE,4,2                    ; @SIGPIPE
	.comm	_SIG_IGN,4,2                    ; @SIG_IGN
	.comm	_SIGCHLD,4,2                    ; @SIGCHLD
	.comm	_reaper,8,3                     ; @reaper
	.comm	_SIGTERM,4,2                    ; @SIGTERM
	.comm	_SIGINT,4,2                     ; @SIGINT
	.comm	_SIGHUP,4,2                     ; @SIGHUP
l_.str.8:                               ; @.str.8
	.asciz	"svc_run returned"

.subsections_via_symbols
