	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fwd_init                       ## -- Begin function fwd_init
	.p2align	4, 0x90
_fwd_init:                              ## @fwd_init
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_AF_INET@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SOCK_DGRAM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_socket
	movq	_fwd_sock@GOTPCREL(%rip), %r14
	movq	%rax, (%r14)
	testq	%rax, %rax
	js	LBB0_1
## %bb.2:
	xorl	%ebx, %ebx
	movq	%rax, %rdi
	xorl	%esi, %esi
	callq	_bind_resv_port
	testq	%rax, %rax
	jns	LBB0_4
## %bb.3:
	movq	_XLOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_plog
LBB0_4:
	movq	(%r14), %rdi
	movq	_F_SETFL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_FNDELAY@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_fcntl
	testq	%rax, %rax
	jns	LBB0_7
## %bb.5:
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_6
LBB0_1:
	leaq	L_.str(%rip), %rsi
LBB0_6:
	movq	_XLOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%eax, %eax
	callq	_plog
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_7:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AF_INET,4,2                    ## @AF_INET
	.comm	_SOCK_DGRAM,4,2                 ## @SOCK_DGRAM
	.comm	_fwd_sock,8,3                   ## @fwd_sock
	.comm	_XLOG_ERROR,4,2                 ## @XLOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unable to create RPC forwarding socket: %m"

	.comm	_errno,4,2                      ## @errno
L_.str.1:                               ## @.str.1
	.asciz	"can't bind privileged port (rpc_fwd)"

	.comm	_F_SETFL,4,2                    ## @F_SETFL
	.comm	_FNDELAY,4,2                    ## @FNDELAY
L_.str.2:                               ## @.str.2
	.asciz	"Can't set non-block on forwarding socket: %m"

	.comm	_FIONBIO,4,2                    ## @FIONBIO
	.comm	_O_NONBLOCK,4,2                 ## @O_NONBLOCK
	.comm	_O_RDWR,4,2                     ## @O_RDWR
	.comm	_t_errlist,8,3                  ## @t_errlist
	.comm	_t_errno,8,3                    ## @t_errno
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fwd_init                       ; -- Begin function fwd_init
	.p2align	2
_fwd_init:                              ; @fwd_init
	.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
Lloh0:
	adrp	x8, _AF_INET@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AF_INET@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _SOCK_DGRAM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SOCK_DGRAM@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_socket
Lloh6:
	adrp	x19, _fwd_sock@GOTPAGE
Lloh7:
	ldr	x19, [x19, _fwd_sock@GOTPAGEOFF]
	str	x0, [x19]
	tbnz	x0, #63, LBB0_5
; %bb.1:
	mov	x1, #0
	bl	_bind_resv_port
	tbz	x0, #63, LBB0_3
; %bb.2:
Lloh8:
	adrp	x8, _XLOG_ERROR@GOTPAGE
Lloh9:
	ldr	x8, [x8, _XLOG_ERROR@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_plog
LBB0_3:
	ldr	x0, [x19]
Lloh13:
	adrp	x8, _F_SETFL@GOTPAGE
Lloh14:
	ldr	x8, [x8, _F_SETFL@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
Lloh16:
	adrp	x8, _FNDELAY@GOTPAGE
Lloh17:
	ldr	x8, [x8, _FNDELAY@GOTPAGEOFF]
Lloh18:
	ldr	w2, [x8]
	bl	_fcntl
	tbnz	x0, #63, LBB0_6
; %bb.4:
	mov	w0, #0
	b	LBB0_8
LBB0_5:
Lloh19:
	adrp	x1, l_.str@PAGE
Lloh20:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_7
LBB0_6:
Lloh21:
	adrp	x1, l_.str.2@PAGE
Lloh22:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_7:
Lloh23:
	adrp	x8, _XLOG_ERROR@GOTPAGE
Lloh24:
	ldr	x8, [x8, _XLOG_ERROR@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
	bl	_plog
Lloh26:
	adrp	x8, _errno@GOTPAGE
Lloh27:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh28:
	ldr	w0, [x8]
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_AF_INET,4,2                    ; @AF_INET
	.comm	_SOCK_DGRAM,4,2                 ; @SOCK_DGRAM
	.comm	_fwd_sock,8,3                   ; @fwd_sock
	.comm	_XLOG_ERROR,4,2                 ; @XLOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unable to create RPC forwarding socket: %m"

	.comm	_errno,4,2                      ; @errno
l_.str.1:                               ; @.str.1
	.asciz	"can't bind privileged port (rpc_fwd)"

	.comm	_F_SETFL,4,2                    ; @F_SETFL
	.comm	_FNDELAY,4,2                    ; @FNDELAY
l_.str.2:                               ; @.str.2
	.asciz	"Can't set non-block on forwarding socket: %m"

	.comm	_FIONBIO,4,2                    ; @FIONBIO
	.comm	_O_NONBLOCK,4,2                 ; @O_NONBLOCK
	.comm	_O_RDWR,4,2                     ; @O_RDWR
	.comm	_t_errlist,8,3                  ; @t_errlist
	.comm	_t_errno,8,3                    ; @t_errno
.subsections_via_symbols
