	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_mount_client               ## -- Begin function get_mount_client
	.p2align	4, 0x90
_get_mount_client:                      ## @get_mount_client
	.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
	movl	%r8d, %r15d
	movq	%rcx, %r13
	movq	%rdx, %rbx
	movq	%rsi, %r14
	movq	_AF_INET@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SOCK_STREAM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_IPPROTO_TCP@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	callq	_socket
	movl	%eax, (%r13)
	testl	%eax, %eax
	jle	LBB0_7
## %bb.1:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_bind_resv_port
	testq	%rax, %rax
	jns	LBB0_3
## %bb.2:
	movq	_XLOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_plog
LBB0_3:
	movq	_MOUNTPROG@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movl	(%r12), %ecx
	movq	%r14, %rdi
	movl	%r15d, %edx
	callq	_pmap_getport
	movl	%eax, %edi
	callq	_htons
	movq	%rax, (%r14)
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	movl	(%r13), %edi
	movq	%r14, %rsi
	movl	$8, %edx
	callq	_connect
	testq	%rax, %rax
	js	LBB0_6
## %bb.5:
	movl	(%rbx), %esi
	movq	%r14, %rdi
	movl	%r15d, %edx
	movq	%r13, %rcx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_clnttcp_create
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_15
LBB0_6:
	movl	(%r13), %edi
	callq	_close
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
LBB0_7:
	movq	_AF_INET@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SOCK_DGRAM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_socket
	movl	%eax, (%r13)
	testl	%eax, %eax
	js	LBB0_8
## %bb.9:
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_bind_resv_port
	testq	%rax, %rax
	jns	LBB0_11
## %bb.10:
	movq	_XLOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_plog
LBB0_11:
	movq	$0, (%r14)
	movq	_MOUNTPROG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%rbx), %ecx
	movq	%r14, %rdi
	movl	%r15d, %edx
	movq	%r13, %r8
	callq	_clntudp_create
	testq	%rax, %rax
	je	LBB0_12
## %bb.14:
	movq	%rax, %rbx
	movq	(%r14), %rsi
	leaq	L_.str.3(%rip), %rdi
	callq	_dlog
	jmp	LBB0_15
LBB0_8:
	movq	_XLOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_plog
	jmp	LBB0_13
LBB0_12:
	movl	(%r13), %edi
	callq	_close
LBB0_13:
	movq	_RPC_ANYSOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r13)
	xorl	%ebx, %ebx
LBB0_15:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AF_INET,4,2                    ## @AF_INET
	.comm	_SOCK_STREAM,4,2                ## @SOCK_STREAM
	.comm	_IPPROTO_TCP,4,2                ## @IPPROTO_TCP
	.comm	_XLOG_ERROR,4,2                 ## @XLOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"can't bind privileged port (socket)"

	.comm	_MOUNTPROG,4,2                  ## @MOUNTPROG
	.comm	_SOCK_DGRAM,4,2                 ## @SOCK_DGRAM
L_.str.1:                               ## @.str.1
	.asciz	"Can't create socket to connect to mountd: %m"

	.comm	_RPC_ANYSOCK,4,2                ## @RPC_ANYSOCK
L_.str.2:                               ## @.str.2
	.asciz	"can't bind privileged port"

L_.str.3:                               ## @.str.3
	.asciz	"get_mount_client: Using udp, port %d"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_mount_client               ; -- Begin function get_mount_client
	.p2align	2
_get_mount_client:                      ; @get_mount_client
	.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	x21, x4
	mov	x19, x3
	mov	x22, x2
	mov	x20, x1
Lloh0:
	adrp	x25, _AF_INET@GOTPAGE
Lloh1:
	ldr	x25, [x25, _AF_INET@GOTPAGEOFF]
	ldr	w0, [x25]
Lloh2:
	adrp	x8, _SOCK_STREAM@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SOCK_STREAM@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	adrp	x23, _IPPROTO_TCP@GOTPAGE
Lloh6:
	ldr	x23, [x23, _IPPROTO_TCP@GOTPAGEOFF]
	ldr	w2, [x23]
	bl	_socket
	str	w0, [x19]
