	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_mountd_port                ## -- Begin function get_mountd_port
	.p2align	4, 0x90
_get_mountd_port:                       ## @get_mountd_port
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r12
	movq	%rdi, %rbx
	callq	_FSRV_ISDOWN
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_EWOULDBLOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
LBB0_16:
	movl	%r15d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	%rbx, %rdi
	callq	_FSRV_ISUP
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	8(%rbx), %rax
	movl	(%rax), %r15d
	testl	%r15d, %r15d
	jne	LBB0_6
## %bb.5:
	movl	8(%rax), %ecx
	movl	%ecx, (%r12)
LBB0_6:
	movl	4(%rax), %ecx
	cmpl	$78, %ecx
	je	LBB0_11
## %bb.7:
	cmpl	$80, %ecx
	je	LBB0_12
## %bb.8:
	cmpl	$89, %ecx
	jne	LBB0_10
## %bb.9:
	movq	%rbx, %rdi
	callq	_recompute_portmap
	testq	%r14, %r14
	jne	LBB0_13
	jmp	LBB0_16
LBB0_3:
	movl	$-1, %r15d
LBB0_12:
	testq	%r14, %r14
	je	LBB0_16
LBB0_13:
	testl	%r15d, %r15d
	jns	LBB0_16
## %bb.14:
	movl	(%rbx), %eax
	movq	_FSF_WANT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%eax, %ecx
	jne	LBB0_16
## %bb.15:
	orl	%eax, %ecx
	movl	%ecx, (%rbx)
	movq	_wakeup_task@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	movq	%rbx, %rdx
	callq	_sched_task
	jmp	LBB0_16
LBB0_11:
	movl	$89, 4(%rax)
	testq	%r14, %r14
	jne	LBB0_13
	jmp	LBB0_16
LBB0_10:
	xorl	%eax, %eax
	callq	_abort
	.cfi_endproc
                                        ## -- End function
	.comm	_EWOULDBLOCK,4,2                ## @EWOULDBLOCK
	.comm	_FSF_WANT,4,2                   ## @FSF_WANT
	.comm	_wakeup_task,4,2                ## @wakeup_task
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_mountd_port                ; -- Begin function get_mountd_port
	.p2align	2
_get_mountd_port:                       ; @get_mountd_port
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x2
	mov	x22, x1
	mov	x20, x0
	bl	_FSRV_ISDOWN
	cbz	x0, LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _EWOULDBLOCK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EWOULDBLOCK@GOTPAGEOFF]
Lloh2:
	ldr	w21, [x8]
LBB0_2:
	mov	x0, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_3:
	mov	x0, x20
	bl	_FSRV_ISUP
	cbz	x0, LBB0_10
; %bb.4:
	ldr	x8, [x20, #8]
	ldr	w21, [x8]
	cbnz	w21, LBB0_6
; %bb.5:
	ldr	w9, [x8, #8]
	str	w9, [x22]
LBB0_6:
	ldr	w9, [x8, #4]
	cmp	w9, #78
	b.eq	LBB0_15
; %bb.7:
	cmp	w9, #80
	b.eq	LBB0_11
; %bb.8:
	cmp	w9, #89
	b.ne	LBB0_16
; %bb.9:
	mov	x0, x20
	bl	_recompute_portmap
	cbnz	x19, LBB0_12
	b	LBB0_2
LBB0_10:
	mov	w21, #-1
LBB0_11:
	cbz	x19, LBB0_2
LBB0_12:
	tbz	w21, #31, LBB0_2
; %bb.13:
	ldr	w8, [x20]
Lloh3:
	adrp	x9, _FSF_WANT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _FSF_WANT@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_2
; %bb.14:
	orr	w8, w9, w8
	str	w8, [x20]
Lloh6:
	adrp	x8, _wakeup_task@GOTPAGE
Lloh7:
	ldr	x8, [x8, _wakeup_task@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	mov	x1, x19
	mov	x2, x20
	bl	_sched_task
	b	LBB0_2
LBB0_15:
	mov	w9, #89
	str	w9, [x8, #4]
	cbnz	x19, LBB0_12
	b	LBB0_2
LBB0_16:
	bl	_abort
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_EWOULDBLOCK,4,2                ; @EWOULDBLOCK
	.comm	_FSF_WANT,4,2                   ; @FSF_WANT
	.comm	_wakeup_task,4,2                ; @wakeup_task
.subsections_via_symbols