Lloh7:
	adrp	x24, _MOUNTPROG@GOTPAGE
Lloh8:
	ldr	x24, [x24, _MOUNTPROG@GOTPAGEOFF]
	cmp	w0, #1
	b.lt	LBB0_7
; %bb.1:
	mov	x1, #0
	bl	_bind_resv_port
	tbz	x0, #63, LBB0_3
; %bb.2:
Lloh9:
	adrp	x8, _XLOG_ERROR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _XLOG_ERROR@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	bl	_plog
LBB0_3:
	ldr	w1, [x24]
	ldr	w3, [x23]
	mov	x0, x20
	mov	x2, x21
	bl	_pmap_getport
	bl	_htons
	str	x0, [x20]
	cbz	x0, LBB0_6
; %bb.4:
	ldr	w0, [x19]
	mov	x1, x20
	mov	w2, #8
	bl	_connect
	tbnz	x0, #63, LBB0_6
; %bb.5:
	ldr	w1, [x24]
	mov	x0, x20
	mov	x2, x21
	mov	x3, x19
	mov	w4, #0
	mov	w5, #0
	bl	_clnttcp_create
	mov	x23, x0
	cbnz	x0, LBB0_15
LBB0_6:
	ldr	w0, [x19]
	bl	_close
LBB0_7:
	ldr	w0, [x25]
Lloh14:
	adrp	x8, _SOCK_DGRAM@GOTPAGE
Lloh15:
	ldr	x8, [x8, _SOCK_DGRAM@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_socket
	str	w0, [x19]
	tbnz	w0, #31, LBB0_12
; %bb.8:
	mov	x1, #0
	bl	_bind_resv_port
	tbz	x0, #63, LBB0_10
; %bb.9:
Lloh17:
	adrp	x8, _XLOG_ERROR@GOTPAGE
Lloh18:
	ldr	x8, [x8, _XLOG_ERROR@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
Lloh20:
	adrp	x1, l_.str.2@PAGE
Lloh21:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_plog
LBB0_10:
	str	xzr, [x20]
	ldr	w1, [x24]
	ldr	w3, [x22]
	mov	x0, x20
	mov	x2, x21
	mov	x4, x19
	bl	_clntudp_create
	mov	x23, x0
	cbz	x0, LBB0_13
; %bb.11:
	ldr	x1, [x20]
Lloh22:
	adrp	x0, l_.str.3@PAGE
Lloh23:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_dlog
	b	LBB0_15
LBB0_12:
Lloh24:
	adrp	x8, _XLOG_ERROR@GOTPAGE
Lloh25:
	ldr	x8, [x8, _XLOG_ERROR@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
Lloh27:
	adrp	x1, l_.str.1@PAGE
Lloh28:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_plog
	mov	x23, #0
	b	LBB0_14
LBB0_13:
	ldr	w0, [x19]
	bl	_close
LBB0_14:
Lloh29:
	adrp	x8, _RPC_ANYSOCK@GOTPAGE
Lloh30:
	ldr	x8, [x8, _RPC_ANYSOCK@GOTPAGEOFF]
Lloh31:
	ldr	w8, [x8]
	str	w8, [x19]
LBB0_15:
	mov	x0, x23
	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 AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.cfi_endproc
                                        ; -- End function
	.comm	_AF_INET,4,2                    ; @AF_INET
	.comm	_SOCK_STREAM,4,2                ; @SOCK_STREAM
	.comm	_IPPROTO_TCP,4,2                ; @IPPROTO_TCP
	.comm	_XLOG_ERROR,4,2                 ; @XLOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"can't bind privileged port (socket)"

	.comm	_MOUNTPROG,4,2                  ; @MOUNTPROG
	.comm	_SOCK_DGRAM,4,2                 ; @SOCK_DGRAM
l_.str.1:                               ; @.str.1
	.asciz	"Can't create socket to connect to mountd: %m"

	.comm	_RPC_ANYSOCK,4,2                ; @RPC_ANYSOCK
l_.str.2:                               ; @.str.2
	.asciz	"can't bind privileged port"

l_.str.3:                               ; @.str.3
	.asciz	"get_mount_client: Using udp, port %d"

.subsections_via_symbols
